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

fix: ghoul purge bounties not showing up (#3757)

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

9d5e6b1b
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +3 -1
Modified src/services/worldStateService.ts +3 -1
@@ -3941,6 +3941,8 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
3941 3941 const progress = (dayWithFraction - activeStartDay) / (activeEndDay - activeStartDay);
3942 3942 const healthPct = 1 - Math.min(Math.max(progress, 0), 1);
3943 3943
3944 const bountyCycleStartSecs = Math.trunc(bountyEpoch + bountyCycle * eidolonCycleDuration);
3945
3944 3946 worldState.Goals.push({
3945 3947 _id: { $oid: "687ebbe6d1d17841c9c59f38" },
3946 3948 Activation: {
@@ -3967,7 +3969,7 @@ export const getWorldState = (buildLabel?: string): IWorldState => {
3967 3969 Tag: "GhoulEmergence",
3968 3970 JobAffiliationTag: "CetusSyndicate",
3969 3971 JobCurrentVersion: {
3970 $oid: ((bountyCycle * 9000) & 0xffffffff).toString(16).padStart(8, "0") + "0000000000000008"
3972 $oid: (bountyCycleStartSecs & 0xffffffff).toString(16).padStart(8, "0") + "0000000000000008"
3971 3973 },
3972 3974 Jobs: [
3973 3975 {