diff options
| author | Shauren <shauren.trinity@gmail.com> | 2021-02-18 23:29:04 +0100 | 
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-02-18 23:29:04 +0100 | 
| commit | a680e247ec7908decd78c50ac8304aadd0e3f15d (patch) | |
| tree | 9ffaca7834e7066059a92898532f09ac89a6fec9 /src/server/scripts | |
| parent | 54c5cc97f53dd456a4496d23c0b3375f9280639a (diff) | |
Scripts/Spells: Convert Mage Fingers of Frost stack dropping script to use new proc attribute
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/Spells/spell_mage.cpp | 23 | 
1 files changed, 0 insertions, 23 deletions
diff --git a/src/server/scripts/Spells/spell_mage.cpp b/src/server/scripts/Spells/spell_mage.cpp index 3679fbc9b7c..5e0cd6e682b 100644 --- a/src/server/scripts/Spells/spell_mage.cpp +++ b/src/server/scripts/Spells/spell_mage.cpp @@ -278,28 +278,6 @@ class spell_mage_conjure_refreshment : public SpellScript      }  }; -// 44544 - Fingers of Frost -class spell_mage_fingers_of_frost : public AuraScript -{ -    PrepareAuraScript(spell_mage_fingers_of_frost); - -    void SuppressWarning(AuraEffect* /*aurEff*/, ProcEventInfo& /*procInfo*/) -    { -        PreventDefaultAction(); -    } - -    void DropFingersOfFrost(ProcEventInfo& /*eventInfo*/) -    { -        GetAura()->ModStackAmount(-1); -    } - -    void Register() override -    { -        OnEffectProc += AuraEffectProcFn(spell_mage_fingers_of_frost::SuppressWarning, EFFECT_1, SPELL_AURA_DUMMY); -        AfterProc += AuraProcFn(spell_mage_fingers_of_frost::DropFingersOfFrost); -    } -}; -  // 11426 - Ice Barrier  class spell_mage_ice_barrier : public AuraScript  { @@ -853,7 +831,6 @@ void AddSC_mage_spell_scripts()      RegisterSpellScript(spell_mage_cold_snap);      RegisterSpellScript(spell_mage_cone_of_cold);      RegisterSpellScript(spell_mage_conjure_refreshment); -    RegisterAuraScript(spell_mage_fingers_of_frost);      RegisterAuraScript(spell_mage_ice_barrier);      RegisterSpellScript(spell_mage_ice_lance);      RegisterSpellScript(spell_mage_ice_lance_damage);  | 
