Spells - RobertSkalko/Mine-and-Slash GitHub Wiki
1.12. only, if anyone wants you can re-do this for 1.15
The wizard's dream
Spell books are items with an active skill that require mana to cast. After a slight delay, holding right-click will cast the spell stored in the book, dealing elemental damage according to the spell element.
Extra element damage
Increases elemental damage of the caster.
Cast time = 1s.
- Provides around 45 seconds of buff duration.
- Has a base value that is always added to consequent damage.
- Has a percentage scaling value that increases with the player elemental damage.
Instant heal
Restores the health of the caster instantly.
Cast time = 0.5s.
- The heal amount scales with the casters max health plus a base value.
Regenerate
Restores the health of the caster over time.
Cast time = 1s.
- Buff lasts for 20 seconds.
- Every 2 seconds heals by a scaling factor of the casters health regeneration rate plus the base value.
Elemental bolts
Shoots an elemental projectile that damages the first target hit.
Cast time = 0.5s.
- Damage is scaled by casters elemental damage plus the base value.
Elemental nova
Deals damage in an area around the caster.
Cast time = 0.5s.
- Damages all enemy units in a 5x5 square centered on caster.
- Damage is scaled by casters elemental resistance plus the base value.
Elemental explosion
Casts a projectile that explodes on contact.
Cast time = 0.75s.
- Damages all units in a 3x3 sphere centered on impact point.
- damage is scaled by casters elemental damage plus the base value.
Elemental Bomb projectile
Casts a projectile that explodes after some time.
Cast time = 1s.
- Damages all units in a 4x4 sphere centered on the projectile.
- Damage is scaled by casters elemental damage plus the base value.