Correctly cast rank 2 mana regent triggred effect for 53228 and ranks. by Splinter

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2009-12-25 15:39:06 +01:00
parent 162558d506
commit 0b23087991

View File

@@ -6343,13 +6343,24 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
break;
}
// Rapid Recuperation
if ( dummySpell->SpellIconID == 3560 )
if (dummySpell->SpellIconID == 3560)
{
// This effect only from Rapid Killing (mana regen)
if (!(procSpell->SpellFamilyFlags[1] & 0x01000000))
return false;
triggered_spell_id = 56654;
target = this;
switch(dummySpell->Id)
{
case 53228: // Rank 1
triggered_spell_id = 56654;
break;
case 53232: // Rank 2
triggered_spell_id = 58882;
break;
}
break;
}
break;