Scripts/Spells: Added crit multiplier for Deft Experience (Fury Warrior Talent) (#31666)

This commit is contained in:
Jeremy
2026-02-19 21:00:00 +01:00
committed by GitHub
parent 094b1421a2
commit b6bdc11975

View File

@@ -577,7 +577,7 @@ class spell_warr_deft_experience : public SpellScript
Unit const* caster = GetCaster();
if (Aura* enrageAura = caster->GetAura(SPELL_WARRIOR_ENRAGE))
if (AuraEffect const* aurEff = caster->GetAuraEffect(SPELL_WARRIOR_DEFT_EXPERIENCE, EFFECT_1))
enrageAura->SetDuration(enrageAura->GetDuration() + aurEff->GetAmount());
enrageAura->SetDuration(enrageAura->GetDuration() + (aurEff->GetAmount() * (IsHitCrit() ? 2 : 1)));
}
void Register() override