Trying to set up macros by editing the roll20 base spell macro for doom, and everything seems to work but the concentration check which seems to roll a range. In all tests it only comes back with a result of 1. I've tried changing it to @{concentrationcheck} but that doesn't seem to work either. Is there something missing or incorrect in this? (edited macro for dancing lights spell below, beleived coding problem in bold) &{template:DnD35StdRoll}
{{spellflag=true}} {{name= @{character_name} casts Dancing Lights }}
{{School:=Evocation (Light)}} {{Level: =Arcane Attunement}} {{Comp'nts:=V, S}}
{{Casting Time:= 1 std action}} {{Range:= Medium ([[100+10*@{casterlevel2}]]ft)}}
{{Effect:= 4 lights, all within 10’ radius}} {{Duration:= 1 min.}} {{compcheck=
Conc:[[{1d20+4+@{concentration} }>?{Concentration DC=15+Spell Level or
10+Damage Received|15}]] }} {{succeedcheck=Ghostly lanterns appear around him}}
{{failcheck=Small motes of light pop around him as his spell fizzles }}
{{notes=Dancing Lights creates up to four lights that resemble lanterns (Bright
light to 20', shadowy to 40') for 1 Minute. They must stay within a
10-foot-radius area in relation to each other but otherwise move as desired (no
concentration required): forward or back, up or down, straight or turning
corners, or the like. The lights can move up to 100 feet per round. A light
winks out if the distance between you and it exceeds range.}}