Example #1
0
 void HandleDummy(SpellEffIndex effIndex)
 {
     PreventHitDefaultEffect(effIndex);
     GetCaster()->CastSpell(GetHitUnit(), SPELL_VILE_GAS_TRIGGER_SUMMON);
 }
 void HandleScript(SpellEffIndex effIndex)
 {
     PreventHitDefaultEffect(effIndex);
     GetHitUnit()->CastSpell(GetHitUnit(), GetEffectValue(), true);
 }
 void Activate(SpellEffIndex index)
 {
     PreventHitDefaultEffect(index);
     GetHitGObj()->RemoveFlag(GAMEOBJECT_FLAGS, GO_FLAG_NOT_SELECTABLE);
 }
Example #4
0
 void Activate(SpellEffIndex index)
 {
     PreventHitDefaultEffect(index);
     GetHitGObj()->SendCustomAnim(0);
 }
Example #5
0
 void HandleDummyHitTarget(SpellEffIndex effIndex)
 {
     PreventHitDefaultEffect(effIndex);
     GetHitUnit()->CastSpell(GetCaster(), SPELL_BLINK_TELEPORT, true);
 }
 void HandleScriptEffect(SpellEffIndex effIndex)
 {
     PreventHitDefaultEffect(effIndex);
     for (uint8 i = 0; i < 4; ++i)
         GetCaster()->CastSpell(GetHitUnit(), uint32(GetEffectValue() + i), true);
 }