mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-26 15:16:24 +00:00
fix(Scripts/Spells): Fixed Enrage armor reduce part. Source: TrinityCore. (#8625)
Fixes #8623
This commit is contained in:
@@ -1843,25 +1843,6 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
|
||||
target->RemoveAura(63531);
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
case SPELLFAMILY_DRUID:
|
||||
if (!caster)
|
||||
break;
|
||||
// Reduce base armor of bear form and dire bear form
|
||||
if (GetId() == 5229)
|
||||
{
|
||||
if (target->HasAura(70726)) // Item - Druid T10 Feral 4P Bonus
|
||||
{
|
||||
if (apply)
|
||||
target->CastSpell(target, 70725, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Enrage armor reduction
|
||||
target->HandleStatModifier(UNIT_MOD_ARMOR, BASE_PCT, target->GetShapeshiftForm() == FORM_DIREBEAR ? -16.0f : -27.0f, apply);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user