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
@@ -88,6 +88,11 @@ func (s *Service) enterEventFieldPack(pack gamedata.EventFieldPack) (int, []byte
position = saved.RawJSON
}
response := wire.AppendString(nil, 4, position)
buffs, err := s.fieldBuffInfo()
if err != nil {
return 0, nil, true, err
}
response = append(response, buffs...)
// The common callback dereferences HuntingGroundInfo even in hidden packs.
// Use the domain-generated empty/current snapshot; never borrow the outside
// map's monsters or story progress.