Post a message
Replying to:
Regenerative Mana
24 June 2020
A lot of games feature some kind of regenerative gauge. It can either be health after a short delay of not receiving damage or a small but constant increase of the energy/mana points.
The Stats module’s second example shows how you can implement regenerative mana as well as casting a spell only if there’s enough points.
(The player casting a Fireball)
Mana Regeneration
To regenerate mana over time is as easy as creating a Trigger that invokes an Actions object as soon as the game starts. (...)