From 73fde81744a395715ca965c9589f66883e220bca Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 2 Sep 2009 14:49:20 -0500 Subject: [PATCH] *Prevent the triggering spell to always consume one charge of fingers of frost. By Cleave --HG-- branch : trunk --- src/game/Player.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game/Player.cpp b/src/game/Player.cpp index fa7c3d271e..f90b571a49 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -17553,7 +17553,9 @@ void Player::RemoveSpellMods(Spell * spell) checkedSpells.find(aur->GetParentAura()) != checkedSpells.end()) continue; - if (spell->m_spellInfo->SpellFamilyFlags & spellInfo->EffectSpellClassMask[aur->GetEffIndex()]) + if (spell->m_spellInfo->SpellFamilyFlags & spellInfo->EffectSpellClassMask[aur->GetEffIndex()] + // this is for fingers of frost, look at spell::finish part, a charge will be taken by the triggering spell + && aur->GetParentAura()->GetAuraDuration() != aur->GetParentAura()->GetAuraMaxDuration()) { checkedSpells.insert(aur->GetParentAura()); spell->m_appliedMods.erase(aur->GetParentAura());