From 8022ba678417edb9db0caac4d753778432f090c0 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Wed, 27 Oct 2021 19:16:26 +0200 Subject: [PATCH] Fixing projectile --- .../entities/format/components/projectile.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/source/behavior/entities/format/components/projectile.json b/source/behavior/entities/format/components/projectile.json index 8a589acc..bbbd84f7 100644 --- a/source/behavior/entities/format/components/projectile.json +++ b/source/behavior/entities/format/components/projectile.json @@ -131,6 +131,12 @@ "$comment": "UNDOCUMENTED", "title": "On Hit", "properties": { + "arrow_effect": { + "type": "object", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "additionalProperties": false + }, "catch_fire": { "additionalProperties": false, "description": "UNDOCUMENTED", @@ -190,10 +196,10 @@ "title": "Catch Fire" }, "damage": { - "type": "integer", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", - "title": "Damage" + "title": "Damage", + "oneOf": [{ "type": "integer" }, { "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] }] }, "destroy_on_hit": { "type": "boolean", @@ -395,7 +401,7 @@ "title": "Shake Time", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", - "type": "integer", + "type": "number", "minimum": 0 } }