Core/Auras: Allow effects of SPELL_AURA_SCHOOL_ABSORB_OVERKILL to be prevented by setting absorb value to 0 in script

Port From (https://github.com/TrinityCore/TrinityCore/commit/7b9493eec7c937642243c5ab0367f5ac8643879e)
This commit is contained in:
hondacrx
2023-09-14 06:57:52 -04:00
parent 4134796f1b
commit 25b27dcc72
2 changed files with 11 additions and 14 deletions
-2
View File
@@ -1573,8 +1573,6 @@ namespace Scripts.Spells.Priest
Unit target = GetTarget();
target.CastSpell(target, SpellIds.SpiritOfRedemption, new CastSpellExtraArgs(aurEff));
target.SetFullHealth();
absorbAmount = dmgInfo.GetDamage();
}
public override void Register()