mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2024-11-24 17:31:50 +00:00
v1.0 Beta 4
This commit is contained in:
parent
569b6caed9
commit
54339f4364
2 changed files with 20 additions and 7 deletions
|
@ -15,6 +15,10 @@
|
||||||
<div class="vl"></div>
|
<div class="vl"></div>
|
||||||
<div v-if="player.tab=='changelog'" class="col right">
|
<div v-if="player.tab=='changelog'" class="col right">
|
||||||
<button class="back" onclick="showTab('tree')">←</button><br><br>
|
<button class="back" onclick="showTab('tree')">←</button><br><br>
|
||||||
|
<h3>v1.0 Beta 4</h3>
|
||||||
|
<ul>
|
||||||
|
<li>Balanced up to 1e40,000,000 Points & 500,000 Super-Prestige Points</li>
|
||||||
|
</ul><br>
|
||||||
<h3>v1.0 Beta 3</h3>
|
<h3>v1.0 Beta 3</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added a hotkey for the fourth Spell</li>
|
<li>Added a hotkey for the fourth Spell</li>
|
||||||
|
|
23
js/game.js
23
js/game.js
|
@ -1422,7 +1422,11 @@ const LAYER_UPGS = {
|
||||||
desc: "Super-Prestige Points boost Super-Prestige Point gain.",
|
desc: "Super-Prestige Points boost Super-Prestige Point gain.",
|
||||||
cost: new Decimal(40),
|
cost: new Decimal(40),
|
||||||
unl: function() { return player.sp.upgrades.includes(14)||player.sp.upgrades.includes(23) },
|
unl: function() { return player.sp.upgrades.includes(14)||player.sp.upgrades.includes(23) },
|
||||||
currently: function() { return player.sp.points.plus(1).sqrt() },
|
currently: function() {
|
||||||
|
let sp = player.sp.points
|
||||||
|
if (sp.gte(2e4)) sp = sp.cbrt().times(Math.pow(2e4, 2/3));
|
||||||
|
return sp.plus(1).sqrt()
|
||||||
|
},
|
||||||
effDisp: function(x) { return format(x)+"x" },
|
effDisp: function(x) { return format(x)+"x" },
|
||||||
},
|
},
|
||||||
31: {
|
31: {
|
||||||
|
@ -1438,14 +1442,16 @@ const LAYER_UPGS = {
|
||||||
effDisp: function(x) { return format(x.pow(player.sp.upgrades.includes(11)?100:1))+"x later" },
|
effDisp: function(x) { return format(x.pow(player.sp.upgrades.includes(11)?100:1))+"x later" },
|
||||||
},
|
},
|
||||||
33: {
|
33: {
|
||||||
desc: "???",
|
desc: "Points boost Super-Prestige Point gain.",
|
||||||
cost: new Decimal(1/0),
|
cost: new Decimal(1e4),
|
||||||
unl: function() { return false },
|
unl: function() { return player.sp.upgrades.includes(24)&&player.sp.upgrades.includes(32) },
|
||||||
|
currently: function() { return player.points.plus(1).log10().pow(0.1) },
|
||||||
|
effDisp: function(x) { return format(x)+"x" },
|
||||||
},
|
},
|
||||||
34: {
|
34: {
|
||||||
desc: "???",
|
desc: "Boosters & Generators are 25% stronger.",
|
||||||
cost: new Decimal(1/0),
|
cost: new Decimal(1.5e5),
|
||||||
unl: function() { return false },
|
unl: function() { return player.sp.upgrades.includes(33) },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -1901,6 +1907,7 @@ function getLayerGainMult(layer) {
|
||||||
break;
|
break;
|
||||||
case "sp":
|
case "sp":
|
||||||
if (player.sp.upgrades.includes(24)) mult = mult.times(LAYER_UPGS.sp[24].currently())
|
if (player.sp.upgrades.includes(24)) mult = mult.times(LAYER_UPGS.sp[24].currently())
|
||||||
|
if (player.sp.upgrades.includes(33)) mult = mult.times(LAYER_UPGS.sp[33].currently())
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return mult
|
return mult
|
||||||
|
@ -2264,6 +2271,7 @@ function getFreeBoosters() {
|
||||||
function getBoosterPower() {
|
function getBoosterPower() {
|
||||||
let power = new Decimal(1)
|
let power = new Decimal(1)
|
||||||
if (spellActive(1)) power = power.times(tmp.spellEffs[1])
|
if (spellActive(1)) power = power.times(tmp.spellEffs[1])
|
||||||
|
if (player.sp.upgrades.includes(34)) power = power.times(1.25)
|
||||||
return power
|
return power
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2284,6 +2292,7 @@ function addToGenBase() {
|
||||||
function getGenPow() {
|
function getGenPow() {
|
||||||
let pow = new Decimal(1)
|
let pow = new Decimal(1)
|
||||||
if (player.g.upgrades.includes(34)) pow = pow.times(LAYER_UPGS.g[34].currently())
|
if (player.g.upgrades.includes(34)) pow = pow.times(LAYER_UPGS.g[34].currently())
|
||||||
|
if (player.sp.upgrades.includes(34)) pow = pow.times(1.25)
|
||||||
return pow
|
return pow
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue