Thread: 5E manager_power
-
February 8th, 2023, 21:33 #1
5E manager_power
Couple of things I noticed sniffing around
line 866 - index j is at global scope
line 957 - sDmgType is never defined
Code:table.insert(rDamageFixed.clauses, { dice = {}, modifier = 0, stat = aAbilities[i], dmgtype = sDmgType });
Code:rSave = {};
Specifically, I was hoping to get local calls in the following functions to be prefaced with PowerManager.
performPCPowerAction
parsePower
Thank you for the consideration.
-
February 8th, 2023, 22:27 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 18,915
Thanks for the reports. The move towards an indirect referencing within scripts is a lengthy migration process; so I have been tackling as I rework scripts with a focus on CoreRPG scripts primarily.
I've pushed an update that uses indirect referencing for the 5E PowerManager global script.
Regarding your other mentions:
* Line 866 - j is local from line 774
* Line 957 - Fixed
* Line 1372 - Fixed. (Note: the global vs. local is just for encapsulation and to prevent accidental overlaps; it didn't make a difference in this case.)
Regards,
JPGFG Wish List - http://fgapp.idea.informer.com/
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks