From 6a7ac5a020bc2ed526c2d32e2cecb65f0ba076e2 Mon Sep 17 00:00:00 2001 From: AriDEV Date: Sun, 29 Oct 2023 11:51:11 +0100 Subject: [PATCH] Scripts: Fix ook ook jump instead of summoning a copy --- .../scripts/Pandaria/StormstoutBrewery/stormstout_brewery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/scripts/Pandaria/StormstoutBrewery/stormstout_brewery.cpp b/src/server/scripts/Pandaria/StormstoutBrewery/stormstout_brewery.cpp index b34eb057807..83de5cef3b7 100644 --- a/src/server/scripts/Pandaria/StormstoutBrewery/stormstout_brewery.cpp +++ b/src/server/scripts/Pandaria/StormstoutBrewery/stormstout_brewery.cpp @@ -23,7 +23,7 @@ void SummonOokOokIfReady(InstanceScript* instance, Creature* creature, Unit* kil if (instance->GetData64(DATA_BANANA_EVENT) > 39) { - if (Creature* pOokOok = creature->SummonCreature(NPC_OOK_OOK, -750.555f, 1334.4f, 162.71f, 1.83f, TempSummonType::TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, HOUR * 2 * IN_MILLISECONDS)) + if (Creature* pOokOok = creature->FindNearestCreature(NPC_OOK_OOK, 45.0f, true)) { // Note: should be Yell instead of Say pOokOok->MonsterSay(SAY_OOK_OOK_1, Language::LANG_UNIVERSAL, 0);