aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Battlegrounds/Zones/BattlegroundBFG.h3
-rw-r--r--src/server/game/Battlegrounds/Zones/BattlegroundTP.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundBFG.h b/src/server/game/Battlegrounds/Zones/BattlegroundBFG.h
index 1f539a414b2..e00c940e134 100644
--- a/src/server/game/Battlegrounds/Zones/BattlegroundBFG.h
+++ b/src/server/game/Battlegrounds/Zones/BattlegroundBFG.h
@@ -49,6 +49,9 @@ class BattlegroundBFGScore final : public BattlegroundScore
content << uint32(BasesDefended);
}
+ uint32 GetAttr1() const final override { return BasesAssaulted; }
+ uint32 GetAttr2() const final override { return BasesDefended; }
+
uint32 BasesAssaulted;
uint32 BasesDefended;
};
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundTP.h b/src/server/game/Battlegrounds/Zones/BattlegroundTP.h
index 3d34974d845..77f649d971c 100644
--- a/src/server/game/Battlegrounds/Zones/BattlegroundTP.h
+++ b/src/server/game/Battlegrounds/Zones/BattlegroundTP.h
@@ -49,6 +49,9 @@ class BattlegroundTPScore final : public BattlegroundScore
content << uint32(FlagReturns);
}
+ uint32 GetAttr1() const final override { return FlagCaptures; }
+ uint32 GetAttr2() const final override { return FlagReturns; }
+
uint32 FlagCaptures;
uint32 FlagReturns;
};