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 Threads

Latest Profile Posts

Going to try my luck with Rust programming language. C++ is just way too gosh darn frustrating.
Phew. Finally fixed all of the tileset and event issues in this demo. And now, it's time to release another, finished game. Stay tuned!
you know, since learning C [;)] I've grown to love VC and OpenGL :D

Forum statistics

Threads
121,880
Messages
1,144,874
Members
160,137
Latest member
Shiresu
Top