Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[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

Edited 1588688707
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] ]] }}} {{global= @{selected|global_skill_mod} }} @{selected|charname_output} EDIT:  apparently the template used previously has changed and a {{global}} section has been added. As such the previous version of this macro wouldn't show the global skill modifier. Now it should.
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.
You have to have a token selected and that token must be associated with a character sheet.
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.
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...
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.
I checked Sage Advice and it seems to agree so I updated the OP with the global skill modifier.
Awesome script thanks Craig!