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,160
Reaction score
8,426
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


Second bust is almost ready. I have to stop for now, but I wanted to show him off. Just have to do a handful of edits and the rest of his expressions will be done.
Kupotepo wrote on casper667's profile.
Thank you @casper667 for make many amazing plugins. Do you see right @hiddenone make the blogs about your plugins?
Does anyone know where the MZ PluginEditorDemo.js can be found? It might be called SampleCoreScript now. I'd like to see what changed from MV.
Among Us w/friends stream
Leokids wrote on LUKElcs's profile.
Hi

Forum statistics

Threads
103,337
Messages
998,863
Members
134,844
Latest member
occultpunk
Top