Main Menu
  • Welcome to The RPG Maker Resource Kit.

Passive Skills?

Started by shintashi, April 03, 2010, 05:51:22 PM

0 Members and 1 Guest are viewing this topic.

shintashi

I'm trying to make passive/persistent skill effects that if your class gains, are always active, rather than activated. Examples would be skills applied to some groups but not to others, like Weapon Specialist, Fitness, Sprinting, and so on.

I noticed the skills have to be turned on at some point, even if they never turn off. Is there a way around this, perhaps through script or something? Or is there a way to expand my menu options of

Occasion:
  • Always
  • Only in Battle
  • Only in Menu
  • Never
to read:

Occasion:
  • Always
  • Only in Battle
  • Only in Menu
  • Never
  • Persistent
And what does "Never" do anyway? And if it does nothing, is there a way to address the "never" so it becomes my new "Persistent" option?

IAMFORTE

well as a passive skill, you could inflict the character with a status, and set the statuses priority to 0 so it wont be shown :D

The status could beused to modify hp, def, mp, etc

shintashi

right!

that's what i did with a "Fitness" skill for my "Grappler" Class. I created a "Fit" status effect, and then a skill that bestows the Fit status, but while it appears in the skill list, I have to manually turn it on. I'm trying to set it up so I don't have to manually turn it on in play, rather, by virtue of having the skill, the effect works.

I didn't know about the priority 0 thing though, how do I access the priority of a state or skill?

IAMFORTE

umm i dont remember atm, look around near the
Nvm, to change priority, modify the rating location and change it to 0, for more infor rightclcik and ask for help XD

shintashi

priority zero definitely removes it from the status list without removing the effects, but it doesn't "auto set" the effect in place. Is there a script for force activating a specific skill?

IAMFORTE

Yes i think there is in the script database, just set the skill to be activated at lvl 1

firerain

Quote from: shintashi on April 09, 2010, 05:01:36 AM
priority zero definitely removes it from the status list without removing the effects, but it doesn't "auto set" the effect in place. Is there a script for force activating a specific skill?
There's an easier way to achieve this.
Firstly, make your status effect with priority zero and then your skill with a 'scope of 'none' and an 'occasion' of 'never'.

Secondly, go to your Database and insert a new 'Common Event'. After that, add a new conditional branch.

The settings for it should be as follows:

Obviously replacing the actor with yours and the skill you want.


Now, we need to set a switch for when the player acquires the skill. For mine, I used an NPC event who gives the player the passive skill, thus activating his switch and then in turn activating the common event.



Now return to your common event and set the 'Trigger' to Parallel and set the 'Condition' switch to the one you just made on the NPC event. And for an event action under your conditional branch make it as shown below.


Assuming you've made your status effect change the stats (I made mine boost his P.Def up 100%) you should be able to go and talk to the NPC event and acquire the passive skill and see the changes.

I've included a demo at the bottom of this post for reference.

shintashi

works great! Much thanks.