diff --git a/hwe/compare/turn_command_trace.php b/hwe/compare/turn_command_trace.php index 816f1f80..e08408fb 100644 --- a/hwe/compare/turn_command_trace.php +++ b/hwe/compare/turn_command_trace.php @@ -366,6 +366,8 @@ function comparisonApplyTurnFixtureSetup(mixed $setup): void 'expLevel' => 'explevel', 'officerLevel' => 'officer_level', 'officerCityId' => 'officer_city', + 'belong' => 'belong', + 'permission' => 'permission', 'betray' => 'betray', 'makeLimit' => 'makelimit', 'injury' => 'injury', diff --git a/hwe/compare/turn_state_snapshot.php b/hwe/compare/turn_state_snapshot.php index 1631d974..46bcf32e 100644 --- a/hwe/compare/turn_state_snapshot.php +++ b/hwe/compare/turn_state_snapshot.php @@ -278,6 +278,8 @@ function comparisonTurnStateSnapshot(array $request): array 'expLevel' => 'explevel', 'officerLevel' => 'officer_level', 'officerCityId' => 'officer_city', + 'belong' => 'belong', + 'permission' => 'permission', 'betray' => 'betray', 'makeLimit' => 'makelimit', 'injury' => 'injury', @@ -327,6 +329,7 @@ function comparisonTurnStateSnapshot(array $request): array ] as $key) { $result[$key] = comparisonOptionalCode($result[$key] ?? null); } + $result['maxBelong'] = (int)($result['meta']['max_belong'] ?? 0); return $result; }, comparisonRowsById('general', 'no', $generalIds),