Misc fixes

This commit is contained in:
hondacrx
2024-02-28 20:36:37 -05:00
parent c7c5b26b16
commit 7687409bf6
-3
View File
@@ -2094,9 +2094,6 @@ namespace Scripts.Spells.Priest
return;
int aegisAmount = (int)MathFunctions.CalculatePct(eventInfo.GetHealInfo().GetHeal(), aurEff.GetAmount());
AuraEffect existingAegis = eventInfo.GetProcTarget().GetAuraEffect(SpellIds.DivineAegisAbsorb, 0, caster.GetGUID());
if (existingAegis != null)
aegisAmount += existingAegis.GetAmount();
CastSpellExtraArgs args = new(aurEff);
args.SetTriggerFlags(TriggerCastFlags.IgnoreCastInProgress | TriggerCastFlags.DontReportCastError);