Update GaCy-GO
This commit is contained in:
1 parent
da8a32f60d
commit
0cbe460e49
345 files changed
+98202
-77559
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user