Context: I've been working on a dual wield system that has been arduous to accomplish, but thanks to AAT_Turan and Another Fen it SEEMS to be more-or-less cracked & working. The goal was to create a damage formula that only took the ATK value of the weapon equipped in the character's second weapon slot (rather than the cumulative damage of both equipped weapons).
The issue now is that the damage formula only functions properly if there is a weapon equipped in the 1st slot as well as the 2nd. If I remove the weapon in the 1st slot, the formula breaks.
This is the basic formula btw "a.weapons()[1].params[2] + a.paramBase(2) * 5"
My thought for a dirty solution is to force the the character to always have a weapon equipped in the first weapon slot. I don't think I could handle dealing with a more complex damage formula, but I'm all ears if you have one.
To be clear, I'm not looking for "cursed weapons". I need a method that ensures you MUST have a weapon equipped in the first weapon slot. The slot can be interchanged for any other weapon, but cannot be vacated completely.
I'm using pretty much all of the VisuStella core 1 plugins and MalMZDualWield.
Thanks as always to the legends that keep on giving me hope on this bitter road to glory.
The issue now is that the damage formula only functions properly if there is a weapon equipped in the 1st slot as well as the 2nd. If I remove the weapon in the 1st slot, the formula breaks.
This is the basic formula btw "a.weapons()[1].params[2] + a.paramBase(2) * 5"
My thought for a dirty solution is to force the the character to always have a weapon equipped in the first weapon slot. I don't think I could handle dealing with a more complex damage formula, but I'm all ears if you have one.
To be clear, I'm not looking for "cursed weapons". I need a method that ensures you MUST have a weapon equipped in the first weapon slot. The slot can be interchanged for any other weapon, but cannot be vacated completely.
I'm using pretty much all of the VisuStella core 1 plugins and MalMZDualWield.
Thanks as always to the legends that keep on giving me hope on this bitter road to glory.