Basically in this example scenario, I have a Sword, I have a gem which adds ATK+5 to the sword and a Scroll that adds ATK+5 to the gem.
So what would happen is, you can upgrade the gem with the scroll to change the gem from +5 to +10, you would then upgrade the sword with the new upgraded gem. Is that possible?
Right now I am able to upgrade the sword with the gem but when I try to upgrade the gem with the scroll I get a message that says:
Cannot read property '2' of undefined.
In the item note boxes I have:
Gem....
<menu category: test>
<Upgrade weapon type: 1>
<upgrade effect>
ATK: +5
</upgrade effect>
Scroll....
<menu category: test>
<Upgrade item type: all>
<upgrade effect>
ATK: +5
</upgrade effect>
Am I missing something? how come the gem works on the sword but the scroll wont work on the gem?
Please note that it says <menu category: test> because I was testing the creation of a menu category and that part works fine. They appear in that cat.
So what would happen is, you can upgrade the gem with the scroll to change the gem from +5 to +10, you would then upgrade the sword with the new upgraded gem. Is that possible?
Right now I am able to upgrade the sword with the gem but when I try to upgrade the gem with the scroll I get a message that says:
Cannot read property '2' of undefined.
In the item note boxes I have:
Gem....
<menu category: test>
<Upgrade weapon type: 1>
<upgrade effect>
ATK: +5
</upgrade effect>
Scroll....
<menu category: test>
<Upgrade item type: all>
<upgrade effect>
ATK: +5
</upgrade effect>
Am I missing something? how come the gem works on the sword but the scroll wont work on the gem?
Please note that it says <menu category: test> because I was testing the creation of a menu category and that part works fine. They appear in that cat.