mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 08:28:57 +01:00
@@ -815,6 +815,9 @@ void BattlefieldWG::OnBattleEnd(bool endByTimer)
|
||||
{
|
||||
player->CastSpell(player, SPELL_ESSENCE_OF_WINTERGRASP, true);
|
||||
player->CastSpell(player, SPELL_VICTORY_REWARD, true);
|
||||
// Complete victory quests
|
||||
player->AreaExploredOrEventHappens(QUEST_VICTORY_WINTERGRASP_A);
|
||||
player->AreaExploredOrEventHappens(QUEST_VICTORY_WINTERGRASP_H);
|
||||
// Send Wintergrasp victory achievement
|
||||
DoCompleteOrIncrementAchievement(ACHIEVEMENTS_WIN_WG, player);
|
||||
// Award achievement for succeeding in Wintergrasp in 10 minutes or less
|
||||
|
||||
@@ -150,6 +150,12 @@ enum WintergraspAreaIds
|
||||
AREA_THE_CHILLED_QUAGMIRE = 4589
|
||||
};
|
||||
|
||||
enum WintergraspQuests
|
||||
{
|
||||
QUEST_VICTORY_WINTERGRASP_A = 13181,
|
||||
QUEST_VICTORY_WINTERGRASP_H = 13183
|
||||
};
|
||||
|
||||
/*#########################
|
||||
*####### Graveyards ######
|
||||
*#########################*/
|
||||
|
||||
Reference in New Issue
Block a user