1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-24 09:21:46 +00:00

Merge (Beta v1.2 Alpha 13 -> v1.1)

This commit is contained in:
Aarex Tiaokhiao 2020-09-08 16:48:50 -04:00
commit 8ba4a8d281
2 changed files with 30 additions and 15 deletions

View file

@ -23,6 +23,11 @@
</div> </div>
<div v-if="player.tab=='changelog_beta'" class="col right"> <div v-if="player.tab=='changelog_beta'" class="col right">
<button class="back" onclick="showTab('changelog')"></button><br> <button class="back" onclick="showTab('changelog')"></button><br>
<h3>Beta v1.2 Alpha 13</h3>
<ul>
<li>Reduced a few upgrade costs</li>
<li>Balanced up to 1e11,000,000 Points, 5e23 Magic, and 3e20 Balance Energy</li>
</ul><br>
<h3>Beta v1.2 Alpha 12</h3> <h3>Beta v1.2 Alpha 12</h3>
<ul> <ul>
<li>Balanced up to 1e9,200,000 Points, 5e18 Magic, and 1e16 Balance Energy</li> <li>Balanced up to 1e9,200,000 Points, 5e18 Magic, and 1e16 Balance Energy</li>
@ -384,7 +389,7 @@
<div v-if="layer=='e'"> <div v-if="layer=='e'">
<table><tr><td v-if="milestoneShown(player.e.best.gte(2))" v-bind:class="{ milestone: player.e.best.lt(2), milestoneDone: player.e.best.gte(2) }">2 enhance points<br>Keep Booster/Generator milestones on reset</td></tr> <table><tr><td v-if="milestoneShown(player.e.best.gte(2))" v-bind:class="{ milestone: player.e.best.lt(2), milestoneDone: player.e.best.gte(2) }">2 enhance points<br>Keep Booster/Generator milestones on reset</td></tr>
<tr><td v-if="milestoneShown(player.e.best.gte(10)||player.h.best.gte(1)||player.q.best.gte(1))" v-bind:class="{ milestone: player.e.best.lt(10)&&player.h.best.lt(1)&&player.q.best.lt(1), milestoneDone: player.e.best.gte(10)||player.h.best.gte(1)||player.q.best.gte(1) }">10 enhance points<br>Keep Prestige Upgrades on reset</td></tr></table><br><br> <tr><td v-if="milestoneShown(player.e.best.gte(10)||player.h.best.gte(1)||player.q.best.gte(1))" v-bind:class="{ milestone: player.e.best.lt(10)&&player.h.best.lt(1)&&player.q.best.lt(1), milestoneDone: player.e.best.gte(10)||player.h.best.gte(1)||player.q.best.gte(1) }">10 enhance points<br>Keep Prestige Upgrades on reset</td></tr></table><br><br>
<button v-bind:class="{ upgBig: true, can: player.e.points.gte(getEnhancerCost()), locked: player.e.points.lt(getEnhancerCost()), e: true }" onclick="buyEnhancer()">Buy an Enhancer<br>Cost: {{formatWhole(getEnhancerCost())}} Enhance Points<br>Amount: {{formatWhole(player.e.enhancers.sub(tmp.subbedEnh))}}<br>Multiplies Prestige Point gain by {{format(tmp.enhEff)}}<br>Adds to base of Booster/Generator effects by {{format(tmp.enhEff2)}}</button> <button v-bind:class="{ upgBig: true, can: player.e.points.gte(getEnhancerCost()), locked: player.e.points.lt(getEnhancerCost()), e: true }" onclick="buyEnhancer()">Buy an Enhancer<br>Cost: {{formatWhole(getEnhancerCost())}} Enhance Points<br>Amount: {{formatWhole(player.e.enhancers.sub(tmp.subbedEnh))}}<br>Multiplies Prestige Point gain by {{format(tmp.enhEff)}}<br>Adds<span v-if="player.q.upgrades.includes(53)"> and multiplies</span> to base of Booster/Generator effects by {{format(tmp.enhEff2)}}</button>
</div> </div>
<div v-if="layer=='t'"> <div v-if="layer=='t'">
You have {{format(player.t.energy)}} Time Energy, which multiplies Point gain & Prestige Point gain by {{format(tmp.timeEff)}}<br><br> You have {{format(player.t.energy)}} Time Energy, which multiplies Point gain & Prestige Point gain by {{format(tmp.timeEff)}}<br><br>

View file

