Thread: PFRPG Extra Stat to Saves
-
August 14th, 2021, 10:22 #21
- Join Date
- Jan 2013
- Posts
- 13
Found an error in script manager_action_save_EStS.lua, line 35:
sAbility2 = DB.getValue(nodeActor, "saves." .. sSave .. ".ability2", ""); -- bmos adding second save ability
should be changed in:
sAbility2 = DB.getValue(nodePC, "saves." .. sSave .. ".ability2", ""); -- bmos adding second save ability
Another thing: would it be possible to change Loadorder from 30 to 36? With 36, this extension would be completely compatible with Kelrugem extended automation and overlays (which has Loadorder 35 and overwrites ActionSave.getRoll and ActionSave.modSave).
Thanks
-
August 15th, 2021, 14:53 #22bmos' extensions
he/them
-
August 15th, 2021, 18:29 #23My extensions for 3.5e and Pathfinder
Bug reports please here
-
August 15th, 2021, 19:04 #24
So I just did more testing and it doesn't seem like the loadorder was the issue, although I have now set it to 37 just in case.
I had an issue with the order of an "if" statement so it was always treating the PC as if it was an NPC.
I also rewrote modSave_new as previously mentioned to append the existing output of any prior modSave_old.
Extra Stat to Saves v2.5
* Fix typo that was keeping second stat from being added and prompting script error. Thanks to cristmo for reporting this.
* No longer requires inclusion of Kel's code to remain compatible.
Click here to see raw code changesLast edited by bmos; August 15th, 2021 at 19:30.
bmos' extensions
he/them
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks