[5e OGL] Universal Ability Check Macro updated for v2.0

1506769700

Edited 1507515737
Update to my Universal Ability Check macro for version 2.0 of the OGL sheet, this macro handles all ability checks for both PC and NPC. (Global skill modifier support supplied by Kyle G.) My other macros: Universal Saving Throw Macro Universal Skill Check Macro @{selected|wtype}&{template:simple} @{selected|rtype}?{Ability Check |Strength,+[[@{selected|strength_mod}]][STR] ]]}} {{rname=^{strength-u}}} {{mod=[[ [[@{selected|strength_mod}]][STR] ]]}} {{r1=[[@{selected|d20}+[[@{selected|strength_mod}]][STR] ]] |Dexterity,+[[@{selected|dexterity_mod}]][DEX] ]]}} {{rname=^{dexterity-u}}} {{mod=[[ [[@{selected|dexterity_mod}]][DEX] ]]}} {{r1=[[@{selected|d20}+[[@{selected|dexterity_mod}]][DEX] ]] |Constitution,+[[@{selected|constitution_mod}]][CON] ]]}} {{rname=^{constitution-u}}} {{mod=[[ [[@{selected|constitution_mod}]][CON] ]]}} {{r1=[[@{selected|d20}+[[@{selected|constitution_mod}]][CON] ]] |Intelligence,+[[@{selected|intelligence_mod}]][INT] ]]}} {{rname=^{intelligence-u}}} {{mod=[[ [[@{selected|intelligence_mod}]][INT] ]]}} {{r1=[[@{selected|d20}+[[@{selected|intelligence_mod}]][INT] ]] |Wisdom,+[[@{selected|wisdom_mod}]][WIS] ]]}} {{rname=^{wisdom-u}}} {{mod=[[ [[@{selected|wisdom_mod}]][WIS] ]]}} {{r1=[[@{selected|d20}+[[@{selected|wisdom_mod}]][WIS] ]] |Charisma,+[[@{selected|charisma_mod}]][CHA] ]]}} {{rname=^{charisma-u}}} {{mod=[[ [[@{selected|charisma_mod}]][CHA] ]]}} {{r1=[[@{selected|d20}+[[@{selected|charisma_mod}]][CHA] ]] }}} @{selected|global_skill_mod} @{selected|charname_output}
1507234858
Update for use future viewers. Added HTML replacement so you can copy-paste directly into your games without having to go through the query. Also changed to use the simple roll template for use with global skill modifiers @{selected|wtype}&{template:simple} @{selected|rtype}?{Stat |Strength,+[[@{selected|strength_mod}]][STR] ]]}} {{rname=^{strength-u}}} {{mod=[[ [[@{selected|strength_mod}]][STR] ]]}} {{r1=[[@{selected|d20}+[[@{selected|strength_mod}]][STR] ]] |Dexterity,+[[@{selected|dexterity_mod}]][DEX] ]]}} {{rname=^{dexterity-u}}} {{mod=[[ [[@{selected|dexterity_mod}]][DEX] ]]}} {{r1=[[@{selected|d20}+[[@{selected|dexterity_mod}]][DEX] ]] |Constitution,+[[@{selected|constitution_mod}]][CON] ]]}} {{rname=^{constitution-u}}} {{mod=[[ [[@{selected|constitution_mod}]][CON] ]]}} {{r1=[[@{selected|d20}+[[@{selected|constitution_mod}]][CON] ]] |Intelligence,+[[@{selected|intelligence_mod}]][INT] ]]}} {{rname=^{intelligence-u}}} {{mod=[[ [[@{selected|intelligence_mod}]][INT] ]]}} {{r1=[[@{selected|d20}+[[@{selected|intelligence_mod}]][INT] ]] |Wisdom,+[[@{selected|wisdom_mod}]][WIS] ]]}} {{rname=^{wisdom-u}}} {{mod=[[ [[@{selected|wisdom_mod}]][WIS] ]]}} {{r1=[[@{selected|d20}+[[@{selected|wisdom_mod}]][WIS] ]] |Charisma,+[[@{selected|charisma_mod}]][CHA] ]]}} {{rname=^{charisma-u}}} {{mod=[[ [[@{selected|charisma_mod}]][CHA] ]]}} {{r1=[[@{selected|d20}+[[@{selected|charisma_mod}]][CHA] ]] }}} @{selected|global_skill_mod} @{selected|charname_output}
1507249883

