diff options
author | Rat <none@none> | 2010-05-11 21:42:39 +0200 |
---|---|---|
committer | Rat <none@none> | 2010-05-11 21:42:39 +0200 |
commit | eae6f5c09410cd61ef51999343a77b67c71a85d0 (patch) | |
tree | 05a01e3cad9a6c67f366b87e7b13a12c3270ea42 /src/game/BattleGround.h | |
parent | bf9694a35408237320fdd26908a55f396999c24b (diff) |
started implementing battleground experience system
-players gain xp by killing enemy players (event bonuses not added for now)
-player can switch xp gain on/off by talking to npc Slahtz or Behsten for a fee of 10golds
NOTE: turning off xp gain will turn off ALL xp gains from quests,monsters,pvp,etc
--HG--
branch : trunk
Diffstat (limited to 'src/game/BattleGround.h')
-rw-r--r-- | src/game/BattleGround.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/BattleGround.h b/src/game/BattleGround.h index ed3e8f2a87e..eb19b025579 100644 --- a/src/game/BattleGround.h +++ b/src/game/BattleGround.h @@ -547,6 +547,8 @@ class BattleGround /* virtual score-array - get's used in bg-subclasses */ int32 m_TeamScores[BG_TEAMS_COUNT]; + void RewardXPAtKill(Player* plr, Unit* victim); + protected: //this method is called, when BG cannot spawn its own spirit guide, or something is wrong, It correctly ends BattleGround void EndNow(); |