feat: simplify SCUM activity management

This commit is contained in:
npc0-hue
2026-09-20 21:22:15 +08:00
parent 1488d5a43e
commit ab1cd01351
5 changed files with 217 additions and 157 deletions
@@ -53,8 +53,12 @@
"required": ["tradeGoodsId", "percent", "value", "r", "x", "y", "z"],
"properties": {
"tradeGoodsId": { "type": "string", "minLength": 1, "maxLength": 128 },
"catalogCode": { "type": "string", "minLength": 1, "maxLength": 128 },
"percent": { "type": "integer", "minimum": 0, "maximum": 100 },
"probability": { "type": "integer", "minimum": 0, "maximum": 100 },
"value": { "type": "integer", "minimum": 1 },
"quantity": { "type": "integer", "minimum": 1 },
"durability": { "type": "integer", "minimum": 0, "maximum": 100 },
"r": { "type": "number", "minimum": 0 },
"x": { "type": "number" },
"y": { "type": "number" },