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 .
×
Create a free account

3.5e Channelled Sound blast macro

Hi I'm trying to make a macro for the damage portion of channelled sound blast which realistically just requires a query but for some reason I cant see what im doing wrong with this macro? &amp;{template:DnD35StdRoll} {{spellflag=true}} {{name=@{character_name} }} {{subtags=Casts [Channelled Sound blast](<a href="https://dndtools.net/spells/complete-mage--58/channeled-sound-blast--818/" rel="nofollow">https://dndtools.net/spells/complete-mage--58/channeled-sound-blast--818/</a>)}} {{School:=Evocation}} {{Level:= Wiz 5}} {{Cmpnts:=V,S}} {{Casting Time:= See Text}} {{Range:= See Text}} {{Duration:= Instantaneous}} {{Area:= Cone-shaped burst}} {{Saving Throw:= Fortitude Half DC:[[@{spelldc1}+@{sf-evocation}]] }} {{Spell Resistance: = [[ 1d20+(@{arcanecasterlevel}+2)+@{spellpen} ]] vs spell resistance.}}{{?{Casting Speed|Swift, {Notes:= Channelled Sound Blast deals [[[[{floor(@{arcanecasterlevel}/2),10}dh1]]d4]] in a 15ft cone.| Standard, {{Notes:= Channelled Sound Blast deals [[[[{@{arcanecasterlevel},10}dh1]]d6]] in a 30ft cone.| Full Round, {{Notes:= Channelled Sound Blast deals [[[[{@{arcanecasterlevel},10}dh1]]d8]] in a 30ft cone.| 2 Full Rounds, {{Notes:= Channelled Sound Blast deals [[[[{@{arcanecasterlevel},10}dh1]]d10]] in a 60ft radius spread and permanently deafens all creatures in the area that fail Fortitude saves.} }} Any help would be appreciated!
1692127073

