mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-08 02:00:29 +00:00
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:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user