remove a stray comma

This commit is contained in:
Nif 2024-03-07 19:56:54 +00:00
parent be53b94733
commit 6bea750d59
2 changed files with 9 additions and 9 deletions

View file

@ -162,7 +162,7 @@ addLayer("p", {
["bar", "betaRank"], ["bar", "betaRank"],
["bar", "gammaRank"], ["bar", "gammaRank"],
["bar", "deltaRank"], ["bar", "deltaRank"],
["bar", "epsilonRank"], ["bar", "epsilonRank"]
] ]
} }
} }

View file

@ -10,40 +10,40 @@ function getAlphaRankEffect(points = player.p.points) {
} }
function getBetaRank(points = player.p.points) { function getBetaRank(points = player.p.points) {
if (Decimal.eq(points, 0)) return new Decimal(0) if (Decimal.eq(points, 0)) return new Decimal(0)
return getBetaLevel(points).div(20).floor() return getBetaLevel(points).div(17.5).floor()
} }
function getBetaRankCost(points = player.p.points) { function getBetaRankCost(points = player.p.points) {
return getBetaRank(points).add(1).mul(20) return getBetaRank(points).add(1).mul(17.5)
} }
function getBetaRankEffect(points = player.p.points) { function getBetaRankEffect(points = player.p.points) {
return getBetaRank(points).div(100) return getBetaRank(points).div(100)
} }
function getGammaRank(points = player.p.points) { function getGammaRank(points = player.p.points) {
if (Decimal.eq(points, 0)) return new Decimal(0) if (Decimal.eq(points, 0)) return new Decimal(0)
return getGammaLevel(points).div(20).floor() return getGammaLevel(points).div(15).floor()
} }
function getGammaRankCost(points = player.p.points) { function getGammaRankCost(points = player.p.points) {
return getGammaRank(points).add(1).mul(20) return getGammaRank(points).add(1).mul(15)
} }
function getGammaRankEffect(points = player.p.points) { function getGammaRankEffect(points = player.p.points) {
return getGammaRank(points).div(200).mul(3) return getGammaRank(points).div(200).mul(3)
} }
function getDeltaRank(points = player.p.points) { function getDeltaRank(points = player.p.points) {
if (Decimal.eq(points, 0)) return new Decimal(0) if (Decimal.eq(points, 0)) return new Decimal(0)
return getDeltaLevel(points).div(20).floor() return getDeltaLevel(points).div(12.5).floor()
} }
function getDeltaRankCost(points = player.p.points) { function getDeltaRankCost(points = player.p.points) {
return getDeltaRank(points).add(1).mul(20) return getDeltaRank(points).add(1).mul(12.5)
} }
function getDeltaRankEffect(points = player.p.points) { function getDeltaRankEffect(points = player.p.points) {
return getDeltaRank(points).div(50) return getDeltaRank(points).div(50)
} }
function getEpsilonRank(points = player.p.points) { function getEpsilonRank(points = player.p.points) {
if (Decimal.eq(points, 0)) return new Decimal(0) if (Decimal.eq(points, 0)) return new Decimal(0)
return getEpsilonLevel(points).div(20).floor() return getEpsilonLevel(points).div(10).floor()
} }
function getEpsilonRankCost(points = player.p.points) { function getEpsilonRankCost(points = player.p.points) {
return getEpsilonRank(points).add(1).mul(20) return getEpsilonRank(points).add(1).mul(10)
} }
function getEpsilonRankEffect(points = player.p.points) { function getEpsilonRankEffect(points = player.p.points) {
return getEpsilonRank(points).div(100) return getEpsilonRank(points).div(100)