<!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-G26W6267FY"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-G26W6267FY'); </script>
**[[Hub]] / [[References]] / [Foundry Help](Foundry%20Help.md)**
# Foundry formula commands:
@abilities.str.mod - pulls the value of your strength modifier (replace str with dex, con, wis, int, or cha to get the value of the desired modifier value)
@prof - pulls the value of your proficiency modifier
@details. level - pulls in the value of your TOTAL character level
@classes.warlock.levels - pulls in the value of your warlock class level ( replace warlock with the desired class)
floor() - rounds the value down to nearest whole number
ceil() - rounds the value up to the nearest whole number
@resources.primary.value - pulls the value of Resource 1 from you attributes tab on character sheet, which is usually your Exposure
@resources.secondary.value - pulls the value of Resource 2 from you attributes tab on character sheet, which is usually your AR
@resources.tertiary.value - pulls the value of Resource 3 from you attributes tab on character sheet, which is usually your SR
@resources.fourth.value - pulls the value of Resource 4 from you attributes tab on character sheet (use fifth, sixth, seventh, or eighth to pull from those resource pools)
[Radiant] - adding this into a damage formula will assign radiant or whatever other damage type damage to the value. ex: 4d10[Radiant] (do not put a space between the value and the bracket otherwise it will not provide a number when you roll damage)
more info and commands can be found here https://github.com/foundryvtt/dnd5e/wiki/Roll-Formulas