The code here won't delete the target after his health is depleted:
verb/Bash()
set src in oview(1)
damage = (usr:strength * 10) - src.intel
view() << "[usr] bashes [src] for [damage] points!"
if(src.health <= 0)
view() << "[src] was sent home."
Del(src)
ID:148659
![]() Nov 22 2002, 3:50 pm
|
|
Ok, sounds like youve messed up using src or usr. Add world << "src:[src], usr:[usr]" to the start of your verb to test.
-DogMan |
-DogMan