Posted September 05, 2018 by Arcus
Added levels 4 and 5, but as there are no leves after that (yet) after level 5, you go back to level 5, and then when you complete that it gors to level 5, and so on.
The enemies health grows greater than the level, so they are harder to kill.
Code:
level = random_range(playerLevel, playerLevel + 2);
maxHealth = round(random_range(4, 7) * power(level, 1.3));