323 {
325 vAI->ResetData();
326
328 if (vAI)
329 vAI->StartBattle(player->
GetGUID(), quest->GetQuestId());
330
331 switch (quest->GetQuestId())
332 {
334 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);
335 break;
337 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);
338 break;
340 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);
341 break;
343 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);
344 break;
346 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);
347 break;
349 creature->
Say(
"It's too late to run now. Do not leave the ring. Die bravely, $N!",
LANG_UNIVERSAL);
350 break;
351 }
352
353 return true;
354 }
@ LANG_UNIVERSAL
Definition SharedDefines.h:746
#define CAST_AI(a, b)
Definition UnitAI.h:26
@ UNIT_NPC_FLAG_QUESTGIVER
Definition UnitDefines.h:320
CreatureAI * AI() const
Definition Creature.h:145
static ObjectGuid GetGUID(Object const *o)
Definition Object.h:113
virtual void Say(std::string_view text, Language language, WorldObject const *target=nullptr)
Definition Unit.cpp:21231
virtual void Yell(std::string_view text, Language language, WorldObject const *target=nullptr)
Definition Unit.cpp:21236
void RemoveNpcFlag(NPCFlags flags)
Definition Unit.h:755
Definition zone_icecrown.cpp:107
@ 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