From d97563be4425eae2a1411adf9c48a8a771cb53bd Mon Sep 17 00:00:00 2001 From: Andrew <47818697+Nyeriah@users.noreply.github.com> Date: Sat, 22 Feb 2025 18:38:44 -0300 Subject: [PATCH] =?UTF-8?q?fix(Scripts/SilverpineForest):=20Fix=20double?= =?UTF-8?q?=20spawn=20in=20Pyrewood=20Ambush=20an=E2=80=A6=20(#21584)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/scripts/EasternKingdoms/zone_silverpine_forest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server/scripts/EasternKingdoms/zone_silverpine_forest.cpp b/src/server/scripts/EasternKingdoms/zone_silverpine_forest.cpp index b07354ef57..2037f759f2 100644 --- a/src/server/scripts/EasternKingdoms/zone_silverpine_forest.cpp +++ b/src/server/scripts/EasternKingdoms/zone_silverpine_forest.cpp @@ -174,6 +174,7 @@ struct npc_deathstalker_fearleia : public ScriptedAI { _playerGUID.Clear(); _summons.DespawnAll(); + me->SetNpcFlag(UNIT_NPC_FLAG_QUESTGIVER); } } @@ -183,6 +184,7 @@ struct npc_deathstalker_fearleia : public ScriptedAI { _questInProgress = true; _playerGUID = player->GetGUID(); + me->RemoveNpcFlag(UNIT_NPC_FLAG_QUESTGIVER); } Talk(NPCSAY_INIT, player); @@ -204,7 +206,6 @@ struct npc_deathstalker_fearleia : public ScriptedAI SummonCreatureWithRandomTarget(2065, 0); break; case 4: - SummonCreatureWithRandomTarget(2066, 1); SummonCreatureWithRandomTarget(2066, 1); SummonCreatureWithRandomTarget(2067, 0); SummonCreatureWithRandomTarget(2068, 2);