@ -838,8 +838,8 @@ const LAYER_UPGS = {
unl: function() { return player.ba.upgrades.includes(51) }, unl: function() { return player.ba.upgrades.includes(51) },
}, },
44: { 44: {
desc: "Placeholder", desc: "All Space Buildings are 25% stronger.",
cost: new Decimal(1/0), cost: new Decimal(140),
unl: function() { return player.ba.upgrades.includes(51) }, unl: function() { return player.ba.upgrades.includes(51) },
}, },
}, },
@ -995,13 +995,15 @@ const LAYER_UPGS = {
effDisp: function(x) { return "+"+format(x) }, effDisp: function(x) { return "+"+format(x) },
}, },
52: { 52: {
desc: "Placeholder", desc: "Quirk Layers are faster based on your Quirk Layers.",
cost: new Decimal(1/0), cost: new Decimal("1e2400"),
unl: function() { return player.ba.upgrades.includes(52) }, unl: function() { return player.ba.upgrades.includes(52) },
currently: function() { return Decimal.pow(10, player.q.layers) },
effDisp: function(x) { return format(x)+"x" },
}, },
53: { 53: {
desc: "Placeholder", desc: "The second Enhancer effect also multiplies the Booster/Generator base.",
cost: new Decimal(1/0), cost: new Decimal("1e2750"),
unl: function() { return player.ba.upgrades.includes(52) }, unl: function() { return player.ba.upgrades.includes(52) },
}, },
54: { 54: {
@ -1188,19 +1190,19 @@ const LAYER_UPGS = {
}, },
42: { 42: {
desc: "Quirk Upgrade 5 is 50% stronger.", desc: "Quirk Upgrade 5 is 50% stronger.",
cost: new Decimal(1e15), cost: new Decimal(6e14),
unl: function() { return player.m.upgrades.includes(34) }, unl: function() { return player.m.upgrades.includes(34) },
}, },
43: { 43: {
desc: "Spells last longer based on your Hexes.", desc: "Spells last longer based on your Hexes.",
cost: new Decimal(2e15), cost: new Decimal(1e15),
unl: function() { return player.m.upgrades.includes(41) }, unl: function() { return player.m.upgrades.includes(41) },
currently: function() { return player.m.hexes.plus(1).log10().plus(1).sqrt().min(86400) }, currently: function() { return player.m.hexes.plus(1).log10().plus(1).sqrt().min(86400) },
effDisp: function(x) { return format(x)+"x" }, effDisp: function(x) { return format(x)+"x" },
}, },
44: { 44: {
desc: "Magic adds to the Time Capsule base.", desc: "Magic adds to the Time Capsule base.",
cost: new Decimal(4e15), cost: new Decimal(1.5e15),
unl: function() { return player.m.upgrades.includes(41) }, unl: function() { return player.m.upgrades.includes(41) },
currently: function() { return player.m.points.plus(1).log10().div(10) }, currently: function() { return player.m.points.plus(1).log10().div(10) },
effDisp: function(x) { return "+"+format(x) }, effDisp: function(x) { return "+"+format(x) },
@ -1307,18 +1309,20 @@ const LAYER_UPGS = {
}, },
51: { 51: {
desc: "Unlock 4 new Space Upgrades.", desc: "Unlock 4 new Space Upgrades.",
cost: new Decimal(4e13), cost: new Decimal(2e13),
unl: function() { return player.ba.upgrades.includes(43) }, unl: function() { return player.ba.upgrades.includes(43) },
}, },
52: { 52: {
desc: "Unlock 4 new Quirk Upgrades.", desc: "Unlock 4 new Quirk Upgrades.",
cost: new Decimal(2e14), cost: new Decimal(1e14),
unl: function() { return player.ba.upgrades.includes(51) }, unl: function() { return player.ba.upgrades.includes(51) },
}, },
53: { 53: {
desc: "???", desc: "The Positivity & Negativity boost to Balance Energy gain is stronger based on your Super-Generator Power.",
cost: new Decimal(1/0), cost: new Decimal(2e19),
unl: function() { return false }, unl: function() { return player.ba.upgrades.includes(51)&&player.sg.unl },
currently: function() { return player.sg.power.plus(1).log10().div(25).plus(1).sqrt() },
effDisp: function(x) { return "^"+format(x) },
}, },
54: { 54: {
desc: "???", desc: "???",
@ -2084,6 +2088,7 @@ function addToBoosterBase() {
if (player.sb.upgrades.includes(21)) toAdd = toAdd.plus(LAYER_UPGS.sb[21].currently()) if (player.sb.upgrades.includes(21)) toAdd = toAdd.plus(LAYER_UPGS.sb[21].currently())
if (player.b.upgrades.includes(31)) toAdd = toAdd.times(LAYER_UPGS.b[31].currently()) if (player.b.upgrades.includes(31)) toAdd = toAdd.times(LAYER_UPGS.b[31].currently())
if (player.q.upgrades.includes(53)) toAdd = toAdd.times(tmp.enhEff2)
if (player.sb.unl) toAdd = toAdd.times(tmp.layerEffs.sb) if (player.sb.unl) toAdd = toAdd.times(tmp.layerEffs.sb)
return toAdd return toAdd
} }
@ -2110,7 +2115,9 @@ function addToGenBase() {
if (player.e.unl) toAdd = toAdd.plus(tmp.enhEff2) if (player.e.unl) toAdd = toAdd.plus(tmp.enhEff2)
if (player.e.upgrades.includes(11)&&!(tmp.hcActive?tmp.hcActive[12]:true)) toAdd = toAdd.plus(LAYER_UPGS.e[11].currently().g) if (player.e.upgrades.includes(11)&&!(tmp.hcActive?tmp.hcActive[12]:true)) toAdd = toAdd.plus(LAYER_UPGS.e[11].currently().g)
if (player.s.unl && tmp.spaceBuildEff) toAdd = toAdd.plus(tmp.spaceBuildEff[2]) if (player.s.unl && tmp.spaceBuildEff) toAdd = toAdd.plus(tmp.spaceBuildEff[2])
if (player.h.challs.includes(51)) toAdd = toAdd.times(H_CHALLS[51].currently()) if (player.h.challs.includes(51)) toAdd = toAdd.times(H_CHALLS[51].currently())
if (player.q.upgrades.includes(53)) toAdd = toAdd.times(tmp.enhEff2)
return toAdd return toAdd
} }
@ -2343,6 +2350,7 @@ function getSpaceBuildingPow() {
if (player.s.upgrades.includes(21)&&!(tmp.hcActive?tmp.hcActive[12]:true)) pow = pow.times(LAYER_UPGS.s[21].currently()) if (player.s.upgrades.includes(21)&&!(tmp.hcActive?tmp.hcActive[12]:true)) pow = pow.times(LAYER_UPGS.s[21].currently())
if (player.s.upgrades.includes(22)&&!(tmp.hcActive?tmp.hcActive[12]:true)) pow = pow.times(LAYER_UPGS.s[22].currently()) if (player.s.upgrades.includes(22)&&!(tmp.hcActive?tmp.hcActive[12]:true)) pow = pow.times(LAYER_UPGS.s[22].currently())
if (player.s.upgrades.includes(23)&&!(tmp.hcActive?tmp.hcActive[12]:true)) pow = pow.times(LAYER_UPGS.s[23].currently()) if (player.s.upgrades.includes(23)&&!(tmp.hcActive?tmp.hcActive[12]:true)) pow = pow.times(LAYER_UPGS.s[23].currently())
if (player.s.upgrades.includes(44)&&!(tmp.hcActive?tmp.hcActive[12]:true)) pow = pow.times(1.25)
if (player.q.upgrades.includes(41)) pow = pow.times(1.4) if (player.q.upgrades.includes(41)) pow = pow.times(1.4)
if (player.ss.unl) pow = pow.times(tmp.ssEff3) if (player.ss.unl) pow = pow.times(tmp.ssEff3)
if (player.ba.upgrades.includes(44)) pow = pow.times(1.5) if (player.ba.upgrades.includes(44)) pow = pow.times(1.5)
@ -2502,6 +2510,7 @@ function getQuirkLayerMult() {
if (player.q.upgrades.includes(13)) mult = mult.times(2) if (player.q.upgrades.includes(13)) mult = mult.times(2)
if (player.q.upgrades.includes(14)) mult = mult.times(3) if (player.q.upgrades.includes(14)) mult = mult.times(3)
if (player.q.upgrades.includes(21)) mult = mult.times(LAYER_UPGS.q[21].currently()) if (player.q.upgrades.includes(21)) mult = mult.times(LAYER_UPGS.q[21].currently())
if (player.q.upgrades.includes(52)) mult = mult.times(LAYER_UPGS.q[52].currently())
if (player.h.challs.includes(52)) mult = mult.times(H_CHALLS[52].currently()) if (player.h.challs.includes(52)) mult = mult.times(H_CHALLS[52].currently())
if (player.ba.upgrades.includes(13)) mult = mult.times(LAYER_UPGS.ba[13].currently()) if (player.ba.upgrades.includes(13)) mult = mult.times(LAYER_UPGS.ba[13].currently())
return mult return mult
@ -2783,6 +2792,7 @@ function getBalanceTypesEff() {
let pos = player.ba.positivity.plus(1).log10().plus(1) let pos = player.ba.positivity.plus(1).log10().plus(1)
let neg = player.ba.negativity.plus(1).log10().plus(1) let neg = player.ba.negativity.plus(1).log10().plus(1)
if (player.ba.upgrades.includes(34)) mod = mod.times(1.5) if (player.ba.upgrades.includes(34)) mod = mod.times(1.5)
if (player.ba.upgrades.includes(53)) mod = mod.times(LAYER_UPGS.ba[53].currently())
let eff = pos.times(neg).pow(mod) let eff = pos.times(neg).pow(mod)
return eff; return eff;
} }