I want to make a piece of armor that, when equipped, disables the 'Specials' command. Is this possible with Hime's plugin, and if not is there another plugin that could accomplish the same thing?
MV Hime's Battle Commands Question
Javascript/Plugin Support"Specials" is not a command, but a skill type filter selection.
ou could simply seal all skills of that type with a state, that would have the same effect withou using any plugin.
ou could simply seal all skills of that type with a state, that would have the same effect withou using any plugin.
True. I guess I can just do that instead.
True, but in the plugin referenced you can in fact manipulate the individual commands for the various skill types.
I assume Andar meant to type "with a trait," as having the armor add a state would require a plugin.
I believe that sealing the skill type leaves it in the list, just greyed out. So if you really want to have it actually disappear from the command list, you can't do that with Hime's plugin.
You'd use the Victor Engine Command Replace plugin, and give actors the notetag:
Code:
<command replace: '', 'Special', skill type X>
result = a.skills().some(skill => skill.stypeId==X) && !a.isEquipped($dataArmors[Y]);
</command replace>
Both instances of X are the ID of your Special skill type, and Y is the ID of your armor. No leading zeros.
Hime's Actor Battle commands has script calls to disable and hide commands. You could totally make a parallel event that checks whether or not your actor has this specific armor equipped, and then just execute that script call.
@SGHarlekin You're absolutely correct. You could.
I just prefer to recommend the Victor Engine because it can do everything the Hime one can and more without needing to have a parallel event just to check for however often one armor might be worn or removed.
For that matter, instead of a parallel event, you could make a turn 0 troop event that checks the equipment and uses the appropriate plugin command.
But then you're either copying that into all your troops or using another plugin to have Base Troop Events...instead of just using a similar plugin that can take an eval formula.
I'm not at all trying to shoot you down, just being transparent with my reasoning 🙂
I just prefer to recommend the Victor Engine because it can do everything the Hime one can and more without needing to have a parallel event just to check for however often one armor might be worn or removed.
For that matter, instead of a parallel event, you could make a turn 0 troop event that checks the equipment and uses the appropriate plugin command.
But then you're either copying that into all your troops or using another plugin to have Base Troop Events...instead of just using a similar plugin that can take an eval formula.
I'm not at all trying to shoot you down, just being transparent with my reasoning 🙂
Original thread: https://forums.rpgmakerweb.com/threads/himes-battle-commands-question.163663/