-
August 27th, 2023, 13:11 #181
Last edited by bmos; August 27th, 2023 at 13:14.
bmos' extensions
he/them
-
September 1st, 2023, 13:00 #182bmos' extensions
he/them
-
November 11th, 2023, 13:50 #183
Running Pathfinder 1e ruleset - I'm getting this error for manually created spells.
[ERROR] Script execution error: [string "..Upgrade-NPC-Actions:..C_upgradespells.lua"]:90: setValue: Invalid parameter 1
Spells affected are dropped/deleted from the NPC entirely.
Troubleshooting has determined it is occurring when the Description field of the manually created spell is left Null. Adding any character to the field eliminates the issue, as does adding a character, then removing it.
2023-11-11_10h37_13.jpg
I'm guessing that the description or description_full attribute on the original spell node is not being created at all until the field is edited, causing the setValue command in the extension to fail as the attribute being referenced does not exist on the node.Last edited by KevenSimmons; November 12th, 2023 at 13:46.
If you're not having fun, then you're not doing it right.
-
November 12th, 2023, 15:22 #184
The issue was much simpler and a fix has been pushed.
I was callingCode:DB.deleteNode(node_spell, 'description')
Code:DB.deleteChild(node_spell, 'description')
Last edited by bmos; November 12th, 2023 at 15:24.
bmos' extensions
he/them
-
November 12th, 2023, 17:39 #185
Awesome - thanks !
If you're not having fun, then you're not doing it right.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks