Function and Variable List - ThaumRystra/DiceCloud GitHub Wiki
See the list of functions in Mathjs for more details.
strength
dexterity
constitution
intelligence
wisdom
charisma
strengthMod
dexterityMod
constitutionMod
intelligenceMod
wisdomMod
charismaMod
hitPoints
tempHP
experience
proficiencyBonus
speed
armor
level1SpellSlots
level2SpellSlots
level3SpellSlots
level4SpellSlots
level5SpellSlots
level6SpellSlots
level7SpellSlots
level8SpellSlots
level9SpellSlots
ki
sorceryPoints
rages
superiorityDice
expertiseDice
rageDamage
d6HitDice
d8HitDice
d10HitDice
d12HitDice
This is where you find resistance, immunity and vulnerability. They will give you the number you multiply your damage recieved by, so 0
for immunity, 0.5
for resistance, and 2
for vulnerability.
acidMultiplier
bludgeoningMultiplier
coldMultiplier
fireMultiplier
forceMultiplier
lightningMultiplier
necroticMultiplier
piercingMultiplier
poisonMultiplier
psychicMultiplier
radiantMultiplier
slashingMultiplier
thunderMultiplier
strengthSave
dexteritySave
constitutionSave
intelligenceSave
wisdomSave
charismaSave
acrobatics
animalHandling
arcana
athletics
deception
history
insight
intimidation
investigation
medicine
nature
perception
performance
persuasion
religion
sleightOfHand
stealth
survival
initiative
dexterityArmor
<className>Level
Where you replace with the exact name of your class, so FighterLevel
will give you your number of levels in Fighter, provided you have that class, otherwise 0
.
level
Level will return the sum of all your levels in all your classes. It is not based on your experience. If you have more experience than you need to level up, you'll need to increase your level in a class, or add a new class for this value to change.
Spells and spell attacks have access to a further 2 variables, inherited from their spell list
attackBonus
DC