Repeat Upgrade – MV Plugin

      44 Comments on Repeat Upgrade – MV Plugin

Allows you to have more customization over the “Repeat” functionality of your Skills and Items, including formulas used to determine repeat count.

Look at the code or download the Plugin:

Here is the help file:

Normally, RPG Maker MV allows you to set a constant number between
1 and 9 as a Skill’s or Item’s repeat count.

Using this Plugin, you can surpass that limit and even create custom
formulas for a Skill’s or Item’s repeat count.

Skill and Item Notetags

<Repeat: x>

This simply allows you to input any repeat count.
For example, if you wanted a Skill/Item to repeat 20 times, you would do:

<Repeat: 20>

Repeat Formula

You can also create a formula.
Within the formula, you can use:
a = The User
v = Game Variables
s = Game Switches
item = The Item

So, for example, you could do:

<Repeat: a.level>
(Sets the repeat count to the level of the user)

<Repeat: (a.atk / 10) + 1>
(Adds 1 repeat for every 10 ATK the user has)

<Repeat: Math.randomInt(4) + 1>
(Sets the repeat to a number between 2 and 5 inclusive)

Take note of the fact that the resulting number will always round down
to the closest integer value.

Long Repeat Formula



This is an expansion on the notetag above.
Within the two notetags, you can use JavaScript code to create an
expanded formula for your Skill’s or Item’s repeat count.

To set the final repeat count, set the value you wish to use to the
variable “result”.

For example:

result = 10;


This would set the repeat count to 10.

Here are some more examples:
var temp = Math.random(3);
temp = temp + 10;
result = temp;
(Sets the repeat to a random number between 10 and 12)

var temp = v[2];
temp += a.level;
result = temp;

(Sets the repeat to the value of Game Variable 2 plus the user’s level)


44 thoughts on “Repeat Upgrade – MV Plugin

  1. Julien

    Hi, nice plugin, helps me a lot.
    Still, I’ve got a tiny issue : upon combining this plugin with time attack (and clock), even if the enemy is already dead, the repeating action still continue. Quiet weird. I’ve tried to stop it through YEP Action Sequence, be it won’t do it (either on keeps going or it’s just give me the clock once, I’m not good at it).
    Here the note tag :

    var attaqueS = attaqueS || 1
    if (a.isStateAffected(18)) {
    attaqueS += 1
    result = attaqueS

    Target 1: 150, 180, #00ff00, 1
    Target 2: 220, 260, #0000ff, 2
    Speed: 4
    Color: #00FFFF
    Outline Color: black

    Front Row Only

    eval: RamzaDMGsetup(user);

    hide battle hud
    timed attack
    move user: target, front, 30
    wait for movement
    motion swing: user
    perform action
    motion wait: user
    action animation: target
    wait for animation
    action effect: target
    death break
    perform finish
    show battle hud

    clear battle log
    eval: RamzaDWCleanup()

    if (user.isStateAffected(56)) {
    var perte = Math.ceil(Math.random() * 100);

    var degats = Math.round(Math.random() * 8) + Math.round((a.atk – 10) / 2);
    degats *= $gameTemp.tas_power;
    degats = Math.max(1, degats);
    value = degats

    If I use the normal repeat it goes fine, so I assume their incompatibility with it…

    Thanks in advance,

  2. Invenblocker

    Does anyone know if there’d be a way to account for the target’s stats in the calculation of repeat count (for single target skills that is)?
    Such as: “Makes an additional attack for every 5 points by which the user’s speed exceeds the target’s speed”.

  3. Lashonda

    Pink your blog submit and loved it. Have you at any time imagined about visitor publishing on other associated blogs related to your site?

  4. hiwap

    It as not that I want to duplicate your web site, but I really like the style. Could you let me know which design are you using? Or was it especially designed?

  5. Eda

    You are my aspiration, I possess few blogs and infrequently run out from brand . Follow your inclinations with due regard to the policeman round the corner. by W. Somerset Maugham.

  6. oguz

    magnificent points altogether, you just won a new reader. What might you recommend in regards to your post that you made a few days ago? Any sure?

  7. porn movie

    Wow! This could be one particular of the most useful blogs We have ever arrive across on this subject. Actually Wonderful. I am also an expert in this topic so I can understand your effort.

  8. deal

    Is not it excellent if you acquire a fantastic post? Is not it fantastic after you locate a superb post? Supporting the weblog.. thankfully Enjoying the posting.. thanks a bunch


Leave a Reply

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