Tengisgol

Villager
Member
Joined
Feb 17, 2018
Messages
17
Reaction score
1
First Language
English
Primarily Uses
RMMV
I need some help answering these three questions please in MV:

1 - How do I create a skill that randomly damages either the target or the user, which is affected slightly by luck?

2 - How do I create an item or skill that takes time to have an effect (e.g. a potion that takes two turns to drink in battle) but with them not taking time to use outside of battle?

3 - How do I create a bow that uses an arrow every time you attack, or use a skill involving a bow, that you cannot use with no arrows?

Many thanks.
 

gcook725

Veteran
Veteran
Joined
Mar 14, 2012
Messages
42
Reaction score
17
First Language
English
Primarily Uses
RMMV
You can use common events for all of these effects and then call the common event when the ability is used.

For example, on the first skill, you need 3 separate skills, one to run the common event and one for each effect.

The common event would set a variable to a random number, we'll say a number between 1 and 100. Then it'll add, lets say, 10% of the LUK stat to that variable. Then do a conditional branch where if the variable is 50 or higher, then it uses the effect that damages the enemy, otherwise it uses the effect that damages the user.
 

Latest Profile Posts

its_a_random_world.jpg
Well after half a year of health problems (that aren't as bad as before), and playing with UE4 & 5... I realized I should finish this project before working on something else. So I decided to upgrade my randomizer. And really just focus on compromising wherever I can to finish the project sooner rather than later. :kaoswt:
hmmm. an art of mine was removed from reddit, for a reason not even listed.

Forum statistics

Threads
121,890
Messages
1,144,953
Members
160,143
Latest member
Krockhunter
Top