【漢化】Repeat Upgrade

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可以讓你設置技能或者物品的重復1-9次

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

這個插件可以讓你突破次數(shù)限制

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:
例如你可以這樣設置重復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ù)

<Repeat: (a.atk / 10) + 1>

(Adds 1 repeat for every 10 ATK the user has)
設置基于攻擊力的次數(shù)

<Repeat: Math.randomInt(4) + 1>

(Sets the repeat to a number between 2 and 5 inclusive)
設置隨機次數(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ù)

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.
例如設置為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)
設置為隨機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)
設置為變量加上等級

最后編輯于
?著作權歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末关筒,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌,老刑警劉巖,帶你破解...
    沈念sama閱讀 222,627評論 6 517
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件懒豹,死亡現(xiàn)場離奇詭異,居然都是意外死亡,警方通過查閱死者的電腦和手機葡兑,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 95,180評論 3 399
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來赞草,“玉大人讹堤,你說我怎么就攤上這事〕恚” “怎么了洲守?”我有些...
    開封第一講書人閱讀 169,346評論 0 362
  • 文/不壞的土叔 我叫張陵,是天一觀的道長。 經(jīng)常有香客問我梗醇,道長知允,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 60,097評論 1 300
  • 正文 為了忘掉前任叙谨,我火速辦了婚禮温鸽,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘手负。我一直安慰自己涤垫,他們只是感情好,可當我...
    茶點故事閱讀 69,100評論 6 398
  • 文/花漫 我一把揭開白布竟终。 她就那樣靜靜地躺著雹姊,像睡著了一般。 火紅的嫁衣襯著肌膚如雪衡楞。 梳的紋絲不亂的頭發(fā)上吱雏,一...
    開封第一講書人閱讀 52,696評論 1 312
  • 那天,我揣著相機與錄音瘾境,去河邊找鬼歧杏。 笑死,一個胖子當著我的面吹牛迷守,可吹牛的內(nèi)容都是我干的犬绒。 我是一名探鬼主播,決...
    沈念sama閱讀 41,165評論 3 422
  • 文/蒼蘭香墨 我猛地睜開眼兑凿,長吁一口氣:“原來是場噩夢啊……” “哼凯力!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起礼华,我...
    開封第一講書人閱讀 40,108評論 0 277
  • 序言:老撾萬榮一對情侶失蹤咐鹤,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后圣絮,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體祈惶,經(jīng)...
    沈念sama閱讀 46,646評論 1 319
  • 正文 獨居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 38,709評論 3 342
  • 正文 我和宋清朗相戀三年扮匠,在試婚紗的時候發(fā)現(xiàn)自己被綠了捧请。 大學時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 40,861評論 1 353
  • 序言:一個原本活蹦亂跳的男人離奇死亡棒搜,死狀恐怖疹蛉,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情力麸,我是刑警寧澤可款,帶...
    沈念sama閱讀 36,527評論 5 351
  • 正文 年R本政府宣布育韩,位于F島的核電站,受9級特大地震影響筑舅,放射性物質(zhì)發(fā)生泄漏座慰。R本人自食惡果不足惜陨舱,卻給世界環(huán)境...
    茶點故事閱讀 42,196評論 3 336
  • 文/蒙蒙 一翠拣、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧游盲,春花似錦误墓、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,698評論 0 25
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至莺奔,卻和暖如春欣范,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背令哟。 一陣腳步聲響...
    開封第一講書人閱讀 33,804評論 1 274
  • 我被黑心中介騙來泰國打工恼琼, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人屏富。 一個月前我還...
    沈念sama閱讀 49,287評論 3 379
  • 正文 我出身青樓晴竞,卻偏偏與公主長得像,于是被迫代替她去往敵國和親狠半。 傳聞我的和親對象是個殘疾皇子噩死,可洞房花燭夜當晚...
    茶點故事閱讀 45,860評論 2 361

推薦閱讀更多精彩內(nèi)容