ok i have my attack code
verb/attack(mob/victim as mob in oview(1))
set category = "Commands"
if(!ismonster)
usr << "Dont attack harmless npcs!"
else
Attack(victim)
i set ismonster to one on all the human players and monsters. And i set ismonster to 0 on all the npcs, but i can still attack npc for some reason?
ID:149399
May 8 2002, 7:00 pm
|
|
May 8 2002, 7:03 pm
|
|
Try checking victim.ismonster
|
In response to Nadrew
|
|
i get ya now
|