XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

chore: add build label for 9.1.0 (#3832)

Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3832 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

46fe6752
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

4 个文件 +4 -4
Modified src/constants/gameToBuildVersion.ts +1 -1
@@ -62,7 +62,7 @@ const gameToBuildVersion = {
62 62 "11.5.3": "2013.12.21.01.47",
63 63 "11.1.3": "2013.11.29.16.33",
64 64 "10.3.3": "2013.10.11.17.01",
65 "9.1.2": "2013.07.15.20.46",
65 "9.1.0": "2013.07.13.03.21",
66 66 "8.3.0": "2013.07.04.20.17",
67 67 "8.0.0": "2013.05.23.16.06",
68 68 "7.3.0": "2013.03.25.11.45"
Modified src/services/guildService.ts +1 -1
@@ -217,7 +217,7 @@ export const getDojoClient = async (
217 217 pf:
218 218 dojoComponent.pf == "/Lotus/Levels/ClanDojo/DojoHall.level" &&
219 219 buildLabel &&
220 version_compare(buildLabel, gameToBuildVersion["9.1.2"]) <= 0
220 version_compare(buildLabel, gameToBuildVersion["9.1.0"]) <= 0
221 221 ? "/Lotus/Levels/ClanDojo/ClanHallA.level" // Pre-U9.5
222 222 : dojoComponent.pf,
223 223 ppf: dojoComponent.ppf,
Modified src/services/inventoryService.ts +1 -1
@@ -2241,7 +2241,7 @@ export const applyClientEquipmentUpdates = (
2241 2241 }
2242 2242
2243 2243 if (ExtraRemaining) {
2244 if (!buildLabel || version_compare(buildLabel, gameToBuildVersion["9.1.2"]) >= 0) {
2244 if (!buildLabel || version_compare(buildLabel, gameToBuildVersion["9.1.0"]) >= 0) {
2245 2245 if (ExtraRemaining > 0) {
2246 2246 throw new Error(
2247 2247 `unexpected value for ExtraRemaining (${ExtraRemaining}); expected a delta from this client`
Modified src/services/itemDataService.ts +1 -1
@@ -1545,7 +1545,7 @@ export const getBoosterPack = async (
1545 1545 if (version_compare(buildLabel, "2013.06.07.23.44") >= 0) {
1546 1546 boosterPack.rarityWeightsPerRoll[4] = { COMMON: 0, UNCOMMON: 0, RARE: 1, LEGENDARY: 0 };
1547 1547 }
1548 if (version_compare(buildLabel, gameToBuildVersion["9.1.2"]) >= 0) {
1548 if (version_compare(buildLabel, gameToBuildVersion["9.1.0"]) >= 0) {
1549 1549 boosterPack.components.push(
1550 1550 { Item: "/Lotus/Types/Keys/OrokinCaptureKeyA", Rarity: "COMMON", Amount: 1 },
1551 1551 { Item: "/Lotus/Types/Keys/OrokinCaptureKeyB", Rarity: "COMMON", Amount: 1 },