diff options
Diffstat (limited to 'src/game/ReputationMgr.cpp')
-rw-r--r-- | src/game/ReputationMgr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/ReputationMgr.cpp b/src/game/ReputationMgr.cpp index 62b9504daff..5b42e616ac7 100644 --- a/src/game/ReputationMgr.cpp +++ b/src/game/ReputationMgr.cpp @@ -20,6 +20,7 @@ #include "DBCStores.h" #include "Player.h" #include "WorldPacket.h" +#include "World.h" const int32 ReputationMgr::PointsInRank[MAX_REPUTATION_RANK] = {36000, 3000, 3000, 3000, 6000, 12000, 21000, 1000}; @@ -252,7 +253,10 @@ bool ReputationMgr::SetOneFactionReputation(FactionEntry const* factionEntry, in int32 BaseRep = GetBaseReputation(factionEntry); if(incremental) + { + standing *= sWorld.getRate(RATE_REPUTATION_GAIN); //multiply gain by config rate standing += itr->second.Standing + BaseRep; + } if (standing > Reputation_Cap) standing = Reputation_Cap; |