mirror of
https://github.com/thepaperpilot/Advent-Incremental.git
synced 2025-01-31 15:41:37 +00:00
classrooms refuse to stop inflating no matter how much scaling I give them
This commit is contained in:
parent
941f10bc4c
commit
d33372eabc
1 changed files with 1 additions and 1 deletions
|
@ -1455,7 +1455,7 @@ const layer = createLayer(id, () => {
|
||||||
const classroomCost = computed(() => {
|
const classroomCost = computed(() => {
|
||||||
var v = classrooms.amount.value;
|
var v = classrooms.amount.value;
|
||||||
if(Decimal.gte(v,100)) v=Decimal.pow(v,2).div(100)
|
if(Decimal.gte(v,100)) v=Decimal.pow(v,2).div(100)
|
||||||
if(Decimal.gte(v,10000)) v=Decimal.pow(v,4).div(1e12)
|
if(Decimal.gte(v,10000)) v=Decimal.pow(v,8).div(1e28)
|
||||||
const classroomFactor = Decimal.add(v, 1).pow(1.5);
|
const classroomFactor = Decimal.add(v, 1).pow(1.5);
|
||||||
return {
|
return {
|
||||||
wood: classroomFactor.mul(1e21),
|
wood: classroomFactor.mul(1e21),
|
||||||
|
|
Loading…
Add table
Reference in a new issue