mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-01-19 03:51:37 +00:00
v
This commit is contained in:
parent
0a9680998b
commit
45a4065876
1 changed files with 1 additions and 1 deletions
|
@ -1454,7 +1454,7 @@ const layer = createLayer(id, () => {
|
|||
|
||||
const classroomCost = computed(() => {
|
||||
var v = classrooms.amount.value;
|
||||
if(v.gte(100)) v=v.pow(1.5).div(10)
|
||||
if(Decimal.gte(v,100)) v=Decimal.pow(v,1.5).div(10)
|
||||
const classroomFactor = Decimal.add(v, 1).pow(1.5);
|
||||
return {
|
||||
wood: classroomFactor.mul(1e21),
|
||||
|
|
Loading…
Add table
Reference in a new issue