diff options
author | Trisjdc <trisjdc@gmail.com> | 2014-07-24 04:16:36 +0100 |
---|---|---|
committer | Trisjdc <trisjdc@gmail.com> | 2014-07-24 04:16:36 +0100 |
commit | b9b8d83eb67ce5641a42c5ff298b0eed156869b9 (patch) | |
tree | 9a74d9601e4802d3676d8eb9e81354d6524620a2 | |
parent | 2ae9afa9e86a616133b87fe1e959ab4c0fd786cb (diff) |
Core/BGs: Reputation gained in BGs should be affected by SPELL_AURA_MOD_REPUTATION_GAIN
An example would be Diplomacy (Racial Passive)
-rw-r--r-- | src/server/game/Battlegrounds/Battleground.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/game/Battlegrounds/Battleground.cpp b/src/server/game/Battlegrounds/Battleground.cpp index 61b25f1af72..86236cd0f2b 100644 --- a/src/server/game/Battlegrounds/Battleground.cpp +++ b/src/server/game/Battlegrounds/Battleground.cpp @@ -686,6 +686,7 @@ void Battleground::RewardReputationToTeam(uint32 faction_id, uint32 Reputation, continue; uint32 repGain = Reputation; + AddPct(repGain, player->GetTotalAuraModifier(SPELL_AURA_MOD_REPUTATION_GAIN)); AddPct(repGain, player->GetTotalAuraModifierByMiscValue(SPELL_AURA_MOD_FACTION_REPUTATION_GAIN, faction_id)); player->GetReputationMgr().ModifyReputation(factionEntry, repGain); } |