Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Scripts: Fix ook ook jump instead of summoning a copy
Browse files Browse the repository at this point in the history
  • Loading branch information
AriDEV3 committed Oct 29, 2023
1 parent aaeedac commit 6a7ac5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6a7ac5a

Please sign in to comment.