Fixed self-completing quests without NPCs
no, wait
Fixed self-completing quests without NPCs, and fixed some issues with the AUTOCOMPLETE quest flag
(cherry picked from commit f53045ae5c)
*Casts a proper Summon Pet spell on a hunter logging in for the first
time (depending on his race).
*Relocates created tamed pets before they're added to map.
(cherry picked from commit 090951ba71)
* New register model
* Repeat events instead of scheduling them
* Added unique names for enums
* Added comments for script names
* Added AI for Mana Fiend
* Added missing emote
* Use all emotes
* Create master-script to summon Mana Fiends
* Implement & use Zero Mana/Full Health spell
* Implement Energize script to end stoned phase
* Implement Drain Mana master spell script with correct amount of targets and checks to ensure only players and mana-users will be targeted
* Implement Drain Mana visual effect
* Now, once all Mana Fiends are dead, stone phase is finished
* Rework the way stone phase is started and finished
* Moam now drops obsidian mineral once dead
* Added a check to ensure all combat spells will be used
* Added event to handle Arcane Eruption instead of trying to cast it every update tick
Credit for a lot of things goes to CMaNGOS
* New register model
* Repeat events instead of scheduling them
* More proper timers for spells
* Added unique names for enums
* Added comment for script name
* Added missing emote
* Added missing Frenzy spell
* Cleanup texts (keep only actually used)
* Use combat texts
* Add ResetAllThreat component to Thundercrash spell script
* New register model
* Use EventMap instead of old events
* More proper timers for spells
* Added missing spells and removed wrong
* Corrected targets for spells
* Added comments for script names
* Added formation to handle linked aggro
* Cleanup headers
* Add missing Frenzy emote
* Implement & use Garrote Remove spell
* Use BossAI for Moroes
* Use EventMap & TaskScheduler instead of old events
* Handle special emotes in OnSpellCast
* Update enums
* Add comments for script names
* Update timers and targets of spells
* Garrote now correctly applies on players
* Improve GuestBaseAI & guest scripts
* Use new register model for all scripts