Vlue's Basic Combo's skills expansion: Triple or Tetra combo skills

Good Morning / Afternoon / Evening

This request is honestly a big gamble because I have a feeling it would be a real challenge...!


Vlue's amazing script makes it so when two specific skills are chosen by actors in battle, they have the chance to trigger a combo attack. however, I find it a little limiting since you can only use two skills.

What I am asking is is it possible to expand this script by making it so that you can have a condition for 3 or more specific skills to be used in battle.

For example:

If Fire, Ice and Thunder are used by three seperate actors, it would result in a combination skill called "Tri-Disaster"

Any help is appreciated!
Right now it only allows you to keep track of @subject and battler variables so it will only expect a second battler to call a given skill in order to trigger the effect. It might be possible to get it store a third actor in a new variable but problems could arise when it needs to figure out if the skill only needs 2 or 3 actors to be cast in a given turn. It might require several adjustments to make it work as intended...
If this proves to be a difficult task, is it possible to just fix a little nitpick where the combo only has a chance to activate if it targets the same enemy...? Could we make it so the target will not matter?
One bumpy boy!
Could we make it so the target will not matter?
perhaps comment out line 80?
next unless battler.current_action.target_index == @subject.current_action.target_index

Original thread: https://forums.rpgmakerweb.com/threads/vlues-basic-combos-skills-expansion-triple-or-tetra-combo-skills.150621/