* Proper quest reputation reward post 3.3.0
* Will require a DB update for all quest_templates that are pre 3.3.0 --HG-- branch : trunk
This commit is contained in:
@@ -6536,7 +6536,7 @@ void Player::RewardReputation(Quest const *pQuest)
|
||||
continue;
|
||||
if (pQuest->RewRepValue[i])
|
||||
{
|
||||
int32 rep = CalculateReputationGain(GetQuestLevel(pQuest), pQuest->RewRepValue[i], pQuest->RewRepFaction[i], true);
|
||||
int32 rep = CalculateReputationGain(GetQuestLevel(pQuest), pQuest->RewRepValue[i]/100, pQuest->RewRepFaction[i], true);
|
||||
if (FactionEntry const* factionEntry = sFactionStore.LookupEntry(pQuest->RewRepFaction[i]))
|
||||
GetReputationMgr().ModifyReputation(factionEntry, rep);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user