ID:261338
 
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?
why does everyone moan about FIREkings battle system?
r u using his lastest one or old one.
Because Technically hit is only called ONCE and thats when the monster is created.