Hi all,
I'm creating a rogue-lite game where you hire characters through a run and find relics that boost your stats through the rest of the run but MY GOD is it complicated to program the way I’m doing it.
If an item would give the party 10% extra HP… I have an event calculate everyone’s HP… calculate how much 10% would be… increase every character’s HP by that amount… then when the run ends, I have to reduce every character’s HP back to their original amounts. If they are a class that can be permanently upgraded, then I have to have an event consider if they’ve been upgraded or not before adjusting their HP.
In short, it’s a giant pain to both apply buffs to all characters with each item as well as undoing the buff when a run ends. Am I an idiot? Is there an easier way to do this or is this basically what must be done in RPG Maker MZ? Please advise and thank you!
I'm creating a rogue-lite game where you hire characters through a run and find relics that boost your stats through the rest of the run but MY GOD is it complicated to program the way I’m doing it.
If an item would give the party 10% extra HP… I have an event calculate everyone’s HP… calculate how much 10% would be… increase every character’s HP by that amount… then when the run ends, I have to reduce every character’s HP back to their original amounts. If they are a class that can be permanently upgraded, then I have to have an event consider if they’ve been upgraded or not before adjusting their HP.
In short, it’s a giant pain to both apply buffs to all characters with each item as well as undoing the buff when a run ends. Am I an idiot? Is there an easier way to do this or is this basically what must be done in RPG Maker MZ? Please advise and thank you!