MugenDraco
Villager
- Xy$
- 0.21
Hello, everyone. I have a seemingly small bug, but it's driving me nuts on how to fix it. I have over 200 unique weapons in my game, and each require Notetags from Yanfly's Weapon Animation plugin to each have their own weapon image and attack motion. However, I also have a "Hadoken" type energy blast skill that requires its own weapon image and attack motion. Yanfly's plugin doesn't work on Skills, so I'm using DreamX's Skill Motion plugin for it. I didn't know there was a problem for the longest time, because the player doesn't get this skill until entering a cave where you have to drop all your weapons and use only magic. The skill worked perfectly in the cave. However, once the player comes out and picks up their weapons, anytime this skill is activated, the weapon sprite and attack motion for the currently equipped weapon plays out instead of the one for the skill itself. So I've got the character swinging a sword to fire this energy blast, which shouldn't happen. If I take the Weapon Image notetag off of a weapon, it will work correctly, but I absolutely need the notetags for any weapon beyond the default 24, which is a lot. I even have a slot in the Weapons tab specifically for the energy blast, but the equipped weapon overrides any other references in the skill itself. So basically what's happening is the Weapon Image notetag from Yanfly's Weapon Animation plugin is taking priority over the DreamX SkillMotion notetag in the skill, even though it's the skill being activated. Since it works correctly without an equipped weapon, I've even attempted some JavaScript to unequip the current weapon, save it in a variable, play the skill, then re-equip the weapon, but haven't had any luck. It either just doesn't work, or completely crashes the game. I'm still not very good at scripting inside RPG Maker MV. Any and all help would be appreciated. Thanks.