Made by Licheus:
Licheus
Example map to specifically answer this question:
Healing potion stronger over time.
Problem formulation:
“Make an item which, when consumed heals (20% of max hp + 1 for every 6 seconds passed in game).”
Additional notes:
Please note that I purposefully have not gone for the most optimal solution, nor have I optimised the code. This is in order to put clarity and simplicity over efficiency and complexity.
Licheus
Example map to specifically answer this question:
Healing potion stronger over time.
Problem formulation:
“Make an item which, when consumed heals (20% of max hp + 1 for every 6 seconds passed in game).”
Additional notes:
Please note that I purposefully have not gone for the most optimal solution, nor have I optimised the code. This is in order to put clarity and simplicity over efficiency and complexity.