Hello!
I just happenend to stumble on an official tutorial today for a rewind time skill that I thought was pretty cool.
www.rpgmakerweb.com
And while it goes very in depth for ways to store and recall the players hp/mp and items I noticed that it didn't seem to take into account that the player may already have a state applied to them upon entering battle. For example you may still be poisoned from a previous battle, or perhaps you have an item or skill that applies a beneficial state before entering a battle.
I imagine for those who understand scripting there's probably a fairly simple line of code that would take care of this issue but I'm unfortunately inept in this department lol. As it is this is a neat QOL option to consider but without reapplying states it can end up causing tons of problems, especially when I'm using states to control the way certain party members function.
To name a few examples, the protagonist of my game has various levels of Bloodlust applied via states. Each kill increases a variable and at specific amounts different states are applied that alter her stats and behavior. There's also an android character who has a state applied that changes the way he interacts with my games stamina (TP) system. Using the recover all command simply is not an efficient method here nor is the alternative of a long string of conditional branches with a variable for each state. Any help would be greatly appreciated!
I just happenend to stumble on an official tutorial today for a rewind time skill that I thought was pretty cool.
Creating a Rewind Time Skill | The Official RPG Maker Blog
Sometimes a mistake at the start of a battle can leave your players wishing there was a ‘rewind’ button to give them a second chance. So why don’t we try to find a way we can event that possibility?
And while it goes very in depth for ways to store and recall the players hp/mp and items I noticed that it didn't seem to take into account that the player may already have a state applied to them upon entering battle. For example you may still be poisoned from a previous battle, or perhaps you have an item or skill that applies a beneficial state before entering a battle.
I imagine for those who understand scripting there's probably a fairly simple line of code that would take care of this issue but I'm unfortunately inept in this department lol. As it is this is a neat QOL option to consider but without reapplying states it can end up causing tons of problems, especially when I'm using states to control the way certain party members function.
To name a few examples, the protagonist of my game has various levels of Bloodlust applied via states. Each kill increases a variable and at specific amounts different states are applied that alter her stats and behavior. There's also an android character who has a state applied that changes the way he interacts with my games stamina (TP) system. Using the recover all command simply is not an efficient method here nor is the alternative of a long string of conditional branches with a variable for each state. Any help would be greatly appreciated!