sebastian-heinz / Arrowgene.DragonsDogmaOnline

Server for Dragons Dogma Online
GNU Affero General Public License v3.0
161 stars 52 forks source link

Fix: You cant receive bazaar proceeds when the total sum is 0 #371

Closed RyanYappert closed 1 month ago

RyanYappert commented 1 month ago

Addresses issue #357.

Tweaks the tax algorithm to match the UI; there should be no tax on sales of up to 20 GP, because tax is floored before its subtracted from the total sale price. The minimum/maximum price and max stack are also set to what was apparently on the live server, although those min/max prices were also seemingly item dependent.

Old:

Min = 0, Max = ushort.MaxValue, Stack = 99

New:

Min = 1, Max = 99,999, Stack = 10

Checklist: