adonutwithsprinklez / CodenameEmpty

A text based adventure roguelite
GNU General Public License v3.0
6 stars 0 forks source link

Events and Enemies can still be occur even when the Area file specifies a chance of 0 #98

Closed adonutwithsprinklez closed 3 years ago

adonutwithsprinklez commented 3 years ago

When an area file specifies the chance of an event or enemy, the game should not spawn either if they have a 0 or below in the corresponding field. This does not properly work as the game can still generate a 0 as a spawn number when calculating whether or not to add them into the area. This needs to be addressed as a 0 chance should be just that: No chance of occuring.

adonutwithsprinklez commented 3 years ago

Fixed in current Nightly build