[11435] Fixed IsPositiveEffect triggered spell case and some cleanups

Mostly found in time 400 update.
This commit is contained in:
VladimirMangos 2011-05-08 01:38:28 +04:00
parent 3f531024f7
commit 06ba42ccba
14 changed files with 15 additions and 27 deletions

View file

@ -2185,12 +2185,7 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
break;
}
case SPELLFAMILY_MAGE:
{
// Fingers of Frost stacks set to max at apply
if (GetId() == 74396)
GetHolder()->SetAuraCharges(GetSpellProto()->StackAmount);
break;
}
case SPELLFAMILY_HUNTER:
{
switch(GetId())
@ -8257,6 +8252,7 @@ m_permanent(false), m_isRemovedOnShapeLost(true), m_deleted(false), m_in_use(0)
case 55166: // Tidal Force
case 58914: // Kill Command (pet part)
case 71564: // Deadly Precision
case 74396: // Fingers of Frost
m_stackAmount = m_spellProto->StackAmount;
break;
}