mob
verb
Attack(mob/M as mob in oview(1))
usr.underlays+='basepunch.dmi'
var/damage = usr.Str - M.Def
if(damage <= 0)
usr << "[M] easily dodges your attack!"
M << "You easily dodge [usr]'s attack."
else
M.Hp -= damage
view() << "[usr] attacks [M] for [damage] HP!"
M:deathcheck()
Problem description:
hi, i am trying to make it so that when u use the attack verb ur charecter punchs...it changes ur icon so that it goes with my punching icon.. does anyone know how to change it so it makes the charecter switch icons to punch