Edited 1692127357
It looks like you've formatted your field name incorrectly in the Notes section.&nbsp; &amp;{template:DnD35StdRoll} {{spellflag=true}} {{name=@{character_name} }} {{subtags=Casts [Channelled Sound blast](<a href="https://dndtools.net/spells/complete-mage--58/channeled-sound-blast--818/" rel="nofollow">https://dndtools.net/spells/complete-mage--58/channeled-sound-blast--818/</a>)}} {{School:=Evocation}} {{Level:= Wiz 5}} {{Cmpnts:=V,S}} {{Casting Time:= See Text}} {{Range:= See Text}} {{Duration:= Instantaneous}} {{Area:= Cone-shaped burst}} {{Saving Throw:= Fortitude Half DC:[[@{spelldc1}+@{sf-evocation}]] &nbsp;}} {{Spell Resistance: = [[ 1d20+(@{arcanecasterlevel}+2)+@{spellpen} ]] vs spell resistance.}}&nbsp;{{Notes:=?{Casting Speed|Swift,Channelled Sound Blast deals [[[[{floor(@{arcanecasterlevel}/2),10}dh1]]d4]] in a 15ft cone.| Standard,Channelled Sound Blast deals [[[[{@{arcanecasterlevel},10}dh1]]d6]] in a 30ft cone.| Full Round,Channelled Sound Blast deals [[[[{@{arcanecasterlevel},10}dh1]]d8]] in a 30ft cone.| 2 Full Rounds,Channelled Sound Blast deals [[[[{@{arcanecasterlevel},10}dh1]]d10]] in a 60ft radius spread and permanently deafens all creatures in the area that fail Fortitude saves.}} <a href="https://wiki.roll20.net/Roll_Query/Nested" rel="nofollow">https://wiki.roll20.net/Roll_Query/Nested</a> You'll also have an issue with html replacements, so you'll&nbsp; need to replace any vertical pipes with &amp;vert; commas with &amp;comma; and closing braces with &amp;rbrace; (unless they are part of an attribute call, such as&nbsp; @{arcanecasterlevel} where you don't &nbsp;replace them) : &amp;{template:DnD35StdRoll} {{spellflag=true}} {{name=@{character_name} }} {{subtags=Casts [Channelled Sound blast](<a href="https://dndtools.net/spells/complete-mage--58/channeled-sound-blast--818/" rel="nofollow">https://dndtools.net/spells/complete-mage--58/channeled-sound-blast--818/</a>)}} {{School:=Evocation}} {{Level:= Wiz 5}} {{Cmpnts:=V,S}} {{Casting Time:= See Text}} {{Range:= See Text}} {{Duration:= Instantaneous}} {{Area:= Cone-shaped burst}} {{Saving Throw:= Fortitude Half DC:[[@{spelldc1}+@{sf-evocation}]] &nbsp;}} {{Spell Resistance: = [[ 1d20+(@{arcanecasterlevel}+2)+@{spellpen} ]] vs spell resistance.}}&nbsp;{{Notes:=?{Casting Speed|Swift,Channelled Sound Blast deals [[[[{floor(@{arcanecasterlevel}/2)&amp;comma;10&amp;rbrace;dh1]]d4]] in a 15ft cone.| Standard,Channelled Sound Blast deals [[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d6]] in a 30ft cone.| Full Round,Channelled Sound Blast deals [[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d8]] in a 30ft cone.| 2 Full Rounds,Channelled Sound Blast deals [[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d10]] in a 60ft radius spread and permanently deafens all creatures in the area that fail Fortitude saves.}} I don't use this sheet so I'm not sure if there's other issues.
Ok so not that does post to chat after selecting an option from the drop down, but it doesn't include the outcome (So in selecting swift it doesn't display the message after and the damage calculated. Do I just need to put it all in individual notes sections?
I'm pretty sure I've got it sorted! what's your thoughts?&nbsp; &amp;{template:DnD35StdRoll} {{spellflag=true}} {{name=@{character_name} }} {{subtags=Casts [Channelled Sound blast](<a href="https://dndtools.net/spells/complete-mage--58/channeled-sound-blast--818/" rel="nofollow">https://dndtools.net/spells/complete-mage--58/channeled-sound-blast--818/</a>)}} {{School:=Evocation}} {{Level:= Wiz 5}} {{Cmpnts:=V,S}} {{Casting Time:= See Text}} {{Range:= See Text}} {{Duration:= Instantaneous}} {{Area:= Cone-shaped burst}} {{Saving Throw:= Fortitude Half DC:[[@{spelldc1}+@{sf-evocation}]] }} {{Spell Resistance: = [[ 1d20+(@{arcanecasterlevel}+2)+@{spellpen} ]] vs spell resistance.}} ?{Casting Speed|Swift, {{Notes:= Channelled Sound Blast deals[[[[{floor(@{arcanecasterlevel}/2)&amp;comma;10&amp;rbrace;dh1]]d4]]in a **15ft** cone.&amp;rbrace;&amp;rbrace;;| Standard,{{Notes:=Channeled Sound Blast deals[[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d6]]in a **30ft** cone.&amp;rbrace;&amp;rbrace;;| Full Round,{{Notes:=Channeled Sound Blast deals[[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d8]]in a **30ft** cone.&amp;rbrace;&amp;rbrace;;| 2 Full Rounds,{{Notes:=Channeled Sound Blast deals[[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d10]]in a **60ft** radius spread and permanently deafens all creatures in the area that fail Fortitude saves.&amp;rbrace;&amp;rbrace;}
1692134570

Edited 1692189859
Ah yeah I was missing the closing brace for the query: &amp;{template:DnD35StdRoll} {{spellflag=true}} {{name=@{character_name} }} {{subtags=Casts [Channelled Sound blast](<a href="https://dndtools.net/spells/complete-mage--58/channeled-sound-blast--818/" rel="nofollow">https://dndtools.net/spells/complete-mage--58/channeled-sound-blast--818/</a>)}} {{School:=Evocation}} {{Level:= Wiz 5}} {{Cmpnts:=V,S}} {{Casting Time:= See Text}} {{Range:= See Text}} {{Duration:= Instantaneous}} {{Area:= Cone-shaped burst}} {{Saving Throw:= Fortitude Half DC:[[@{spelldc1}+@{sf-evocation}]] &nbsp;}} {{Spell Resistance: = [[ 1d20+(@{arcanecasterlevel}+2)+@{spellpen} ]] vs spell resistance.}}&nbsp;{{Notes:=?{Casting Speed|Swift,Channelled Sound Blast deals [[[[{floor(@{arcanecasterlevel}/2)&amp;comma;10&amp;rbrace;dh1]]d4]] in a 15ft cone.| Standard,Channelled Sound Blast deals [[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d6]] in a 30ft cone.| Full Round,Channelled Sound Blast deals [[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d8]] in a 30ft cone.| 2 Full Rounds,Channelled Sound Blast deals [[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d10]] in a 60ft radius spread and permanently deafens all creatures in the area that fail Fortitude saves.}}} One improvement for your query that I included in my version is anything that is shared between all outputs (at the beginning or end) should be placed outside of the query, especially if it includes any query control characters. E.g. the query portion of your macro:&nbsp; ?{Casting Speed|Swift,&nbsp; {{Notes:=&nbsp;Channelled Sound Blast deals [[[[{floor(@{arcanecasterlevel}/2)&amp;comma;10&amp;rbrace;dh1]]d4]]in a **15ft** cone. &amp;rbrace;&amp;rbrace;; | Standard, {{Notes:=Channeled Sound Blast deals [[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d6]]in a **30ft** cone. &amp;rbrace;&amp;rbrace;; | Full Round, {{Notes:=Channeled Sound Blast deals [[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d8]]in a **30ft** cone. &amp;rbrace;&amp;rbrace;; | 2 Full Rounds, {{Notes:=Channeled Sound Blast deals [[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d10]]in a **60ft** radius spread and permanently deafens all creatures in the area that fail Fortitude saves. &amp;rbrace;&amp;rbrace; } Becomes: {{Notes:= Channelled Sound Blast deals ?{Casting Speed|Swift,&nbsp;[[[[{floor(@{arcanecasterlevel}/2)&amp;comma;10&amp;rbrace;dh1]]d4]]in a **15ft** cone.| Standard,[[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d6]]in a **30ft** cone.| Full Round,[[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d8]]in a **30ft** cone.| 2 Full Rounds,[[[[{@{arcanecasterlevel}&amp;comma;10&amp;rbrace;dh1]]d10]]in a **60ft** radius spread and permanently deafens all creatures in the area that fail Fortitude saves.}&nbsp; }} I've bolded the shared parts to make it easier to see what I took out of the query, as that part will be output&nbsp;regardless of the input you select. It also means that you don't have to change the double closing braces for the 'Notes' section to html replacements.