I am trying to write a spell macro for firebolt. It should produce a message in chat with damage rolled. The roll should be the level appropriate number of dice. &{template:default}{{name=Firebolt}} {{Firebolt Deals=[[ ceil((@{selected|base_level})/4) ]]d10}} This is converted from: [[ceil((@{base_level})/2) ]]d6 used as a global damage modifier for sneak attack.