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:
parent
adcfbb883e
commit
09b61f17a7
11 changed files with 77 additions and 45 deletions
28
assets/attacks.json
Normal file
28
assets/attacks.json
Normal 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}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue