fix(Core/Spells): Judgement of Wisdom should restore 2% base mana per proc (#25020)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
blinkysc 2026-03-07 04:35:58 -06:00 committed by GitHub
parent 077bd9f869
commit 4bdb6789be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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());
}