Instance:
* Improve Main Chambers Access Panel script by handling everything in one place
* Replace direct change of gameobject flags with gameobject actions
* Now door to Kalithresh closes when encounter is in progress
Thespia:
* Update spell timers and targets
* Minor cosmetic changes
Steamrigger:
* Re-handle Summon Gnomes script using more appropriate OnEffectPeriodic hook
* Add corpse delay for Steamrigger Mechanic
* Update spell timers and targets
Kalithresh:
* Update spell timers
* Remove unconfirmed spell
(cherry picked from commit 13a7d54065eb8cc98173caa89330fa1de075a582)
* Rewrite outro of 'Mustering the Reds'
* Rewrite 'Drake Hunt'
* Rewrite 'The Power of the Elements'
* Rewrite 'The Hunt is On'
* Rewrite 'Abduction'
(cherry picked from commit 27bd0894625bf15c9ab7b3e0e14742f800be286c)
* Many changes to improve several encounters
Credit for a lot of things goes to CMaNGOS
Garr fully based on CMaNGOS version
(cherry picked from commit 2979b12f8f1c6c82a69089c2c9123a1787b36773)
* 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
(cherry picked from commit de6a77c535208a4bd71ebe6f508a49ad011d4efe)
* 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
(cherry picked from commit 5c6bf610663b620f3eeba41d05082401eb1b995d)
* 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
(cherry picked from commit 399d89a74869cde1a713ba499056660e5e4f930d)
* 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
(cherry picked from commit 9625ef1daaf481eb05a73c999a4b58b86306ecc6)
* Implement Cataclysm Breath (forces creature to cast 4 of 8 random spells)
* Implement Chaos Breath (forces creature to cast 3 of 8 random spells)
* Implement Death Count remover spell (replace SAI implementation with spell script)
Closes#30320
(cherry picked from commit b75d047a33597a9f576632d07a4f3ba2546c5e6e)
* Create AI for Cyclone & summon it by spell
* Create formation for linked aggro & replace scripted linked aggro
* Script The Beast Within spell & use correct trigger spell
* Create proper AI for Fathom Lurker & Fathom Sporebat
* Summon Fathom Lurker & Fathom Sporebat by spells
* Create AI for all totems used in encounter
* Spawn Seer Olum in DB instead of wrongly summoning him
* Remove redundant Karathress' event from instance script
* Cleanup headers
* Correctly use all Karathress' texts
* Cleanup & split enum
* Use EventMap and TaskScheduler instead of old events
* Fix respawn bugs of advisors
* Properly handle abilities Karathress gains from advisors
* Properly handle Blessing Of Tides
* Remove redundant SetBossState calls from advisors
* Update timers of all spells
* Update targets of all spells
(cherry picked from commit 994b1df1158a5f4a6c045f8c5b470be04b7ac46f)
* Kalithresh now forces all distillers to cast SPELL_QUIET_SUICIDE when encounter is finished
* Move go_main_chambers_access_panel script from instance file to instance scripts file
* Add comments for script names for Hungarfen and Black Stalker
* Remove redundant SetBossState for Musel'ek (currently is handled in BossAI)
(cherry picked from commit e899b2aeea3ef2718beefb59ab0fb170cee80fc4)
* Add missing texts
* Implement intro event
* Update summon event (now Banish is canceled when all Brood of Anzu is killed)
* Remove redundant checks and actions to prevent double-summon of Anzu (not needed anymore, handled in SAI)
* Prevent calling Ikiss' intro if already done
(cherry picked from commit fd42b894f35e5950ac97ddd0b63d2eddf43e9000)
* Kargath and O'mrogg got a full rewrite
* other bosses - new register model only, no functionality changes
(cherry picked from commit 761786ca1882b331d19b8c0c5c1e9f9fcf226e14)
* New register model
* Codestyle changes
* TaskScheduler instead of timer variables
* Implement one spell script for Noxxion encounter
(cherry picked from commit f40409ce68624fc907d7f1e272317411b5a2fa65)
* convert & update Engineering a Disaster quest to SAI
* update The Lifewarden's Wrath quest with SAI
* renamed a couple of spell script names
(cherry picked from commit 70d18754848c376f93e1ab9d7119c6818d594db8)
* use missing text
* despawn InCombat trigger by spell
* add missing waypoints
* add events to activate and prepare Broggok
* codestyle changes
(cherry picked from commit 44a7b2994723691c218d3779ff8fd5a5115e5f64)
* Gyro-Kill - missing emote, timers, targets
* Iron-Hand - missing emote, timers, targets, one missing spell, update the way texts are handled
* Sepethrea - unique enum names, comments for scriptnames, update the way one text is handled
* Pathaleon - reorder spells, reorder hooks, implement one missing spell, change the way one spell is used
* Instance - remove unneeded placeholder
(cherry picked from commit 3744d6bb2942db779613f5b3fb8320288fbb2e81)
* Remove unused data and functions from instance script
* Reorder hooks, spells, small changes to improve encounters and codestyle
* Move some texts from cast start to cast end
(cherry picked from commit 0d1961621f34170b4ff142d374eb6bbce7f49fc6)
* rewrite Kalec's event
* unique enum names, comments for scriptnames for Kael
* new register model for Delrissa
* new register model for Selin and one missing spell added
* several changes for Vexallus
(cherry picked from commit dde454198a9cb8f43edbb9ef36a54aabd318c711)