eastwood said: Sorry to be the bringer of more bad news, but I don't think this is working anymore with the new shaped sheet update. It's now at 7.3.7 and this script just outputs an empty box with the normal title. I'll post a screenshot and get you version numbers and a reproduction path when I get back to my conpiter Very strange, it's working for me with the Shaped sheet. But please give a reproduction path if something doesn't work for you. EDIT: Just realized that the above formulas for 5E-OGL give the wrong answer if the character is a PC and the modifier is negative. Guess I'll have to do some more work on the dice expression after all. EDIT2: Ok, the following code should be better. Unless you make a habit of converting your NPC sheets to PC sheets or something. '5E-OGL' : {
'Strength Save': { 'name' : 'Strength Saving Throw', 'formula' : '[[d20 + (1-%npc%)*%strength_save_bonus% + %globalsavemod% + %npc_str_save%]]' },
'Dexterity Save': { 'name' : 'Dexterity Saving Throw', 'formula' : '[[d20 + (1-%npc%)*%dexterity_save_bonus% + %globalsavemod% + %npc_dex_save%]]' },
'Constitution Save': { 'name' : 'Constitution Saving Throw', 'formula' : '[[d20 + (1-%npc%)*%constitution_save_bonus% + %globalsavemod% + %npc_con_save%]]' },
'Intelligence Save': { 'name' : 'Intelligence Saving Throw', 'formula' : '[[d20 + (1-%npc%)*%intelligence_save_bonus% + %globalsavemod% + %npc_int_save%]]' },
'Wisdom Save': { 'name' : 'Wisdom Saving Throw', 'formula' : '[[d20 + (1-%npc%)*%wisdom_save_bonus% + %globalsavemod% + %npc_wis_save%]]' },
'Charisma Save': { 'name' : 'Charisma Saving Throw', 'formula' : '[[d20 + (1-%npc%)*%charisma_save_bonus% + %globalsavemod% + %npc_cha_save%]]' },
'Strength Check': { 'name' : 'Strength Check', 'formula' : '[[d20 + %strength_mod%]]' },
'Dexterity Check': { 'name' : 'Dexterity Check', 'formula' : '[[d20 + %dexterity_mod%]]' },
'Constitution Check': { 'name' : 'Constitution Check', 'formula' : '[[d20 + %constitution_mod%]]' },
'Intelligence Check': { 'name' : 'Intelligence Check', 'formula' : '[[d20 + %intelligence_mod%]]' },
'Wisdom Check': { 'name' : 'Wisdom Check', 'formula' : '[[d20 + %wisdom_mod%]]' },
'Charisma Check': { 'name' : 'Charisma Check', 'formula' : '[[d20 + %charisma_mod%]]' },
'Acrobatics': { 'name' : 'Dexterity (Acrobatics) Check', 'formula' : '[[d20 + (1-%npc%)*%acrobatics_bonus% + %npc_acrobatics%]]' },
'Animal Handling': { 'name' : 'Wisdom (Animal Handling) Check', 'formula' : '[[d20 + (1-%npc%)*%animal_handling_bonus% + %npc_animal_handling%]]' },
'Arcana': { 'name' : 'Intelligence (Arcana) Check', 'formula' : '[[d20 + (1-%npc%)*%arcana_bonus% + %npc_arcana%]]' },
'Athletics': { 'name' : 'Strength (Athletics) Check', 'formula' : '[[d20 + (1-%npc%)*%athletics_bonus% + %npc_athletics%]]' },
'Deception': { 'name' : 'Charisma (Deception) Check', 'formula' : '[[d20 + (1-%npc%)*%deception_bonus% + %npc_deception%]]' },
'History': { 'name' : 'Intelligence (History) Check', 'formula' : '[[d20 + (1-%npc%)*%history_bonus% + %npc_history%]]' },
'Insight': { 'name' : 'Wisdom (Insight) Check', 'formula' : '[[d20 + (1-%npc%)*%insight_bonus% + %npc_insight%]]' },
'Intimidation': { 'name' : 'Charisma (Intimidation) Check', 'formula' : '[[d20 + (1-%npc%)*%intimidation_bonus% + %npc_intimidation%]]' },
'Investigation': { 'name' : 'Intelligence (Investigation) Check', 'formula' : '[[d20 + (1-%npc%)*%investigation_bonus% + %npc_investigation%]]' },
'Medicine': { 'name' : 'Wisdom (Medicine) Check', 'formula' : '[[d20 + (1-%npc%)*%medicine_bonus% + %npc_medicine%]]' },
'Nature': { 'name' : 'Intelligence (Nature) Check', 'formula' : '[[d20 + (1-%npc%)*%nature_bonus% + %npc_nature%]]' },
'Perception': { 'name' : 'Wisdom (Perception) Check', 'formula' : '[[d20 + (1-%npc%)*%perception_bonus% + %npc_perception%]]' },
'Performance': { 'name' : 'Charisma (Performance) Check', 'formula' : '[[d20 + (1-%npc%)*%performance_bonus% + %npc_performance%]]' },
'Persuasion': { 'name' : 'Charisma (Persuasion) Check', 'formula' : '[[d20 + (1-%npc%)*%athletics_bonus% + %npc_athletics%]]' },
'Religion': { 'name' : 'Intelligence (Religion) Check', 'formula' : '[[d20 + (1-%npc%)*%religion_bonus% + %npc_religion%]]' },
'Sleight of Hand': { 'name' : 'Dexterity (Sleight of Hand) Check', 'formula' : '[[d20 + (1-%npc%)*%sleight_of_hand_bonus% + %npc_sleight_of_hand%]]' },
'Stealth': { 'name' : 'Dexterity (Stealth) Check', 'formula' : '[[d20 + (1-%npc%)*%stealth_bonus% + %npc_stealth%]]' },
'Survival': { 'name' : 'Wisdom (Survival) Check', 'formula' : '[[d20 + (1-%npc%)*%survival_bonus% + %npc_survival%]]' },
'AC' : { 'name' : 'Armor Class', 'formula' : '%AC%' }
},