Rebalancing

This commit is contained in:
Nif 2024-03-09 17:38:32 +00:00
parent 6901cf9290
commit dd5a98dcfa
2 changed files with 6 additions and 6 deletions

View file

@ -8,12 +8,12 @@ addLayer("f", {
total: new Decimal(0) total: new Decimal(0)
}}, }},
color: "#7f1bae", color: "#7f1bae",
requires: new Decimal(20000), // Can be a function that takes requirement increases into account requires: new Decimal(5000), // Can be a function that takes requirement increases into account
resource: "files", // Name of prestige currency resource: "files", // Name of prestige currency
baseResource: "progress points", // Name of resource prestige is based on baseResource: "progress points", // Name of resource prestige is based on
baseAmount() {return player.p.points}, // Get the current amount of baseResource baseAmount() {return player.p.points}, // Get the current amount of baseResource
type: "normal", // normal: cost to gain currency depends on amount gained. static: cost depends on how much you already have type: "static", // normal: cost to gain currency depends on amount gained. static: cost depends on how much you already have
exponent: 0.2, // Prestige currency exponent exponent: 0.7, // Prestige currency exponent
gainMult() { // Calculate the multiplier for main currency from bonuses gainMult() { // Calculate the multiplier for main currency from bonuses
return new Decimal(1) return new Decimal(1)
}, },
@ -56,6 +56,6 @@ addLayer("f", {
done() { return player.f.total.gte(5) } done() { return player.f.total.gte(5) }
}, },
}, },
layerShown(){ return player.p.points.gte(15000) || player[this.layer].unlocked }, layerShown(){ return player.p.points.gte(4000) || player[this.layer].unlocked },
branches: ['p'] branches: ['p']
}) })

View file

@ -187,7 +187,7 @@ addLayer("p", {
12: { 12: {
title: "Rebased", title: "Rebased",
effect() { return Decimal.pow(0.95, getBuyableAmount(this.layer, this.id)) }, effect() { return Decimal.pow(0.95, getBuyableAmount(this.layer, this.id)) },
cost() { return Decimal.pow(getBuyableAmount(this.layer, this.id), 1.4).mul(10).add(80) }, cost() { return Decimal.pow(getBuyableAmount(this.layer, this.id), 1.4).mul(7).add(80) },
display() { display() {
return "Decrease Gamma effect base.<br><br>Amount: " + getBuyableAmount(this.layer, this.id) return "Decrease Gamma effect base.<br><br>Amount: " + getBuyableAmount(this.layer, this.id)
+ ".<br>Effect: ^" + this.effect(getBuyableAmount(this.layer, this.id)) + ".<br>Cost: " + ".<br>Effect: ^" + this.effect(getBuyableAmount(this.layer, this.id)) + ".<br>Cost: "
@ -199,7 +199,7 @@ addLayer("p", {
13: { 13: {
title: "Shorter bars", title: "Shorter bars",
effect() { return Decimal.pow(0.98, getBuyableAmount(this.layer, this.id)) }, effect() { return Decimal.pow(0.98, getBuyableAmount(this.layer, this.id)) },
cost() { return Decimal.pow(getBuyableAmount(this.layer, this.id), 1.6).mul(15).add(130) }, cost() { return Decimal.pow(getBuyableAmount(this.layer, this.id), 1.6).mul(10).add(100) },
display() { display() {
return "Decrease all level costs.<br><br>Amount: " + getBuyableAmount(this.layer, this.id) return "Decrease all level costs.<br><br>Amount: " + getBuyableAmount(this.layer, this.id)
+ ".<br>Effect: ^" + this.effect(getBuyableAmount(this.layer, this.id)) + ".<br>Cost: " + ".<br>Effect: ^" + this.effect(getBuyableAmount(this.layer, this.id)) + ".<br>Cost: "