Ejemplo n.º 1
0
 void OnRemove(AuraEffect aurEff, AuraEffectHandleModes mode)
 {
     GetTarget().ApplySpellImmune(0, SpellImmunity.State, AuraType.ModTaunt, false);
     GetTarget().ApplySpellImmune(0, SpellImmunity.Effect, SpellEffectName.AttackMe, false);
 }
Ejemplo n.º 2
0
 void HandleEffectApply(AuraEffect aurEff, AuraEffectHandleModes mode)
 {
     GetTarget().CastSpell(GetTarget(), SpellIds.AuraMasteryImmune, true);
 }
Ejemplo n.º 3
0
 void HandleEffectApply(AuraEffect aurEff, AuraEffectHandleModes mode)
 {
     GetTarget().CastSpell(GetTarget(), GetTarget().HasAura(SpellIds.GlyphOfShadow) ? SpellIds.ShadowformVisualWithGlyph : SpellIds.ShadowformVisualWithoutGlyph, true);
 }
Ejemplo n.º 4
0
 void HandleEffectRemove(AuraEffect aurEff, AuraEffectHandleModes mode)
 {
     GetTarget().RemoveAurasDueToSpell(GetTarget().HasAura(SpellIds.GlyphOfShadow) ? SpellIds.ShadowformVisualWithGlyph : SpellIds.ShadowformVisualWithoutGlyph);
 }
Ejemplo n.º 5
0
        void HandleApply(AuraEffect aurEff, AuraEffectHandleModes mode)
        {
            Unit target = GetTarget();

            target.CastSpell(target, SpellIds.DominateMindScale, true);
        }
Ejemplo n.º 6
0
 void AfterRemove(AuraEffect aurEff, AuraEffectHandleModes mode)
 {
     GetTarget().RemoveAurasDueToSpell(SpellIds.SurvivalInstincts);
 }
Ejemplo n.º 7
0
 void AfterRemove(AuraEffect aurEff, AuraEffectHandleModes mode)
 {
     GetTarget().RemoveAurasDueToSpell(SpellIds.SavageRoar);
 }
Ejemplo n.º 8
0
        void AfterApply(AuraEffect aurEff, AuraEffectHandleModes mode)
        {
            Unit target = GetTarget();

            target.CastSpell(target, SpellIds.SavageRoar, true, null, aurEff, GetCasterGUID());
        }
Ejemplo n.º 9
0
 void HandleEffectRemove(AuraEffect aurEff, AuraEffectHandleModes mode)
 {
     GetTarget().RemoveOwnedAura(SpellIds.AuraMasteryImmune, GetCasterGUID());
 }