
Hello, I've been trying to work out a macro for my resident pyromaniac wizard. He's got Elemental Adept feat, that transform all rolled 1s in a fire based spell in 2. I've found this thread: <a href="https://app.roll20.net/forum/post/5419593/elemental-adept-macro" rel="nofollow">https://app.roll20.net/forum/post/5419593/elemental-adept-macro</a> wich gives me the base damage roll expression, e.g. : {8d6+8d2r<1}kh8 The problem si, when I try to apply the same logic to the higer level damage rolls, the macro simply do not work or roll only base damage. Here what I've tried: @{selected|wtype}&{template:atkdmg} {{mod=DC12}} {{rname=Fireball}} {{r1=[[0d20cs>20]]}} {{r2=[[0d20cs>20]]}} 0 {{range=150 feet}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[{8d6+8d2r<1}kh8]]}} {{dmg1type=Fire}} 0 {{dmg2=[[0]]}} {{dmg2type=}} {{crit1=[[{8d6+8d2r<1}kh8[CRIT]]]}} {{crit2=[[0[CRIT]]]}} {{save=1}} {{saveattr=Dexterity}} {{savedesc=}} {{savedc=[[[[(@{selected|spell_save_dc})]][SAVE]]]}} {{desc=}} {{hldmg= [[({1d6+1d2<r1}kh1]] *?{Cast at what level?|Level 3,0|Level 4,1|Level 5,2|Level 6,3|Level 7,4|Level 8,5|Level 9,6})d6]]}} {{hldmgcrit=[[(1*?{Cast at what level?|Level 3,0|Level 4,1|Level 5,2|Level 6,3|Level 7,4|Level 8,5|Level 9,6})d6]]}} {{spelllevel=3}} {{innate=}} {{globalattack=@{selected|global_attack_mod}}} {{globaldamage=[[0]]}} {{globaldamagecrit=[[0]]}} {{globaldamagetype=@{Papa Lengba|global_damage_mod_type}}} ammo= @{selected|charname_output} the problematic part is in bold and underscored in the code. I'm really mistified by this