ID:266814
 
What am I doing wrong?
mob
verb
Punch(p as mob in world)
if(src == p)
usr << "You don't want to punch yourself"
else
if(p.lovl == src.lovl)
if(src.speed >= p.speed)
if(src.strength >= p.defense)
world << "[src] hits [p]"
else
usr << "blah blah"
else
usr << "You are not fast enough"
else
usr << "You are not in the same place"


uh, none of this works. i want an attack verb that works on a mud which has no map. i thought that this was good, but it flat out doesn't work. What's wrong with it?
Punch(p as mob in world)


Should be

Punch(mob/P as mob in world)