fix card.admin
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
"properties": {
|
"properties": {
|
||||||
"gacha": {
|
"gacha": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": ["pickup", "rate"],
|
"required": ["pickup", "rate", "pool"],
|
||||||
"properties": {
|
"properties": {
|
||||||
"pickup": { "type": "integer", "description": "Pickup card ID" },
|
"pickup": { "type": "integer", "description": "Pickup card ID" },
|
||||||
"rate": {
|
"rate": {
|
||||||
@@ -23,6 +23,11 @@
|
|||||||
"pickup": { "type": "integer", "description": "1/n for pickup rate (100 = 1%)" },
|
"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)" }
|
"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",
|
"$type": "ai.syui.card.admin",
|
||||||
"gacha": {
|
"gacha": {
|
||||||
"pickup": 13,
|
"pickup": 13,
|
||||||
"rate": {
|
"rate": { "rare": 10, "pickup": 100 },
|
||||||
"rare": 10,
|
"pool": [0, 1, 2, 3, 13]
|
||||||
"pickup": 100
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"card": [
|
"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" },
|
{ "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