Random x Attack Times?

Status
Not open for further replies.

West Mains

Veteran
Veteran
Joined
Feb 24, 2013
Messages
1,003
Reaction score
96
First Language
English
Primarily Uses
Pretty sure I need a script for this and since I know next to nothing about RGSS3 I'd like to ask if anyone could whip one up for what I need:

Essentially it would work like this. A skill would call up a variable, this variable is a random number between, for example, 1 to 6. Once a number is selected, the game changes the skills attack times (called Repeats in the database) to this number. 

So, say it was exactly the same as your regular attack. You perfrom the skill to attack, the dice rolls and the variable becomes 3. Your attack hits three times. If it become a 5, you attack five times and so on.

Obviously the number is re-rolled each time the skill is used.

If a script like this exists please point it out!

Thanks

PS. I'm somewhat sure I can do this with variables and common events but I wonder if a script might streamline this process a little as it takes a lot of fidgeting around with events and stuff for each skill that would use such a system.
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top