mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
Fix apply SPELLMOD_MULTIPLE_VALUE for SPELL_AURA_MANA_SHIELD drain
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
14be347015
commit
13c5d3a33c
1 changed files with 1 additions and 1 deletions
|
|
@ -1863,7 +1863,7 @@ void Unit::CalcAbsorbResist(Unit *pVictim,SpellSchoolMask schoolMask, DamageEffe
|
|||
currentAbsorb = RemainingDamage;
|
||||
|
||||
float manaMultiplier = (*i)->GetSpellProto()->EffectMultipleValue[(*i)->GetEffIndex()];
|
||||
if(Player *modOwner = GetSpellModOwner())
|
||||
if(Player *modOwner = pVictim->GetSpellModOwner())
|
||||
modOwner->ApplySpellMod((*i)->GetId(), SPELLMOD_MULTIPLE_VALUE, manaMultiplier);
|
||||
|
||||
int32 maxAbsorb = int32(pVictim->GetPower(POWER_MANA) / manaMultiplier);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue