Core/Spells: fix typo from 0f85a1d4f3
This commit is contained in:
1 parent
0f85a1d4f3
commit
94b2f90a5a
1 file changed
+2
-2
@@ -6818,7 +6818,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
||||
// At melee attack or Hammer of the Righteous spell damage considered as melee attack
|
||||
bool stacker = !procSpell || procSpell->Id == 53595;
|
||||
// spells with SPELL_DAMAGE_CLASS_MELEE excluding Judgements
|
||||
bool damager = procSpell && (procSpell->EquippedItemClass != -1 || (procSpell->SpellIconID == 243 && procSpell->SpellVisual == 39));
|
||||
bool damager = procSpell && (procSpell->EquippedItemClass != -1 || (procSpell->SpellIconID == 243 && procSpell->SpellVisual[0] == 39));
|
||||
|
||||
if (!stacker && !damager)
|
||||
return false;
|
||||
@@ -6850,7 +6850,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
||||
// At melee attack or Hammer of the Righteous spell damage considered as melee attack
|
||||
bool stacker = !procSpell || procSpell->Id == 53595;
|
||||
// spells with SPELL_DAMAGE_CLASS_MELEE excluding Judgements
|
||||
bool damager = procSpell && (procSpell->EquippedItemClass != -1 || (procSpell->SpellIconID == 243 && procSpell->SpellVisual == 39));
|
||||
bool damager = procSpell && (procSpell->EquippedItemClass != -1 || (procSpell->SpellIconID == 243 && procSpell->SpellVisual[0] == 39));
|
||||
|
||||
if (!stacker && !damager)
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user