Help i got 1 error it says Cant put a proc in another proc what i do ?
verb
Attack(mob/M as mob in oview(1))
M.attacked = 1
var/damage = usr.str
damage -= M.def
if(damage > 0)
M << "[usr] attacks you and does [damage]"
usr << "You attack [M] for [damage] damage"
M.hp-=damage
else
M << "[usr]'s attack bounces off of you!"
usr << "Your attack bounces off of [src]!"
M.Deathcheck()
ID:148565
Dec 30 2002, 8:52 am
|
|
mob
verb
Attack(mob/M as mob in oview(1))
M.attacked = 1
var/damage = usr.str
damage -= M.def
if(damage > 0)
M << "[usr] attacks you and does [damage]"
usr << "You attack [M] for [damage] damage"
M.hp-=damage
else
M << "[usr]'s attack bounces off of you!"
usr << "Your attack bounces off of [src]!"
M.Deathcheck()