Index: BattleGroundAB.cpp =================================================================== --- BattleGroundAB.cpp (revision 4531) +++ BattleGroundAB.cpp (working copy) @@ -156,6 +156,14 @@ { m_lastTick[team] -= BG_AB_TickIntervals[points]; m_TeamScores[team] += BG_AB_TickPoints[points]; + uint8 pointsdiff = m_TeamScores[team]; + for(std::map::iterator itr = m_Players.begin(); itr != m_Players.end(); ++itr) + { + Player *plr = objmgr.GetPlayer(itr->first); + if(!plr) return; + if(pointsdiff % BG_AB_HONOR_POINTS_TICK == 0) + plr->RewardHonor(NULL, 1, BG_AB_HONOR_PER_TICK); + } if (m_TeamScores[team] > 2000) m_TeamScores[team] = 2000; if(team == 0) Index: BattleGroundAB.h =================================================================== --- BattleGroundAB.h (revision 4531) +++ BattleGroundAB.h (working copy) @@ -53,6 +53,11 @@ #define BG_AB_OBJECTID_GATE_A 180255 #define BG_AB_OBJECTID_GATE_H 180256 +// BG Rewards: + +#define BG_AB_HONOR_POINTS_TICK 330 +#define BG_AB_HONOR_PER_TICK 20 + enum BG_AB_ObjectType { // for all 5 node points 8*5=40 objects