Tsukihime 1,489 Posted December 21, 2012 (edited) Random Repeats -Tsukihime This script allows a skill to repeat a random number of times. You can specify the upper and lower bounds on the repeat range. Download Script: http://db.tt/GX8F0X4Z Usage Note-tag skills/items with <repeats: x y> Where x and y are two integers, x represents the lower-bound y represents the upper bound. For example, <repeats: 1 3> means that the skill will randomly repeat 1 to 3 times. You have the option of using the variable `v` to access global variables, using the syntax v[i], for some number i For example, <repeats: v[1] 5> means that the skill will randomly repeat between the amount stored in variable 1, and 5, assuming variable 1 is smaller. Edited December 30, 2012 by Tsukihime Share this post Link to post Share on other sites
Xypher 176 Posted December 25, 2012 is there any way to use a formula instead of integers. I was thinking something like <repeats: self.agi/50, self.agi/25> or something along the lines Share this post Link to post Share on other sites
Tsukihime 1,489 Posted December 27, 2012 (edited) Probably not, since the value is fetched from the skill and therefore `self` refers to the skill, not the actor that is using it. A different approach would be required, but I can't come up with anything atm. Edited December 27, 2012 by Tsukihime Share this post Link to post Share on other sites
Caveras 40 Posted December 29, 2012 To address the second poster's question, and if it was possible to choose a variable instead of an integer, you could just use a skill to execute a quick variable equation and then force call the actual skill with the variable in the skills tag. Share this post Link to post Share on other sites
Tsukihime 1,489 Posted December 30, 2012 (edited) I have updated the script to support formulas as the arguments. You can use the variable `v` for variable access, like <repeats: v[1] 10> Edited December 30, 2012 by Tsukihime 1 Share this post Link to post Share on other sites
CharlesMabe 0 Posted April 2, 2016 Your Dropbox link doesn't work. I guess Dropbox is being a jerk to everyone who posts scripts for RPG Maker stuff, because almost all Dropbox links to them are disabled. Share this post Link to post Share on other sites
Nunzio Zizzania 0 Posted August 10, 2018 Can you fix this link, please? Share this post Link to post Share on other sites