MV is it possible to make a skill increase it's hits depending on how many weapons you currently have ?

started messing around yanfly's action sequence pack and battle core engine and this idea suddenly came over me, what if i could make an attack that deals more hits depending on how many weapons i currently have in the inventory for example if i have 1 sword and 1 dagger the skill repeat hits 3 times instead of 1 because the dagger and the sword were in my inventory how do i achieve this ?
You'd have to use the action sequence extension that adds loops.

You'd set a variable to 0, then inside the loop you compare whether the value of the variable is less than the number of weapons in the party inventory; then add 1 to the variable.
Yes, pretty easy through action sequencing.
Just have the equipment control a variable and add to it.
And during your action sequence, make it so your hit times = your variable or however you want to determine how many attacks you get.

EDIT: Ninja'd + Oops I was thinking MZ not MV
You'd have to use the action sequence extension that adds loops.

You'd set a variable to 0, then inside the loop you compare whether the value of the variable is less than the number of weapons in the party inventory; then add 1 to the variable.
would it be possible to go into more detail into this
Of course, but which part do you need details on? Have you turned my instructions into action sequence commands and something didn't work?
no i am not very knowledgeable on writing notetags in the skill boxes my attempt was like this

<action>

<sequence>
var=0


attack: 0, 1

</sequence>
var = 1
<repeat>var weaponCount</repeat>

</action>
I'm not sure why you would type any of that.

None of that is what's in the instructions for the Action Sequence plugin.
yeah sorry I'm a little confused lol

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-make-a-skill-increase-its-hits-depending-on-how-many-weapons-you-currently-have.171242/