I am trying to adapt a macro that was originally written to make a clickable "sneak attack" button below attack rolls. I am adapting it for a "Hail of Thorns" button for attack rolls for a ranger. it will roll 1d10 per level of the character with a limit of 6d10. The original looked like this: sneak attack: &{template:simple}{{rname=Sneak
Attack}}{{normal=1}}{{mod=[[ceil(@{base_level}/2)]]d6}}{{r1=[[[[ceil(@{base_level}/2)]]d6]]}}{{charname=@{character_name}}} but instead of the sneak attack parameters outlined there, I want to use this bit to roll my damage for Hail of Thorns ranger spell 1d10 per level up to 6: ([[{@{level},6}kl1]])d10 Everything I've tried breaks the macro. Can anybody point me in the right direction?