The dice formula in rollable()
can use values from other fields as part of the calculation.
**Strength:** number(name=strength,value=14) (mod5e(name=strengthmod,show_symbol,value=strength,dice=1d20+n,dicelabel=Strength Check))
**Reference Field:** rollable(1d20+field[strengthmod])
Fields can reference any number() or mod5e() field within the same object or another one. Use field[fieldname]
or field[objectid.fieldname]
.
Note: Fields in transcluded statblocks need to use the full objectid.fieldname syntax.