Statistics References

A collection of statistic names reserved for use in rules and sheet descriptions.

Common Statistics
proficiencyYour proficiency bonus.
proficiency:halfHalf your proficiency bonus rounded down. read-only
proficiency:half:upHalf your proficiency bonus rounded up. read-only
initiativeYour total initiative.
initiative:miscAdd a value to the initiative.
hpYour hit points.
Levels
levelYour level. read-only
level:halfHalf your level rouded down. read-only
level:half:upHalf your level rouded up. read-only
level:sorcererYour sorcerer level (applies to all classes, lowercase classname). read-only
level:sorcerer:halfHalf your sorcerer level rouded down. read-only
level:sorcerer:half:upHalf your sorcerer level rouded up. read-only
Innate Speed (Racial)
innate speedThe racial base walking speed.
innate speed:climbThe racial base climbing speed.
innate speed:flyThe racial base flying speed.
innate speed:swimThe racial base swimming speed.
innate speed:burrowThe racial base burrowing speed.
<stat name="innate speed" value="30" bonus="base" />

Append :misc to any of the innate speed stats for features such as monk’s unarmored movement that affect all innate speeds.

<stat name="innate speed:misc" value="10" bonus="unarmored movement" />
Speed

The final calculated speed, innate speeds are applied internally.

speedThe base walking speed.
speed:climbThe base climbing speed.
speed:flyThe base flying speed.
speed:swimThe base swimming speed.
speed:burrowThe base burrowing speed.
<!-- gain a swimming speed equal to you walking speed -->
<stat name="speed:swim" value="speed" bonus="base" />
Armor Class Calculation
ac:miscAdd a value to your Armor Class.
ac:shieldSet the Armor Class of a shield.
ac:calculationValue set to calculate your Armor Class. Always used in combination with bonus="calculation". Used for features such as Unarmored Defense and Draconic Resiliance.
<stat name="ac:misc" value="2" />
<stat name="ac:shield" value="2" bonus="shield" />
<stat name="ac:draconic resilience" value="13" />
<stat name="ac:draconic resilience" value="dexterity:modifier" />
<stat name="ac:calculation" value="ac:draconic resilience" bonus="calculation" equipped="[armor:none]" alt="Draconic Resilience (Sorcerer)" />
ac:armored:armorSet the Armor Class on Armor.
ac:armored:enhancementSet the enhancement bonus on Armor.
ac:armored:miscAdd an additional value on Armor.
<!-- plate armor -->
<stat name="ac:armored:armor" value="18" />
Abilities

strength, dexterity, constitution, intelligence, wisdom, charisma

strengthAdd a value to the ability score.
strength:modifierThe calculated ability modifier. read-only
strength:maxAdd a value to the maximum of the ability score. The base maximum value is 20 based on the 5e rules.
strength:score:setUsed to set the ability score. Used in magic items such as Gauntlets of Ogre Power. Use a bonus="base" to avoid stacking values.
strength:scoreThe total ability score. read-only
<stat name="strength" value="2" />
<stat name="strength:score:set" value="19" bonus="base" />
Saving Throws
strength:saveThe total saving throw value. read-only
strength:save:proficiencyThe proficiency value for the saving throw. Use bonus="proficiency" when setting a value, use bonus="double" setting the value for a feature that doubles proficiency bonus to avoid stacking values
strength:save:miscAdd any other value to the saving throw.
<stat name="strength:save:misc" value="1" />
<stat name="strength:save:proficiency" value="proficiency" bonus="double" />
Skills

acrobatics, animal handling, arcana, athletics, deception, history, insight, intimidation, investigation, medicine, nature, perception, performance, persuasion, religion, sleight of hand, stealth, survival

arcanaFor use in sheet description. read-only
arcana:proficiency The proficiency value for the skill. Use bonus="proficiency" when setting a value, use bonus="double" setting the value for a feature that doubles proficiency bonus to avoid stacking values
arcana:miscAdd any other value to the skill.
arcana:passiveAdd value to skill’s passive value.
<stat name="arcana:misc" value="2" />
<stat name="perception:passive" value="5" />
Misc
attunement:maxThe maximum items you can attune to. The base value is 3.
attunement:current The amount of items attuned to. read-only
<stat name="attunement:max" value="4" bonus="base" />

