MV Using Yanfly's Attachable Augments to increase the number of Item Upgrade Slots?

So, using Yanfly's Attachable Augments and Item Upgrade Slots plugins, I want to know if there's a way to create an augment that increases the number of upgrade slots on a piece of equipment. Anybody know how to do this?

This is what I have, but it doesn't increase the number of item upgrade slots;
Code:
<Augment Attach: Orb>
   Eval: item.upgradeSlots += 1;
   Cannot Detach
</Augment Attach: Orb>
Well, no - where did you find that Eval augment effect? It's not listed in the instructions.

You would have to use the Augment Attach Eval: Type notetag.
You would have to use the Augment Attach Eval: Type notetag.
I just made an edit:
Code:
<Augment Attach Eval: Orb>
   Eval: item.upgradeSlots += 1;
   Cannot Detach
</Augment Attach Eval: Orb>
But this still doesn't work.

Edit: This works!
Code:
<Augment Attach Eval: Orb>
   item.upgradeSlots += 1;
</Augment Attach Eval: Orb>

<Augment Attach: Orb>
   Cannot Detach
</Augment Attach: Orb>
Edit 2: However, it ends up reading: 4/3 slots available.
But this still doesn't work.
Well, no, it's still using that "Eval" command that I specifically said doesn't exist in the plugin's instructions 🤣

And it was also trying to use a plugin command in a JavaScript area.

Edit: This works!
Edit 2: However, it ends up reading: 4/3 slots available.
Just taking a quick look at the plugin, I think you also need to increment item.originalUpgradeSlots

Let me know if that doesn't work.
I think you also need to increment item.originalUpgradeSlots

Let me know if that doesn't work.
It didn't work.
Sorry, not sure what else to recommend.

On line 1012 of the plugin, originalUpgradeSlots is what's referenced for that second number after the slash, then line 1019 uses upgradeSlots for the first number.

If you're saying that you're changing that value but it's not showing up in the game, I don't know what to say.

Edit: Yes, I do. Looks like original is only initialized if you're using randomized slots. So put this in your notetag:
Code:
item.originalUpgradeSlots = item.originalUpgradeSlots || DataManager.getBaseItem(item).upgradeSlots;
item.originalUpgradeSlots++;
Looks like original is only initialized if you're using randomized slots. So put this in your notetag:
Code:
item.originalUpgradeSlots = item.originalUpgradeSlots || DataManager.getBaseItem(item).upgradeSlots;


This works wonders! Thank you so much.

Original thread: https://forums.rpgmakerweb.com/threads/using-yanflys-attachable-augments-to-increase-the-number-of-item-upgrade-slots.160269/