Difference between revisions of "Spell Customization"
(Created page with "'''By Praetarius5018''' == Required Tools == * a hex editor, e.g. HxD * noisecross's text editor == Beginner: Multi-target Flare == Goal:<br>allow Fl...") |
(No difference)
|
Revision as of 10:43, 9 March 2019
By Praetarius5018
Required Tools
- a hex editor, e.g. HxD
- noisecross's text editor
Beginner: Multi-target Flare
Goal:
allow Flare to hit all enemies with a working spell animation
First we need to modify the spell data itself. It is located at
$110B80 + 8 * SpellId
Flare has a SpellId of $33 so we find our data at $110D18.
You can find the SpellIds e.g. here under 1.8b
The data is:
38 04 00 27 08 00 FE 00
For now we only care about the first byte, it determines the targetting of the spell:
80 Multi-target optional 40 Hits all targets 20 Target selectable 10 Side selectable 08 Target enemy (by default) 04 Roulette 00 caster
Since we want regular flare to be multi-targetable like Fire1/2/3 we change the 38 to B8.
However the default animation of flare is not compatible with multitargetting; the damage will still be done to all targets but it will not look right - or in case of some spells even fry the graphic engine.
Animation headers are located at
$1838EC + 5 * SpellId
so for Flare it is $1839EB with
05 10 1D 88 1D
For simplicity's sake we just replace it with L3 Flare's data:
05 10 A8 00 2B
Advanced: Water spell
Goal:
replace !Time/Drag (or Void) with a water damage spell
TODO
Master: Clash
Goal:
summon Gilgamesh
change the battle theme
custom damage formula
TODO