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

ARMOR CLASS MACRO

Could anyone tell me what are the macros that form the AC in the fifth edition Sheet ? I would need all the distinct macros (for example: shield, dexterity, special skills, global AC modifier, etc...etc..). I find only @{selected|dexterity_mod} for DEX... TX
1686307202
Gauss
Forum Champion
Hi MasterChico,  Could you clarify which character sheet you are using? There are a number of "fifth edition" sheets, any not all for the same game either.
1686307393
GiGs
Pro
Sheet Author
API Scripter
I don't know the sheet, but I'm wondering if it's using a sheet worker to calculate the AC. If so, the attributes used don't need to connected in a way that's easily detected. And putting anything else in the AC box would be overriden. You could find all the attributes that contribute to AC, but what are you planning to do with them?
1686344568

Edited 1686344627
If you mean the 5E DnD Sheet AC is 10 + Dex Modifier for Base AC. If the char wears any armor add the AC of the Armor to that Base AC... To know the field values for your Macro have a look at the "Attributes and Abilities" tab... MasterChico said: Could anyone tell me what are the macros that form the AC in the fifth edition Sheet ? I would need all the distinct macros (for example: shield, dexterity, special skills, global AC modifier, etc...etc..). I find only @{selected|dexterity_mod} for DEX... TX
Gauss said: Hi MasterChico,  Could you clarify which character sheet you are using? There are a number of "fifth edition" sheets, any not all for the same game either. Hi, i use D&D 5E by ROLL20. I know how to calculate the AC, but i would like know macro the sheet use to calculate it.
1688386872

Edited 1688387229
GiGs said: I don't know the sheet, but I'm wondering if it's using a sheet worker to calculate the AC. If so, the attributes used don't need to connected in a way that's easily detected. And putting anything else in the AC box would be overriden. You could find all the attributes that contribute to AC, but what are you planning to do with them? I would like to create a button that can show me what the AC total PCs  are (simple: /w gm &{template:simple} {{rname=CA}} {{r1=@{selected|ac} }} {{normal=1}} {{charname=@{selected|character_name} }} ) and how they are composed, so i would like to find macro that sheet use to calculate AC TX
1688442602

Edited 1688442683
Gauss
Forum Champion
MasterChico said: GiGs said: I don't know the sheet, but I'm wondering if it's using a sheet worker to calculate the AC. If so, the attributes used don't need to connected in a way that's easily detected. And putting anything else in the AC box would be overriden. You could find all the attributes that contribute to AC, but what are you planning to do with them? I would like to create a button that can show me what the AC total PCs  are (simple: /w gm &{template:simple} {{rname=CA}} {{r1=@{selected|ac} }} {{normal=1}} {{charname=@{selected|character_name} }} ) and how they are composed, so i would like to find macro that sheet use to calculate AC TX There is no "macro" for AC calculations. Character sheets don't need to use an Attribute or a Macro to make calculations, they can do it using code in the sheet. There is nothing for you to pull to show how the AC has been calculated.  However, if you explain why you need it maybe something can be cobbled together.  You can still post the ACs, as in your example above, although most people use tokens for that. The token can hold the AC value making it easy to check. 
Thank you for your answer . "There is nothing for you to pull to show how the AC has been calculated. " is enoght for me. I would like to create a "button" to see, hiden, AC of my PC when we are playing, but without sheet's code I think that is not possibile. For now i can see AC, like my example above, but i would like see how PC's AC is composed only with a click.  Never mind and TX Gauss said: MasterChico said: GiGs said: I don't know the sheet, but I'm wondering if it's using a sheet worker to calculate the AC. If so, the attributes used don't need to connected in a way that's easily detected. And putting anything else in the AC box would be overriden. You could find all the attributes that contribute to AC, but what are you planning to do with them? There is no "macro" for AC calculations. Character sheets don't need to use an Attribute or a Macro to make calculations, they can do it using code in the sheet. There is nothing for you to pull to show how the AC has been calculated.  However, if you explain why you need it maybe something can be cobbled together.  You can still post the ACs, as in your example above, although most people use tokens for that. The token can hold the AC value making it easy to check.