-
Notifications
You must be signed in to change notification settings - Fork 402
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework some Spell AI so NPCs can have spammy spells
Lots of encounters in EQ will spam spells, like dragon fear is on a very tight timer etc. In order to eliminate the need to script all of these encounters AI spells with a priority of '0' will be treated as "innate spells." Devs have used this term and it is what I believe they mean by it. You can run update npc_spells_entries set priority = priority + 1 where priority >= 0; to disable the behavior.
- Loading branch information
Showing
3 changed files
with
52 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f8ce104
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using
select e.npc_spells_id, e.spellid from npc_spells_entries as e inner join spells_new as s on e.spellid = s.id where e.recast_delay = -1 and s.recast_time = 0 and e.priority = 0 and e.type = 1 order by e.npc_spells_id;
it can give you spell sets that will cause issues :P