Formatted text

This commit is contained in:
DaanV2
2021-07-04 16:12:44 +02:00
parent 4c6d9338a0
commit 4996468876

View File

@@ -7,19 +7,20 @@
"required": ["damage"], "required": ["damage"],
"properties": { "properties": {
"damage": { "damage": {
"description": "Range of the random amount of damage the melee attack deals. A negative value can heal the entity instead of hurting it", "description": "Range of the random amount of damage the melee attack deals. A negative value can heal the entity instead of hurting it.",
"$ref": "../types/range_number_type.json", "$ref": "../types/range_number_type.json",
"title": "Damage" "title": "Damage"
}, },
"effect_name": { "effect_name": {
"type": "string", "type": "string",
"description": "Identifier of the status ailment to apply to an entity attacked by this entity's melee attack", "description": "Identifier of the status ailment to apply to an entity attacked by this entity's melee attack.",
"examples": ["wither", "hunger"], "examples": ["wither", "hunger"],
"title": "Effect Name" "title": "Effect Name"
}, },
"effect_duration": { "effect_duration": {
"type": "number", "type": "number",
"description": "Duration in seconds of the status ailment applied to the damaged entity", "default": 1,
"description": "Duration in seconds of the status ailment applied to the damaged entity.",
"title": "Effect Duration" "title": "Effect Duration"
} }
} }