Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

failing to make a macro for dnd 1e frost brand

this is how it displays when i try to refrence the rolls above  &{template:default} {{name=Frost brand}} {{AC =[[16 - (1d20+6)]]}} {{Damage=[[1d10+3]]}} {{AC vs fire=$[[0]]}} {{Damage vs fire=[[$[[1.computed]]+3]]}} any help would be awesome i feel im close but i done know enough to make it work 
1787418726

Edited 1787418803
Gauss
Forum Champion
You cannot perform math calculations on a reused value, this is what the problem for Damage vs Fire is. Instead set up the calculation for the damage as one long string and then pull out what you need, like this:  &{template:default} {{name=Frost brand}} {{AC=[[16 - (1d20+6)]]}} [[[[1d10+3]]+3]] {{Damage=$[[1]]}} {{AC vs fire=$[[0]]}} {{Damage vs fire=$[[2]]}} Note that I put the calculation where it won't be seen (outside of any terms). This way it is easier to work with.  BTW, what is the difference between AC and AC vs Fire? Your calculation is not changing in the AC vs Fire portion. 
For frost brand it becomes a +6 vs fire enemies so it would get a better to hit 
1787507985
Gauss
Forum Champion
nick w. said: For frost brand it becomes a +6 vs fire enemies so it would get a better to hit  So for non-Fire the total bonus is?  For Fire the total bonus is?
1787621120
Andrew R.
Pro
Sheet Author
I suggest you look at the MetaScriptToolbox which I've used to jazz up Roll Template rolls in the 13th Age Glorantha character sheet.
Gauss said: nick w. said: For frost brand it becomes a +6 vs fire enemies so it would get a better to hit  So for non-Fire the total bonus is?  For Fire the total bonus is? vs regular enemy it is +3 to hit and damage and vs fire it is +6 to hit and damage
1787708968
Gauss
Forum Champion
Here you go: &{template:default} {{name=Frost brand}} [[[[16 - (1d20+3)]]-3]] {{AC=$[[0]]}} [[[[1d10+3]]+3]] {{Damage=$[[2]]}} {{AC vs fire=$[[1]]}} {{Damage vs fire=$[[3]]}}