feat(Core/Quests): Implemented quest_money_rewards (for quest with Qu… (#8610)

Fixes #8440
This commit is contained in:
UltraNix 2021-10-20 10:45:56 +02:00 committed by GitHub
parent 07484d0439
commit 1fb6830b15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 652 additions and 78 deletions

View file

@ -238,7 +238,7 @@ public:
}
// If the quest requires money
int32 ReqOrRewMoney = quest->GetRewOrReqMoney();
int32 ReqOrRewMoney = quest->GetRewOrReqMoney(player);
if (ReqOrRewMoney < 0)
player->ModifyMoney(-ReqOrRewMoney);