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

Doing clean-up on tall-ified sprites, filling in pixel by pixel where the stretching warped the image, feels incredibly tedious but also highly rewarding when one zooms out and the sprite looks even better than before.
I found this app on the playstore and I'm loving it, it's very good for organizing project ideas
hmm one of those days where there's a lot to work on with my game... annnnnd I have no idea what I wanna do. most of it tho, involves drawing lol. either enemies or NPCs.
I'm going back to the default RTP, in the interest of getting it done. FSM is lovely but slow to work with and has tall doors. And switching to tall sprites would mean a lot of franking, and also the horses will be small.

Forum statistics

Threads
118,575
Messages
1,117,071
Members
155,633
Latest member
raylux92
Top