The 21 Hit Team Attack (Needs a little help.)

First a little background.

I'm kind of a newbie to RPG Maker and only working on my second game.

I have a thought of what I would like to do, but can't seem to figure out how.

I'm not a programmer and have trouble with custom scripts and code myself but can usually figure it out if pointed in the right direction.

Here is what I am trying to accomplish.

In my game I have two characters, Black and Jack. I thought it would be cool if they had a team up attack if both are in the party.

Naturally sense they are Blackjack it should hit 21 times. Dealing 10 hits from Jack and 11 from Black.

Previously I attempted to do this by creating 1 skill for both of them that put the other in wait mode (stun) and set the repeat of the users attack to repeat multiple times.

Problem 1: The repeat only maxes at 9

Problem 2: All the damage would be calculated off the users ATK with no consideration for the other character’s ATK.

I have also thought about adding a feature to track relationship between characters like in the Persona games using multiple separate XP trackers.  A high relationship between the characters would result in more powerful team attacks. Unfortunately I have no clue how to implement such a feature if it is indeed possible.

Any advice on how to accomplish the above would be useful.
If you were like me... You'd simply wash your hands of the idea in favor of something a bit more easy to execute.

Though, I do know of a few ways to accomplish SOME of what you'd like to do.  For instance, you could use a variable to track Black's ATK stat and another variable to track Jack's ATK stat.  You could then use those variables in your damage formula.

I don't think I'd go with "hits multiple times", though maybe there's a way to trick the player into thinking it hits multiple times?  You could retain the "Stun" that would make the other character not work for a single turn, but maybe just make the animation for the skill look like 21 total hits?  Maybe change the damage formula to reflect this some?

The only other way I could see it happening the way you'd like is if someone has a script that allows for "Double" and "Triple" Techs a la Chrono Trigger.
If you were like me... You'd simply wash your hands of the idea in favor of something a bit more easy to execute.
Don't be like him.
You see how in the damage formulas you usually have "a.atk" which signifies the ATK value of the USER?

Use this as well: "$game_actors[x].atk" with "x" being the Actor ID of the other person in the pair. The damage will then factor that person's attack power into the damage formula. So if you wanted to combine both their attacks, you'd have something like "a.atk * 4 + $game_actors[x].atk * 4 - b.def * 2"

As for the relationship thing, it depends on what you mean. If wish for them to learn new skills based on relationship level, I'd say track the "relationship points" through variables so that when it gets to a certain level, unlock the skill. If you wish the points to factor into damage output, use $game_variables[x] in your damage formula, where X is the variable ID.
I think yanfly's scripts allows you to have more than 9 repetitions... or maybe you could even use the script which executes another skill after the current skill...
You can use this script for repeats, and just have the X and Y values be the same number so it removes the randomness.

http://www.rpgmakervxace.net/topic/9342-random-repeats/
Don't be like him.
Where's the "dislike" button?  Ha ha.

Being like me or not being like me really isn't the issue.  I'm just a firm believer in "can this be accomplished without a script?" as well as "Is it really necessary to do something so complex when it can be a fairly convincing illusion instead?".  Most creativity comes from working within the constraints you have instead of simply bypassing the issue entirely.  But, I suppose that boils down to personal preference.  After all, if there's an easier way to do it, why not do it that way?

I'm fairly certain there's a relatively simple way to accomplish what he is trying to do without the involvement of a script.  But, if the script allows him to do things the program normally wouldn't let him do, then he should likely just use the script instead.  As much as I don't like to use scripts if I don't have to, I do recognize the need for them.  Especially if they bring back features that previous RM versions had but were removed because someone was short-sighted on the design or publishing team.

I never meant him to scrap the idea entirely (it does sound fun and interesting), I simply meant that if he were anything like me, he'd likely abandon the way he was trying to get it to execute and come up with something else in its wake.

Though, even you would have to admit that just because an idea sounds awesome to do, doesn't necessarily mean it IS awesome.  You know, like the "Draw Magic" nonsense in Final Fantasy 8 that completely takes away any reason to cast magic since it's better to just junction the magic you spent 50,000,000 hours drawing to your attributes instead of casting it.

I like his idea, and I hope it pans out and makes for an interesting battle mechanic.  Especially since he could apply it to other skills.  Like, create a skill called "Double Down" in which they both land a blow that inflicts a stat debuff or something.  There's so many interesting things he could do with it, if he keeps the theme on Blackjack and manages to make skills that hit multiple times with stats spread across two characters.
😀   Thanks for the input everyone.

Mc Tricky your second example was more what I was looking for in the relationship function were higher relationship levels would be reflected with higher damage, more healing, or greater chance of applying status effects. Thanks for the suggestion.

And Tai Mt, I take no offense at your statement.  I understand what you are saying. I know this is ambitious for only my second R.P.G. maker game, and maybe I should stick to the simpler mechanics until I am more familiar with the more intricate workings of the program. Or work on another game first, It’s not like I don’t have a dozen more game ideas that half of which could be accomplished with the basic program.

But for now I am going to keep trying and see if I can get this to work.
Well, you can make a skill with a common event where the common event controls the other actor and makes it use the second half of the skill for a team attack.

In the skill that calls up a common event, you can have it hit for 9 times but then it will call up a common event that will have Force Action: Jack Skill: Whatever.

But the max you get with this is 18 if you're doing 9 and 9 since that is the limit...

You would also have to duplicate this skill and be sure to remove the common event from the duplicate so it isn't looping ludicrously.
Thanks CWells. I think that is a most elegant solution to creating a true team attack.

Original thread: https://forums.rpgmakerweb.com/threads/the-21-hit-team-attack-needs-a-little-help.17727/