Replace Skill with Status

fireflyege

Witch please!
Veteran
Joined
Apr 9, 2017
Messages
339
Reaction score
57
First Language
Turkish
Primarily Uses
RMMV
I am designing a skillset where you apply a status effect to yourself, and it completely replaces some / all of your other spells.

I am using @Yanfly plugins, but <Hide if Learned Skill: x> command does not work when it is learned with a status effect.

Could some of you guys help me with this?
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,137
Reaction score
8,417
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Zarsla

Veteran
Veteran
Joined
Jan 23, 2015
Messages
710
Reaction score
227
First Language
English
Primarily Uses
I'm assuming you're using skill core if you are place this in the skill that is going to be hidden:

<Custom Show Eval>
if (user.isStateAffected(x)) {
visible = false;
} else {
visible = true;
}
</Custom Show Eval>
Where x is the state id of status effect.
 

fireflyege

Witch please!
Veteran
Joined
Apr 9, 2017
Messages
339
Reaction score
57
First Language
Turkish
Primarily Uses
RMMV
Oh yeah, I found that out. You can use a skill to hide the skills you already know, with making a seperate effect to learn the skill that replaces it.

You can of course add the learning to the same state but I work with 2 enhancing abilities so I made those states seperate.
 

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

Latest Threads

Latest Profile Posts

I present... MAGIC (in progress)

No vaccine till at least spring 2021. Have not seen our parents since Dec 2019. But at least we can phone each other. How is everyone else's situation?
:( ... sigh, having trouble knowing where to draw highlights. Novice pixel artist issues.

Forum statistics

Threads
102,972
Messages
996,418
Members
134,439
Latest member
KUTSHKY
Top