Core/Units: fixed a typo in Lava Burst crit chance bonus

This commit is contained in:
Ovahlord
2020-09-27 18:16:07 +02:00
parent 0528189e62
commit 059dff081c

View File

@@ -7163,7 +7163,7 @@ float Unit::SpellCritChanceTaken(Unit const* caster, SpellInfo const* spellInfo,
break;
case SPELLFAMILY_SHAMAN:
// Lava Burst
if ((spellInfo->SpellFamilyFlags[1] & 01000) != 0 || (spellInfo->SpellFamilyFlags[2] & 0x400000) != 0)
if ((spellInfo->SpellFamilyFlags[1] & 0x1000) != 0 || (spellInfo->SpellFamilyFlags[2] & 0x400000) != 0)
{
if (GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_SHAMAN, 0x10000000, 0, 0, caster->GetGUID()))
if (GetTotalAuraModifier(SPELL_AURA_MOD_ATTACKER_SPELL_AND_WEAPON_CRIT_CHANCE) > -100)