Repeat Upgrade
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.
RMMV可以讓你設(shè)置技能或者物品的重復(fù)1-9次
Using this Plugin, you can surpass that limit and even create custom
formulas for a Skill’s or Item’s repeat count.
這個(gè)插件可以讓你突破次數(shù)限制
Skill and Item Notetags
<Repeat: x>
This simply allows you to input any repeat count.
把這個(gè)放入需要重復(fù)的技能或物品備注欄
For example, if you wanted a Skill/Item to repeat 20 times, you would do:
例如你可以這樣設(shè)置重復(fù)20次
<Repeat: 20>
Repeat Formula
You can also create a formula.
Within the formula, you can use:
你也可以自己創(chuàng)造公式
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)
設(shè)置基于等級(jí)的次數(shù)
<Repeat: (a.atk / 10) + 1>
(Adds 1 repeat for every 10 ATK the user has)
設(shè)置基于攻擊力的次數(shù)
<Repeat: Math.randomInt(4) + 1>
(Sets the repeat to a number between 2 and 5 inclusive)
設(shè)置隨機(jī)次數(shù)
Take note of the fact that the resulting number will always round down
to the closest integer value.
記住所有的結(jié)果都是向下取整
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.
你還可以使用JS語言來設(shè)置次數(shù)
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.
例如設(shè)置為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)
設(shè)置為隨機(jī)10-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)
設(shè)置為變量加上等級(jí)