fix: redesign SCUM gift item lists

This commit is contained in:
npc0-hue
2026-09-20 18:33:31 +08:00
parent 5f2bac3280
commit 1488d5a43e
6 changed files with 267 additions and 83 deletions
@@ -3,7 +3,7 @@
"title": "SCUMRewardDeliverPayload",
"type": "object",
"additionalProperties": false,
"required": ["grantId", "playerId", "items", "operations"],
"required": ["grantId", "playerId", "items"],
"properties": {
"playerId": {
"type": "string",
@@ -23,7 +23,9 @@
"required": ["catalogCode", "quantity"],
"properties": {
"catalogCode": { "type": "string", "maxLength": 128, "pattern": "^[A-Za-z0-9_.-]{1,128}$" },
"quantity": { "type": "integer", "minimum": 1 }
"quantity": { "type": "integer", "minimum": 1 },
"probability": { "type": "number", "minimum": 0, "maximum": 100 },
"durability": { "type": "number", "minimum": 0, "maximum": 100 }
}
}
},