MZ Shared Battle Turns, Unified Command List

Lets try this again ^_^'

Good morning all!

I am looking to have a very unique plugin built out that I think will benefit the community as a whole (especially those who use things like Summon plugins).

Context and then the request to follow:


My project involves 4 Academy Students that take to battle together to use and master skills.


Within the Four, I have a pair of Twins that go into battle "together". We'll call them Twin A and Twin B.

The idea for the twins is that while they are treated as separate targetable party members; with their own equipment, skills list, Side View Battlers;
they share a turn in battle.

Key Features:
  1. Shared Command List
  2. Shared Battle Turn
  3. Shared Action Costs (when needed)
  4. Simultaneous Actions/Motions (when needed)
  5. All Other Party Members should be able to conduct their turns as normal

Detailed Breakdown below

What that means:

Outside of battle:
1) Each Twin has their own levels and parameters
2) Each Twin has their own equipment
3) Each Twin maintains their own list of learned and available skills
4) Each Twin is treated as a separate battler, party member, meaning: They can be targeted by attacks independently


Basics During Battle:

1) Twin A and Twin B step up to "ready" position together
2) Each Twin is treated as a separate battler, party member, meaning: They can be targeted by attacks independently
3) Their Shared Turn is determined by their average of whatever normally dictates turn order for the party (I think its AGI?)
4) The Command list (Magic/Specials, etc) during a Shared Turn should be a combination of all available skills from both Twins, plus the normal Attack, Defend, etc
5) Attack, Defend, Item, Escape should still be a single selection
6) Attack, Defend, Item, Escape actions taken would be taken by both Twins simultaneously. Especially important for Attack.
7) Attack Skill should account for a total stats of Twin A and Twin B



Advanced During Battle:

1) Skills List is an aggregated list of all skills available to both Twins. "Available" being the operative word. As it should be "learned" skills as well as skills added by traits.
2) Any skills that Both Twins have access to should only apear once in the list.
3) If a skill is known by both Twins, and that skill is chosen in battle, the Twins go through their casting animations together
,following normal targetting rules, the cost of that skill is split between them
4) If a chosen skill is known by only one Twin, only THAT Twin conducts the action and pays the cost of that skill
5) Skills used together (known by both Twins) account for the average parameters of the twins plus 25%. (Example below)



Ex:

Twin A: mat = 8
Twin B: mat = 12
Average mat = 10



Skill | Known By | Cost
Fire | Twin A, Twin B | 10 MP
Ice | Twin B | 10 MP
Thunder | Twin B | 10 MP
Heal | Twin A | 20 MP


If Fire is chosen during the shared turn, both Twin A and Twin B will cast the spell together at the selected target.
Each twin will pay 5MP to cast since it is a 10MP skill.
The formula for this skill would be (10 + a.mat * 2 - b.mdf * 2)
The a.mat in this scenario would be 12.5 as it is the average of the twins magic attack stat + 25% of that number (10 + 10*.25).

If Ice is chosen, only Twin B goes through the casting animation. If Heal is chosen, only Twin A. In either case, since only one of the Twins knows the skill, only that Twin pays the cost, conducts the action, and has their parameters accounted for.



Plugin Parameters editable via plugin manager:
1) Actor IDs for the shared turn. This could look like comma separated pairs (1:2,3:4) or simply 2 separate @param for 2 Actor IDs
2) An on/off Switch for the plugin functionality:
I would like to have the twins battle separately initially until a specific event occurs. A switch that enables the Shared Turn function
would help avoid having to copy the actors levels and skills to the designated Actor IDs in an event.
3) If possible, a true/false to decide whether shared spells fail if the cost can't be split. If possible and a user
chooses "false", then the cost should be taken either by 1 Actor alone that has enough.




This. Is. A. Heavy. Fricking. Lift.

And I recognize this. Please ask for any expanding of ideas, nuances, issues as they come to mind. This has the potential to be an amazing plugin that's gonna take some skill to accomplish.
bump

Original thread: https://forums.rpgmakerweb.com/threads/shared-battle-turns-unified-command-list.156615/