mob
verb
Attack(mob/M in oview(1))
set name = "Attack"
var/damage = (usr.att+usr.wep_att-M.def)
if(damage<=0)
s_damage(M, 0, "#ff0000")
else
if(usr.waiting == 0)
usr.waiting = 1
M.HP -= damage
var/num = damage
s_damage(M, num, "#ff0000")
M.Die()
sleep(20)
usr.waiting = 0
else
return
Problem description:
macro still ultra fast ...