I am playing in a heavily homebrewed D&D 5e game and ended up making some macro's for my attacks for two main reasons. One so that I dont have 10 different attacks in my attack section of the bar, I just have three token actions depending on which weapon I want to use. Secondly, my character switches between melee and range mid combat and has different bonus's depending on which attack style I am using. This makes keeping track of global modifiers annoying and a major hassle. Instead I use the reference for repeating resources to do a modified global modifier that only gets referenced in the macro's I need tit to be referenced in. The issue is when I have bless active it is rolling 1d4 for each die in a disadvantage or advantage roll. I want it to roll just one d4 and use the result in both. Or, calculate the modifier once and reference that modifier for the dice rolls. I will put the full macro below, then pare it down to just the relevant bits. @{wtype}&{template:atkdmg} {{mod=+[[[[?{Sharpeye?|No,0|Yes,1}*3]][Sharpeye]+@{repeating_resource_$11_resource_Left}d4cs5cf0[Bless]+[[2*@{repeating_resource_$11_resource_right}]][Ranging Potion]+2[Treasonous Ring]+1[Amulet of power]+@{strength_mod}[Strength]+@{pb}[PROF]+2[MAGIC]+1[rune arrow]+3[Armor]]] }} {{rname=Elderwood Longbow}} {{r1=[[1d20+[[?{Sharpeye?|No,0|Yes,1}*3]][Sharpeye]+@{repeating_resource_$11_resource_Left}d4cs5cf0[Bless]+[[2*@{repeating_resource_$11_resource_right}]][Ranging Potion]+2[Treasonous Ring]+1[Amulet of power]+@{strength_mod}[Strength]+@{pb}[PROF]+2[MAGIC]+1[rune arrow]+3[Armor]]]}} @{rtype}cs>20+[[?{Sharpeye?|No,0|Yes,1}*3]][Sharpeye]+@{repeating_resource_$11_resource_Left}d4cs5cf0[Bless]+[[2*@{repeating_resource_$11_resource_right}]][Ranging Potion]+2[Treasonous Ring]+1[Amulet of power]+@{strength_mod}[Strength]+@{pb}[PROF]+2[MAGIC]+1[rune arrow]+3[Armor]]]}} {{r2=[[1d20+[[?{Sharpeye?|No,0|Yes,1}*3]][Sharpeye]+@{repeating_resource_$11_resource_Left}d4cs5cf0[Bless]+[[2*@{repeating_resource_$11_resource_right}]][Ranging Potion]+2[Treasonous Ring]+1[Amulet of power]+@{strength_mod}[Strength]+@{pb}[PROF]+2[MAGIC]+1[rune arrow]+3[Armor]]]}} {{attack=1}} {{range=80/320 ft}} {{damage=1}} {{dmg1flag=1}} {{dmg1=[[1d8+@{strength_mod}+1d8[Treasonous Ring]+3[Armor]+2[Ava's Attractor]+1[Amulet of power]+2[magic]+1[Rune arrow]+@{repeating_resource_$11_resource_Right}d6[Ranging Potion]+?{Sharpeye?|No,0|Yes,1}d4[Sharpeye]+[[@{wisdom_mod}*@{repeating_resource_$10_resource_right}]][Marked]]]}} {{dmg1type=Piercing}} {{dmg2flag=1}} {{dmg2=[[2d6[Elder Longbow]]]}} {{dmg2type=Force}} {{crit1=[[1d8+1d8[Treasonous Ring]+?{Sharpeye?|No,0|Yes,1}*1d4[Sharpeye]+1d6*@{repeating_resource_$11_resource_Right}[Ranging Potion]]]}} {{crit2=[[2d6]]}} {{desc=non-Magical Recovery [[1d4cs3cs2cs1cf4]] (1-3 recovers) Magical Recovery [[1d10cf>5cs<4]] (1-4 recovers)}} {{charname=Asger}} Pared down macro @{wtype}&{template:atkdmg}
{{mod=+[[@{repeating_resource_$11_resource_Left}d4cs5cf0[Bless]+@{strength_mod}[Strength]+@{pb}[PROF]+2[MAGIC]]] }} {{rname=Elderwood Longbow}}
{{r1=[[1d20+[[@{repeating_resource_$11_resource_Left}d4cs5cf0[Bless]+@{strength_mod}[Strength]+@{pb}[PROF]+2[MAGIC]]]}}
@{rtype}cs>20+@{repeating_resource_$11_resource_Left}d4cs5cf0[Bless]+@{strength_mod}[Strength]+@{pb}[PROF]+2[MAGIC]]]}}
{{r2=[[1d20+@{repeating_resource_$11_resource_Left}d4cs5cf0[Bless]+@{strength_mod}[Strength]+@{pb}[PROF]+2[MAGIC]]]}} {{attack=1}} {{range=80/320 ft}} {{damage=1}}
{{dmg1flag=1}} {{dmg1=[[1d8+@{strength_mod}]]}}
{{dmg1type=Piercing}} {{dmg2flag=1}} {{dmg2=[[2d6[Elder Longbow]]]}}
{{dmg2type=Force}} {{crit1=[[1d8]]}} {{crit2=[[2d6]]}} {{charname=Asger}} Is there a way to reference the first bless roll in the other rolls? My friend that taught me most of what I know about roll20 Macro's said I could use $[[0]] to reference previous rolls however no matter where I try inserting that breaks the macro.