MV Yanfly Weapon Unleashed and Hime Actor Battle Commands issue

Ok so for a new skill I'm making I need the ability to hide and/or disable the item battle command while it's under use. From what I can tell, Himes Actor Battle Commands plugin is exactly what I needed and with some finangling it works for my needs.

This works fine for the most part except for one thing- I have another plugin from Yanfly called Weapon Unleashed which lets me replace the basic attack skill with a different skill depending on what weapons or armours I have equipped. This works almost entirely fine with the battle commands plugin I just installed except for the fact the skill on the battle menu always displays as the default attack. Using the skill still works as intended but for my game it's important to distinguish what the basic attack does, especially since a certain class I have exclusively uses the base attack skill for MP recovery, so it doesn't make sense for that to be labelled an attack.

Here's before and after installing the plugin, this unit can equip different tomes to learn new spells, one of which changes the basic attack to a spell called weak magic, but after installing the plugin it displays as a default attack.
1736997183240.png

1736997220272.png

So what I'm asking is, does anyone know a way to fix this with javascript shenanigans? Or do I scrap the battle command plugin entirely?

Himeworks Actor Battle Commands Link: https://himeworks.com/2015/12/actor-battle-commands/
Yanfly Weapon Unleashed Link: http://www.yanfly.moe/wiki/Weapon_Unleash_(YEP)
have you played with the load order? loading the hime one before the yanfly one might fix it.
otherwise some edits might have to be made
have you played with the load order? loading the hime one before the yanfly one might fix it.
otherwise some edits might have to be made
Nope no dice I'm afraid
time to break out the notepad then.
change line 518 of hime's plugin. it should be this:
Code:
this.addCommand(cmd.name(), cmd.symbol(), enabled);
change it to this:
Code:
this.addCommand($dataSkills[this._actor.attackSkillId()].name, cmd.symbol(), enabled);
time to break out the notepad then.
change line 518 of hime's plugin. it should be this:
Code:
this.addCommand(cmd.name(), cmd.symbol(), enabled);
change it to this:
Code:
this.addCommand($dataSkills[this._actor.attackSkillId()].name, cmd.symbol(), enabled);
Strangely enough this works perfectly fine while testing battles through the troops menu, but when I playtest the game it crashes as soon as I enter the battle with this error message.

1737126493496.png
Strangely enough this works perfectly fine while testing battles through the troops menu, but when I playtest the game it crashes as soon as I enter the battle with this error message.
can you share a screenshot of your plugin list? I did test it out in a battle test initially, but after trying it now in a playtest it seems to be working just fine for me. You did make a new save when you tried it, right?
can you share a screenshot of your plugin list? I did test it out in a battle test initially, but after trying it now in a playtest it seems to be working just fine for me. You did make a new save when you tried it, right?
Ok I was being stupid it works just fine on a new save. I'll do some more testing rn but tysm for the help!

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-weapon-unleashed-and-hime-actor-battle-commands-issue.174742/