attack()
if(/mob/bug/ in oview(1))
usr << "You attack [src]!</BR></BR>"
var/Udamage = rand(1,10)
usr << "</B>[usr] deals [Udamage] damage!</BR></BR>"
src:HP -= Udamage
src:LadieBug()
..()
else
usr << "There is nothing for you to attack [usr]."
Problem description:
When I put the code through, everything was fine- no errors, no warnings, but when I ran the program, I could not attack the creatures, and I got the message, "There is nothing for you to attack [usr]."
I know it has to do with /mob/bug .. But I just don't know what to replace it with..
Help please? :(
Woosh try that now beheehehe!!!.
- Dark Emrald