Hello all,
I need some advice on increasing a variable whenever a magic skill is used.
In my game whenever a skill or magic is used, a variable(Let's call it magic skill points for now) will increase, then the player can use this magic skill points to upgrade their character.
In battle screen, I can make this work with a common event. But in menu screen, whenever a healing spell is used on the characters the game will exit the menu screen since the game can only execute common event on the map screen.
I tried to make the game return to skill screen with scene push command, but it lags and it feels awkward. Whenever I heal a character with a healing skill the game will return to map, stuck for a second, then back to the menu screen. If I use the healing skills multiple times in the menu screen this becomes noticeable.
Are there any alternative solutions to this?
I have been trying to connect magic skill point with MP use. Every 1 point of MP spent will increase magic skill points by 1. And the magic skill point check happens at Inn when characters go to bed(in this game, players can only upgrade their characters at Inn), this way magic skill points only increases when the players are on the map screen.
But I am not sure how to implement such system through common events. I tried to set Variable 1 = character Max MP, variable 2= character MP, variable 3(magic skill point)=Variable 1-Variable 2 but it's not working.