The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: TeaBag on January 30, 2009, 05:35:56 PM

Title: One skill, several results
Post by: TeaBag on January 30, 2009, 05:35:56 PM
Hey everyone, got 2 questions, hopefully you can help me out.  They basically both involve how I would go about making one skill have several effects, either at random or based on the attack target.

1.)  One skill/Several random effects.

Lets say there's a skill called "Roll the Dice".  When used, it has a one in six chance of several effects.  Basically, the skill used never changes, but the battle animation and effect change depending on the random outcome.
Example:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg187.imageshack.us%2Fimg187%2F2889%2Frpgexampleqx9.png&hash=825fbd8a7a0e043788edf438f3259f9c531824f7) (http://imageshack.us)
Is there an easy way to go about making this?

2.) One skill/Different effect, depending on target.
This one's a bit more tricky but pretty important.  I'd like to know how to make a skill have a different effect depending on its selected target, as in in a whole new animation/effect depending on if you attack monster A or B, or heal Hero A or B.  And if possible, I'd like to extend this to standard weapon attacks, as in you'll see a different animation if you attack a flying monster as opposed to a grounded monster.
Example:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg407.imageshack.us%2Fimg407%2F2436%2Frpgexample2lp4.png&hash=1fe4f575c301700ad70a1f20a2445930553df30e) (http://imageshack.us)
Any ideas anyone?  Thanks.
Title: Re: One skill, several results
Post by: Revo on January 30, 2009, 06:05:20 PM
1. I love your mockups.

2. I think I have an idea on how the first one could work. You make the "Roll the Dice" skill and set it to run a common event. In the common event, you put something like this...
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi159.photobucket.com%2Falbums%2Ft157%2FFinal-Knight%2Fcommoneventdice.png&hash=fcf98a582e414e8e74bc59d166d1a7426c1fd4be)

It's a rough make of it, but it does work. I hope this helps. I'm not entirely sure on how to make that second skill of your work though. :-\