Spell Damage

Each object that can receive damage from spells must include the “SpellDamage” script:

 

1) Max Health: The initial object health points.

2) Extra Damage: In this array, you can enter different spell names and assign the extra damage amount for each one. Please note that the spell name must match exactly the name in you entered in the “SpellManager” inspector.

Please note that if you want to reduce the damage a spell makes, you must add “-” to the extra damage amount.