スキルまたはアイテムの「繰り返し」に対するカスタマイズを強化します機能性 – SRD_RepeatUpgrade.js

タイトル
Gives you more customization over a Skill's or Item's "Repeat" functionality.
作者名
ヘルプ

Repeat Upgrade
Version 1.00
SumRndmDde


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) + 2>
(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
==========================================================================

<Repeat>
</Repeat>

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:

<Repeat>
result = 10;
</Repeat>

This would set the repeat count to 10.

Here are some more examples:

<Repeat>
var temp = Math.random(3);
temp = temp + 10;
result = temp;
</Repeat>
(Sets the repeat to a random number between 10 and 12)

<Repeat>
var temp = v[2];
temp += a.level;
result = temp;
</Repeat>
(Sets the repeat to the value of Game Variable 2 plus the user's level)


==========================================================================
End of Help File
==========================================================================

Welcome to the bottom of the Help file.


Thanks for reading!
If you have questions, or if you enjoyed this Plugin, please check
out my YouTube channel!

https://www.youtube.com/c/SumRndmDde


Until next time,
~ SumRndmDde
パラメータ
param Minimum Repeat
desc The lowest repeat count that is allowed in the game.
Any count lower than this will be set to this.
default 1

param Maximum Repeat
desc The highest repeat count that is allowed in the game.
Any count highest than this will be set to this.
default 99

ライセンス表記
Using this Plugin, you can surpass that limit and even create custom

紹介ページ https://github.com/SumRndmDde/RPG-Maker-MV-Plugins/blob/master/SRD_RepeatUpgrade.js