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:
parent
077bd9f869
commit
4bdb6789be
1 changed files with 2 additions and 1 deletions
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue