This commit is contained in:
DaanV2
2021-10-11 19:10:26 +02:00
parent 8c58926f4a
commit 87a9df91ee
4 changed files with 14 additions and 24 deletions

View File

@@ -8,17 +8,8 @@
"properties": {
"damage": {
"title": "Damage",
"oneOf": [
{
"type": "integer",
"default": 1,
"description": "Amount of damage the melee attack deals. A negative value can heal the entity instead of hurting it."
},
{
"$ref": "../types/range_number_type.json",
"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",
"description": "Range of the random amount of damage the melee attack deals. A negative value can heal the entity instead of hurting it."
},
"effect_name": {
"type": "string",
@@ -33,5 +24,5 @@
"title": "Effect Duration"
}
},
"examples": [{ "damage": 0 }, { "damage": 0, "effect_name": "example", "effect_duration": 1 }]
"examples": [{ "damage": 1 }, { "damage": 1, "effect_name": "example", "effect_duration": 1 }]
}