ID:148565
 
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()
Kolie wrote:
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()


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()