The attack is now fully configurable in attacks.json and the name for each attack is generated from the ritual crafting.

This commit is contained in:
Zed A. Shaw 2026-08-13 13:51:38 -04:00
parent adcfbb883e
commit 09b61f17a7
11 changed files with 77 additions and 45 deletions

28
assets/attacks.json Normal file
View file

@ -0,0 +1,28 @@
{
"MAGICK_FIRE": {
"animation": "burning_animation",
"shader": "flame",
"components": [
{"_type": "Sprite", "name": "burning_animation", "scale": 1.0},
{"_type": "LightSource", "strength": 25, "radius": 2.0},
{"_type": "Temporary", "is": true}
]
},
"MAGICK_LIGHTNING": {
"animation": "lightning_animation",
"shader": "lightning",
"components": [
{"_type": "Sprite", "name": "lightning_animation", "scale": 1.0},
{"_type": "LightSource", "strength": 35, "radius": 2.5},
{"_type": "Temporary", "is": true}
]
},
"PHYSICAL_NONE": {
"animation": "lightning_animation",
"shader": "flame",
"components": [
{"_type": "Sprite", "name": "lightning_animation", "scale": 1.0},
{"_type": "Temporary", "is": true}
]
}
}