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"],
"properties": {
"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",
"title": "Damage"
},
"effect_name": {
"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"],
"title": "Effect Name"
},
"effect_duration": {
"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"
}
}