Effect: Recoil Damage
This effect is activated when an attack is successfully made.
The user will take some amount of damage according to the effect.
Place this script below Effect Manager and above Main.
Tag effect objects with
<eff: recoil_damage formula element_id>
Where the formula is any valid ruby statement that evaluates to a number.
element_id is the ID of the element you want the recoil damage to be. Look up the ID in the Terms tab. If you set it to -1, then it will be the “atk element” of the target which can be set using features.