From 5f81bdb25d200680a459895926beb1501074040b Mon Sep 17 00:00:00 2001 From: Andrew <47818697+Nyeriah@users.noreply.github.com> Date: Sun, 5 Jan 2025 17:49:33 -0300 Subject: [PATCH] fix(Scripts/ZulAman): Fix initial pack not chasing distant players (#21098) --- data/sql/updates/pending_db_world/rev_1736106102651280100.sql | 2 ++ src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 data/sql/updates/pending_db_world/rev_1736106102651280100.sql diff --git a/data/sql/updates/pending_db_world/rev_1736106102651280100.sql b/data/sql/updates/pending_db_world/rev_1736106102651280100.sql new file mode 100644 index 00000000000000..e77bff151097af --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1736106102651280100.sql @@ -0,0 +1,2 @@ +-- +DELETE FROM `smart_scripts` WHERE (`entryorguid` = 23889) AND (`source_type` = 0) AND (`id` = 3); diff --git a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp index 8cc5551b51a296..88cd3e7381e846 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp @@ -417,7 +417,7 @@ struct npc_harrison_jones : public ScriptedAI std::list creatures; me->GetCreatureListWithEntryInGrid(creatures, NPC_AMANISHI_SAVAGE, 100.0f); for (Creature* creature : creatures) - creature->AI()->SetData(0, 0); + creature->SetInCombatWithZone(); }); _instance->StorePersistentData(DATA_TIMED_RUN, 21); _instance->DoAction(ACTION_START_TIMED_RUN);