diff --git a/js/003-data/gameVariableData.js b/js/003-data/gameVariableData.js index c9061920d47cdb47eec578f978e38d5d19a83d45..1523f20d3a9b7eeb740d5d086e719b16ce08289a 100644 --- a/js/003-data/gameVariableData.js +++ b/js/003-data/gameVariableData.js @@ -379,7 +379,6 @@ App.Data.resetOnNGPlus = { arcRepairTime: 0, garrison: {}, /* battle relevant vars */ - attackThisWeek: 0, majorBattle: 0, SecExp: {}, diff --git a/src/Mods/SecExp/attackReport.tw b/src/Mods/SecExp/attackReport.tw index 70533971f5f184b21495ea550d13412b251706b3..740a8dc1298ebdb1545803581e0e1cd73b3a83aa 100644 --- a/src/Mods/SecExp/attackReport.tw +++ b/src/Mods/SecExp/attackReport.tw @@ -1507,7 +1507,6 @@ <</if>> /* resets variables */ -<<set $attackThisWeek = 0>> <<set $majorBattle = 0>> <<set $SecExp.units.bots.isDeployed = 0>> <<for _squad range App.SecExp.unit.humanSquads()>> diff --git a/src/Mods/SecExp/js/secExp.js b/src/Mods/SecExp/js/secExp.js index dd291f5f0044d223dba52a88e274a71d530d7b95..5736f7464f1363b447cd4b338ab232fef44181e5 100644 --- a/src/Mods/SecExp/js/secExp.js +++ b/src/Mods/SecExp/js/secExp.js @@ -47,7 +47,6 @@ App.SecExp.generator = (function() { V.SecExp.battles.lastEncounterWeeks++; } else { let type, terrain, troops, equip = 0, L = 0; - V.attackThisWeek = 1; V.SecExp.battles.lastEncounterWeeks = 0; let raider = 25, oldWorld = 25, freeCity = 25, free = 25; // type is the chance out of 100 of an attack of that type happening // the old world attracted by "degenerate" future societies diff --git a/src/Mods/SpecialForce/SpecialForce.js b/src/Mods/SpecialForce/SpecialForce.js index 5baccbb55ea4d8145856a443ef0e40edc1d3fd01..3f9f03d9c73076c4fb414dfdcaac478e5e9d8b97 100644 --- a/src/Mods/SpecialForce/SpecialForce.js +++ b/src/Mods/SpecialForce/SpecialForce.js @@ -1453,7 +1453,7 @@ App.SF.AAR = function(endWeekCall = 1) { r += `<span class='red'>barely enough to cover expenses.</span> More growth will be needed to ensure profitability, <span class='yellow'>hopefully purchasing more upgrades will help.</span>`; r += ` Per the estimates that ${App.SF.SFC()} provides, an additional <span class='yellowgreen'>${cashFormat(profit)}</span> is required for sufficient cover.`; } - r += `An difference of ${profit/V.SF.lastWeeksProfit}% since last week`; + r += `An difference of ${(profit/V.SF.lastWeeksProfit)*100}% since last week`; V.SF.lastWeeksProfit = profit; r += ` ${capSF} managed to recruit ${FNG} new soldiers this week, and your reputation has <span class='green'>increased through the improvement of trade security.</span>`;