Core/Auras: Implemented SPELL_AURA_MOD_INCREASE_HEALTH_PERCENT2
Port From (https://github.com/TrinityCore/TrinityCore/commit/4f38650810261ed6ad4c5bd2e6c25ffe1dde4c38)
This commit is contained in:
@@ -3427,7 +3427,7 @@ namespace Game.Spells
|
|||||||
target.ApplyStatPctModifier(UnitMods.Health, UnitModifierPctType.Total, GetAmount());
|
target.ApplyStatPctModifier(UnitMods.Health, UnitModifierPctType.Total, GetAmount());
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
float amount = target.GetTotalAuraMultiplier(AuraType.ModIncreaseHealthPercent);
|
float amount = target.GetTotalAuraMultiplier(AuraType.ModIncreaseHealthPercent) * target.GetTotalAuraMultiplier(AuraType.ModIncreaseHealthPercent2);
|
||||||
target.SetStatPctModifier(UnitMods.Health, UnitModifierPctType.Total, amount);
|
target.SetStatPctModifier(UnitMods.Health, UnitModifierPctType.Total, amount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user