fix(Core/Event): STV Riggle Bassbait broadcast text ids (#13517)

* fix broadcast_text not found

* use creature->AI()->Talk() instead of creature->Yell()

Co-authored-by: schell244 <>
This commit is contained in:
schell244
2022-10-24 16:09:52 +02:00
committed by GitHub
parent b0c09a3596
commit c54d56c7d0

View File

@@ -265,7 +265,7 @@ public:
}
if (sWorld->getWorldState(STV_FISHING_ANNOUNCE_EVENT_BEGIN))
{
me->Yell(RIGGLE_SAY_START);
me->AI()->Talk(RIGGLE_SAY_START);
sWorld->setWorldState(STV_FISHING_ANNOUNCE_EVENT_BEGIN, 0);
}
}
@@ -285,7 +285,7 @@ public:
{
if (sWorld->getWorldState(STV_FISHING_ANNOUNCE_POOLS_DESPAN))
{
me->Yell(RIGGLE_SAY_POOLS_END);
me->AI()->Talk(RIGGLE_SAY_POOLS_END);
sWorld->setWorldState(STV_FISHING_ANNOUNCE_POOLS_DESPAN, 0);
}
}
@@ -328,7 +328,7 @@ public:
if (quest->GetQuestId() == QUEST_MASTER_ANGLER)
{
creature->RemoveNpcFlag(UNIT_NPC_FLAG_QUESTGIVER);
creature->Yell(RIGGLE_SAY_WINNER, player);
creature->AI()->Talk(RIGGLE_SAY_WINNER, player);
sWorld->setWorldState(STV_FISHING_PREV_WIN_TIME, GameTime::GetGameTime().count());
sWorld->setWorldState(STV_FISHING_HAS_WINNER, 1);
}