Yanfly Learning Passive Skills

unholywolf

Villager
Member
Joined
Mar 28, 2020
Messages
9
Reaction score
4
First Language
English
Primarily Uses
RMMV
I've been trying to figuring out a way to learn passive states like the skill learn system and I think I did but it cause the game to take longer to boot up and load saves.

The way i did it is a mix of using the Advanced Switches & Variables, Auto Passive States, and Skill Learn System plugins.

What I do is I have state n with

<Passive Condition: Switch x ON>

then set switch x with
Eval: $gameActors.actor(y).isLearnedSkill(z)

so when skill z is learn switch x is turn on and the state n is active on actor y.

Is this the most efficient way to do this or am i needlessly bogging the game down.
 

PLUEVNR

Veteran
Veteran
Joined
Jan 15, 2020
Messages
51
Reaction score
10
First Language
French
Primarily Uses
RMMV
Hello,

If i understand well what you're trying to do, you can just remove the passive condition.
Simply add the passive state when the skill is learned, you don't need a condition for this.

in the skill note, use the <add passive state> (or something like this) and it should work
 

Tiamat-86

old jrpg gamer
Veteran
Joined
Dec 5, 2017
Messages
358
Reaction score
140
First Language
english
Primarily Uses
RMMV
the switches and passive condition are needless steps if your just having them learn the passive state.
you only need the passive state as a notetag in the skill they learn then when they learn the skill the state becomes active
 

unholywolf

Villager
Member
Joined
Mar 28, 2020
Messages
9
Reaction score
4
First Language
English
Primarily Uses
RMMV
Thank you and sorry for the trouble. I always miss the small things.
 

PLUEVNR

Veteran
Veteran
Joined
Jan 15, 2020
Messages
51
Reaction score
10
First Language
French
Primarily Uses
RMMV
no worries, we all do :)
have fun
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Sometimes you think you know people, then the next thing you know it's below freezing outside, and they're falling from the sky. And no two are exactly alike.
Karen: Hi, I have a condition that prevents me from wearing a mask. :)

Employee: Can you tell me what it is?

Karen: >:(
Feeling a little overwhelmed... There are so many things to do.
- Building a simple website for portfolio
- Setup *******
- Manage social media
There are so many things inside of these tasks :(
Meet the cute little ghost, FhooFhoo. :kaopride:

Forum statistics

Threads
99,577
Messages
966,854
Members
131,234
Latest member
frepoppo
Top