Multiple hits

Is there some way of giving a character a 25% chance of an extra hit? Or two? ATK+ lets me add additional attacks, and it's possible to add the possibility of an extra action, but I can't work out how to add the possibility of an extra hit. 
First of all, you'll want to install Vlue's Set Guard/Attack Skills script. When that's done, follow the steps below:

1. Create a second attack skill in the database. For example: Skill 001 is 'Attack', so make Skill 010 'Custom Attack' or something like that. You can copy the damage formulas over from the default attack skill.

2. Next, set up an effect for Custom Attack that activates a common event. Let's use Common Event 001 for this example. 

3.When that's done, go to the 'Common Events' tab and set the name of Common Event 001 to 'Chance for Attack' and set the trigger to 'none'. Set up a 'control variable' (call it 'Variable for Extra Attack') command with the operand set as a random number between 1 and 4 (this gives us the 25% chance for attack; 1 and 2 would be 50%, 1 and 5 would be 20%, and so forth). 

4.The next thing you'll want to do is set up a conditional branch that activates if 'Variable for Extra Attack' is '1'. Set a 'force action' command within the conditional branch that forces an actor of your choosing to use the default attack skill on the actor's last target.

Your common event should look like this:

@>Control Variables: [0001: Variable for Extra Attack] = Random No. (1...4)

@>Conditional Branch: Variable [0001: Variable for Extra Attack] == 1

        @>Force Action: [Willy Wonka], [Attack], Last Target

        @>

:       Else

        @>        

        Branch End

5. Go into the script editor, pull up the Set Guard/Attack Skills script, then customize the script so the actors with a 25% chance for an extra attack use the 'Custom Attack' skill instead of the default. Since we set Custom Attack as Skill 010 in this example, lines 22-25 of the script should look like this:

  1. ACTOR_ATTACK_SKILL_ID = { 1 => 1,
  2.                           2 => 10, #this is the actor that has the 25% chance for an extra attack
  3.                           3 => 1,
  4.                         }

Hope this helps!

Original thread: https://forums.rpgmakerweb.com/threads/multiple-hits.17611/