Update GaCy-GO

This commit is contained in:
CAtlas0784 committed 2026-10-28 18:54:43 +07:00
1 parent da8a32f60d
commit 0cbe460e49
345 files changed
+98202 -77559

No files matched your search

+5 -2
View File
@@ -48,8 +48,11 @@ func (c *CurrencyWarsCatalog) SpotlightData() (map[uint32]CurrencyWarsSpotlight,
}
rows := make(map[uint32]CurrencyWarsSpotlight, len(resource.Entries))
for _, r := range resource.Entries {
if _, exists := rows[r.ID]; exists || r.ID == 0 || r.JsonPath == "" {
return nil, policy, fmt.Errorf("CW Spotlight configuration invalid")
// Native rows can have an empty JsonPath; some effects are resolved by
// their own engine rather than an external level graph. Retain that
// distinction instead of rejecting the entire valid handbook capture.
if _, exists := rows[r.ID]; exists || r.ID == 0 {
return nil, policy, fmt.Errorf("CW Spotlight configuration identity invalid: %d", r.ID)
}
for _, v := range r.EffectParams {
if !currencyWarsDecimal.MatchString(v) {