Add ranged combat area effects and admin-authored mobs
This commit is contained in:
+200
-13
@@ -39,9 +39,15 @@
|
||||
"ItemDefinition": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {"type": "string"}, "name": {"type": "string"}, "description": {"type": "string"}, "slot": {"type": "string"},
|
||||
"weight": {"type": "number"}, "dropChance": {"type": "number"}, "requirements": {"$ref": "#/definitions/ItemRequirements"},
|
||||
"modifiers": {"type": "array", "items": {"$ref": "#/definitions/StatModifier"}}
|
||||
"id": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"slot": {"type": "string"},
|
||||
"weight": {"type": "number"},
|
||||
"dropChance": {"type": "number"},
|
||||
"requirements": {"$ref": "#/definitions/ItemRequirements"},
|
||||
"modifiers": {"type": "array", "items": {"$ref": "#/definitions/StatModifier"}},
|
||||
"attackId": {"type": "string"}
|
||||
},
|
||||
"required": ["id", "name", "description", "slot", "weight", "dropChance", "requirements", "modifiers"]
|
||||
},
|
||||
@@ -62,7 +68,8 @@
|
||||
"stats": {"$ref": "#/definitions/ContentStatsRules"},
|
||||
"requirementSets": {"type": "array", "items": {"$ref": "#/definitions/RequirementSet"}},
|
||||
"effectSets": {"type": "array", "items": {"$ref": "#/definitions/EffectSet"}},
|
||||
"gathering": {"$ref": "#/definitions/GatheringContent"}
|
||||
"gathering": {"$ref": "#/definitions/GatheringContent"},
|
||||
"combat": {"$ref": "#/definitions/CombatContent"}
|
||||
},
|
||||
"required": ["version", "titles", "items", "stats"]
|
||||
},
|
||||
@@ -83,7 +90,11 @@
|
||||
"gatheringSkill": {"$ref": "#/definitions/GatheringSkillDraft"},
|
||||
"resource": {"$ref": "#/definitions/ResourceDefinitionDraft"},
|
||||
"biome": {"$ref": "#/definitions/BiomeDefinitionDraft"},
|
||||
"consumable": {"$ref": "#/definitions/GatheringConsumableDraft"}
|
||||
"consumable": {"$ref": "#/definitions/GatheringConsumableDraft"},
|
||||
"attack": {"$ref": "#/definitions/CombatAttackDraft"},
|
||||
"mob": {"$ref": "#/definitions/MobDefinitionDraft"},
|
||||
"loot": {"$ref": "#/definitions/LootTableDraft"},
|
||||
"spawn": {"$ref": "#/definitions/MobSpawnDraft"}
|
||||
},
|
||||
"required": ["id", "expectedVersion", "op", "reason"]
|
||||
},
|
||||
@@ -103,9 +114,15 @@
|
||||
"ItemDraft": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {"type": "string"}, "name": {"type": "string"}, "description": {"type": "string"}, "slot": {"type": "string"},
|
||||
"weight": {"type": "number"}, "dropChance": {"type": "number"}, "requirements": {"$ref": "#/definitions/ItemRequirements"},
|
||||
"modifiers": {"type": "array", "items": {"$ref": "#/definitions/StatModifier"}}
|
||||
"id": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"slot": {"type": "string"},
|
||||
"weight": {"type": "number"},
|
||||
"dropChance": {"type": "number"},
|
||||
"requirements": {"$ref": "#/definitions/ItemRequirements"},
|
||||
"modifiers": {"type": "array", "items": {"$ref": "#/definitions/StatModifier"}},
|
||||
"attackId": {"type": "string"}
|
||||
},
|
||||
"required": ["name", "description", "slot", "weight", "dropChance", "requirements", "modifiers"]
|
||||
},
|
||||
@@ -149,7 +166,9 @@
|
||||
"state": {"type": "string"},
|
||||
"resourceId": {"type": "string"},
|
||||
"skillId": {"type": "string"},
|
||||
"requiredLevel": {"type": "integer"}
|
||||
"requiredLevel": {"type": "integer"},
|
||||
"model": {"type": "string"},
|
||||
"radius": {"type": "number"}
|
||||
},
|
||||
"required": ["id", "kind", "name", "position", "hp", "maxHp", "state"]
|
||||
},
|
||||
@@ -183,7 +202,8 @@
|
||||
"gatheringEffects": {"type": "array", "items": {"$ref": "#/definitions/TimedGatheringEffect"}},
|
||||
"gatherAttempt": {"type": "integer"},
|
||||
"consumables": {"type": "array", "items": {"$ref": "#/definitions/GatheringConsumable"}},
|
||||
"stackNames": {"type": "object", "additionalProperties": {"type": "string"}}
|
||||
"stackNames": {"type": "object", "additionalProperties": {"type": "string"}},
|
||||
"attack": {"$ref": "#/definitions/CombatAttack"}
|
||||
},
|
||||
"required": ["entity", "inventory", "skills", "level", "experience", "experienceToNextLevel", "statPoints", "titles", "allocatedStats", "stats", "mana", "stamina", "carryWeight", "pendingVitalChoices", "healthChoices", "manaChoices", "items", "equipment", "playedSeconds", "remainingSeconds", "kills", "ack", "hasKeystone", "gatherAttempt"]
|
||||
},
|
||||
@@ -215,9 +235,17 @@
|
||||
"ItemInstance": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {"type": "string"}, "definitionId": {"type": "string"}, "name": {"type": "string"}, "description": {"type": "string"}, "slot": {"type": "string"}, "weight": {"type": "number"},
|
||||
"requirements": {"$ref": "#/definitions/ItemRequirements"}, "modifiers": {"type": "array", "items": {"$ref": "#/definitions/StatModifier"}},
|
||||
"equippable": {"type": "boolean"}, "requirementMessage": {"type": "string"}
|
||||
"id": {"type": "string"},
|
||||
"definitionId": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"slot": {"type": "string"},
|
||||
"weight": {"type": "number"},
|
||||
"requirements": {"$ref": "#/definitions/ItemRequirements"},
|
||||
"modifiers": {"type": "array", "items": {"$ref": "#/definitions/StatModifier"}},
|
||||
"equippable": {"type": "boolean"},
|
||||
"requirementMessage": {"type": "string"},
|
||||
"attack": {"$ref": "#/definitions/CombatAttack"}
|
||||
},
|
||||
"required": ["id", "definitionId", "name", "description", "slot", "weight", "requirements", "modifiers", "equippable", "requirementMessage"]
|
||||
},
|
||||
@@ -425,6 +453,165 @@
|
||||
"allowed": {"type": "boolean"}
|
||||
},
|
||||
"required": ["failure", "destruction", "negative", "damage", "seconds", "allowed"]
|
||||
},
|
||||
"CombatAttack": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"delivery": {"type": "string"},
|
||||
"effect": {"type": "string"},
|
||||
"stat": {"type": "string"},
|
||||
"multiplier": {"type": "number"},
|
||||
"range": {"type": "number"},
|
||||
"cooldown": {"type": "number"},
|
||||
"stamina": {"type": "number"},
|
||||
"speed": {"type": "number"},
|
||||
"radius": {"type": "number"},
|
||||
"duration": {"type": "number"},
|
||||
"interval": {"type": "number"}
|
||||
},
|
||||
"required": ["id", "name", "description", "delivery", "effect", "stat", "multiplier", "range", "cooldown", "stamina", "speed", "radius", "duration", "interval"]
|
||||
},
|
||||
"CombatAttackDraft": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"delivery": {"type": "string"},
|
||||
"effect": {"type": "string"},
|
||||
"stat": {"type": "string"},
|
||||
"multiplier": {"type": "number"},
|
||||
"range": {"type": "number"},
|
||||
"cooldown": {"type": "number"},
|
||||
"stamina": {"type": "number"},
|
||||
"speed": {"type": "number"},
|
||||
"radius": {"type": "number"},
|
||||
"duration": {"type": "number"},
|
||||
"interval": {"type": "number"}
|
||||
},
|
||||
"required": ["name", "description", "delivery", "effect", "stat", "multiplier", "range", "cooldown", "stamina", "speed", "radius", "duration", "interval"]
|
||||
},
|
||||
"LootEntry": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"item": {"type": "string"},
|
||||
"amount": {"type": "integer"},
|
||||
"chance": {"type": "number"},
|
||||
"group": {"type": "string"},
|
||||
"weight": {"type": "integer"}
|
||||
},
|
||||
"required": ["item", "amount", "chance", "group", "weight"]
|
||||
},
|
||||
"LootTable": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"entries": {"type": "array", "items": {"$ref": "#/definitions/LootEntry"}}
|
||||
},
|
||||
"required": ["id", "name", "description", "entries"]
|
||||
},
|
||||
"LootTableDraft": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"entries": {"type": "array", "items": {"$ref": "#/definitions/LootEntry"}}
|
||||
},
|
||||
"required": ["name", "description", "entries"]
|
||||
},
|
||||
"MobDefinition": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"model": {"type": "string"},
|
||||
"behavior": {"type": "string"},
|
||||
"level": {"type": "integer"},
|
||||
"hp": {"type": "number"},
|
||||
"damage": {"type": "number"},
|
||||
"defence": {"type": "number"},
|
||||
"speed": {"type": "number"},
|
||||
"aggroRange": {"type": "number"},
|
||||
"leashRange": {"type": "number"},
|
||||
"scalePerDay": {"type": "number"},
|
||||
"xp": {"type": "integer"},
|
||||
"attackId": {"type": "string"},
|
||||
"lootId": {"type": "string"}
|
||||
},
|
||||
"required": ["id", "name", "description", "model", "behavior", "level", "hp", "damage", "defence", "speed", "aggroRange", "leashRange", "scalePerDay", "xp", "attackId", "lootId"]
|
||||
},
|
||||
"MobDefinitionDraft": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"model": {"type": "string"},
|
||||
"behavior": {"type": "string"},
|
||||
"level": {"type": "integer"},
|
||||
"hp": {"type": "number"},
|
||||
"damage": {"type": "number"},
|
||||
"defence": {"type": "number"},
|
||||
"speed": {"type": "number"},
|
||||
"aggroRange": {"type": "number"},
|
||||
"leashRange": {"type": "number"},
|
||||
"scalePerDay": {"type": "number"},
|
||||
"xp": {"type": "integer"},
|
||||
"attackId": {"type": "string"},
|
||||
"lootId": {"type": "string"}
|
||||
},
|
||||
"required": ["name", "description", "model", "behavior", "level", "hp", "damage", "defence", "speed", "aggroRange", "leashRange", "scalePerDay", "xp", "attackId", "lootId"]
|
||||
},
|
||||
"MobSpawn": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"mobId": {"type": "string"},
|
||||
"x": {"type": "number"},
|
||||
"z": {"type": "number"},
|
||||
"radius": {"type": "number"},
|
||||
"count": {"type": "integer"},
|
||||
"respawn": {"type": "number"},
|
||||
"minPlayerDistance": {"type": "number"},
|
||||
"biomes": {"type": "array", "items": {"type": "string"}}
|
||||
},
|
||||
"required": ["id", "name", "description", "mobId", "x", "z", "radius", "count", "respawn", "minPlayerDistance", "biomes"]
|
||||
},
|
||||
"MobSpawnDraft": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"mobId": {"type": "string"},
|
||||
"x": {"type": "number"},
|
||||
"z": {"type": "number"},
|
||||
"radius": {"type": "number"},
|
||||
"count": {"type": "integer"},
|
||||
"respawn": {"type": "number"},
|
||||
"minPlayerDistance": {"type": "number"},
|
||||
"biomes": {"type": "array", "items": {"type": "string"}}
|
||||
},
|
||||
"required": ["name", "description", "mobId", "x", "z", "radius", "count", "respawn", "minPlayerDistance", "biomes"]
|
||||
},
|
||||
"CombatContent": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"properties": {
|
||||
"attacks": {"type": "array", "items": {"$ref": "#/definitions/CombatAttack"}},
|
||||
"mobs": {"type": "array", "items": {"$ref": "#/definitions/MobDefinition"}},
|
||||
"loot": {"type": "array", "items": {"$ref": "#/definitions/LootTable"}},
|
||||
"spawns": {"type": "array", "items": {"$ref": "#/definitions/MobSpawn"}}
|
||||
},
|
||||
"required": ["attacks", "mobs", "loot", "spawns"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user