mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-08 02:00:29 +00:00
Compare commits
1 Commits
20260306-a
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4bdb6789be |
@@ -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