Thread: Massive Damage: System Shock
-
March 9th, 2019, 02:25 #1
- Join Date
- Sep 2017
- Posts
- 29
Massive Damage: System Shock
Hi Guys.
I have successfully modified the manager_action_save.lua file and successfully debugged the issues I was having. (Mainly ending elseif statements in the wrong place and forgetting formatting)
The only problem is... FG is not reading from that file.
The modifications call for a d20 roll instead of a d10 and should have effects applied automatically.
Instead the application defaults to its standard behavior after the file has been modified and inserted back into the .pak file.
Whenever system shock damage is called for the standard d10 and options are performed.
This is infuriating me!
Any help would be much appreciated.
Another thought is, should I have just made this an .ext file instead?
-
March 9th, 2019, 10:33 #2If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php
-
March 9th, 2019, 11:03 #3
- Join Date
- Sep 2017
- Posts
- 29
Can you override just a single function in a LUA file in that way?
-
March 9th, 2019, 12:36 #4
I don't know, but what I can say is that anything like this should be done as an extension rather than changing the ruleset directly otherwise you'll miss out on updates.
I suspect that you'll have to do more than just update a single function anyway.If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php
-
March 11th, 2019, 19:08 #5
- Join Date
- Apr 2009
- Location
- Fullerton, CA.
- Posts
- 625
Zacchaeus is right in regards to updates, whenever FG updates, you would have to modify the manager_action_save.lua file.
If you must change a function in one of the manager_xxx.lua files then you are changing a high level file and there will be some maintenance on your part over time to keep it working as FG updates. Probably not a lot, but it's worth mentioning.
Wrapping your changes in an extension is a better practice than replacing the function for each FG update.
-
April 21st, 2020, 16:30 #6
- Join Date
- Apr 2020
- Posts
- 4
I am curious if anyone has found a solution to this... making a custom extension to augment or change the standard System Shock (heavy damage) roll.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks