The RPG Maker Resource Kit

RMRK RPG Maker Creation => General Tutorials and Eventing => RPG Maker General => Tutorials Database => Topic started by: eulB on July 08, 2011, 03:04:05 PM

Title: [RM2k3]Make a skill with many different effects
Post by: eulB on July 08, 2011, 03:04:05 PM
This tutorial will tell you how to make 1 skill but with many different effects which is rather pointless, but in case you want to do it, this is the tutorial for you!
Difficulty: Slightly Easy

Let's just start.

First, make a skill like this, in this case the skill will be called 'Lucky 7'. The Skill Type has to be 'Switch' of you want it to be a lot more easier.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg856.imageshack.us%2Fimg856%2F1608%2F48720648.jpg&hash=492e31d9f1a48998fea2f372291e23feb24b4037) (http://imageshack.us/photo/my-images/856/48720648.jpg/)

Then make another skills with exact name and description
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg17.imageshack.us%2Fimg17%2F3556%2F82637081.jpg&hash=2575fe71f9706cbbd60de37c9ee0fbf875539bd6) (http://imageshack.us/photo/my-images/17/82637081.jpg/)
 Their Skill Type has to be whatever skill subset you have.

Let's move to Common Event.

Make a Common Event(duh) like this.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg35.imageshack.us%2Fimg35%2F4300%2F94502810.jpg&hash=61b050128bfe09b9e98337dc2a3ee016f2d2f80c) (http://imageshack.us/photo/my-images/35/94502810.jpg/)

The First Branch is the skill with the Skill Type 'Switch'
And then make a variable with a random number according to your skill's number of effects
The Second to the Last branches are your skill effects
i.e: if varXX is 1 the effect will be this
     if varXX is 2 the effect will be that
And delete another effects so that the skills won't overlap.

Then we move to Battle Events just to add this one small event.
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg121.imageshack.us%2Fimg121%2F349%2F35302592.jpg&hash=12bbadaf9f4d5692e4b09b7396df9828c6bf40ae) (http://imageshack.us/photo/my-images/121/35302592.jpg/)
That event will make the game change the skill effects on every turn. Neat!

You might want to remove the skill effects after the battle ends so that it won't overlap with the skill with 'Switch' as its skill type in the Skill Menu.

So that's it.
 :blizj: