My map that I’m currently working on has mana(magic) in it. It also has EXP so you can level up. When you level up your mana gets stronger. Which makes you able to fight bigger bosses. This is basically like D&D where you don’t actually fight the enemy you decide your attack and then you fight, telling the damage and everything in a popup.
The question that I have is how does your mana get stronger as you level up?
Maybe every boss you defeat upgrades your gadget..? This means, for example, If you have an uncommon prickler, then you defeat a sentry, the sentry is wired to an invisible vending machine which automatically purchases a rare prickler at the cost of an uncommon
.
.
.
Wait, no, this isn’t about live fighting, it’s turnbased. same mechanics, tho
Just to clarify.
Are you asking for help with making your mana system such that it can be upgraded when a player levels up, or do you want ideas on what upgrading your mana would do?
In the former case, could you show us the mana system you have in place already? [1]
Former means the first one, you bottom-dwelling goldfish. ↩︎
Yes that’s what I’m asking for.
I want it that every time you level up get stronger with the mana
I have a level up system where you can level up with EXP.
I don’t have a mana system fully in place yet but I just need the block code for it.
@some_kid Its basically an game overlay showing at the top left(text) that says Level 0, EXP: 0/50, Mana: 10 (the default setting the player starts with)
Having 10 mana means you can only hit a 10 attack and damage the enemy by 10.
Fighting 1 Basic enemy gives you 10 EXP.
After you level up your mana increases by 10. So you can hit a 20 attack and damage the enemy by 20.
Alrighty. You’d want something like this to execute when the player attacks.
set property ("enemyHealth")
value (get_property("enemyHealth") - get_property("mana"))
The setup assumes the mana of the player is stored in a property called mana, and that the health of the enemy is stored in a property called enemyHealth