1 Attachment(s)
Maybe this can give you ideas?
Jasharen, I have been working on an extension for my 3.5E game to give me more accurate stats but based on magic items not effects but you might be able to look through what I have done to get some ideas. Make sure you load this in 3.5 ruleset in a test campaign, I wanted to be able to have the characters original rolled ability stats "base" plus the level adjustments "level" and any other permanent changes to a stat such as Manual of gainful exercise "misc", on the combat page and can only be edited by the DM. Then on the main page the stat "score" column is the sum of those 3 and not editable. Then I added another column for ability enhancements next to the ability damage column, I know you can just do a negative number into the damage one to get an enhancement but I prefer it separated for more flexibility. I added more fields to the items to let items be magic and give bonuses to abilities and saves and working on armor bonus types still, its a work in progress :), but when you equip the items it will show on the stats on the character sheet and then I made it so when you apply the effect "AntiMagicField" to the PC all the magic bonuses from the items, armor and weapons will be removed and will show on the character stats. I have only a vague understanding of LUA or any programing language and have had to reverse engineer to figure how to do this so I am sure it could be done much more efficient by someone who knows how.
Oh and on the items in the "type" field put "Weapon", "Armor", or "Wondrous Item" to see the extra fields.
In the files I put comment tags "<!-- added -->" for XML and "-- added" for LUA to mark areas that I changed.
Will try to attach it here for you to download if that's possible.
https://www.fantasygrounds.com/forum...1&d=1528958244
not sure I attached that properly. EDIT: oh it attaches it below automatically.
So I would be very grateful to anyone who wants to look at this and improve it to be more efficient and not break so easy on updates as I don't even really understand how to do the merging of XML files, Thanks.