mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +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)
|
if (!procSpell)
|
||||||
return false;
|
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)
|
if (!leachAura)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9856"
|
#define REVISION_NR "9857"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue