Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Rate my lineup boys


Unfortunately my duelist had a tendency to kill himself.

I think it happens because of floating point rounding error when he swaps health and dmg, sometimes it rounds down the result and puts his health below 1. For damage and health, arbitrary precision integers should be used instead of floating point numbers to fix this.




Also it seems random damage doesn't work correctly here, it should easily kill everyone here but it does nothing so he has to hit each one directly to kill them.

Could also be integer overflow that kills my duelist actually, either way, arbitrary precision integers will fix it.