Dragon_Soul

Villager
Member
Joined
Mar 26, 2021
Messages
15
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
172
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,875
Reaction score
2,047
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
15
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
172
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

Ugh, I opened MV after a few weeks and I'm completely lost on what I was working on.
Does it happen to someone else or am I the only disorganized one around? :kaoswt:
xH5Fk2f.jpg
Today was not a really productive day, but at least i got some bust sketches going <3
E7QXZHNXoAIkpG8
hmm in exploring MZ with FOSSIL... I see I'll probably need to stick with MV for now as none of the menu altering plugins I use work on MZ lol. and I don't have the money to dump into what I would need in some cases to update plugins to their MZ versions. Everytime I think of converting, 5 or more reasons popup on why I shouldn't.
Hmm... Game has 91 views, 25 downloads, 5 reviews and netted me 7 additional followers. Meanwhile the image I posted just yesterday on Imgur to showcase it has 45,197 views. Interesting, I think I have a new advertising idea. Also Twitter? The post got 16 retweets, 20 likes, and 1,683 views.... And a whole 3 hits to my game, completely valueless. I am glad I did this game jam, this information is quite valuable.
We're playing another Touch the Stars game jam entry, come join us! :D

Forum statistics

Threads
113,658
Messages
1,076,490
Members
147,678
Latest member
SLTY
Top