rebalance, add an endgame

This commit is contained in:
Nif 2024-03-07 21:15:13 +00:00
parent e3eeebc48e
commit 88c0fa775b
3 changed files with 11 additions and 10 deletions

View file

@ -26,7 +26,7 @@ function getGammaCost(points = player.p.points) {
return getGammaLevel(points).pow_base(1.5).mul(45).sub(30) return getGammaLevel(points).pow_base(1.5).mul(45).sub(30)
} }
function getGammaEffect(points = player.p.points) { function getGammaEffect(points = player.p.points) {
return getGammaLevel(points).mul(getGammaRankEffect(points).add(1/15)).add(1) return getGammaLevel(points).mul(getGammaRankEffect(points).add(0.1)).add(1)
} }
function getDeltaLevel(points = player.p.points) { function getDeltaLevel(points = player.p.points) {
if (Decimal.eq(points, 0)) return new Decimal(0) if (Decimal.eq(points, 0)) return new Decimal(0)
@ -36,7 +36,7 @@ function getDeltaCost(points = player.p.points) {
return getDeltaLevel(points).pow_base(2).mul(60).sub(30) return getDeltaLevel(points).pow_base(2).mul(60).sub(30)
} }
function getDeltaEffect(points = player.p.points) { function getDeltaEffect(points = player.p.points) {
return getDeltaLevel(points).mul(getDeltaRankEffect(points).add(0.1)).add(1) return getDeltaLevel(points).mul(getDeltaRankEffect(points).add(0.2)).add(1)
} }
function getEpsilonLevel(points = player.p.points) { function getEpsilonLevel(points = player.p.points) {
if (Decimal.eq(points, 0)) return new Decimal(0) if (Decimal.eq(points, 0)) return new Decimal(0)
@ -46,7 +46,7 @@ function getEpsilonCost(points = player.p.points) {
return getEpsilonLevel(points).pow_base(2.5).mul(250).sub(100).div(3) return getEpsilonLevel(points).pow_base(2.5).mul(250).sub(100).div(3)
} }
function getEpsilonEffect(points = player.p.points) { function getEpsilonEffect(points = player.p.points) {
return getEpsilonLevel(points).mul(getEpsilonRankEffect(points).add(0.025)).add(1) return getEpsilonLevel(points).mul(getEpsilonRankEffect(points).add(0.1)).add(1)
} }
function getTotalLevel() { function getTotalLevel() {

View file

@ -21,7 +21,8 @@ let changelog = `<h1>Changelog:</h1><br><br>
<h3>v0/a1</h3><br> <h3>v0/a1</h3><br>
- Added progress points.<br> - Added progress points.<br>
- Added bars Alpha to Epsilon.<br> - Added bars Alpha to Epsilon.<br>
- Added Ranks.<br>` - Added Ranks.<br>
- Endgame: 500 Progress Points.<br>`
let winText = `Download 100% complete.<br><br>You won! Congratulations!<br>Beyond this point may be unbalanced, proceed with caution!` let winText = `Download 100% complete.<br><br>You won! Congratulations!<br>Beyond this point may be unbalanced, proceed with caution!`
@ -60,7 +61,7 @@ var displayThings = [
// Determines when the game "ends" // Determines when the game "ends"
function isEndgame() { function isEndgame() {
return player.points.gte(new Decimal("e280000000")) return player.p.points.gte(500)
} }

View file

@ -6,7 +6,7 @@ function getAlphaRankCost(points = player.p.points) {
return getAlphaRank(points).add(1).mul(20) return getAlphaRank(points).add(1).mul(20)
} }
function getAlphaRankEffect(points = player.p.points) { function getAlphaRankEffect(points = player.p.points) {
return getAlphaRank(points).div(100) return getAlphaRank(points).div(50)
} }
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)
@ -16,7 +16,7 @@ function getBetaRankCost(points = player.p.points) {
return getBetaRank(points).add(1).mul(17.5) 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(40)
} }
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)
@ -26,7 +26,7 @@ function getGammaRankCost(points = player.p.points) {
return getGammaRank(points).add(1).mul(15) 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(100).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)
@ -36,7 +36,7 @@ function getDeltaRankCost(points = player.p.points) {
return getDeltaRank(points).add(1).mul(12.5) 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(25)
} }
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)
@ -46,7 +46,7 @@ function getEpsilonRankCost(points = player.p.points) {
return getEpsilonRank(points).add(1).mul(10) 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(20)
} }
function getTotalRank() { function getTotalRank() {