diff options
| author | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2021-10-15 10:25:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-15 10:25:29 +0200 |
| commit | bc82f36f1ff46bb21d32e1cfdaec8271dde08af1 (patch) | |
| tree | 789b7e12610cd59292aa7969cd240b967198a90b /src/server/scripts/Events/brewfest.cpp | |
| parent | 3c42a7d72d374df3aede3bcf371c4bb22b0c563e (diff) | |
refactor(Core/Unit): clean MonsterText methods (#6957)
Diffstat (limited to 'src/server/scripts/Events/brewfest.cpp')
| -rw-r--r-- | src/server/scripts/Events/brewfest.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/server/scripts/Events/brewfest.cpp b/src/server/scripts/Events/brewfest.cpp index 4d63636eeb..6eb0e6a7d6 100644 --- a/src/server/scripts/Events/brewfest.cpp +++ b/src/server/scripts/Events/brewfest.cpp @@ -226,7 +226,7 @@ public: if (q_status.CreatureOrGOCount[me->GetEntry() - 24202] == 0) { player->KilledMonsterCredit(me->GetEntry()); - player->MonsterSay(GetTextFor(me->GetEntry(), quest).c_str(), LANG_UNIVERSAL, player); + player->Say(GetTextFor(me->GetEntry(), quest).c_str(), LANG_UNIVERSAL, player); } } } @@ -456,16 +456,16 @@ public: if (thrown == 3) { thrown = 0; - sayer->MonsterSay("SOMEONE TRY THIS SUPER BREW!", LANG_UNIVERSAL, 0); + sayer->Say("SOMEONE TRY THIS SUPER BREW!", LANG_UNIVERSAL); //sayer->CastSpell(sayer, SPELL_CREATE_SUPER_BREW, true); sayer->SummonCreature(NPC_SUPER_BREW_TRIGGER, sayer->GetPositionX() + 15 * cos(sayer->GetOrientation()), sayer->GetPositionY() + 15 * sin(sayer->GetOrientation()), sayer->GetPositionZ(), 0.0f, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 30000); } else { if (urand(0, 1)) - sayer->MonsterSay("Chug and chuck! Chug and chuck!", LANG_UNIVERSAL, 0); + sayer->Say("Chug and chuck! Chug and chuck!", LANG_UNIVERSAL); else - sayer->MonsterSay("Down the free brew and pelt the Guzzlers with your mug!", LANG_UNIVERSAL, 0); + sayer->Say("Down the free brew and pelt the Guzzlers with your mug!", LANG_UNIVERSAL); } break; @@ -479,7 +479,7 @@ public: { char amount[500]; sprintf(amount, "We did it boys! Now back to the Grim Guzzler and we'll drink to the %u that were injured!", guzzlerCounter); - herald->MonsterYell(amount, LANG_UNIVERSAL, 0); + herald->Yell(amount, LANG_UNIVERSAL); } Reset(); @@ -492,7 +492,7 @@ public: { char amount[500]; sprintf(amount, "RETREAT!! We've already lost %u and we can't afford to lose any more!!", guzzlerCounter); - herald->MonsterYell(amount, LANG_UNIVERSAL, 0); + herald->Yell(amount, LANG_UNIVERSAL); } me->CastSpell(me, (me->GetMapId() == 1 ? SPELL_SUMMON_PLANS_H : SPELL_SUMMON_PLANS_A), true); @@ -771,19 +771,19 @@ public: switch (urand(0, 4)) { case 0: - me->MonsterSay("Drink it all boys!", LANG_UNIVERSAL, 0); + me->Say("Drink it all boys!", LANG_UNIVERSAL); break; case 1: - me->MonsterSay("DRINK! BRAWL! DRINK! BRAWL!", LANG_UNIVERSAL, 0); + me->Say("DRINK! BRAWL! DRINK! BRAWL!", LANG_UNIVERSAL); break; case 2: - me->MonsterSay("Did someone say, \"Free Brew\"?", LANG_UNIVERSAL, 0); + me->Say("Did someone say, \"Free Brew\"?", LANG_UNIVERSAL); break; case 3: - me->MonsterSay("No one expects the Dark Iron dwarves!", LANG_UNIVERSAL, 0); + me->Say("No one expects the Dark Iron dwarves!", LANG_UNIVERSAL); break; case 4: - me->MonsterSay("It's not a party without some crashers!", LANG_UNIVERSAL, 0); + me->Say("It's not a party without some crashers!", LANG_UNIVERSAL); break; } } |
