Jump to content

[8609] Alterac Valley - typo


Guest LordJZ

Recommended Posts

Oh oh

diff --git a/src/game/BattleGroundAV.cpp b/src/game/BattleGroundAV.cpp
index e9de584..9b27ec8 100644
--- a/src/game/BattleGroundAV.cpp
+++ b/src/game/BattleGroundAV.cpp
@@ -611,7 +611,7 @@
        SendYell2ToAll(LANG_BG_AV_TOWER_ASSAULTED, LANG_UNIVERSAL, GetSingleCreatureGuid(BG_AV_HERALD, 0),
            GetNodeName(node),
            ( team == BG_TEAM_ALLIANCE ) ? LANG_BG_AV_ALLY:LANG_BG_AV_HORDE);
-        UpdatePlayerScore(player, SCORE_GRAVEYARDS_ASSAULTED, 1);
+        UpdatePlayerScore(player, SCORE_TOWERS_ASSAULTED, 1);
    }
    else
    {

    if (IsTower(node))
   {
       SendYell2ToAll(LANG_BG_AV_TOWER_ASSAULTED, LANG_UNIVERSAL, GetSingleCreatureGuid(BG_AV_HERALD, 0),
           GetNodeName(node),
           ( team == BG_TEAM_ALLIANCE ) ? LANG_BG_AV_ALLY:LANG_BG_AV_HORDE);
[color=red][b]        UpdatePlayerScore(player, SCORE_GRAVEYARDS_ASSAULTED, 1);[/b][/color]
   }
   else
   {
       SendYell2ToAll(LANG_BG_AV_GRAVE_ASSAULTED, LANG_UNIVERSAL, GetSingleCreatureGuid(BG_AV_HERALD, 0),
           GetNodeName(node),
           ( team == BG_TEAM_ALLIANCE ) ? LANG_BG_AV_ALLY:LANG_BG_AV_HORDE);
       // update the statistic for the assaulting player
       UpdatePlayerScore(player, SCORE_GRAVEYARDS_ASSAULTED, 1);
   }

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use