ID References

Some IDs of elements that are common in other elements, usually as grants.

Skill Proficiency
ID_PROFICIENCY_SKILL_ACROBATICSSkill Proficiency (Acrobatics)
ID_PROFICIENCY_SKILL_ANIMALHANDLINGSkill Proficiency (Animal Handling)
ID_PROFICIENCY_SKILL_ARCANASkill Proficiency (Arcana)
ID_PROFICIENCY_SKILL_ATHLETICSSkill Proficiency (Athletics)
ID_PROFICIENCY_SKILL_DECEPTIONSkill Proficiency (Deception)
ID_PROFICIENCY_SKILL_HISTORYSkill Proficiency (History)
ID_PROFICIENCY_SKILL_INSIGHTSkill Proficiency (Insight)
ID_PROFICIENCY_SKILL_INTIMIDATIONSkill Proficiency (Intimidation)
ID_PROFICIENCY_SKILL_INVESTIGATIONSkill Proficiency (Investigation)
ID_PROFICIENCY_SKILL_MEDICINESkill Proficiency (Medicine)
ID_PROFICIENCY_SKILL_NATURESkill Proficiency (Nature)
ID_PROFICIENCY_SKILL_PERCEPTIONSkill Proficiency (Perception)
ID_PROFICIENCY_SKILL_PERFORMANCESkill Proficiency (Performance)
ID_PROFICIENCY_SKILL_PERSUASIONSkill Proficiency (Persuasion)
ID_PROFICIENCY_SKILL_RELIGIONSkill Proficiency (Religion)
ID_PROFICIENCY_SKILL_SLEIGHTOFHANDSkill Proficiency (Sleight of Hand)
ID_PROFICIENCY_SKILL_STEALTHSkill Proficiency (Stealth)
ID_PROFICIENCY_SKILL_SURVIVALSkill Proficiency (Survival)
Saving Throw Proficiency
ID_PROFICIENCY_SAVINGTHROW_STRENGTHSaving Throw Proficiency (Strength)
ID_PROFICIENCY_SAVINGTHROW_DEXTERITY Saving Throw Proficiency (Dexterity)
ID_PROFICIENCY_SAVINGTHROW_CONSTITUTION Saving Throw Proficiency (Constitution)
ID_PROFICIENCY_SAVINGTHROW_INTELLIGENCE Saving Throw Proficiency (Intelligence)
ID_PROFICIENCY_SAVINGTHROW_WISDOM Saving Throw Proficiency (Wisdom)
ID_PROFICIENCY_SAVINGTHROW_CHARISMA Saving Throw Proficiency (Charisma)
Armor Proficiency
ID_PROFICIENCY_ARMOR_PROFICIENCY_LIGHT_ARMORArmor Proficiency (Light)
ID_PROFICIENCY_ARMOR_PROFICIENCY_MEDIUM_ARMOR Armor Proficiency (Mediaum)
ID_PROFICIENCY_ARMOR_PROFICIENCY_HEAVY_ARMOR Armor Proficiency (Heavy)
ID_PROFICIENCY_ARMOR_PROFICIENCY_SHIELDS Armor Proficiency (Shields)
Weapon Proficiency (Category)
ID_PROFICIENCY_WEAPON_PROFICIENCY_SIMPLE_WEAPONSWeapon Proficiency (Simple)
ID_PROFICIENCY_WEAPON_PROFICIENCY_MARTIAL_WEAPONSWeapon Proficiency (Martial)
ID_PROFICIENCY_WEAPON_PROFICIENCY_SIMPLE_MELEE_WEAPONSWeapon Proficiency (Simple Melee)
ID_PROFICIENCY_WEAPON_PROFICIENCY_MARTIAL_MELEE_WEAPONSWeapon Proficiency (Martial Melee)
ID_PROFICIENCY_WEAPON_PROFICIENCY_SIMPLE_RANGED_WEAPONSWeapon Proficiency (Simple Ranged)
ID_PROFICIENCY_WEAPON_PROFICIENCY_MARTIAL_RANGED_WEAPONSWeapon Proficiency (Martial Ranged)
ID_WOTC_DMG_PROFICIENCY_WEAPON_FIREARMS Weapon Proficiency (Firearms)