返回提交历史
Modified
src/services/configService.ts
+1
-0
Modified
src/services/inventoryService.ts
+3
-2
Modified
static/webui/index.html
+4
-0
Modified
static/webui/translations/de.js
+1
-0
Modified
static/webui/translations/en.js
+1
-0
Modified
static/webui/translations/es.js
+1
-0
Modified
static/webui/translations/fr.js
+1
-0
Modified
static/webui/translations/ru.js
+1
-0
Modified
static/webui/translations/zh.js
+1
-0
XFEstudio/SpaceNinjaServer
feat: nightwaveStandingMultiplier cheat (#2145)
Co-authored-by: nyaoouo <64143453+nyaoouo@users.noreply.github.com> Co-authored-by: ny <64143453+nyaoouo@users.noreply.github.com> Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2145 Co-authored-by: nyaoouo <nyaoouo@noreply.localhost> Co-committed-by: nyaoouo <nyaoouo@noreply.localhost>
62eeb313
代码差异
9 个文件
+14
-2
@@ -65,6 +65,7 @@ interface IConfig {
65
65
vallisOverride?: string;
66
66
nightwaveOverride?: string;
67
67
};
68
nightwaveStandingMultiplier?: number;
68
69
}
69
70
70
71
export const configPath = path.join(repoDir, "config.json");
@@ -1773,13 +1773,14 @@ export const addChallenges = (
1773
1773
}) - 1
1774
1774
];
1775
1775
}
1776
affiliation.Standing += meta.standing!;
1777
1776
1777
const standingToAdd = meta.standing! * (config.nightwaveStandingMultiplier ?? 1);
1778
affiliation.Standing += standingToAdd;
1778
1779
if (affiliationMods.length == 0) {
1779
1780
affiliationMods.push({ Tag: nightwaveSyndicateTag });
1780
1781
}
1781
1782
affiliationMods[0].Standing ??= 0;
1782
affiliationMods[0].Standing += meta.standing!;
1783
affiliationMods[0].Standing += standingToAdd;
1783
1784
}
1784
1785
}
1785
1786
}
@@ -736,6 +736,10 @@
736
736
<label class="form-label" for="spoofMasteryRank" data-loc="cheats_spoofMasteryRank"></label>
737
737
<input class="form-control" id="spoofMasteryRank" type="number" min="-1" max="65535" />
738
738
</div>
739
<div class="form-group mt-2">
740
<label class="form-label" for="nightwaveStandingMultiplier" data-loc="cheats_nightwaveStandingMultiplier"></label>
741
<input class="form-control" id="nightwaveStandingMultiplier" type="number" min="1" max="1000000" value="1" />
742
</div>
739
743
<button class="btn btn-primary mt-3" type="submit" data-loc="cheats_saveSettings"></button>
740
744
</form>
741
745
</div>
@@ -164,6 +164,7 @@ dict = {
164
164
cheats_noDojoResearchTime: `Keine Dojo-Forschungszeit`,
165
165
cheats_fastClanAscension: `Schneller Clan-Aufstieg`,
166
166
cheats_spoofMasteryRank: `Gefälschter Meisterschaftsrang (-1 zum deaktivieren)`,
167
cheats_nightwaveStandingMultiplier: `[UNTRANSLATED] Nightwave Standing Multiplier`,
167
168
cheats_saveSettings: `Einstellungen speichern`,
168
169
cheats_account: `Account`,
169
170
cheats_unlockAllFocusSchools: `Alle Fokus-Schulen freischalten`,
@@ -163,6 +163,7 @@ dict = {
163
163
cheats_noDojoResearchTime: `No Dojo Research Time`,
164
164
cheats_fastClanAscension: `Fast Clan Ascension`,
165
165
cheats_spoofMasteryRank: `Spoofed Mastery Rank (-1 to disable)`,
166
cheats_nightwaveStandingMultiplier: `Nightwave Standing Multiplier`,
166
167
cheats_saveSettings: `Save Settings`,
167
168
cheats_account: `Account`,
168
169
cheats_unlockAllFocusSchools: `Unlock All Focus Schools`,
@@ -164,6 +164,7 @@ dict = {
164
164
cheats_noDojoResearchTime: `Sin tiempo de investigación del dojo`,
165
165
cheats_fastClanAscension: `Ascenso rápido del clan`,
166
166
cheats_spoofMasteryRank: `Rango de maestría simulado (-1 para desactivar)`,
167
cheats_nightwaveStandingMultiplier: `[UNTRANSLATED] Nightwave Standing Multiplier`,
167
168
cheats_saveSettings: `Guardar configuración`,
168
169
cheats_account: `Cuenta`,
169
170
cheats_unlockAllFocusSchools: `Desbloquear todas las escuelas de enfoque`,
@@ -164,6 +164,7 @@ dict = {
164
164
cheats_noDojoResearchTime: `Aucun temps de recherche (Dojo)`,
165
165
cheats_fastClanAscension: `Ascension de clan rapide`,
166
166
cheats_spoofMasteryRank: `Rang de maîtrise personnalisé (-1 pour désactiver)`,
167
cheats_nightwaveStandingMultiplier: `[UNTRANSLATED] Nightwave Standing Multiplier`,
167
168
cheats_saveSettings: `Sauvegarder les paramètres`,
168
169
cheats_account: `Compte`,
169
170
cheats_unlockAllFocusSchools: `Débloquer toutes les écoles de focus`,
@@ -164,6 +164,7 @@ dict = {
164
164
cheats_noDojoResearchTime: `Мгновенные Исследование Додзё`,
165
165
cheats_fastClanAscension: `Мгновенное Вознесение Клана`,
166
166
cheats_spoofMasteryRank: `Подделанный ранг мастерства (-1 для отключения)`,
167
cheats_nightwaveStandingMultiplier: `[UNTRANSLATED] Nightwave Standing Multiplier`,
167
168
cheats_saveSettings: `Сохранить настройки`,
168
169
cheats_account: `Аккаунт`,
169
170
cheats_unlockAllFocusSchools: `Разблокировать все школы фокуса`,
@@ -164,6 +164,7 @@ dict = {
164
164
cheats_noDojoResearchTime: `无视道场研究时间`,
165
165
cheats_fastClanAscension: `快速升级氏族`,
166
166
cheats_spoofMasteryRank: `伪造精通段位(-1为禁用)`,
167
cheats_nightwaveStandingMultiplier: `午夜电波声望倍率`,
167
168
cheats_saveSettings: `保存设置`,
168
169
cheats_account: `账户`,
169
170
cheats_unlockAllFocusSchools: `解锁所有专精学派`,