mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[9857] Fix double damage dealing of 63625 and ranks. Thanks to Revils
This commit is contained in:
parent
aff0d77692
commit
aa59339e1a
2 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue