Making a skill with random effects

jadenjerries

Villager
Member
Joined
Jun 4, 2016
Messages
6
Reaction score
0
First Language
Portuguese
Primarily Uses
Hi, I'd like to make a "Wheel of Fortune" kind of skill, but I have no idea how to make the script/common event or where to put it/how to call it.


To be more specific, I want to know how to make a skill that can do at least one of these:


A - cause damage based on a random element


B - cause a random state on the target


C - hurt or heals the enemy target with a 50%/50% chance


I would be so thankful if anyone could help me :(
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,674
First Language
German
Primarily Uses
RMMV
the skill needs to call a common event as the effect.


In the common event you'll use a control variable command to generate a random number.


Followed by a series of conditional branches checking which number was generated, and using different force action commands to different skills depending on the result.
 

jadenjerries

Villager
Member
Joined
Jun 4, 2016
Messages
6
Reaction score
0
First Language
Portuguese
Primarily Uses
Thanks! I'm going to use the metronome system. ^u^
 
Last edited by a moderator:

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,860
Messages
1,017,038
Members
137,568
Latest member
invidious
Top