Core/Spells: Lava Burst patch 3.2.2 update - Lava Burst can no longer deal critical damage to targets who are immune to critical strikes (due to, e.g. Roar of Sacrifice, Blessed Resilience).

This commit is contained in:
johnholiver
2011-03-19 11:12:52 +01:00
committed by Shauren
parent 2ff8b76ddd
commit 1465a081d0
+2 -1
View File
@@ -10735,7 +10735,8 @@ bool Unit::isSpellCrit(Unit *pVictim, SpellEntry const *spellProto, SpellSchoolM
if (spellProto->SpellFamilyFlags[1] & 0x00001000) if (spellProto->SpellFamilyFlags[1] & 0x00001000)
{ {
if (pVictim->GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_SHAMAN, 0x10000000, 0,0, GetGUID())) if (pVictim->GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_SHAMAN, 0x10000000, 0,0, GetGUID()))
return true; if (pVictim->GetTotalAuraModifier(SPELL_AURA_MOD_ATTACKER_SPELL_AND_WEAPON_CRIT_CHANCE) > -100)
return true;
break; break;
} }
break; break;