Yanfly's Equip Battle Skills and Equip Skill Tiers Issue

boikish

Always trying to help :)
Veteran
Joined
Sep 8, 2016
Messages
154
Reaction score
49
First Language
English
Primarily Uses
N/A
Hello all,

I am running into an issue using the two named plugins that I cannot seem to find a solution for.

Let's say that I created 4 tiers of skills, and I restricted the 4th tier to only allow one equipped skill. If I were to create an accessory that increases the number of allowed tier 4 skills to two, I could then go to the Equip Skills screen and equip two level 4 skills, no problem.

However, when I remove the accessory from the actor, they will still have both tier 4 skills equipped. If the player were to go into the equip skills menu, they would be locked in until they correct the issue, but if they just never go back in, they get away with having a both skills equipped. This isn't a huge deal from a balance perspective, but it's less than ideal from a design perspective.

I realize that within the menu itself, you can exceed the limitation (see image below) but because of the safeguards added by Yanfly, you cannot exit the menu. So I'm not exactly sure the best way to approach a solution.

1593289845920.png

The best idea that I came up with is when equipment that affects the allowed slots is removed, it also unequips all skills. A bit of a headache for the player, maybe, but I'd rather that than breaking the game, lol. But I'm unsure of a script that can accomplish this and also run on accessory unequip.

If anyone has any solutions or suggestions, please let me know.

Thank you kindly.


Link to plugins:

Equip Battle Skills: http://www.yanfly.moe/wiki/Equip_Battle_Skills_(YEP)

Equip Skill Tiers: http://www.yanfly.moe/wiki/Equip_Skill_Tiers_(YEP)
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,604
Reaction score
1,961
First Language
English
Primarily Uses
RMMV
I can't see the code of the plugins themselves since they're not free any more, but I'd probably edit the plugin to automatically remove any extra skills in the function for unequipping items.
 

kirbwarrior

Veteran
Veteran
Joined
Nov 13, 2014
Messages
732
Reaction score
418
First Language
English
Primarily Uses
N/A
The best idea that I came up with is when equipment that affects the allowed slots is removed, it also unequips all skills. A bit of a headache for the player, maybe, but I'd rather that than breaking the game, lol.
While I'm not quite certain how to do it, you could also have the player be sent to the skill menu whenever equipment changes the skill total so that the player must change skills if over. Another thought is using Yanfly's plugin that activates a common event when you leave the menu. That event can check (possibly?) if a character is over skill limits, and if so, does something (such as unequipping skills or a message that they need to change skills and reopens the skill menu).
 

boikish

Always trying to help :)
Veteran
Joined
Sep 8, 2016
Messages
154
Reaction score
49
First Language
English
Primarily Uses
N/A
@Trihan

Dang, forgot that Yanfly made that change. That will definitely make it more difficult to find help. That's the ultimate end goal. But I simply do not see a way to do that. I'll keep combing through the plugin though.

@kirbwarrior

Thanks for the suggestion. That solution is contingent upon finding a way to run a script on item unequip, which I'm unsure how to do. But I will keep searching.

Thanks again. :)
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,604
Reaction score
1,961
First Language
English
Primarily Uses
RMMV
@Trihan

Dang, forgot that Yanfly made that change. That will definitely make it more difficult to find help. That's the ultimate end goal. But I simply do not see a way to do that. I'll keep combing through the plugin though.

@kirbwarrior

Thanks for the suggestion. That solution is contingent upon finding a way to run a script on item unequip, which I'm unsure how to do. But I will keep searching.

Thanks again. :)
Can you tell me how equipped skills are stored in the plugin, variable wise?
 

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

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,476
Members
137,824
Latest member
dobratemporal
Top