Skip to content

Commit ad727fc

Browse files
committed
3.1.5
1 parent 40b99ce commit ad727fc

8 files changed

Lines changed: 30 additions & 10 deletions

File tree

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@ Unity/ViveTests/TV in VR/Temp/
77
Unity/ViveTests/TV in VR/Assets/
88
/KTL.zip
99
KTL/saveFile.js
10+
/dist/
11+
/node_modules/
12+
/main.js
13+
/package.json
14+
/package-lock.json
15+
/steam_api64.dll
16+
/steam_appid.txt

KTL/engine.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,16 +372,16 @@ function actionTriggerHelper(type, info, extra) {
372372
} else if(type === "addAC") {
373373
let ACAmount = extra * (data.upgrades.listenCloserToWhispers.upgradePower === 1?3:1);
374374
if (data.gameState === "KTL") {
375-
data.ancientCoin += ACAmount * data.ancientCoinMultKTL * Math.pow(1.05, data.upgrades.extraAncientCoins.upgradePower);
376-
data.ancientCoinGained += ACAmount * data.ancientCoinMultKTL * Math.pow(1.05, data.upgrades.extraAncientCoins.upgradePower);
375+
data.ancientCoin += ACAmount * data.ancientCoinMultKTL
376+
data.ancientCoinGained += ACAmount * data.ancientCoinMultKTL
377377
} else {
378378
data.ancientCoin += ACAmount;
379379
}
380380
} else if(type === "addAW") {
381381
let AWAmount = extra * (data.upgrades.listenCloserToWhispers.upgradePower === 1?3:1) * (1 + data.lichKills/2);
382382
if (data.gameState === "KTL") {
383-
data.ancientWhisper += AWAmount * data.ancientWhisperMultKTL * Math.pow(1.1, data.upgrades.extraAncientWhispers.upgradePower);
384-
data.ancientWhisperGained += AWAmount * data.ancientWhisperMultKTL * Math.pow(1.1, data.upgrades.extraAncientWhispers.upgradePower);
383+
data.ancientWhisper += AWAmount * data.ancientWhisperMultKTL;
384+
data.ancientWhisperGained += AWAmount * data.ancientWhisperMultKTL;
385385
} else {
386386
data.ancientWhisper += AWAmount;
387387
}

KTL/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
View Amulet Upgrades
111111
</span>
112112

113-
<span id="currentVersion" style="position:fixed;top:1px;right:5px;color:var(--text-muted)">v3.1.4</span>
113+
<span id="currentVersion" style="position:fixed;top:1px;right:5px;color:var(--text-muted)">v3.1.5</span>
114114

115115

116116
<div id="bonusDisplayShowButton" class="button" onclick="bonusMenuHideButton()"

KTL/ktl.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,7 @@ function useAmulet() {
716716
adjustMagicMaxLevels()
717717
adjustBrythalMaxLevels()
718718

719+
data.doneAmulet = true;
719720
data.currentWage = 1;
720721
data.currentJob = "helpScottWithChores";
721722
document.getElementById("jobTitle").textContent = data.actions[data.currentJob] ? actionData[data.currentJob].title : data.currentJob;
@@ -844,7 +845,6 @@ function lich1Text() {
844845
<li>Legacy, Ancient Coins, and Ancient Whispers</li>
845846
<li>All Attribute, Multiplier, and New Action Upgrades</li>
846847
<li>Unlocked actions in Magic and Infusion</li>
847-
<li>(New!) The recorded highest levels on actions</li>
848848
<li>(New!) The level of Turn The Wheel</li>
849849
</ul>
850850
@@ -856,6 +856,7 @@ function lich1Text() {
856856
<li>(New!) All automation settings and custom triggers</li>
857857
<li>(New!) The exp and level of Repose Rebounded</li>
858858
<li>(New!) Death Energy on Repose Rebounded</li>
859+
<li>(New!) The recorded highest levels on actions</li>
859860
</ul>
860861
861862
(New!) You will gain:
@@ -890,7 +891,6 @@ function lich2Text() {
890891
<li>Legacy, Ancient Coins, and Ancient Whispers</li>
891892
<li>All Attribute, Multiplier, and New Action Upgrades</li>
892893
<li>Unlocked actions in Magic and Infusion</li>
893-
<li>The recorded highest levels on actions</li>
894894
<li>The level of Turn The Wheel</li>
895895
</ul>
896896
@@ -902,6 +902,7 @@ function lich2Text() {
902902
<li>All automation settings and custom triggers</li>
903903
<li>The exp and level of Repose Rebounded</li>
904904
<li>Death Energy on Repose Rebounded</li>
905+
<li>The recorded highest levels on actions</li>
905906
</ul>
906907
907908
(New!) You will gain:

KTL/menu.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,15 @@ function createChangelogMenu() {
629629
return Raw.html`
630630
<div class="menuTitle">Changelog</div>
631631
<div class="menuSeparator"></div><br>
632-
v3.1.4 3/12 (current): <br>
632+
v3.1.5 3/24 (current): <br>
633+
[Gameplay changes]:<br>
634+
<ol>
635+
<li>Statistics graph has been greatly updated (thanks Disilon)</li>
636+
<li>View Amulet Upgrades stops disappearing for new saves of v3</li>
637+
<li>Fixed 3 genesis upgrades from applying twice (AC, AW, Legacy bonuses)</li>
638+
</ol><br><br>
639+
640+
v3.1.4 3/12: <br>
633641
[Gameplay changes]:<br>
634642
<ol>
635643
<li>Capped Eastern Monolith levels at 3, after the final lich kill</li>

KTL/saveCorrections.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ function saveFileCorrection(saveVersionFromLoad) {
44
purchaseAction("overponder")
55
}
66
//6 -> 7
7+
if(data.resetCount >= 1) {
8+
data.doneAmulet = true;
9+
}
710

811
return refundAmount;
912
}
@@ -26,6 +29,7 @@ function saveFileCorrectionAfterLoad(saveVersionFromLoad) {
2629
}
2730

2831
data.atts["impedance"].attBase2 = -1 * data.upgrades.decreaseImpedance.upgradePower;
32+
2933
}
3034

3135
let v2toLoad;

KTL/views/viewCreate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ function actionTriggerText(type, info, extra) {
10291029
if(info) {
10301030
levelMult += data.actions[info].level/5;
10311031
}
1032-
let legacyGain = extra * levelMult * (data.gameState === "KTL" ? data.legacyMultKTL : Math.pow(1.2, data.upgrades.extraBrythalLegacy.upgradePower)) * Math.pow(1.1, data.upgrades.extraLegacy.upgradePower);
1032+
let legacyGain = extra * levelMult * (data.gameState === "KTL" ? data.legacyMultKTL : Math.pow(1.2, data.upgrades.extraBrythalLegacy.upgradePower));
10331033
text += `+<b>${intToString(legacyGain, 2)}</b> Legacy`
10341034
} else if(type === "addAC") {
10351035
let ACAmount = extra

KTL/views/viewUpdating.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ let views = {
4343
views.updateVal(`secondsThisLSContainer`, data.lichKills > 0 ? "" : "none", "style.display");
4444
views.updateVal(`secondsThisLS`, data.currentGameState.secondsThisLS, "textContent", "time");
4545
views.updateVal(`legacyMult`, data.legacyMultKTL, "innerText", 2);
46-
views.updateVal(`ancientCoinMult`, data.ancientCoinMultKTL * Math.pow(1.05, data.upgrades.extraAncientCoins.upgradePower), "innerText", 2);
46+
views.updateVal(`ancientCoinMult`, data.ancientCoinMultKTL, "innerText", 2);
4747

4848
views.updateVal(`manaQualityDisplay`, actionData.awakenYourGrimoire.manaQuality() > 0 ? "" : "none", "style.display");
4949

0 commit comments

Comments
 (0)