Each hero and some enemies have abilities with different effects. These abilities can perform damage, heal, increase or decrease stats, create shields, or affect one or multiple units.

Special abilities typically have an energy bar that is filled by blasting blocks of the same color as the hero and that emptys when used. This introduces a layer of strategy in determining when to use these powerful abilities.

To set up these abilities, we will use a configuration system based on parameters to define how each ability behaves.

The necessary parameters to configure any ability are:

SIDE

On which side the effect of the ability will affect

TARGETS

These are the units or groups that can be selected to receive the effect. This is an array, and more than one target can be selected.

EFFECTS

The effect applied to the selected unit/s. This is an array, and more than one effect target can be applied. Each effect could need a series of parameters configured as the amount of effect, duration, or which stat affects.