Thread: 5E - Power Action Script Request
-
October 2nd, 2022, 16:32 #1
5E - Power Action Script Request
I'd like to request that references to "onDataChanged" in 5E's power_action.lua all be made to "self.onDataChanged". Presently, it creates a difficult situation if there are multiple extensions that seek to add new action types. Specifically, the Critically Awesome Essentials extension adds new actions for placing tokens for area of effect spells, and the Capital Gains extension adds new actions for tracking dynamic resources such as Monk Ki. Due to the fact that CAE loads first but does not have an override for "onDataChanged", when CG attempts to set the override via "super.onDataChanged" the change is not cascaded down to the ruleset, resulting in the display text not updating dynamically for resource actions when both extensions are in use. However, with the requested change to the ruleset both extensions are able to easily work alongside each other. Thanks for your consideration
My Forge creations: https://forge.fantasygrounds.com/crafter/9/view-profile
My GitHub: https://github.com/MeAndUnique
Buy me a coffee: https://ko-fi.com/meandunique
Discord: MeAndUnique#6805
-
October 2nd, 2022, 17:11 #2
Glad you guys are on the case!
-
October 9th, 2022, 05:59 #3
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,557
I've pushed these changes for the 5E/3.5E/d20M/PFRPG/SFRPG rulesets to the Test channel.
Regards,
JPG
-
October 12th, 2022, 21:31 #4
Awesome, thank you very much!
My Forge creations: https://forge.fantasygrounds.com/crafter/9/view-profile
My GitHub: https://github.com/MeAndUnique
Buy me a coffee: https://ko-fi.com/meandunique
Discord: MeAndUnique#6805
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks