329 {
331 vAI->ResetData();
332
334 if (vAI)
335 vAI->StartBattle(player->
GetGUID(), quest->GetQuestId());
336
337 switch (quest->GetQuestId())
338 {
340 creature->
Say(
"Valhalas is yours to win or die in, $N. But whatever you do, stay within the bounds of the arena. To flee is to lose and be dishonored.",
LANG_UNIVERSAL, player);
341 break;
343 creature->
Say(
"Prepare yourself. Khit'rix will be entering Valhalas from the southeast. Remember, do not leave the ring or you will lose the battle.",
LANG_UNIVERSAL, player);
344 break;
346 creature->
Yell(
"Sigrid Iceborn has returned to the heights of Jotunheim to prove herself against $N. When last they met, $N bester her in personal combat. Let us see the outcome of this match.",
LANG_UNIVERSAL, player);
347 break;
349 creature->
Say(
"Carnage is coming! Remember, no matter what you do, do NOT leave the battle ring or I will disqualify you and your group.",
LANG_UNIVERSAL);
350 break;
352 creature->
Say(
"Look to the southeast and you will see the thane upon the platform near Gjonner the Merciless when he shows himself. Let him come down. Stay within the ring of Valhalas.",
LANG_UNIVERSAL);
353 break;
355 creature->
Say(
"It's too late to run now. Do not leave the ring. Die bravely, $N!",
LANG_UNIVERSAL);
356 break;
357 }
358
359 return true;
360 }
@ LANG_UNIVERSAL
Definition SharedDefines.h:735
#define CAST_AI(a, b)
Definition UnitAI.h:26
@ UNIT_NPC_FLAG_QUESTGIVER
Definition UnitDefines.h:316
CreatureAI * AI() const
Definition Creature.h:141
static ObjectGuid GetGUID(Object const *o)
Definition Object.h:112
virtual void Say(std::string_view text, Language language, WorldObject const *target=nullptr)
Definition Unit.cpp:21189
virtual void Yell(std::string_view text, Language language, WorldObject const *target=nullptr)
Definition Unit.cpp:21194
void RemoveNpcFlag(NPCFlags flags)
Definition Unit.h:736
Definition zone_icecrown.cpp:106
@ QUEST_BFV_FINAL
Definition zone_icecrown.cpp:78
@ QUEST_BFV_CARNAGE
Definition zone_icecrown.cpp:76
@ QUEST_BFV_DARK_MASTER
Definition zone_icecrown.cpp:74
@ QUEST_BFV_FALLEN_HEROES
Definition zone_icecrown.cpp:73
@ QUEST_BFV_SIGRID
Definition zone_icecrown.cpp:75
@ QUEST_BFV_THANE
Definition zone_icecrown.cpp:77