We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Accept
Advertisement Create a free account

5E Community Sheet Multiattack Macro Classactionmeleeweapon query

Hi guys, I am using the Community 5E sheet. I have some quite heavy going home-brew content going that requires complex multi-attack macros to adjust for ammo and damage types etc. Here is an example of the code and output. &{template:5eDefault} {{weapon=1}} {{title=Radiant Alatariel}} {{subheader=@{selected|character_name}}} {{subheaderright=1H Melee Multiattack}} {{emote=**Makes two radiant sword attacks!}} {{freetextname=Swordmaster : Swordfaire (8th lvl)}} {{freetext=The first time Summer hits this round, she does an additional [[1d8]] damage.}} {{multiattack=1}} {{mattack1=[[1d20cs>19+8+?{Alatariel Bonus?|+0,0|+1,1|+2,2|+3,3}]]}} {{mattack1adv= [[1d20cs>19+8+?{Alatariel Bonus?|+0,0|+1,1|+2,2|+3,3}]]}} {{mdamage1=[[1d8+5+2+?{Alatariel Bonus?|+0,0|+1,1|+2,2|+3,3}]] Slashing [[2d8ro<2]] Radiant}} {{mcritdamage1=Additional [[8+1d8+8]] damage}} {{mattack2=[[1d20cs>19+8+?{Alatariel Bonus?|+0,0|+1,1|+2,2|+3,3}]]}} {{mattack2adv= [[1d20cs>19+8+?{Alatariel Bonus?|+0,0|+1,1|+2,2|+3,3}]]}} {{mdamage2=[[1d8+5+2+?{Alatariel Bonus?|+0,0|+1,1|+2,2|+3,3}]] Slashing [[2d8ro<2]] Radiant}} {{mcritdamage2=Additional [[8+1d8+8]] damage}} I am happy with my macros and they all work fine, but I would dearly love to pull in one or more the classactions from the community sheet. i.e. Normal 0 false false false EN-GB X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:8.0pt; mso-para-margin-left:0cm; line-height:107%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} @{selected|classactionmeleeweapon} The problem is, when I add this to the end of my macro, (see below) the layout gets mucked up. i.e. &{template:5eDefault} {{weapon=1}} {{title=Radiant Alatariel}} {{subheader=@{selected|character_name}}} {{subheaderright=1H Melee Multiattack}} {{emote=**Makes two radiant sword attacks!}} {{freetextname=Swordmaster : Swordfaire (8th lvl)}} {{freetext=The first time Summer hits this round, she does an additional [[1d8]] damage.}} {{multiattack=1}} {{mattack1=[[1d20cs>19+8+?{Alatariel Bonus?|+0,0|+1,1|+2,2|+3,3}]]}} {{mattack1adv= [[1d20cs>19+8+?{Alatariel Bonus?|+0,0|+1,1|+2,2|+3,3}]]}} {{mdamage1=[[1d8+5+2+?{Alatariel Bonus?|+0,0|+1,1|+2,2|+3,3}]] Slashing [[2d8ro<2]] Radiant}} {{mcritdamage1=Additional [[8+1d8+8]] damage}} {{mattack2=[[1d20cs>19+8+?{Alatariel Bonus?|+0,0|+1,1|+2,2|+3,3}]]}} {{mattack2adv= [[1d20cs>19+8+?{Alatariel Bonus?|+0,0|+1,1|+2,2|+3,3}]]}} {{mdamage2=[[1d8+5+2+?{Alatariel Bonus?|+0,0|+1,1|+2,2|+3,3}]] Slashing [[2d8ro<2]] Radiant}} {{mcritdamage2=Additional [[8+1d8+8]] damage}} @{selected|classactionmeleeweapon} results in... And sticking the @{selected|classactionmeleeweapon} in brackets {{@{selected|classactionmeleeweapon}}} doesn't help either. Any ideas how I can pull these classactions, individually and collectively into the macro without causing the multiattack stuff to go screwy? Many thanks in advance. And yes, Summer is an extreme example of what I'm working with - but I figure if I can get it work with her, it'll work with any one. Regards Alison
1583066771

Edited 1583066839
Doing this works quite well - but it could look nicer. There are return characters between each line to space out the results. {{freetext=@{classactionoutput1}   @{classactionoutput4}   @{classactionoutput5}   @{classactionoutput11}   @{classactionoutput12}     @{classactionoutput17}   @{classactionoutput20}}}