Updated spell_effects

This commit is contained in:
DaanV2
2022-01-12 12:56:20 +01:00
parent 4581593773
commit a8919cc7bc

View File

@@ -11,20 +11,39 @@
"description": "List of effects to add to this entity after adding this component",
"items": {
"oneOf": [
{
"type": "string"
},
{ "type": "string" },
{
"type": "object",
"additionalProperties": false,
"properties": {
"effect": {
"type": "string"
"type": "string",
"title": "Effect",
"description": "The string identifier of the status effect to add. These are the same as used in the /effect command."
},
"duration": {
"type": "integer"
"title": "Duration",
"description": "The amount of time in seconds the effect should last. This allows for fractional numbers. For example, instant effects should be set to 0.05 seconds (one tick).",
"type": "number",
"minimum": 0
},
"amplifier": {
"type": "integer",
"title": "Amplifier",
"description": "The level of the effect, same as used in the /effect command (0 for level I, 1 for level II, etc). Defaults to 0.",
"default": 0,
"minimum": 0
},
"ambient": {
"title": "Ambient",
"description": "Boolean value that should cause the particles emitted by the entity to be partially transparent. This does not work properly, resulting in this property having no effect. Defaults to false.",
"default": false,
"type": "boolean"
},
"display_on_screen_animation": {
"type": "boolean"
"type": "boolean",
"title": "Display On Screen Animation",
"description": "Boolean value. When set to true, applying this effect displays an animated graphic on-screen similar to the totem of undying effect. Obviously, this only works for players. Defaults to false."
}
}
}