mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Core/Spells): Druid's Enrage not reducing armor (#7394)
This commit is contained in:
@@ -1834,8 +1834,11 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
|
|||||||
if (apply)
|
if (apply)
|
||||||
target->CastSpell(target, 70725, true);
|
target->CastSpell(target, 70725, true);
|
||||||
}
|
}
|
||||||
else if (AuraEffect* aurEff = caster->GetAuraEffect(SPELL_AURA_MOD_BASE_RESISTANCE_PCT, SPELLFAMILY_DRUID, 107, 0))
|
else
|
||||||
aurEff->RecalculateAmount();
|
{
|
||||||
|
// Enrage armor reduction
|
||||||
|
target->HandleStatModifier(UNIT_MOD_ARMOR, BASE_PCT, target->GetShapeshiftForm() == FORM_DIREBEAR ? -16.0f : -27.0f, apply);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user