Core/Auras: Implemented SPELL_AURA_MOD_POWER_GAIN_PCT
Port From (https://github.com/TrinityCore/TrinityCore/commit/03f1d3cedf66711ec375c421ddbb458a9992800b)
This commit is contained in:
@@ -194,6 +194,9 @@ namespace Game.Entities
|
||||
if (dVal == 0)
|
||||
return 0;
|
||||
|
||||
if (dVal > 0)
|
||||
dVal *= (int)GetTotalAuraMultiplierByMiscValue(AuraType.ModPowerGainPct, (int)power);
|
||||
|
||||
int curPower = GetPower(power);
|
||||
|
||||
int val = (dVal + curPower);
|
||||
|
||||
Reference in New Issue
Block a user