Dragon_Soul

Villager
Member
Joined
Mar 26, 2021
Messages
11
Reaction score
0
First Language
English
Primarily Uses
RMMV
I might just be stupid, but how do I make a percent chance happen through common events. I have a skill I called "Raw Power", it increases your attack by 100% for 3 turns, but each use has the chance to inflict rage. How would I make this happen at a 25% chance rate?
 

Jragyn

JABS codemonkey
Veteran
Joined
Aug 14, 2012
Messages
221
Reaction score
169
First Language
English
Primarily Uses
RMMZ
I might just be stupid, but how do I make a percent chance happen through common events. I have a skill I called "Raw Power", it increases your attack by 100% for 3 turns, but each use has the chance to inflict rage. How would I make this happen at a 25% chance rate?
Sounds like the "100% attack up for 3 turns" and "rage" should just be two separate states that can be applied by the same skill. The first effect for 100% chance, rage effect for 25% chance.
 

Milennin

"With a bang and a boom!"
Veteran
Joined
Feb 7, 2013
Messages
2,814
Reaction score
1,973
First Language
English
Primarily Uses
RMMV
The above would be the best way to go, probably. But in the unlikely case you still need it to happen through a Common Event, you roll a random number between 1-4 on a variable (can be any variable, just use a temporary use variable for it). Then below that a conditional branch that checks whether the variable is at 1, and if so apply the special state to the user (this is easy to know if it's the only character that can use the skill, it'll be a lot more complicated if more characters can use it).
 

Dragon_Soul

Villager
Member
Joined
Mar 26, 2021
Messages
11
Reaction score
0
First Language
English
Primarily Uses
RMMV
I think I understand? Can I see either or of these in a image so I know if I am understanding it?
 

Jragyn

JABS codemonkey
Veteran
Joined
Aug 14, 2012
Messages
221
Reaction score
169
First Language
English
Primarily Uses
RMMZ
@Dragon_Soul
Thinking something like this on a skill in the skills tab of the database in RMMZ should do the trick, except I just used a couple of random states, you can specify whatever states your game leverages instead. (the stuff around the red marking)
1620766529705.png
 

Latest Threads

Latest Posts

Latest Profile Posts

Quite the versatile cast so far :p

chars.PNG

Edit: Sprites are made by Alexdraws and TheMightyPalm. I just edited them.
Degica Games Turn Komodo | RPG Maker News #77

Well, rats. Was really looking forward to trying out FPS Creator, but trying to install and set it up was pretty much impossible for my tiny brain to comprehend. So much for that, then.
Ah, home once more! I think I can safely work on my games now.
Let's hope power remains on for the day

Forum statistics

Threads
112,409
Messages
1,068,104
Members
146,061
Latest member
Kazakus
Top