[SOLVED] How to change weapons with an ability, attack and return to the previous weapon, in the middle of a fight?

Hello everyone, I have a problem when using an ability that attacks with a specific weapon regardless of the weapon that the character has equipped,
I have tried it through a common event in the skill but it activates once the entire skill has been resolved : /

Any ideas?
Thanks in advance


PS: I use some Yamfly plugins
PD2: sorry, my English is not very good (text translated by goolge)





Edit:
I find the solution here:



I had not seen it before. thanks

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-how-to-change-weapons-with-an-ability-attack-and-return-to-the-previous-weapon-in-the-middle-of-a-fight.128257/