Is there a way to make another version of duel wield for another slot? By this I mean Duel Wield stays as is but there is another trait that could make slot 6 extend out by one if you have an item equipped?
I did figure out how to array slot 6 but it is always there not contingent on a trait or item.
Is there a way to have it based on a state added by the item?
I did figure out how to array slot 6 but it is always there not contingent on a trait or item.
Game_Actor.prototype.equipSlots = function() {
const slots = [];
for (let i = 1; i < $dataSystem.equipTypes.length; i++) {
slots.push(i);
}
for (let k = 6; k < $dataSystem.equipTypes.length; k++) { //<-- this one I want contingent on an item.
slots.push(6);
}
if (slots.length >= 2 && this.isDualWield()) {
slots[1] = 1;
}
return slots;
};
Is there a way to have it based on a state added by the item?