aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTrisjdc <trisjdc@gmail.com>2014-07-24 04:16:36 +0100
committerTrisjdc <trisjdc@gmail.com>2014-07-24 04:16:36 +0100
commitb9b8d83eb67ce5641a42c5ff298b0eed156869b9 (patch)
tree9a74d9601e4802d3676d8eb9e81354d6524620a2 /src
parent2ae9afa9e86a616133b87fe1e959ab4c0fd786cb (diff)
Core/BGs: Reputation gained in BGs should be affected by SPELL_AURA_MOD_REPUTATION_GAIN
An example would be Diplomacy (Racial Passive)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Battlegrounds/Battleground.cpp1
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);
}