TrinityCore/TrinityCore — Issue #3718: Spells -  effectHandleMode
Author: lost-illusion
Created: 2011-10-26 18:31:27+00:00
State: open

This system is not fully correct.

For example, Spell: Righteous Defense
Targets for EFFECT_1 - SPELL_EFFECT_TRIGGER_SPELL setup in EFFECT_0 - SPELL_EFFECT_DUMMY, but EffectDummy starts only if effectHandleMode == SPELL_EFFECT_HANDLE_HIT_TARGET, EffectTriggerSpell starts if effectHandleMode == SPELL_EFFECT_HANDLE_LAUNCH_TARGET or SPELL_EFFECT_HANDLE_LAUNCH.
We have:
Casts trigger spell and after setup targets.

Exists more some problem... Need finish work...