Stack Based Battle system

Hi,

I want to have a stack based battle system in my game in a way that your skills change depending on what kind of stack is currently the highest or selected.

To give an example:

Imagine a Mage 

He has         

3 Fire stacks,      

2 Water stacks       

1 Healing stack

This means his current stack would be Fire as such he would be able to select all his lerned fire spells and no other skill.

He selecks Fire ball -> a skill that costs some MP and also 2 Fire stacks

with this his Fire stack turns to 1 and his active stack switches to water.

He "forgetts" his fire skills and gains his water ones.

Events like killing an enemy , getting hit , another team member getting hit and getting healed

would give stack points to characters that they can than use during the next turn.
Common events?

you could use variables and link common events to the skills. You'd need a variable counter maybe. I know common events can change an actors skills in battle, because I'm currently working on the dice action system touchfuzzy brought to light, and I'm using the learn/forget commands in the "change skill" portion of the event command list to dynamicly change actors skills in battle

there's a script from hime works that allows you to run common events before events, but after works as well so you might not need that... except maybe to pay the 2 fire variables? I don't know 

As for the gaining points...

you could use reaction effects from hime works for that. link to skills that do those things. I'm sure there are death trigger scripts that you could use for killing an enemy. The healed one, could have a common event that does gives it too
I guess it might be possible to do this with some help of the two scripts you mentioned and a good amount of common events.

I will give it a try.

Thanks
there may be an easier method out there though. Be sure to look for one before you stick with this

Original thread: https://forums.rpgmakerweb.com/threads/stack-based-battle-system.37755/