RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Passive Skills?

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 82
We learn by living...
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?

*
Rep:
Level 85
I solve practical problems.
For taking arms in the name of your breakfast.
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

***
Rep:
Level 82
We learn by living...
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?

*
Rep:
Level 85
I solve practical problems.
For taking arms in the name of your breakfast.
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

***
Rep:
Level 82
We learn by living...
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?

*
Rep:
Level 85
I solve practical problems.
For taking arms in the name of your breakfast.
Yes i think there is in the script database, just set the skill to be activated at lvl 1

*
Meet me in the middle
Rep:
Level 89
or left of the dial.
For frequently finding and reporting spam and spam botsSecret Santa 2012 Participant
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.

***
Rep:
Level 82
We learn by living...
works great! Much thanks.