Update AA synchronization, CW progression and diagnostics
This commit is contained in:
1 parent
67a819a4d3
commit
30bee81fe9
30 files changed
+1143
-55
No files matched your search
@@ -70,7 +70,12 @@ func cwAdvanceRouteNode(catalog *common.CurrencyWarsCatalog, run *pb.MPIMAEMCEFH
|
||||
shadowStage.DCAHJELNJNP = next.ChapterID
|
||||
shadowStage.SectionId = next.SectionID
|
||||
shadowStage.IMPNAHBCADN = nil
|
||||
layer, err := cwGenerateReferenceEnemyLayer(catalog, shadow, display)
|
||||
var layer *pb.NCKOKDHNJDC
|
||||
if template.NodeType == "Supply" {
|
||||
layer, err = cwCapturedSupplyLayer(catalog)
|
||||
} else {
|
||||
layer, err = cwGenerateReferenceEnemyLayer(catalog, shadow, display)
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -101,6 +106,17 @@ func cwGeneratedRoundPreparation(catalog *common.CurrencyWarsCatalog, run *pb.MP
|
||||
if queue == math.MaxUint32 {
|
||||
return nil, fmt.Errorf("CW pending queue exhausted")
|
||||
}
|
||||
name, err := catalog.NodeTypeName(display.CJCCMAACJDB)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if name == "Supply" {
|
||||
offer, err := cwGenerateSupplyOffer(catalog, run)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return &pb.CHCHAJIANIM{QueuePosition: queue + 1, FGLIODAJFML: &pb.CHCHAJIANIM_FIKAGBAEOAP{FIKAGBAEOAP: offer}}, nil
|
||||
}
|
||||
if display.HPNNLMBHOPF {
|
||||
offer, err := cwSpotlightChoices(catalog, run)
|
||||
if err != nil {
|
||||
@@ -108,10 +124,6 @@ func cwGeneratedRoundPreparation(catalog *common.CurrencyWarsCatalog, run *pb.MP
|
||||
}
|
||||
return &pb.CHCHAJIANIM{QueuePosition: queue + 1, FGLIODAJFML: &pb.CHCHAJIANIM_EEKMIAMGHFL{EEKMIAMGHFL: offer}}, nil
|
||||
}
|
||||
name, err := catalog.NodeTypeName(display.CJCCMAACJDB)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if name == "EliteBranch" && stage.IMPNAHBCADN.GetMPOBBIPMNNJ().MOADBALHMFD == 0 {
|
||||
return &pb.CHCHAJIANIM{QueuePosition: queue + 1, FGLIODAJFML: &pb.CHCHAJIANIM_BAKAKODKECM{BAKAKODKECM: &pb.HNPHLAHJPOB{}}}, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user