Core/Reputation: Implemented renown reputation (Dragonflight)
Port From (https://github.com/TrinityCore/TrinityCore/commit/d64d84dfa68da4ff83f0b88ad4e88dccc5ace623)
This commit is contained in:
@@ -820,7 +820,7 @@ namespace Game
|
||||
}
|
||||
|
||||
foreach (PlayerChoiceResponseRewardEntry currency in reward.Currency)
|
||||
_player.ModifyCurrency((CurrencyTypes)currency.Id, currency.Quantity);
|
||||
_player.ModifyCurrency(currency.Id, currency.Quantity);
|
||||
|
||||
foreach (PlayerChoiceResponseRewardEntry faction in reward.Faction)
|
||||
_player.GetReputationMgr().ModifyReputation(CliDB.FactionStorage.LookupByKey(faction.Id), faction.Quantity);
|
||||
|
||||
Reference in New Issue
Block a user