feat(server): complete field object rewards, effects, positions and calendar resets

This commit is contained in:
2026-10-06 15:23:31 +08:00
parent edef3ca008
commit 626fc09a55
26 changed files with 1671 additions and 55 deletions
+1
View File
@@ -699,6 +699,7 @@ func serve(args []string) (serveErr error) {
return fmt.Errorf("attach field monster state: %w", err)
}
battleService.AttachFieldMonsters(worldService)
battleService.AttachFieldBuffConsume(worldService.ConsumeFieldBattleBuff)
if err := worldService.AttachFieldBuffRuntime(gameData, *gameDataVersion); err != nil {
return fmt.Errorf("attach field monster damage: %w", err)
}