classrooms refuse to stop inflating no matter how much scaling I give them

This commit is contained in:
unsoftcapped3 2022-12-15 03:37:14 +00:00
parent 941f10bc4c
commit d33372eabc

View file

@ -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),