diff options
| author | ariel- <ariel-@users.noreply.github.com> | 2018-01-22 15:00:55 -0300 |
|---|---|---|
| committer | ariel- <ariel-@users.noreply.github.com> | 2018-01-22 15:00:55 -0300 |
| commit | 7c9722a4ae08b5f283f6a085a411e37604a7da9f (patch) | |
| tree | ae026035f31ecd0c4f6cece5294683d5de59d40c /src/server/scripts/EasternKingdoms/ShadowfangKeep | |
| parent | e315e41d36061fc88dfa09bfa0da1fbc0c00826f (diff) | |
Core/Entities: killed Creature::SetInCombatWithZone and replaced with AI version
Closes #12108 (again)
Diffstat (limited to 'src/server/scripts/EasternKingdoms/ShadowfangKeep')
| -rw-r--r-- | src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp | 4 |
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 f45409f025d..628d6345ece 100644 --- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp +++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp @@ -215,7 +215,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)); @@ -296,7 +296,7 @@ struct npc_apothecary_genericAI : public ScriptedAI else if (action == ACTION_START_FIGHT) { me->SetImmuneToAll(false); - me->SetInCombatWithZone(); + DoZoneInCombat(); } } |
