fix card.admin
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
"properties": {
|
||||
"gacha": {
|
||||
"type": "object",
|
||||
"required": ["pickup", "rate"],
|
||||
"required": ["pickup", "rate", "pool"],
|
||||
"properties": {
|
||||
"pickup": { "type": "integer", "description": "Pickup card ID" },
|
||||
"rate": {
|
||||
@@ -23,6 +23,11 @@
|
||||
"pickup": { "type": "integer", "description": "1/n for pickup rate (100 = 1%)" },
|
||||
"rare": { "type": "integer", "description": "1/n for rare:1 rate (10 = 10%), rare:2 = 1/(n*10), rare:3 = 1/(n*100)" }
|
||||
}
|
||||
},
|
||||
"pool": {
|
||||
"type": "array",
|
||||
"description": "Card IDs available in gacha pool",
|
||||
"items": { "type": "integer" }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -5,10 +5,8 @@
|
||||
"$type": "ai.syui.card.admin",
|
||||
"gacha": {
|
||||
"pickup": 13,
|
||||
"rate": {
|
||||
"rare": 10,
|
||||
"pickup": 100
|
||||
}
|
||||
"rate": { "rare": 10, "pickup": 100 },
|
||||
"pool": [0, 1, 2, 3, 13]
|
||||
},
|
||||
"card": [
|
||||
{ "id": 0, "character": 0, "name": { "ja": "アイ", "en": "ai" }, "text": { "ja": "アイの基礎ステータスは、このカードのcpを基準にアップする。", "en": "This card's CP is referenced for the character's base status" }, "cp": "status", "effect": "status" },
|
||||
|
||||
Reference in New Issue
Block a user