…e to use these spells even if caster is under Sated/Exhaustion debuff
* Call spell effect handlers in 4 modes: - SPELL_EFFECT_HANDLE_LAUNCH - called when spell is launched (cast just finished) - SPELL_EFFECT_HANDLE_LAUNCH_TARGET - called when spell is launched for each target in spell target map - SPELL_EFFECT_HANDLE_HIT - called when spell hits its destination - SPELL_EFFECT_HANDLE_HIT_TARGET - called when spell hits it's target from spell target map *Correctly implement SPELL_EFFECT_TRIGGER_SPELL, SPELL_EFFECT_TRIGGER_SPELL_WITH_VALUE, SPELL_EFFECT_TRIGGER_MISSILE_SPELL_WITH_VALUE, SPELL_EFFECT_TRIGGER_MISSILE_SPELL *Remove spell system hacks which became obsolete with this commit Core/SpellScripts: add OnEffectLaunch, OnEffectLaunchTarget, OnEffectHit, OnEffectHitTarget hooks for new effect handle modes and remove OnEffect hook. A generic rule of thumb how to update your scripts (will work for nearly all cases) for spell system noobs: if your spell script used GetHitXXXX function, you need to use OnEffectHitTarget, otherwise use OnEffectHit
…ences aren't guaranteed to be valid always, also added (default true) player typeid check to NonTankTargetSelector
… spells, checking auras, range and attributes; and the other is a very simple non-tank selection what is sufficient for most cases
…nd make all cast functions use it as a base.
Note: Due to an aura system bug, the dummy cooldown aura is refreshed every time the trap spell is cast instead of expiring like it should.
…undary checking during the encounter.
…ell script targets. Fixes #2961
Scripts: Twins Valk - Cleanup / Remove Hardcoded Bullet Spawn (Need DB Support - Stalkers Spawns) Acidmaw - Use Correct Submerge Spell Trial Of Crusader - Correct Coordinate Spawn Trial Of Crusader - Correct Open/Close Main Door Timer Trial Of Crusader - Open/Close On Boss EnterEvadeMode
…r(s) Signed-off-by: Rat <firstname.lastname@example.org>
…ts in other map or phase to offline container.
…ery 15 seconds under 5 minutes and every minute under 15 minutes)