Battle System Question: CTB-Style Combo Chains?

I'm not entirely certain if this is the correct place to post this, but my gut feeling is that it's still appropriate for this section, so apologies if I am incorrect.

I'm wondering if it's possible (with the plugins and resources currently available and NOT having to commission a fresh, custom plugin for this) to make a battle system wherein you have a certain amount of skill slots, or points, to chain together multiple skills before ending the turn. Something akin to Final Fantasy XIII, or Exist Archive: The Other Side of The Sky (featured below)



My initial thought was that there may be some way to use TP or MP as the point system, and that the character could attack until the TP or MP bar reached zero (or low enough that they could afford no more skills) and then end the turn, but I haven't really been able to figure out just how to accomplish that. And to make things more complicated, if I want my party members to share one bar of points or a certain number of skills, I certainly haven't been able to figure that one out yet. I'd be perfectly happy with the single character system if the TP/MP method would be a more realistic goal, but I'm interested in what the creative minds of the forums think about it.

I'd appreciate it if someone might have an idea on how or where I could start to get around the mind block (I'm not expecting complete hand-holding, just a nudge in the right direction would be much appreciated! ^_^ )
I'm assuming you want something similiar to this question.
If so here's my answer.:
Yanfly's Instant Cast
Yanfly's Auto Passive states
Yanfly's Skill Core
Yanfly Buff & States Core

Also Since you want CTB Battle system you'll need:
Yanfly Engine Battle Core
Yanfly CTB
Yanfly Tick Based Regeneration

Also make sure that the order of the yanfly plugins are like this.


You need 3 states.

State 1:
In this state traits/effects:
TP charge rate = 0

On this state put theese notetag:

<Instant Skill: 1 to 2000>
<Instant Item: 1 to 2000>

<Custom Turn End Effect>
if (!(user.tp > 0)){
user.removeState(y);//y is this state id
user.addState(w);//w is the state id of state 3
}
else{
}
</Custom Turn End Effect>

State 2:
This is you're Auto-Passive State.
<Custom Passive Condition>
if (user.tpRate () >== 1.0) {
user.addState(x); /* x refers to the id of state 1*/
condition = true;
} else {
condition = false;
}
</Custom Passive Condition>

State 3
Set this to remove at end of battle & set the turn count to 1. And set the movement restrictions to cannot move.

Affected Skills:
<Custom TP Cost>
if(user.isStateAffected(y)){
cost = z;
}else{
cost =0;
}
</Custom TP Cost>

Affected Items:
<After Eval>
if(user.isStateAffected(y)){
user.gainTp(-w);
}else{
}

</After Eval>

y refers to the id of state 1.
z refers to skill cost
w refers to item cost
Caveats:
1. You need to make Attack or Gaurd use 1 tp, so that you don't get stuck in a senario, where everything is instant cast and your turn won't end.

2. You can expanded on this by adding TP Modes, and thus have different ways of increasing that gauge.

Original thread: https://forums.rpgmakerweb.com/threads/battle-system-question-ctb-style-combo-chains.89205/