mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-03 15:47:04 +01:00
Core/Spells: dropped Fingers of Frost charge drop spell script and use the new proc attribute instead.
This commit is contained in:
2
sql/updates/world/4.3.4/2021_02_19_00_world.sql
Normal file
2
sql/updates/world/4.3.4/2021_02_19_00_world.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
DELETE FROM `spell_script_names` WHERE `ScriptName`= 'spell_mage_fingers_of_frost_charges';
|
||||
UPDATE `spell_proc` SET `AttributesMask`= `AttributesMask`|0x10 WHERE `SpellId`= 44544;
|
||||
@@ -1914,20 +1914,6 @@ class spell_mage_deep_freeze : public SpellScript
|
||||
}
|
||||
};
|
||||
|
||||
class spell_mage_fingers_of_frost_charges : public AuraScript
|
||||
{
|
||||
void HandleProc(AuraEffect const* /*aurEff*/, ProcEventInfo& /*eventInfo*/)
|
||||
{
|
||||
PreventDefaultAction();
|
||||
GetAura()->ModStackAmount(-1);
|
||||
}
|
||||
|
||||
void Register() override
|
||||
{
|
||||
OnEffectProc.Register(&spell_mage_fingers_of_frost_charges::HandleProc, EFFECT_0, SPELL_AURA_ABILITY_IGNORE_AURASTATE);
|
||||
}
|
||||
};
|
||||
|
||||
// -34293 - Pyromaniac
|
||||
class spell_mage_pyromaniac : public AuraScript
|
||||
{
|
||||
@@ -2203,7 +2189,6 @@ void AddSC_mage_spell_scripts()
|
||||
new spell_mage_flame_orb();
|
||||
new spell_mage_flame_orb_aoe_dummy();
|
||||
RegisterSpellScript(spell_mage_focus_magic);
|
||||
RegisterSpellScript(spell_mage_fingers_of_frost_charges);
|
||||
RegisterSpellScript(spell_mage_frostbolt);
|
||||
RegisterSpellScript(spell_mage_frostfire_bolt);
|
||||
new spell_mage_hot_streak();
|
||||
|
||||
Reference in New Issue
Block a user