damned
March 8th, 2016, 12:57
Im trying to find the right code to sync data to and from the Combat Tracker and the Character Sheet for an update to MoreCore.
Currently I have 6 fields on the PC Sheet nominally named:
Health
Defence
Wounds
C4
C5
Order
These names are all editable for use in your own games. Any changes made to these values on the PC sheet will update the corresponding columns (if set to be active by the GM) on the Combat Tracker. Id like Wounds and Order to be adjustable on the Combat Tracker as well. Eg GM or player might roll initiative or damage and drag it on to a target on the CT and it should update the Char Sheet.
I can see that the 3.5E and 5E rulesets do this for Wounds but there is a lot of other code in those rulesets from Health Bar colours etc to the actual damage. I havent worked out as yet what I need to keep. If anyone has done this, knows the functions to use, can point me to a simpler implementation etc - Id appreciate it!
Currently I have 6 fields on the PC Sheet nominally named:
Health
Defence
Wounds
C4
C5
Order
These names are all editable for use in your own games. Any changes made to these values on the PC sheet will update the corresponding columns (if set to be active by the GM) on the Combat Tracker. Id like Wounds and Order to be adjustable on the Combat Tracker as well. Eg GM or player might roll initiative or damage and drag it on to a target on the CT and it should update the Char Sheet.
I can see that the 3.5E and 5E rulesets do this for Wounds but there is a lot of other code in those rulesets from Health Bar colours etc to the actual damage. I havent worked out as yet what I need to keep. If anyone has done this, knows the functions to use, can point me to a simpler implementation etc - Id appreciate it!