aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/EasternKingdoms/ShadowfangKeep
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-01-22 15:00:55 -0300
committerShauren <shauren.trinity@gmail.com>2021-06-16 21:03:06 +0200
commitc77925da4a320df5be5eaeb1fc799df50e22c041 (patch)
tree3a574f41483c6c73b6bd10aa254d15bbc2a4501c /src/server/scripts/EasternKingdoms/ShadowfangKeep
parent29bfa32fc39de1d93fbdb272d48689174c547725 (diff)
Core/Entities: killed Creature::SetInCombatWithZone and replaced with AI version
Closes #12108 (again) (cherry picked from commit 7c9722a4ae08b5f283f6a085a411e37604a7da9f)
Diffstat (limited to 'src/server/scripts/EasternKingdoms/ShadowfangKeep')
-rw-r--r--src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp b/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp
index 0bc222fde12..65303b527b7 100644
--- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp
+++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp
@@ -217,7 +217,7 @@ class boss_apothecary_hummel : public CreatureScript
case EVENT_START_FIGHT:
{
me->SetImmuneToAll(false);
- me->SetInCombatWithZone();
+ DoZoneInCombat();
events.ScheduleEvent(EVENT_CALL_BAXTER, Seconds(6));
events.ScheduleEvent(EVENT_CALL_FRYE, Seconds(14));
events.ScheduleEvent(EVENT_PERFUME_SPRAY, Milliseconds(3640));
@@ -298,7 +298,7 @@ struct npc_apothecary_genericAI : public ScriptedAI
else if (action == ACTION_START_FIGHT)
{
me->SetImmuneToAll(false);
- me->SetInCombatWithZone();
+ DoZoneInCombat();
}
}