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.
28 lines
547 B
JSON
28 lines
547 B
JSON
{
|
|
"id": "SKILL_SHIELD_BASH",
|
|
"name": "Shield Bash",
|
|
"description": "Strike an enemy with your shield, dealing damage and Stunning them.",
|
|
"type": "ACTIVE",
|
|
"costs": { "ap": 2 },
|
|
"cooldown_turns": 2,
|
|
"targeting": {
|
|
"range": 1,
|
|
"type": "ENEMY",
|
|
"line_of_sight": true
|
|
},
|
|
"effects": [
|
|
{
|
|
"type": "DAMAGE",
|
|
"power": 5,
|
|
"attribute": "attack",
|
|
"element": "PHYSICAL"
|
|
},
|
|
{
|
|
"type": "APPLY_STATUS",
|
|
"status_id": "STATUS_STUN",
|
|
"chance": 1.0,
|
|
"duration": 1
|
|
}
|
|
]
|
|
}
|
|
|