Immortal triggered-spawn NPCs
Hi all, back with my new server (setting it up only took two days this time, issue was with ports on router... another story).
I'm having the same issue with the server I had last year when I had it running last. Normal npcs who have spawngroups and loc's die and create a corpse upon reaching 0 HP. However, all of the triggered npc's via this method in .pl files
quest::spawn2(1343,0,0,$x-250,$y,$z,$h);
are immortal and upon reaching 0 HP, remain alive and kicking. Additionally, any sub EVENT_DEATH events on these npc's continually trigger but the npc will not die and form a corpse.
Any suggestions on where to find the code to fix this is appreciated.
Thanks.
|