I am using FIreking's battlesystem, and I made it so that the monsters come after you as soon as they see you, but when they reach you, they dont attack. So, I tried making my own proc for that purpose, I dont know why it doesn't work;
mob/monsters
proc
hit()
for(var/mob/M as mob in oview(1))
if(M.typechar == "normal")
var/damage = 200
M.HP -= damage
M << "HAHAHAH!"
else
return 0
New()
hit()
I dont get any errors or anything, but when I am right next to the monster, it doesnt do anything. What's wrong with it?
ID:261338
Dec 29 2001, 8:28 pm
|
|
r u using his lastest one or old one.