Added precision to Shade.kt

This commit is contained in:
tookeyman 2020-10-12 10:00:47 -04:00
parent 3b7732f97d
commit 4301a32341

View File

@ -53,7 +53,7 @@ object Shade : GameStateUpdateable, Progressable, Purchasable, StateComponent {
val margin =
floor(20.4959 * ln((Soul.getQty(state)+ getSpecificCost(getQty(state))) - 1.0)) - getQty(state)
return if (margin < 1.0) {
0.0
0.00
} else {
margin
}