SpaceCat97 / SpaceCats-Wikis

Other
2 stars 0 forks source link

Defining "amountRange" returns unintended result. #18

Closed Grise0 closed 1 month ago

Grise0 commented 4 months ago

Using trade example below: { "isRare":false, "offer":{ "itemKey":"croptopia:cranberry_seed", "amount":6 }, "request":{ "itemKey":"coinsje:copper_coin", "amount":31, "amountRange":40 }, "tradeExp":4, "maxUses":5, "priceMultiplier":0.0, "demand":0, "tradeLevel":1 },

Returns trades above 40, rather than in range of 31 and 40.

Changing amountRange to 9 returns the intended result.

SpaceCat97 commented 3 months ago

This will be fixed in the next update