Lets a move reference a cutscene to play when used, resolved by name the same way a CUTSCENE item's "name" field is. Still just a schema placeholder - no loader consumes moves.jsonc yet. Co-Authored-By: Claude Sonnet 5 <[email protected]>
19 lines
621 B
JSON
19 lines
621 B
JSON
{
|
|
// Keyed by move id. "ability" matches a BATTLE_ABILITY_* enum name
|
|
// (see src/dusk/rpg/battle/battleability.h) - there's no JSON loader
|
|
// consuming this file yet, so field names/shape here are a starting
|
|
// point, not a contract.
|
|
"moves": {
|
|
"fire": {
|
|
"ability": "FIRE",
|
|
"power": 12,
|
|
"mpCost": 4,
|
|
"target": "SINGLE_ENEMY",
|
|
// Optional - name of a cutscene (see assets/cutscenes/) to play
|
|
// when this move is used, resolved lazily like a CUTSCENE item's
|
|
// "name" field. Omit for a move with no special presentation.
|
|
"cutscene": "battle/fire"
|
|
}
|
|
}
|
|
}
|