328 {
330 vAI->ResetData();
331
333 if (vAI)
334 vAI->StartBattle(player->
GetGUID(), quest->GetQuestId());
335
336 switch (quest->GetQuestId())
337 {
339 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);
340 break;
342 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);
343 break;
345 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);
346 break;
348 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);
349 break;
351 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);
352 break;
354 creature->
Say(
"It's too late to run now. Do not leave the ring. Die bravely, $N!",
LANG_UNIVERSAL);
355 break;
356 }
357
358 return true;
359 }
#define CAST_AI(a, b)
Definition: ScriptedCreature.h:28
@ UNIT_NPC_FLAG_QUESTGIVER
Definition: Unit.h:517
@ QUEST_BFV_FINAL
Definition: zone_icecrown.cpp:77
@ QUEST_BFV_CARNAGE
Definition: zone_icecrown.cpp:75
@ QUEST_BFV_DARK_MASTER
Definition: zone_icecrown.cpp:73
@ QUEST_BFV_FALLEN_HEROES
Definition: zone_icecrown.cpp:72
@ QUEST_BFV_SIGRID
Definition: zone_icecrown.cpp:74
@ QUEST_BFV_THANE
Definition: zone_icecrown.cpp:76
@ LANG_UNIVERSAL
Definition: SharedDefines.h:707
CreatureAI * AI() const
Definition: Creature.h:135
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:106
virtual void Say(std::string_view text, Language language, WorldObject const *target=nullptr)
Definition: Unit.cpp:21306
virtual void Yell(std::string_view text, Language language, WorldObject const *target=nullptr)
Definition: Unit.cpp:21311
void RemoveNpcFlag(NPCFlags flags)
Definition: Unit.h:1648
Definition: zone_icecrown.cpp:105