So I was trying to put together a common event where when my character changes his element (with a skill), it would change his weapon's stat buffs/debuffs (stat changes are done by duplicates with different stats)
But when I do the "remove *weapon name*" then "Equip *weapon name*" in the common event, it just takes his weapon away and doesn't apply the new one.
How do I fix this? I did this back in VXACE and tried the exact same way in MV but it failed to operate properly
Looks like a plugin is interfering. Which plugins do you use?
A screen showing the list would be better, because it's showing exactly what you use and where it is placed. However, if you use Yanfly stuff, then you probably use the equip core too and if yes, then it's probably the reason why it is bugged, because this plugin completely changes how equip slots are treated by the game. I fought with that for a long time and in the end had to completely change the plugin, because I encountered another problems.
However, why won't you use custom effects? I've been able to setup items that, depending on user's element, give different effects (which I checked through states).
Your plugins have an incorrect order. This one is for sure.
Core Engine
Battle Engine Core
Animated SV enemies
Buffs and States Core
The way everything appears on Yanfly (the order) is the way it should be in the plugin editor. Had a similar issue with lag and things not running right and it was the order.
Also in your common event, you said you remove *weapon name*, then equip the new *weapon name* but did you give it to the player/character yet? You would have to remove weapon A, Give weapon B, then Equip weapon B.