Ideally what I want is... to be able to check which weapon is in the actors second weapon slot, remove that weapon for the rest of the battle and then give the actor it back at the end.
To give a bit of context, this is for a druid character who can summon a pet. My idea was to have the druid exchange one of his weapons (ideally his second weapon) for a Pet.
Example if your druid has a staff, he can either attack with those staff skills or use his staff to conjure a snake. he is a duel wielder so he will still be able to attack by himself, but not with the weapon he has conjured into a pet.
now the summoning bit was easy, there are plenty of amazing scripts out there to suit my needs... i even manged to get the common event to check if a staff is equipped and perform the snake summon, then add a state to my druid to seal staff skills. This sort-of gives the effect I wanted. The only problem is in my game, weapons change the basic attack skill, so even though he's changed his staff into a snake, he can still deal staff damage with his basic attack, also he still gets the same bonuses of having the weapon equipped.
I think it would be cleaner to remove the weapon and ideally have it only effect his second weapon but I'm not sure how to do that. So i guess I'm asking:
1) is there a way to check which weapon is in which slot and remove the second one?
2) if not, check if a certain weapon is equipped and then remove only that weapon?
3) is there a way to store the weapon id and the give it back to the actor/inventory after the battle?
Any help would be greatly appreciated, I'm happy to use common events or scripts if there are any that you can point me to, but i am a little cumbersome on both.
To give a bit of context, this is for a druid character who can summon a pet. My idea was to have the druid exchange one of his weapons (ideally his second weapon) for a Pet.
Example if your druid has a staff, he can either attack with those staff skills or use his staff to conjure a snake. he is a duel wielder so he will still be able to attack by himself, but not with the weapon he has conjured into a pet.
now the summoning bit was easy, there are plenty of amazing scripts out there to suit my needs... i even manged to get the common event to check if a staff is equipped and perform the snake summon, then add a state to my druid to seal staff skills. This sort-of gives the effect I wanted. The only problem is in my game, weapons change the basic attack skill, so even though he's changed his staff into a snake, he can still deal staff damage with his basic attack, also he still gets the same bonuses of having the weapon equipped.
I think it would be cleaner to remove the weapon and ideally have it only effect his second weapon but I'm not sure how to do that. So i guess I'm asking:
1) is there a way to check which weapon is in which slot and remove the second one?
2) if not, check if a certain weapon is equipped and then remove only that weapon?
3) is there a way to store the weapon id and the give it back to the actor/inventory after the battle?
Any help would be greatly appreciated, I'm happy to use common events or scripts if there are any that you can point me to, but i am a little cumbersome on both.