Fix given amount of quest reward
This commit is contained in:
@@ -171,7 +171,7 @@ public class ClaimActiveContract : ICloudScriptFunction<FYClaimCompletedActiveCo
|
|||||||
// TODO: Inventory limit check
|
// TODO: Inventory limit check
|
||||||
|
|
||||||
var blueprintData = blueprints[reward.ItemID];
|
var blueprintData = blueprints[reward.ItemID];
|
||||||
var remainingAmount = reward.Amount * blueprintData.AmountPerPurchase;
|
var remainingAmount = reward.Amount; // Quest rewards are given individually
|
||||||
|
|
||||||
// Populate incomplete stacks first
|
// Populate incomplete stacks first
|
||||||
foreach (var item in newInventory) {
|
foreach (var item in newInventory) {
|
||||||
|
|||||||
Reference in New Issue
Block a user