Edited 1507249978
Is this a GM only macro?  Cause I get some weird error spam and alot more then just abilities in the dropdown box, and this is with my token selected.
1507252628
The Aaron
Pro
API Scripter
You have to have a token selected when you run it.
1507257166
You have to have a token selected and that token must be associated with a character sheet.
1507257622
Kyle G. said: Update for use future viewers. Added HTML replacement so you can copy-paste directly into your games without having to go through the query. Also changed to use the simple roll template for use with global skill modifiers @{selected|wtype}&{template:simple} @{selected|rtype}?{Stat |Strength,+[[@{selected|strength_mod}]][STR] ]]}} {{rname=^{strength-u}}} {{mod=[[ [[@{selected|strength_mod}]][STR] ]]}} {{r1=[[@{selected|d20}+[[@{selected|strength_mod}]][STR] ]] |Dexterity,+[[@{selected|dexterity_mod}]][DEX] ]]}} {{rname=^{dexterity-u}}} {{mod=[[ [[@{selected|dexterity_mod}]][DEX] ]]}} {{r1=[[@{selected|d20}+[[@{selected|dexterity_mod}]][DEX] ]] |Constitution,+[[@{selected|constitution_mod}]][CON] ]]}} {{rname=^{constitution-u}}} {{mod=[[ [[@{selected|constitution_mod}]][CON] ]]}} {{r1=[[@{selected|d20}+[[@{selected|constitution_mod}]][CON] ]] |Intelligence,+[[@{selected|intelligence_mod}]][INT] ]]}} {{rname=^{intelligence-u}}} {{mod=[[ [[@{selected|intelligence_mod}]][INT] ]]}} {{r1=[[@{selected|d20}+[[@{selected|intelligence_mod}]][INT] ]] |Wisdom,+[[@{selected|wisdom_mod}]][WIS] ]]}} {{rname=^{wisdom-u}}} {{mod=[[ [[@{selected|wisdom_mod}]][WIS] ]]}} {{r1=[[@{selected|d20}+[[@{selected|wisdom_mod}]][WIS] ]] |Charisma,+[[@{selected|charisma_mod}]][CHA] ]]}} {{rname=^{charisma-u}}} {{mod=[[ [[@{selected|charisma_mod}]][CHA] ]]}} {{r1=[[@{selected|d20}+[[@{selected|charisma_mod}]][CHA] ]] }}} @{selected|global_skill_mod} @{selected|charname_output} Global skill modifiers don't apply to ability checks.
1507297023
Global skill modifiers don't apply to ability checks on the sheet, but they should, and that can be addressed with a custom macro as Kyle did. In 5e skill checks === ability checks.  If you have guidance and are asked to make a straight Intelligence check rather than a history/arcana/etc... it would still apply.  It's worth noting that Initiative is actually a dexterity ability check, so in theory this should be applied to Initiative as well...
1507297876
Craig said: Global skill modifiers don't apply to ability checks. Kevin said: Global skill modifiers don't apply to ability checks on the sheet, but they should, and that can be addressed with a custom macro as Kyle did. In 5e skill checks === ability checks.  If you have guidance and are asked to make a straight Intelligence check rather than a history/arcana/etc... it would still apply.  It's worth noting that Initiative is actually a dexterity ability check, so in theory this should be applied to Initiative as well... Agreed. Any roll Jack of All Trades can apply to should use the global skill modifier. Jack of All Trades is the original global skill modifier.
1507333527
I checked Sage Advice and it seems to agree so I updated the OP with the global skill modifier.
Awesome script thanks Craig!