One question: What code can I put inside "On Gain Eval" ?
Is it JavaScript code or like Damage Formula code ?
Item Suite
● ARCHIVED · READ-ONLY
-
-
The damage formula is JavaScript so...yes?Is it JavaScript code or like Damage Formula code ?
Let me know if you have a more specific question. -
Hey @ATT_Turan! First, phenomenal suite. Infinite gratitude on creating this.
I wanted to flag a potential bug I may have found? Since I'm only using slots for a materia-like system, I got around it easy enough by just depending on the universal typing and avoiding the "slot type" notetags all together. But I noticed using the "slot type" notetags causes any object to be slottable, even if the "slottable" tag isn't used on the object. Tried it with all plugins disabled save yours and Dungeon's, as well, to be sure. OR if I misread the documentation and am misusing the notetags, feel free to bonk me. lol
Screenshots
-
Thanks, I've uploaded version 1.6 which corrects the bug - I had a parenthesis in the wrong place.I noticed using the "slot type" notetags causes any object to be slottable, even if the "slottable" tag isn't used on the object.
-
You're the best! :kaoluv:Thanks, I've uploaded version 1.6 which corrects the bug - I had a parenthesis in the wrong place.
-
I receive this error: "TypeError TUR.OpenDisassemble is not a function" when calling the disassembly screen.
-
I think there is an mismatch and should probably be readed like:I receive this error: "TypeError TUR.OpenDisassemble is not a function" when calling the disassembly screen.
JavaScript:PluginManager.registerCommand("TUR_ItemSuite", "OpenDisassemble", () => { TUR.OpenDisassemble(); });
because the functions has no args, so it can't be used like that.
change line 435 and replace like above, and see if it fix your issue.
otherwise, ATT_Turan can enlighten you or correct me if I'm wrong. -
No, that's not correct. Functions always have an argument list - it may be empty and unused by parameters in the function, but it still exists. That also wouldn't have anything to do with the reported error.I think there is an mismatch and should probably be readed like...because the functions has no args, so it can't be used like that.
@DarkFenix I had a typo on one line - thanks for reporting the error, a corrected version has been uploaded.