Introduce detailed specifications for combat skill usage, including interaction flow, state machine updates, and the skill targeting system. Implement the SkillTargetingSystem to handle targeting validation and area of effect calculations. Enhance the CombatHUD specification to define the UI overlay for combat phases. Integrate these systems into the GameLoop for improved combat mechanics and user experience.
20 lines
479 B
JSON
20 lines
479 B
JSON
{
|
|
"id": "SKILL_GRENADE",
|
|
"name": "Scrap Bomb",
|
|
"class": "Field Engineer",
|
|
"description": "Thrown explosive that deals damage and destroys Cover objects.",
|
|
"type": "ACTIVE",
|
|
"costs": { "ap": 2 },
|
|
"cooldown_turns": 2,
|
|
"targeting": {
|
|
"range": 5,
|
|
"type": "EMPTY",
|
|
"area_of_effect": { "shape": "CIRCLE", "size": 2 }
|
|
},
|
|
"effects": [
|
|
{ "type": "DAMAGE", "power": 12, "element": "PHYSICAL" },
|
|
{ "type": "DESTROY_OBJECTS", "tag": "COVER" }
|
|
]
|
|
}
|
|
|
|
|