mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Once again change values for BattleGroundSA honor reward at end. Sorry for misreading, it is a multiplier not the total honor.
--HG-- branch : trunk
This commit is contained in:
@@ -675,13 +675,13 @@ void BattleGroundSA::EndBattleGround(uint32 winner)
|
||||
{
|
||||
//honor reward for winning
|
||||
if (winner == ALLIANCE)
|
||||
RewardHonorToTeam(GetBonusHonorFromKill(BG_SA_HONOR_WIN), ALLIANCE);
|
||||
RewardHonorToTeam(GetBonusHonorFromKill(1), ALLIANCE);
|
||||
else if (winner == HORDE)
|
||||
RewardHonorToTeam(GetBonusHonorFromKill(BG_SA_HONOR_WIN), HORDE);
|
||||
RewardHonorToTeam(GetBonusHonorFromKill(1), HORDE);
|
||||
|
||||
//complete map_end rewards (even if no team wins)
|
||||
RewardHonorToTeam(GetBonusHonorFromKill(BG_SA_HONOR_END), ALLIANCE);
|
||||
RewardHonorToTeam(GetBonusHonorFromKill(BG_SA_HONOR_END), HORDE);
|
||||
RewardHonorToTeam(GetBonusHonorFromKill(2), ALLIANCE);
|
||||
RewardHonorToTeam(GetBonusHonorFromKill(2), HORDE);
|
||||
|
||||
BattleGround::EndBattleGround(winner);
|
||||
}
|
||||
|
||||
@@ -30,14 +30,6 @@ class BattleGroundSAScore : public BattleGroundScore
|
||||
uint8 gates_destroyed;
|
||||
};
|
||||
|
||||
enum BG_SA_Honor
|
||||
{
|
||||
// Both teams get 248 honor, winning team gets an extra 124.
|
||||
BG_SA_HONOR_WIN = 124,
|
||||
BG_SA_HONOR_END = 248
|
||||
};
|
||||
|
||||
|
||||
enum BG_SA_Status
|
||||
{
|
||||
BG_SA_NOTSTARTED = 0,
|
||||
|
||||
Reference in New Issue
Block a user