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

@@ -169,13 +169,17 @@ func init() {
after, notify, err = currencyWarsEntryChoice(catalog, before, req.QueuePosition, selection.JCAPCNLJGFC)
} else {
after = proto.Clone(before).(*goproto.MPIMAEMCEFH)
runtime, err = cwBonfireRuntime(catalog, after)
if err != nil {
return err
}
switch {
case req.GetIIDBLCFAAPC() != nil && before.FMIGOKIDKJL.GetIIDBLCFAAPC() != nil:
notify, runtime, err = cwSelectBonfire(catalog, after, req.GetIIDBLCFAAPC())
case req.GetBAKAKODKECM() != nil && before.FMIGOKIDKJL.GetBAKAKODKECM() != nil:
notify, err = cwSelectEncounter(after, req.GetBAKAKODKECM())
notify, err = cwSelectEncounter(catalog, after, req.GetBAKAKODKECM(), runtime)
case req.GetFIKAGBAEOAP() != nil && before.FMIGOKIDKJL.GetFIKAGBAEOAP() != nil:
notify, err = cwSelectSupply(catalog, after, req.GetFIKAGBAEOAP())
notify, err = cwSelectSupply(catalog, after, req.GetFIKAGBAEOAP(), runtime)
case req.GetDKDFDGJGIHM() != nil && before.FMIGOKIDKJL.GetEEKMIAMGHFL() != nil:
notify, err = cwSelectSpotlight(catalog, after, req.GetDKDFDGJGIHM())
case req.GetNNDGEJFLGGF() != nil && before.FMIGOKIDKJL.GetNNDGEJFLGGF() != nil:
@@ -209,6 +213,26 @@ func init() {
if stage, _ := cwStage(after); stage != nil && runtime.Rules["PetPalStarDown"] != 0 && stage.GetIMPNAHBCADN().GetMPOBBIPMNNJ() != nil {
notify.GCPNIHHBGGD = append(notify.GCPNIHHBGGD, cwNotify(&goproto.KFNCAIHIHCM{MNLCHEJKDHO: &goproto.KFNCAIHIHCM_OOICHLAMNIG{OOICHLAMNIG: &goproto.AINFNFIDGFF{DCAHJELNJNP: stage.DCAHJELNJNP, SectionId: stage.SectionId, IMPNAHBCADN: stage.IMPNAHBCADN}}}).GCPNIHHBGGD...)
}
cwSyncTraitComponent(catalog, after, runtime)
if tbCat, err := common.LoadCurrencyWarsTrailblaze(); err == nil && (cwGetTrailblazeLayer(catalog, after) > 0 || (runtime != nil && runtime.Rules["TbOpened"] != 0)) {
if notify != nil && len(notify.GCPNIHHBGGD) > 0 {
notify.GCPNIHHBGGD[0].JKPJFKCBIEM = append(notify.GCPNIHHBGGD[0].JKPJFKCBIEM,
&goproto.KFNCAIHIHCM{
MNLCHEJKDHO: &goproto.KFNCAIHIHCM_HKHJJCMKKJE{
HKHJJCMKKJE: &goproto.JLKCBOIFJKC{
TraitId: cwTrailblazeTrait,
ENPLACDLJGA: cwTrailblazeTraitEffectProto(tbCat, runtime),
},
},
},
&goproto.KFNCAIHIHCM{
MNLCHEJKDHO: &goproto.KFNCAIHIHCM_GOOCHGKBIPN{
GOOCHGKBIPN: cwTrailblazeModifierProto(tbCat, runtime),
},
},
)
}
}
if err := s.saveCurrencyWarsDataWithRuntime(data, catalog, runtime); err != nil {
return err
}