[7345] Use in most cases dynamic quest level as expected (player level for quests witl level 0) Author: VladimirMangos Original patch provided by NoFantasy.
--HG-- branch : trunk
This commit is contained in:
1 parent
14a3f5f923
commit
e2fa2e44b6
5 files changed
+8
-6
No files matched your search
+1
-1
@@ -6122,7 +6122,7 @@ void Player::RewardReputation(Quest const *pQuest)
|
||||
{
|
||||
if(pQuest->RewRepFaction[i] && pQuest->RewRepValue[i] )
|
||||
{
|
||||
int32 rep = CalculateReputationGain(pQuest->GetQuestLevel(),pQuest->RewRepValue[i],true);
|
||||
int32 rep = CalculateReputationGain(GetQuestLevel(pQuest),pQuest->RewRepValue[i],true);
|
||||
FactionEntry const* factionEntry = sFactionStore.LookupEntry(pQuest->RewRepFaction[i]);
|
||||
if(factionEntry)
|
||||
ModifyFactionReputation(factionEntry, rep);
|
||||
|
||||
Reference in new issue
Block a user