Diff line 18. totalchance is a global counter and must not be reset.

Also, you now add the (8 * amount) only if (amount > 6), whereas it was added 
for all values of amount before, changing the result for (0 < amount <= 6).
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1818073-worker/+merge/363851
Your team Widelands Developers is subscribed to branch 
lp:~widelands-dev/widelands/bug-1818073-worker.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to