Yanfly's Equip Battle Skill - Equiped skill check

Gooz

Veteran
Veteran
Joined
Mar 27, 2015
Messages
44
Reaction score
2
First Language
français
Primarily Uses
Hello!


I have a question about yanfly's "Equip Battle Skill" plugin.


Is there a way (with a script call i guess) to check if a specific skill is actually equiped in a specific slot?


For example : if Actor1 has Skill3 equiped in slot2, it will activate Switch5?
 
Last edited by a moderator:

gytfunke

Villager
Member
Joined
Oct 16, 2016
Messages
7
Reaction score
0
First Language
English
Primarily Uses
Hi Gooz!


I don't know the answer to this, but I would like to know it as well.  I'm trying to figure it out on my own, but I'm terrible with javascript.  Will let you know if I have any luck.
 

gytfunke

Villager
Member
Joined
Oct 16, 2016
Messages
7
Reaction score
0
First Language
English
Primarily Uses
Hey Gooz!


I don't know if this helps you at all, but I figured out how to check if the party leader has a certain skill equipped.  Maybe this will give you a hint?


$gameParty.leader().battleSkillsRaw().contains(skill.id)


Where you replace skill.id with the ID of the given skill.


I use this in if...else statements to check if an actor has a skill equipped.
 

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

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,048
Messages
1,018,545
Members
137,834
Latest member
EverNoir
Top