jvamosi / Diversibee

Diversibee: game development for sustainability science
Mozilla Public License 2.0
15 stars 9 forks source link

Fix bug in Lv3 profit calculation #114

Closed cgmb closed 9 years ago

cgmb commented 9 years ago

The rise in profit from a berry bush should be linear as its neighbouring contributors rise from 0 to 7, after which the profit is capped. The formula specified for Level 3 in Issue #41 had an extra divide by six, greatly reducing the value of bushes with less than 8 contributors. This left a sudden spike in value at 8 contributors.

This bug only affected bushes that did not have maxed-out contributor counts. Because very easy to max-out contributor counts, the overall impact of the bug on the game's strategy was limited.

cgmb commented 9 years ago

We should wait to merge this until @pwpD1vers1bee takes a look.

cgmb commented 9 years ago

Unfortunately, @pwpD1vers1bee's been sick. It may be a long while until he gets to take a look, so I'm merging anyway.