Skip to content

Commit

Permalink
Checked in missing file, rip me
Browse files Browse the repository at this point in the history
  • Loading branch information
dmchurch committed Dec 5, 2023
1 parent 4ad8b36 commit 58348e6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions lang/en-EN/game.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
• Fixed a mana accounting bug that could cause up to double mana consumption in some cases.<br>
• Actions with multipart progress bars will no longer go past their expected limits if too much progress is made in 1 tick.<br>
• Options that change the game balance have been moved to the Extras menu.<br>
• Fixed a game-breaking bug, whoops. Sorry folks!<br>
]]></version>
<version verNum="3.P16.7"><![CDATA[
<b> Dec 3rd, 2023</b>
Expand Down
11 changes: 8 additions & 3 deletions saving.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ let curTown = 0;


const statList = /** @type {const} */(["Dex", "Str", "Con", "Spd", "Per", "Cha", "Int", "Luck", "Soul"]);
/** @type {{[K in typeof statList[number]]?: {exp: number, talent: number, soulstone: number}}} */
const stats = {};
let totalTalent = 0;
// eslint-disable-next-line prefer-const
Expand Down Expand Up @@ -143,9 +144,10 @@ let curLoadout = 0;
let loadouts;
let loadoutnames;
//let loadoutnames = ["1", "2", "3", "4", "5"];
const skillList = ["Combat", "Magic", "Practical", "Alchemy", "Crafting", "Dark", "Chronomancy", "Pyromancy", "Restoration", "Spatiomancy", "Mercantilism", "Divine", "Commune", "Wunderkind", "Gluttony", "Thievery", "Leadership", "Assassin"];
const skillList = /** @type {const} */(["Combat", "Magic", "Practical", "Alchemy", "Crafting", "Dark", "Chronomancy", "Pyromancy", "Restoration", "Spatiomancy", "Mercantilism", "Divine", "Commune", "Wunderkind", "Gluttony", "Thievery", "Leadership", "Assassin"]);
/** @type {{[K in typeof skillList[number]]?: {exp: number}}} */
const skills = {};
const buffList = ["Ritual",
const buffList = /** @type {const} */(["Ritual",
"Imbuement",
"Imbuement2",
"Feast",
Expand All @@ -159,7 +161,7 @@ const buffList = ["Ritual",
"PrestigeChronomancy",
"PrestigeBartering",
"PrestigeExpOverflow"
];
]);

const dungeonFloors = [6, 9, 20];
const trialFloors = [50, 100, 7, 1000, 25];
Expand Down Expand Up @@ -195,6 +197,7 @@ const buffCaps = {
PrestigeBartering: 100,
PrestigeExpOverflow: 100
};
/** @type {{[K in typeof buffList[number]]?: {amt: number}}} */
const buffs = {};
const prestigeValues = {};
let goldInvested = 0;
Expand Down Expand Up @@ -446,6 +449,8 @@ let totalOfflineMs = 0;
let bonusSpeed = 1;
let bonusActive = false;
let currentLoop = 0;
/** @type {Action & ActionExtras} */
let currentAction = null;
const offlineRatio = 1;
let totals = {
time: 0,
Expand Down

0 comments on commit 58348e6

Please sign in to comment.