diff --git a/config.json.example b/config.json.example
index 907f8af7..9d072329 100644
--- a/config.json.example
+++ b/config.json.example
@@ -29,6 +29,7 @@
"unlockExilusEverywhere": false,
"unlockArcanesEverywhere": false,
"noDailyStandingLimits": false,
+ "noDailyFocusLimit": false,
"noArgonCrystalDecay": false,
"noMasteryRankUpCooldown": false,
"noVendorPurchaseLimits": true,
diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts
index 910420cf..bede097f 100644
--- a/src/controllers/api/inventoryController.ts
+++ b/src/controllers/api/inventoryController.ts
@@ -258,6 +258,10 @@ export const getInventoryResponse = async (
}
}
+ if (config.noDailyFocusLimit) {
+ inventoryResponse.DailyFocus = Math.max(999_999, 250000 + inventoryResponse.PlayerLevel * 5000);
+ }
+
if (inventoryResponse.InfestedFoundry) {
applyCheatsToInfestedFoundry(inventoryResponse.InfestedFoundry);
}
diff --git a/src/services/configService.ts b/src/services/configService.ts
index 88a6634a..cb1a2c38 100644
--- a/src/services/configService.ts
+++ b/src/services/configService.ts
@@ -35,6 +35,7 @@ interface IConfig {
unlockExilusEverywhere?: boolean;
unlockArcanesEverywhere?: boolean;
noDailyStandingLimits?: boolean;
+ noDailyFocusLimit?: boolean;
noArgonCrystalDecay?: boolean;
noMasteryRankUpCooldown?: boolean;
noVendorPurchaseLimits?: boolean;
diff --git a/src/services/inventoryService.ts b/src/services/inventoryService.ts
index fe35cff6..2d17f7ed 100644
--- a/src/services/inventoryService.ts
+++ b/src/services/inventoryService.ts
@@ -1372,7 +1372,9 @@ export const addFocusXpIncreases = (inventory: TInventoryDatabaseDocument, focus
inventory.FocusXP.AP_POWER += focusXpPlus[FocusType.AP_POWER];
inventory.FocusXP.AP_WARD += focusXpPlus[FocusType.AP_WARD];
- inventory.DailyFocus -= focusXpPlus.reduce((a, b) => a + b, 0);
+ if (!config.noDailyFocusLimit) {
+ inventory.DailyFocus -= focusXpPlus.reduce((a, b) => a + b, 0);
+ }
};
export const addLoreFragmentScans = (inventory: TInventoryDatabaseDocument, arr: ILoreFragmentScan[]): void => {
diff --git a/static/webui/index.html b/static/webui/index.html
index d4a900c3..ec786b4e 100644
--- a/static/webui/index.html
+++ b/static/webui/index.html
@@ -595,6 +595,10 @@
+
+
+
+
diff --git a/static/webui/translations/de.js b/static/webui/translations/de.js
index 7cca988a..0e69b371 100644
--- a/static/webui/translations/de.js
+++ b/static/webui/translations/de.js
@@ -134,6 +134,7 @@ dict = {
cheats_unlockExilusEverywhere: `Exilus-Adapter überall`,
cheats_unlockArcanesEverywhere: `Arkana-Adapter überall`,
cheats_noDailyStandingLimits: `Kein tägliches Ansehenslimit`,
+ cheats_noDailyFocusLimit: `[UNTRANSLATED] No Daily Focus Limits`,
cheats_noArgonCrystalDecay: `Argon-Kristalle verschwinden niemals`,
cheats_noMasteryRankUpCooldown: `Keine Wartezeit beim Meisterschaftsrangaufstieg`,
cheats_noVendorPurchaseLimits: `Keine Kaufbeschränkungen bei Händlern`,
diff --git a/static/webui/translations/en.js b/static/webui/translations/en.js
index 01a97404..bbf2561a 100644
--- a/static/webui/translations/en.js
+++ b/static/webui/translations/en.js
@@ -133,6 +133,7 @@ dict = {
cheats_unlockExilusEverywhere: `Exilus Adapters Everywhere`,
cheats_unlockArcanesEverywhere: `Arcane Adapters Everywhere`,
cheats_noDailyStandingLimits: `No Daily Standing Limits`,
+ cheats_noDailyFocusLimit: `No Daily Focus Limit`,
cheats_noArgonCrystalDecay: `No Argon Crystal Decay`,
cheats_noMasteryRankUpCooldown: `No Mastery Rank Up Cooldown`,
cheats_noVendorPurchaseLimits: `No Vendor Purchase Limits`,
diff --git a/static/webui/translations/es.js b/static/webui/translations/es.js
index 2c303d80..e2ea40ec 100644
--- a/static/webui/translations/es.js
+++ b/static/webui/translations/es.js
@@ -134,6 +134,7 @@ dict = {
cheats_unlockExilusEverywhere: `Adaptadores Exilus en todas partes`,
cheats_unlockArcanesEverywhere: `Adaptadores de Arcanos en todas partes`,
cheats_noDailyStandingLimits: `Sin límite diario de reputación`,
+ cheats_noDailyFocusLimit: `[UNTRANSLATED] No Daily Focus Limits`,
cheats_noArgonCrystalDecay: `Sin descomposición de cristal de Argón`,
cheats_noMasteryRankUpCooldown: `Sin tiempo de espera para rango de maestría`,
cheats_noVendorPurchaseLimits: `Sin límite de compras de vendedores`,
diff --git a/static/webui/translations/fr.js b/static/webui/translations/fr.js
index e2ebd5e7..54f041c6 100644
--- a/static/webui/translations/fr.js
+++ b/static/webui/translations/fr.js
@@ -134,6 +134,7 @@ dict = {
cheats_unlockExilusEverywhere: `Adaptateurs Exilus partout`,
cheats_unlockArcanesEverywhere: `Adaptateur d'Arcanes partout`,
cheats_noDailyStandingLimits: `Pas de limite de réputation journalière`,
+ cheats_noDailyFocusLimit: `[UNTRANSLATED] No Daily Focus Limits`,
cheats_noArgonCrystalDecay: `[UNTRANSLATED] No Argon Crystal Decay`,
cheats_noMasteryRankUpCooldown: `[UNTRANSLATED] No Mastery Rank Up Cooldown`,
cheats_noVendorPurchaseLimits: `[UNTRANSLATED] No Vendor Purchase Limits`,
diff --git a/static/webui/translations/ru.js b/static/webui/translations/ru.js
index 1def5df7..62c82f70 100644
--- a/static/webui/translations/ru.js
+++ b/static/webui/translations/ru.js
@@ -134,6 +134,7 @@ dict = {
cheats_unlockExilusEverywhere: `Адаптеры Эксилус везде`,
cheats_unlockArcanesEverywhere: `Адаптеры для мистификаторов везде`,
cheats_noDailyStandingLimits: `Без ежедневных ограничений репутации`,
+ cheats_noDailyFocusLimit: `[UNTRANSLATED] No Daily Focus Limits`,
cheats_noArgonCrystalDecay: `Без распада аргоновых кристаллов`,
cheats_noMasteryRankUpCooldown: `Повышение ранга мастерства без кулдауна`,
cheats_noVendorPurchaseLimits: `Отсутствие лимитов на покупки у вендоров`,
diff --git a/static/webui/translations/zh.js b/static/webui/translations/zh.js
index 1ee2ea4c..3d7af8ec 100644
--- a/static/webui/translations/zh.js
+++ b/static/webui/translations/zh.js
@@ -134,6 +134,7 @@ dict = {
cheats_unlockExilusEverywhere: `全物品自带适配器`,
cheats_unlockArcanesEverywhere: `全物品自带赋能适配器`,
cheats_noDailyStandingLimits: `无每日声望限制`,
+ cheats_noDailyFocusLimit: `[UNTRANSLATED] No Daily Focus Limits`,
cheats_noArgonCrystalDecay: `[UNTRANSLATED] No Argon Crystal Decay`,
cheats_noMasteryRankUpCooldown: `[UNTRANSLATED] No Mastery Rank Up Cooldown`,
cheats_noVendorPurchaseLimits: `[UNTRANSLATED] No Vendor Purchase Limits`,