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 .
×

D&D 5e MancerRoll output font size weird (Jim's Magic Missile)

TL;DR: Can I change the fontsize of a dice roll within a MancerRoll template output? And is there a functional 'next line/line break' HTML entity in Roll20 macros? So I have undertaken the endless task of coming up with alternatives to getting spells like Jim's Magic Missile or Scorching Ray to work with a single click. These spells fire off a number of rays, depending on the level you cast them at, each requiring their own Attack- and Damage roll. I have seen Devin R. 's " Scorching Ray Macros (DND 5e) ", but I am not a fan of having all these separate macros or having to set up multiple tables, as it creates to much clutter in the sheets, so I tried to get it all in one. I've been trying to make something with the MancerRoll template as a Character Sheet's Ability, in order to get everything to work with a single macro. It honestly doesn't look too bad, but the problem is the size of the roll outputs and the fact that the macro doesn't want to acknowledge the 
 which should be next line break. &{template:mancerroll} {{title=Raw Magic Missile}} {{c1=[[?{Level|1st level, 1|2nd level, 2|3rd level, 3|4th level, 4}d1]]}}  {{option1=Attack 1: [[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]. 
Dmg: [[2d4]] force ([[5d4]] on crit) 
Attack 2: [[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]. 
Dmg: [[2d4]] force ([[5d4]] on crit) 
Attack 3: [[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]. 
Dmg: [[2d4]] force ([[5d4]] on crit)}}  {{option2=4 missiles.}} {{option3=5 missiles}} {{option4=6 missiles}} The result looks like this right now: Not sure why the numbers are so big, but the same happens with other MancerRoll template usages, so it's not something I did wrong in the code. The HTML 
 seemed to work for the first line, but then stops working for the subsequent lines.
1773959985
timmaugh
Pro
API Scripter
You can use %NEWLINE% as a line break within a template.
Thanks timmaugh, that did the trick on that part. I tried several other things, and found a solution with the Default Template that actually works! The code is a bit of a behemoth, but it seems to work without issue. The output looks like this: (I renamed the spell to Raw instead of Jim's) Here's the ability macro for it, which is on a character's sheet: ?{Cast at what level?|Level 1,&{template:default} {{name=Raw Magic Missiles%NEWLINE% Attacks and Damage ([Crits](`/r 5d4))}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}}|Level 2,&{template:default} {{name=Raw Magic Missiles%NEWLINE% Attacks and Damage ([Crits](`/r 5d4))}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}}|Level 3,&{template:default} {{name=Raw Magic Missiles%NEWLINE% Attacks and Damage ([Crits](`/r 5d4))}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}}|Level 4,&{template:default} {{name=Raw Magic Missiles%NEWLINE% Attacks and Damage ([Crits](`/r 5d4))}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}}|Level 5,&{template:default} {{name=Raw Magic Missiles%NEWLINE% Attacks and Damage ([Crits](`/r 5d4))}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}}|Level 6,&{template:default} {{name=Raw Magic Missiles%NEWLINE% Attacks and Damage ([Crits](`/r 5d4))}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}}|Level 7,&{template:default} {{name=Raw Magic Missiles%NEWLINE% Attacks and Damage ([Crits](`/r 5d4))}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}}|Level 8,&{template:default} {{name=Raw Magic Missiles%NEWLINE% Attacks and Damage ([Crits](`/r 5d4))}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}&rbrace|Level 9,&{template:default} {{name=Raw Magic Missiles%NEWLINE% Attacks and Damage ([Crits](`/r 5d4))}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}} {{[[1d20+@{spell_attack_bonus}]] | [[1d20+@{spell_attack_bonus}]]= [[2d4]] Force}}} I decided to make a simple button in the header for the Crits, though the calculation could be a bit prettier. For some reason the [Crits](`[[5d4]] force) did not seem to work well.  I made use of 2 attack rolls, as I was too lazy to figure out how to get the code to check the character sheet's toggle for advantage/disadvantage/normal/always. This should also work for other multiple ray spells like Scorching Ray and even Eldritch Blast, with some adjustments.