mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
Core/Unit: fixed Lava Burst crit when Flame Shock is present on target
Closes #21268
This commit is contained in:
@@ -7543,7 +7543,7 @@ float Unit::SpellCritChanceTaken(Unit const* caster, SpellInfo const* spellInfo,
|
||||
// Lava Burst
|
||||
if (spellInfo->SpellFamilyFlags[1] & 0x00001000)
|
||||
{
|
||||
if (GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_SHAMAN, 0x10000000, 0, 0, GetGUID()))
|
||||
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)
|
||||
return 100.0f;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user