magicciv/public/resources/units/units_support.schema.json
2026-04-07 17:52:04 -07:00

46 lines
1.4 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "units_support",
"title": "Support Unit",
"description": "A support-role unit. Extends units.schema.json with healing, buffing, and aura abilities. Can stack with military units.",
"allOf": [
{
"$ref": "units.schema.json"
},
{
"type": "object",
"properties": {
"heal_per_turn": {
"type": "integer",
"minimum": 0,
"default": 0,
"description": "HP healed to adjacent friendly units per turn."
},
"aura_range": {
"type": "integer",
"minimum": 0,
"default": 1,
"description": "Hex radius of buff/heal aura."
},
"aura_effects": {
"type": "object",
"additionalProperties": {
"type": "number"
},
"description": "Stat modifiers applied to friendly units within aura range."
},
"can_stack_with_military": {
"type": "boolean",
"default": true,
"description": "Whether this support unit can occupy the same hex as a military unit (specialist stacking)."
},
"noncombatant": {
"type": "boolean",
"default": true,
"description": "If true, this unit cannot initiate attacks but can defend."
}
}
}
],
"maintenance": 1
}