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

+33
View File
@@ -157,3 +157,36 @@ func TestCurrencyWarsEntranceRejectsUnsupportedOrUnmetConditions(t *testing.T) {
})
}
}
func TestInspectUserCurrentState(t *testing.T) {
catalog, err := common.LoadCurrencyWarsCatalog()
if err != nil {
t.Fatal(err)
}
saved, rev, err := readCurrencyWarsData(catalog)
if err != nil {
t.Fatal(err)
}
t.Logf("revision=%d", rev)
run := saved.DHFOFLFCLAH
if run == nil {
t.Skip("no active run in persistent snapshot")
}
stage, display := cwStage(run)
t.Logf("stage: %d/%d display: stage_id=%d type=%d", stage.DCAHJELNJNP, stage.SectionId, display.StageId, display.CJCCMAACJDB)
t.Logf("pending: %+v", run.FMIGOKIDKJL)
bag := cwEquipmentBag(run)
if bag != nil {
t.Logf("bag items (%d):", len(bag.GridFightEquipmentList))
for _, eq := range bag.GridFightEquipmentList {
t.Logf(" eq uid=%d id=%d source=%d", eq.UniqueId, eq.GridFightEquipmentId, eq.Source)
}
}
_, team, _ := cwComponents(run)
if team != nil {
t.Logf("team roles (%d):", len(team.GridGameRoleList))
for _, r := range team.GridGameRoleList {
t.Logf(" role uid=%d id=%d star=%d pos=%d eq=%v", r.UniqueId, r.Id, r.RoleStar, r.Pos, r.PNJIPHJJONG)
}
}
}