The primary purpose of this would be to generate a //todo comment with the convenience of high visibility and double-click line jumping. Something like this was what passed through my mind:
mob/verb/attack()
var/mob/m = locate() in get_step(usr,usr.dir)
if(m && istype(m))
WARN("finish attack formula")
var/dmg = rand(1,100)
m.health = max(0,(m.health-dmg))
if(!m.health) m.die()