Added precision to Shade.kt
This commit is contained in:
parent
3b7732f97d
commit
4301a32341
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user