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

@@ -73,6 +73,19 @@ func cwSelectInvestment(catalog *common.CurrencyWarsCatalog, run *pb.MPIMAEMCEFH
delta = choice.GoldDelta
}
}
if info == nil || info.AugmentId != id {
augCatalog, augErr := common.LoadCurrencyWarsAugments(catalog)
if augErr == nil {
if aug, ok := augCatalog.Augment(id); ok {
info = &pb.PPGEBEBPMJC{AugmentId: id}
for _, g := range aug.Grants {
if g.Kind == "gold" {
delta += int64(g.Count)
}
}
}
}
}
if info == nil || info.AugmentId != id {
return nil, fmt.Errorf("CW investment effect not captured")
}