From ff6a27d7906c67e19a8b25c793e91c55733378c2 Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 9 Nov 2024 13:04:19 +0900 Subject: [PATCH] fix --- at/lexicons/ai/syui/game/user.json | 33 +++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/at/lexicons/ai/syui/game/user.json b/at/lexicons/ai/syui/game/user.json index 1c58c19..7ee3890 100644 --- a/at/lexicons/ai/syui/game/user.json +++ b/at/lexicons/ai/syui/game/user.json @@ -3,7 +3,7 @@ "id": "ai.syui.game.user", "defs": { "main": { - "type": "procedure", + "type": "record", "key": "tid", "description": "Record containing a game user.", "input": { @@ -19,10 +19,41 @@ "did": { "type": "string" }, + "charactor": { + "type": "object", + "properties": { + "ai":{ + "type": "object", + "properties": { + "lv":{ + "type": "integer", + "minimum": 1, + "maximum": 7, + "default": 1 + }, + "hp":{ + "type": "integer", + "maximum": 255, + "default": 0 + }, + "attach":{ + "type": "integer", + "minimum": 1, + "maximum": 255, + "default": 1 + } + } + } + } + }, "createdAt": { "type": "string", "format": "datetime", "description": "Client-declared timestamp when this post was originally created." + }, + "updatedAt": { + "type": "string", + "format": "datetime" } } }