mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 17:43:47 +00:00
refactor(Core/Unit): clean MonsterText methods (#6957)
This commit is contained in:
@@ -88,7 +88,7 @@ enum BWLMisc
|
||||
DATA_EGG_EVENT = 2,
|
||||
TALK_EGG_BROKEN_RAND = 3,
|
||||
|
||||
SAY_NEFARIAN_VAEL_INTRO = 100003, // latest id in broadcast_text atm
|
||||
SAY_NEFARIAN_VAEL_INTRO = 14
|
||||
};
|
||||
|
||||
template <class AI, class T>
|
||||
|
||||
@@ -58,7 +58,6 @@ enum Says
|
||||
// BWL
|
||||
SAY_GAMESBEGIN_1 = 12,
|
||||
SAY_GAMESBEGIN_2 = 13,
|
||||
// SAY_VAEL_INTRO = 14, Not used - when he corrupts Vaelastrasz
|
||||
|
||||
// Nefarian
|
||||
SAY_RANDOM = 0,
|
||||
|
||||
@@ -154,7 +154,7 @@ public:
|
||||
if (Creature* nefarius = me->GetMap()->GetCreature(m_nefariusGuid))
|
||||
{
|
||||
nefarius->CastSpell(me, SPELL_NEFARIUS_CORRUPTION, TRIGGERED_CAST_DIRECTLY);
|
||||
nefarius->MonsterYell(SAY_NEFARIAN_VAEL_INTRO, LANG_UNIVERSAL, 0);
|
||||
nefarius->Yell(SAY_NEFARIAN_VAEL_INTRO);
|
||||
nefarius->SetStandState(UNIT_STAND_STATE_STAND);
|
||||
}
|
||||
events.ScheduleEvent(EVENT_SPEECH_3, 18000);
|
||||
|
||||
Reference in New Issue
Block a user