NowiFate

Villager
Member
Joined
May 12, 2021
Messages
12
Reaction score
0
First Language
Dutch
Primarily Uses
RMMV
Hello everyone,

I have the Yanfly Auto Passive State Plugin. I want my actors to learn passives, so I did it through skills that would be hidden in battle, so that a player can see which passive skills they have in their Skill Tab. See here how I wrote the skill.

Shadow Retreat Skill.png

However, I think I might have done something wrong in the skill. Whenever the condition of the state is being met (HP below 50%) the Skill called 'Shadow Slash' does not show up in the actor's Skills for me to use. To check, I also put it on a weapon, where I put <Passive State: 20> and it worked perfectly fine. I put this Skill which should activate the passive on one of my weapons.

If you figured out what I did wrong, please tell me!
 

Animebryan

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
484
Reaction score
264
First Language
English
Primarily Uses
RMMZ
There's a lot of missing info you've failed to provide, like the setup for the Passive State itself. Not only that, your setup of <Passive State: 20> is backwards. According to the setup you've shown, its a Skill that grants a Passive State if an actor actively has that Skill.

However, it sounds like you want to start with a Passive State that grants a Skill when the condition of '50% HP or less' is meet. Set it up like this:
Auto Passive State.png
Now, you don't need to 'Hide' anything as the skill won't be available if the passive state isn't active. You still need to give the actor the state though, either directly on the actor or on a piece of equipment. Now, if you want to hide the passive state yourself, simply exclude the icon & set the state's Priority really low, like 0 or 1.
 

NowiFate

Villager
Member
Joined
May 12, 2021
Messages
12
Reaction score
0
First Language
Dutch
Primarily Uses
RMMV
There's a lot of missing info you've failed to provide, like the setup for the Passive State itself. Not only that, your setup of <Passive State: 20> is backwards. According to the setup you've shown, its a Skill that grants a Passive State if an actor actively has that Skill.

However, it sounds like you want to start with a Passive State that grants a Skill when the condition of '50% HP or less' is meet. Set it up like this:
View attachment 197508
Now, you don't need to 'Hide' anything as the skill won't be available if the passive state isn't active. You still need to give the actor the state though, either directly on the actor or on a piece of equipment. Now, if you want to hide the passive state yourself, simply exclude the icon & set the state's Priority really low, like 0 or 1.
Ah, thank you for the detailed reply. I didn't add a screenshot of the State itself because I know that the problem isn't in there. From your explanation I got that basicly you can't put a Passive State on a skill? Because I don't want such a skill in the Skill list because it's not an active. So I should find another way of learning a character a Passive State.
 

Animebryan

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
484
Reaction score
264
First Language
English
Primarily Uses
RMMZ
The setup I showed you is exactly how it should be.
Now, you don't need to 'Hide' anything as the skill won't be available if the passive state isn't active.
You're trying to do it backwards. You give the actor the passive state, either directly or by equipment. If the actor's HP is above 50%, state won't be active. State is required to have skill. No active state, no active skill. HP falls below 50%, state becomes active, skill becomes active. Recover HP above 50%, state becomes inactive, skill becomes inactive. It's as simple as that.
 

Latest Threads

Latest Posts

Latest Profile Posts

Got like a sudden surge of wish lists overnight. :)
headshot_headshot.jpg
The theory has been proved. Based on an invisible image's data(the big red dot in the previous image), RM can identify different parts of an enemy and do something respectively. :kaojoy:
Ok.. coding what should be a simple "everyone is petrified and therefore dead, now go to game over screen" shouldn't involve needing to become Dr. J and dunking from the free throw line(my way of saying "jumping through hoops").
Hmmmm... how many xrays til I get super powers?
..of the major old school series that began in the 80s- early 90s, I still haven't beaten 'a' Zelda game. Mario 64 was the first Mario I've beaten. I don't know if I should give that honor to Link to the Past or A Link Between Worlds(I currently own both). Well technically I've haven't beaten a Sonic either (Game Genie doesn't count =P).

Forum statistics

Threads
115,381
Messages
1,089,429
Members
150,102
Latest member
Ketchy
Top