void HandleDummy(uint effIndex) { WorldLocation dest = GetHitDest(); if (dest != null) { GetCaster().CastSpell(dest.GetPosition(), SpellIds.HeroicLeapJump, new CastSpellExtraArgs(true)); } }
void HandleEffectHitTarget(uint effIndex) { WorldLocation loc = GetExplTargetDest(); if (loc != null) { GetCaster().CastSpell(GetHitUnit(), SpellIds.SigilOfChainsSlow, new CastSpellExtraArgs(true)); GetHitUnit().CastSpell(loc.GetPosition(), SpellIds.SigilOfChainsGrip, new CastSpellExtraArgs(true)); } }