1 Commits

Author SHA1 Message Date
blinkysc
4bdb6789be fix(Core/Spells): Judgement of Wisdom should restore 2% base mana per proc (#25020)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
2026-03-07 07:35:58 -03:00

View File

@@ -1374,7 +1374,8 @@ class spell_pal_judgement_of_wisdom_mana : public AuraScript
if (!attacker)
return;
int32 bp = int32(CalculatePct(attacker->GetCreateMana(), aurEff->GetAmount()));
SpellInfo const* spellInfo = sSpellMgr->AssertSpellInfo(SPELL_PALADIN_JUDGEMENT_OF_WISDOM_MANA);
int32 bp = int32(CalculatePct(attacker->GetCreateMana(), spellInfo->Effects[EFFECT_0].CalcValue()));
attacker->CastCustomSpell(attacker, SPELL_PALADIN_JUDGEMENT_OF_WISDOM_MANA, &bp, nullptr, nullptr, true, nullptr, aurEff, GetCasterGUID());
}