[9857] Fix double damage dealing of 63625 and ranks. Thanks to Revils

This commit is contained in:
Laise 2010-05-10 12:04:07 +03:00
parent aff0d77692
commit aa59339e1a
2 changed files with 5 additions and 2 deletions

View file

@ -5897,7 +5897,10 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
if (!procSpell)
return false;
Aura* leachAura = pVictim->GetAura(procSpell->Id, EFFECT_INDEX_0);
if (triggeredByAura->GetEffIndex() != EFFECT_INDEX_1)
return false;
Aura* leachAura = pVictim->GetAura(SPELL_AURA_PERIODIC_LEECH, SPELLFAMILY_PRIEST, UI64LIT(0x02000000), NULL, GetGUID());
if (!leachAura)
return false;