* Core/Scripts: Boss Amanitar rewrite
Fixes mushrooms behavior, correct and script his spell, size, spawn positions, despawn and respawn, and everything else
Fixes Mini spell cast(only re-cast if there is at least one person without the debuff)
Corrects boss initial position
Updates script register model
(cherry picked from commit 0b766db6a41a4db0d631e36fcc753c658b746328)
* Core/Scripts: Boss Jedoga Shadowseeker rewrite
Added all missing spells and visuals
Added Twilight volunteers in the fight
Fixed Jedoga Controller's behavior, mostly moved to boss_prince_taldaram, where they belong
Updated script register model
Misc updates and improvements
Updated instance model
(cherry picked from commit f1ff7e642f8feb027d668a53adc39ecaa7488cc2)
remove the CanMove check since it will never trigger
the timer is left there to prevent errors on loading such as leader being created before the other members of the formation making them skip the first movement; purely a workaround
(cherry picked from commit c7d565739b2e4a1fbcd6bd61164510257e7ee90b)
followup 52ad0c9e5c65a4add7dbcd9fac74c505aaa5b1cf
checked in sniffs, only ick add threat in target, wrong call in original script (why o keep it? o.o)
(cherry picked from commit f86b4e45e55124a38f668fb312925afb2c2eb16f)
FOR_SCRIPTS, insteadof FOR_SCRIPTS_RET, shouldn't return
otherwise methods such as void ScriptMgr::OnPlayerEnterMap(Map* map, Player* player) will end prematurely
(cherry picked from commit 4ee16fb536177cdedcb435a59cb625490f5ec69f)
There are three possible scenarios regarding regenerating health
- db lock and curhealth set to > 0
- db lock and curhealth set to 0
- dynamic lock (set in scripts and such) overriding db lock
(cherry picked from commit 91c0d49c188977c3d797f5749b1204612ce50195)
* Removing spelldifficulty_dbc to make portable to master
* Updated to new Spell/Aurascript model
(cherry picked from commit 203c5f705806f6f39a8392c3164ff04fc5415d58)
By scheduling the eruption event without cancelling the previously registered eruption events, Heigan's eruption (or dance) would overlap and cause a runaway scenario, where eruptions would not follow a proper timer.
By using Reschedule and not locking the Eruption event to the fighting phase, the dance now works as intended.
(cherry picked from commit 6f4492bc61f0883df7dac81ef6235a1cb7299bc7)
* Core/Scripts: More fixes in boss Lich King
Fix Valkyr charge spell, they will no longer ignore Z position and become unreachable.
Correct height of Spirit Bomb and added the 3 seconds delay on his explosion.
Set the Trigger inside frostmourne room as active, to avoid problems with reseting the room, e.g: Spirit Bombs not despawning and Wicked Spirits stuck in evade.
Use correct InhabitType for Wicked and Vile Spirits, this avoid a situation where they could spawn falling.
(cherry picked from commit 22a7956069c293a3f8eab8adcd84a9f4703f364a)
since MOTION_SLOT_IDLE cannot be expired, signal path done and behave like IdleMotionGenerator
(cherry picked from commit eb2769996f01bfd7d7118503a44705711eb309a3)
mistake introduced in 15f2706acaa that was masqueraded by other checks in combat start, till recent related commits
(cherry picked from commit d117a0e4d4aa29960c04d09ba90d2d0798a5c1b6)
remove home position set from creature PauseMovement, and use it when necessary
change log level on DelayedDelete
(cherry picked from commit cd4775420a4894012616d54467eb3827430245b5)
Following the work done in #19361 this is the cleanup and improvement of the related logic of waypoint management.
Ref 28050f3 #18020
(taking the good parts and ignoring the incomplete work)
(cherry picked from commit 7fff83d67526efff63867d41b9e036a19a9287b3)