feat(currency_wars): complete systems, settlement Rank SS, damage report, camera and recovery fixes

This commit is contained in:
CAtlas0784 committed 2026-10-31 20:47:36 +07:00
1 parent c008243f11
commit 0995055296
78 files changed
+33840 -9525

No files matched your search

+2 -2
View File
@@ -15,7 +15,7 @@ const cwEquipmentSourceSupply uint32 = 9
// Applies only to the detached pending-action snapshot; the caller saves the
// complete transaction before publishing any grant or queue acknowledgement.
func cwSelectSupply(catalog *common.CurrencyWarsCatalog, run *pb.MPIMAEMCEFH, request *pb.HMNMJKCHABE) (*pb.GridFightSyncUpdateResultScNotify, error) {
func cwSelectSupply(catalog *common.CurrencyWarsCatalog, run *pb.MPIMAEMCEFH, request *pb.HMNMJKCHABE, runtime *common.CurrencyWarsRuntimeState) (*pb.GridFightSyncUpdateResultScNotify, error) {
pending := run.GetFMIGOKIDKJL()
offer := pending.GetFIKAGBAEOAP()
if offer == nil || request == nil || offer.DAEMEBCKHIK == 0 || uint64(len(request.LOAFKKAFBOK)) != uint64(offer.DAEMEBCKHIK) {
@@ -162,7 +162,7 @@ func cwSelectSupply(catalog *common.CurrencyWarsCatalog, run *pb.MPIMAEMCEFH, re
// Keep the selected rewards on this detached run and let the common
// route factory validate and construct the actual next node. If that
// node family is not supported yet, the caller discards the snapshot.
advance, err := cwAdvanceRouteNode(catalog, run)
advance, err := cwAdvanceRouteNode(catalog, run, runtime)
if err != nil {
return nil, fmt.Errorf("CW Supply next node: %w", err)
}