Core/Spells: Allow direct damage effect of Seal of Vengeance and Seal of Corruption to proc from Shield of Righteousness

This commit is contained in:
tobmaps
2011-06-24 03:18:06 +07:00
parent 5afdef0ec3
commit 05842713ef
+4 -2
View File
@@ -6808,7 +6808,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
// At melee attack or Hammer of the Righteous spell damage considered as melee attack
bool stacker = !procSpell || procSpell->Id == 53595;
bool damager = procSpell && procSpell->EquippedItemClass == ITEM_CLASS_WEAPON;
// spells with SPELL_DAMAGE_CLASS_MELEE excluding Judgements
bool damager = procSpell && procSpell->EquippedItemClass != -1;
if (!stacker && !damager)
return false;
@@ -6839,7 +6840,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
// At melee attack or Hammer of the Righteous spell damage considered as melee attack
bool stacker = !procSpell || procSpell->Id == 53595;
bool damager = procSpell && procSpell->EquippedItemClass == ITEM_CLASS_WEAPON;
// spells with SPELL_DAMAGE_CLASS_MELEE excluding Judgements
bool damager = procSpell && procSpell->EquippedItemClass != -1;
if (!stacker && !damager)
return false;