I added a special case for priority 0 spells. This new special case basically emulates what we believe EQ devs call "innate spells."
NPCs with innate spells will try to spam these on their reuse timers. Ex. Lord Naggy's AE fear is always cast on recast timer. You should be able to count on it.
Most of normal EQ mobs function like this and eliminates the need to use quest scripting.
I also added support to define a valid HP range an NPC will cast a spell. The min_hp field is the low end of the range and max_hp field is the high end. For example, lots of mastruqs in GoD will cast Protection of Discord at low HP, setting max_hp will allow the NPC to not cast this until they reach this percentage. This range is also purely based on the caster's HP ratio.
The issue with HT is it has a 0 recast delay, this needs to be set. We've fixed this on PEQ. The code is fine though, you need to adjust your data. Zland only procs a stun, at least on PEQ. He fears every 36 seconds like clockwork. This is live like.
Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.