DrDhoom's Weapon Upgrade - Fix LUK Stat

Hello,

Would someone be able to take a look at, and hopefully help me resolve a (presumably simple) fix to DrDhoom's Weapon Upgrade plugin?


The error is pretty simple, specifically the LUK star doesn't increase when upgrading. If you check the replies to the thread, they have actually adtrssed this issue once before, however their fix only fixed LUK upgrades being shown in the weapon upgrade scene. My best guess is that there's just a line in the plugin that cuts off one parameter too early (as LUK is the last parameter in order).

Thank you!
~Bumpers~
Bump
Bump
Yes please. I brought this up on the original thread. I will be watching this thread. Lol.
Bump
Bump
bump.

You thought I forgot about this huh?
Another bump
Bi-Monthly Bumpers 😛
Bi-Monthly Bumpers 😛

Now i forget, but i have personal issues going on rn and the forum was in dismay. LMAO
Bump
I think it's this section, in line 703.

KeD4eOT.png

If you change
JavaScript:
for (var j = 0; j < 7; j++)
into
JavaScript:
for (var j = 0; j <= 7; j++)
it should work
Haha, one line of code is all it takes to fix an issue me and @Jenova been facing for months, thanks a ton! 🙏
Haha, one line of code is all it takes to fix an issue me and @Jenova been facing for months, thanks a ton! 🙏

Please let me know if it works so i can bookmark this later.
Please let me know if it works so i can bookmark this later.

Happy to say that with that simple fix, it works like a charm!

Original thread: https://forums.rpgmakerweb.com/threads/drdhooms-weapon-upgrade-fix-luk-stat.124011/