From bd4810351d17bfd6518c7c5d9316de5555a79f34 Mon Sep 17 00:00:00 2001 From: Trust Date: Sun, 16 Aug 2020 18:32:26 -0400 Subject: [PATCH] [Aggro] PercentalHeal should be included in aggro generation Per January 15th 2003 Patch Notes: "NPCs will now notice Druid and Shaman Percentage Heal spells in a manner similar to traditional healing spells." Added SE_PercetalHeal to the same CheckHealAggroAmount as SE_CurrentHP to be similar to traditional healing spells. --- zone/aggro.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zone/aggro.cpp b/zone/aggro.cpp index a3aa301ac..d23732df4 100644 --- a/zone/aggro.cpp +++ b/zone/aggro.cpp @@ -1144,7 +1144,9 @@ int32 Mob::CheckHealAggroAmount(uint16 spell_id, Mob *target, uint32 heal_possib for (int o = 0; o < EFFECT_COUNT; o++) { switch (spells[spell_id].effectid[o]) { - case SE_CurrentHP: { + case SE_CurrentHP: + case SE_PercentalHeal: + { if (heal_possible == 0) { AggroAmount += 1; break;