ID:163415
 
i get strange indentation errors

mob
verb

Attack(mob/M as mob in get_step(src,src.dir))
var/damage = usr.str - M.def
if(M.icon_state == "ko")
usr << "ko"
else

if(damage <= 0)
usr:punchanim()
usr << "[M] easily dodges your attack!"

else
M.powerlvl -= damage

view() << "[usr] attacks [M] for [damage] HP!"
usr:punchanim()
M:deathcheck()
I'm just gonna say this first, you have more problems then indentation errors in your code.

You usr abuse a lot, not to mention use ":" instead of "."

Post your code in <.DM> <./DM> tags, without the periods, so we can read it better.