Random Repeats MV

By default, RPG Maker allows you to have skills or items repeat a certain amount of times when you use them. For example, if you want an attack to always hit two times, you would set the “repeat” field to 2.

However, what if you wanted to create a skill or item that will repeat a random number of times between a given range?

This plugin gives you the ability to do just that quickly and easily!


Plugin: download here (right-click and save as)


Download the plugin and place it in the “plugins” folder in your project’s “js” folder. Then open your Plugin Manager (F10), double-click an empty row, and select the RandomRepeats plugin.

Once it is in your list of plugins, turn the plugin on.


Note-tag skills or items with

<random repeats: min max>

Where the min is the minimum number of times the skill will repeat, and the max is the maximum number of times the skill will repeat.

A random number is generated from this range.


For example, if you want a skill to repeat between 0 and 5 times, you can note-tag the skill with

<random repeats: 0 5>

For advanced users, you can edit the plugin to customize the way the random number is generated. Currently it uses a very simple non-uniform distribution dependent on javascript’s random function.

You may also like...

6 Responses

  1. random says:

    this plugin isnt in your MV plugins page so people who might be interested in this plugin may not notice it

    and yes it works with yanfly plugins afaik

  2. Jeremy says:

    is this compatable with yanflys battle engine?

  3. Eatorl says:

    This is great! It feels more “rewarding” having a chance of hitting a lot of times than always hitting the same amount with a chance to miss each hit.

  4. HeroDude says:

    Neat stuff! This reminds me of the Goblin Punch ability from the Final Fantasy series. ^^

    • Hime says:

      The example I was thinking of was some pokemon attacks where you randomly hit 2 to 8 times or something. But there’s definitely a lot of use cases.

Leave a Reply

Your email address will not be published. Required fields are marked *