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

Issue making a Nested Query

I'm having a little issue making nested queries, and I'm not sure where I went wrong. I was wondering if someone could be kinda enough to assist me in fixing this macro and showing me where I went wrong so that I know how to do it right the first time? Thank you!

/me ?{Which crit?

|CRIT8, rolled a CRIT8! He gains Resist [[3]] and Regeneration [[5]] until he takes damage.

|CRIT10, rolled a CRIT10! ?{Choose two!&#124;Saving throw + Heal&#44; He makes a saving throw: [[1d20cs>12cf<7+2dh1]]. If successful&#44; ?{Who&#124;himself&#124;Penny&#124;Gordon&#124;Silver&#124;Staccato&#124;Dusky&#124;Twelve&#124;Dr. Sunfire&#124;Semolina&#124;Aegis&#125; may remove a (save ends) effect. Then he heals ?{Who&#124;himself&#124;Penny&#124;Gordon&#124;Silver&#124;Staccato&#124;Dusky&#124;Twelve&#124;Dr. Sunfire&#124;Semolina&#124;Aegis&#125; for [[1d10]] HP.&#124;Saving throw + Resist/Regen&#44; He makes a saving throw: [[1d20cs>12cf<7+2dh1]]. If successful&#44; ?{Who?&#124;himself&#124;Penny&#124;Gordon&#124;Silver&#124;Staccato&#124;Dusky&#124;Twelve&#124;Dr. Sunfire&#124;Semolina&#124;Aegis&#125; may remove a (save ends) effect. He gains Resist [[5]] and Regeneration [[7]] until he takes damage.&#124;Heal + Resist/Regen&#44; He gains Resist [[5]] and Regeneration [[7]] until he takes damage. Then he heals ?{Who?&#124;himself&#124;Penny&#124;Gordon&#124;Silver&#124;Staccato&#124;Dusky&#124;Twelve&#124;Dr. Sunfire&#124;Semolina&#124;Aegis&#125; for [[1d10]] HP.&#125;

|CRIT12, rolled a CRIT12! He removes any number of (save ends) effects from himself and gains [[2d8]] HP.}
January 31 (9 years ago)
You'll need to add another "layer" of HTML entities to your ?{Who} Query (e.g. &#124; to &amp;#124;) in order to nest it within your ?{Choose two!} Query.
January 31 (9 years ago)

Edited January 31 (9 years ago)
Edit: It seems to be replacing my code in the text box. Here's a screenshot:

January 31 (9 years ago)

Edited January 31 (9 years ago)
Like this:

/me ?{Which crit?|

CRIT8, rolled a CRIT8! He gains Resist [[3]] and Regeneration [[5]] until he takes damage. |

CRIT10, rolled a CRIT10! ?{Choose two!&#124;

    Saving throw + Heal&#44; He makes a saving throw: [[1d20cs>12cf<7+2dh1]]. If successful&amp;#44; ?{Who&amp;#124;himself&amp;#124;Penny&amp;#124;Gordon&amp;#124;Silver&amp;#124;Staccato&amp;#124;Dusky&amp;#124;Twelve&amp;#124;Dr. Sunfire&amp;#124;Semolina&amp;#124;Aegis&amp;#125; may remove a (save ends) effect. Then he heals ?{Who&amp;#125; for [[1d10]] HP. &#124;

    Saving throw + Resist/Regen&#44; He makes a saving throw: [[1d20cs>12cf<7+2dh1]]. If successful&amp;#44; ?{Who&amp;#124;himself&amp;#124;Penny&amp;#124;Gordon&amp;#124;Silver&amp;#124;Staccato&amp;#124;Dusky&amp;#124;Twelve&amp;#124;Dr. Sunfire&amp;#124;Semolina&amp;#124;Aegis&amp;#125; may remove a (save ends) effect. He gains Resist [[5]] and Regeneration [[7]] until he takes damage. &#124;

    Heal + Resist/Regen&#44; He gains Resist [[5]] and Regeneration [[7]] until he takes damage. Then he heals ?{Who&amp;#124;himself&amp;#124;Penny&amp;#124;Gordon&amp;#124;Silver&amp;#124;Staccato&amp;#124;Dusky&amp;#124;Twelve&amp;#124;Dr. Sunfire&amp;#124;Semolina&amp;#124;Aegis&amp;#125; for [[1d10]] HP. &#125; |

CRIT12, rolled a CRIT12! He removes any number of (save ends) effects from himself and gains [[2d8]] HP.

}
January 31 (9 years ago)

Edited January 31 (9 years ago)
Well, that's certainly closer to what I wanted. Except it brought this up in the drop-down:



The very last ?{Who} somehow combined with |Heal + Resist/Regen,

Edit:
Never mind! I noticed you edited your post and tried again. Now it works. I'll study this and see if I can learn it a bit better in the future. Thank you for the help!
January 31 (9 years ago)
Glad I could help!
January 31 (9 years ago)

Edited January 31 (9 years ago)
/me ?{Which crit|CRIT8, 

?{Which target|

First, rolled a CRIT8! She moves up to her speed and drives her dagger into @{target|token_name} from behind, dealing 

?{Combat Advantage?| 

Yes, [[1d12+2]] (with combat advantage)| 

No, [[1d12]]} and before they have a moment to react...| 

Second, ?{Combat Advantage?| 

Yes, jumps to a square adjacent to @{target|token_name} and deals [[1d8+2]] (with combat advantage)| 

No, jumps to a square adjacent to @{target|token_name} and deals [[1d8]]} damage to them from behind as well, this time remaining in place.} |

CRIT10, rolled a CRIT10! She moves up to her speed, driving her blades into her enemy, and twists them, dealing 

?{Combat Advantage?| 

Yes, [[2d10+2]] (with combat advantage)| 

No, [[2d10]]} damage to @{target|token_name}! They get Ongoing Damage [[3]] (save ends). |

CRIT12, rolled a CRIT12! She impales a blade in @{target|token_name} dealing 

?{Combat Advantage?|

Yes, [[1d8+2]] damage (with combat advantage) to them... then she drives the other blade in as well dealing another [[1d8+2]] damage (with combat advantage)|

No, [[1d8]] damage to them... then she drives the other blade in as well dealing another [[1d8]] damage} to them.}


I'm only coming back cause I had to make another and it's successful, but I just wanted to make sure things are as concise as they can possibly be. If you know any means to make it shorter, that would be nice! Otherwise, I just wanted to show you that I think I know how to do it now. :D
January 31 (9 years ago)

Edited January 31 (9 years ago)
Awesome! This is probably as short as I can make it:
! [[0 ?{Combat Advantage?|No, ]]|Yes, + 2]] (with combat advantage)} (This line is hidden from the text chat.)
/me ?{Which crit|

CRIT8, rolled a CRIT8! ?{Which target&#124;

    First&#44; She moves up to her speed and drives her dagger into @{target|token_name} from behind&amp;#44; dealing [[1d12 ?{Combat Advantage?&amp;#125; damage&amp;#44; and before they have a moment to react... &#124;

    Second&#44; She jumps to a square adjacent to @{target|token_name} and deals [[1d8 ?{Combat Advantage?&amp;#125; damage to them from behind as well&amp;#44; this time remaining in place.
        
    &#125; |

CRIT10, rolled a CRIT10! She moves up to her speed&#44; driving her blades into her enemy&#44; and twists them&#44; dealing [[2d10 ?{Combat Advantage?&#125; damage to @{target|token_name}! They get Ongoing Damage [[3]] (save ends). |

CRIT12, rolled a CRIT12! She impales a blade in @{target|token_name} dealing [[1d8 ?{Combat Advantage?&#125; damage to them. Then she drives the other blade in as well&#44; dealing another [[1d8 ?{Combat Advantage?&#125; damage to them.

}
February 01 (9 years ago)

Edited February 01 (9 years ago)
Oh wow, that looks really nice! Think you could help me understand what you did here and break it down so that I can figure out how to do them this way too?

I appreciate all the help, man!

Also, I have one last thing I actually need help with involving all this, and I'll leave you alone. :P

This one is a different character's critset, and it uses a few different things, but I got confused on this one too. It'll be better if I give you each crit separately, and it's to follow the same rules as the ones before (i.e. "Which crit" -> "CRIT8, rolled a CRIT8!" ect.).

Crit 8:
/me learned quite a bit from what @{target|token_name} has shown them, but had an idea of what else they could do too. He uses one of that enemy's moves without paying it's pip cost: ?{Number of moves?||2, [[1d2]]|3, [[1d3]]|4, [[1d4]]|5, [[1d5]]|6, [[1d6]]|7, [[1d7]]|8, [[1d8]]|9, [[1d9]]|10, [[1d10]]|11, [[1d11]]|12, [[1d12]]|13, [[1d13]]|14, [[1d14]]|15, [[1d15]]}
"Time to use your own tactics against you."
Crit 10:
/me had observed @{target|token_name} long enough to find the fault in their defenses, and points it out to the rest of the group. @{target|token_name} loses and can't gain Resist, and gains Vulnerability [[5]] until the end of Solomon's next turn.
"You've left yourself vulnerable, @{target|token_name}! Everyone, attack him right **there**!"
Crit 12:
/me scans his ally @{target|token_name}, and remembers the actions they have preformed throughout this and previous battles, as well as making educated guesses on what else they have the potential to do. He uses one of @{target|token_name}'s combat talents without paying it's pip cost: ?{Number of moves?||2, [[1d2]]|3, [[1d3]]|4, [[1d4]]|5, [[1d5]]|6, [[1d6]]|7, [[1d7]]|8, [[1d8]]|9, [[1d9]]|10, [[1d10]]|11, [[1d11]]|12, [[1d12]]|13, [[1d13]]|14, [[1d14]]|15, [[1d15]]}
"I believe I saw you do it this way, right,  @{target|token_name}? Should prove effective."

February 01 (9 years ago)

Edited February 03 (9 years ago)
Sure, no problem!

The key strategy is factoring Roll Queries, i.e. factoring elements (which are common to each dropdown field of a Query) out of that Query. For example,
?{Number of moves?|2, [[1d2]]|3, [[1d3]]|4, [[1d4]]|5, [[1d5]]|6, [[1d6]]|7, [[1d7]]|8, [[1d8]]|9, [[1d9]]|10, [[1d10]]|11, [[1d11]]|12, [[1d12]]|13, [[1d13]]|14, [[1d14]]|15, [[1d15]]}
Factoring out common elements (which are the inline roll brackets and the number of dice rolled):
[[1d?{Number of moves?|2|3|4|5|6|7|8|9|10|11|12|13|14|15}]]

/me ?{Which crit|

CRIT8, rolled a CRIT8!
/me learned quite a bit from what @{target|token_name} has shown them&#44; but had an idea of what else they could do too. He uses one of that enemy's moves without paying it's pip cost: [[1d?{Number of moves?&#124;2&#124;3&#124;4&#124;5&#124;6&#124;7&#124;8&#124;9&#124;10&#124;11&#124;12&#124;13&#124;14&#124;15&#125;]]
"Time to use your own tactics against you." |

CRIT10, rolled a CRIT10!
/me had observed @{target|token_name} long enough to find the fault in their defenses&#44; and points it out to the rest of the group. @{target|token_name} loses and can't gain Resist&#44; and gains Vulnerability [[5]] until the end of Solomon's next turn.
"You've left yourself vulnerable&#44; @{target|token_name}! Everyone&#44; attack him right **there**!" |

CRIT12, rolled a CRIT12!
/me scans his ally @{target|token_name}&#44; and remembers the actions they have preformed throughout this and previous battles&#44; as well as making educated guesses on what else they have the potential to do. He uses one of @{target|token_name}'s combat talents without paying it's pip cost: [[1d?{Number of moves?&#124;2&#124;3&#124;4&#124;5&#124;6&#124;7&#124;8&#124;9&#124;10&#124;11&#124;12&#124;13&#124;14&#124;15&#125;]]
"I believe I saw you do it this way&#44; right&#44; @{target|token_name}? Should prove effective."

}
February 03 (9 years ago)

Edited February 03 (9 years ago)
Instead of making a new topic, I figured it might be best to reuse this one, since what I'm needing help with this time might be in the same vein, but I cant seem to figure it out.


/me opens her eyes and reaches out with her empathy, sensing the energy of her surroundings.  She rolls a [[1d20+@{Horse-Sense}+@{Trained}?{Pinkie's Interrogation?|No, |Yes, +10}?{Empathetic?|No, |Yes, +5}?{Perceptive Eye?|No, |Yes, +40}]] for Perception! ?{Did you use Pinkie's Interrogation?|No, |Yes, This check was to see if someone was lying!} ?{Did you use Empathetic?|No, |Yes, This check was to sense the emotional state of a target creature she can see.} ?{Did you use Perceptive Eye?|No, |Yes, This check was made to see through her Arcane Eye. DC to see the eye is 30, and willing allies can see through the eye as well}


"I feel everything!"

I'm trying to figure out hot to make this fewer queries and not be so annoying to my player. Cause, as you can see, it has 6 queries in a Perception check with possible modifiers depending if an ability is used, and to explain that the ability is used. Is there a way to make it more concise and less irritating for my payer?

Sorry for coming back so often!
February 03 (9 years ago)

Edited February 03 (9 years ago)
No worries; I enjoy these challenges!

Try this out:
/me opens her eyes and reaches out with her empathy, sensing the energy of her surroundings. She rolls a [[1d20 + @{Horse-Sense} + @{Trained} + ?{Usage|

Standard, 0 ]] for Perception! |


Empathy, 5 [Empathy] + ?{Secondary Usage&#124;

    None&#44; 0]] for Perception! &#124;

    Pinkie's Interrogation&#44; 10 [Pinkie's Interrogation] ]] for Perception! This check was to see if someone was lying! &#124;

    Perceptive Eye&#44; 40 [Perceptive Eye] ]] for Perception! This check was made to see through her Arcane Eye. DC to see the eye is 30&amp;#44; and willing allies can see through the eye as well. &#124;

    Other&#44; 0?{Modifier&amp;#124;0&amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;#125;)`` for Perception!

&#125; This check was to sense the emotional state of a target creature she can see. |


Pinkie's Interrogation, 10 [Pinkie's Interrogation] + ?{Secondary Usage&#124;

    None&#44; 0]] for Perception! &#124;

    Empathy&#44; 5 [Empathy] ]] for Perception! This check was to sense the emotional state of a target creature she can see. &#124;

    Perceptive Eye&#44; 40 [Perceptive Eye] ]] for Perception! This check was made to see through her Arcane Eye. DC to see the eye is 30&amp;#44; and willing allies can see through the eye as well. &#124;

    Other&#44; 0?{Modifier&amp;#124;0&amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;#125;)`` for Perception!

&#125; This check was to see if someone was lying! |


Perceptive Eye, 40 [Perceptive Eye] + ?{Secondary Usage&#124;

    None&#44; 0]] for Perception! &#124;

    Empathy&#44; 5 [Empathy] ]] for Perception! This check was to sense the emotional state of a target creature she can see. &#124;

    Pinkie's Interrogation&#44; 10 [Pinkie's Interrogation] ]] for Perception! This check was to see if someone was lying! &#124;

    Other&#44; 0?{Modifier&amp;#124;0&amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;#125;)`` for Perception!

    &#125; This check was made to see through her Arcane Eye. DC to see the eye is 30&#44; and willing allies can see through the eye as well. |

Other, 0?{Modifier&#124;0&#125; [Other Modifiers] ]] ``(modified by ?{Modifier&#125;)`` for Perception!

}
"I feel everything!"
February 03 (9 years ago)

Edited February 03 (9 years ago)
Well, that certainly helps, except it is possible to use all three things at once, so only having the option of two at a time isn't exactly optimal. One other thing I noticed is this:


February 03 (9 years ago)
You're too fast for me! Try again. :)
February 03 (9 years ago)
I'll add in ?{Tertiary Usage}, give me a min!
February 03 (9 years ago)

Edited February 03 (9 years ago)
My philosophy on macros: please the player, kill the coder!
/me opens her eyes and reaches out with her empathy, sensing the energy of her surroundings. She rolls a [[1d20 + @{Horse-Sense} + @{Trained} + ?{Usage|

Standard, 0 ]] for Perception! |



Empathy, 5 [Empathy] + ?{Secondary Usage&#124;

    None&#44; 0 ]] for Perception! &#124;

    Pinkie's Interrogation&#44; 10 [Pinkie's Interrogation] + ?{Tertiary Usage&amp;#124;

        None&amp;#44; 0 ]] for Perception! &amp;#124;

        Perceptive Eye&amp;#44; 40 [Perceptive Eye] ]] for Perception! This check was made to see through her Arcane Eye. DC to see the eye is 30&amp;amp;#44; and willing allies can see through the eye as well. &amp;#124;
        
        Other&amp;#44; 0?{Modifier&amp;amp;#124;0&amp;amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;amp;#125;)`` for Perception!

    &amp;#125; This check was to see if someone was lying! &#124;

    Perceptive Eye&#44; 40 [Perceptive Eye] + ?{Tertiary Usage&amp;#124;

        None&amp;#44; 0 ]] for Perception! &amp;#124;

        Pinkie's Interrogation&amp;#44; 10 [Pinkie's Interrogation] ]] for Perception! This check was to see if someone was lying! &amp;#124;
        
        Other&amp;#44; 0?{Modifier&amp;amp;#124;0&amp;amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;amp;#125;)`` for Perception!

    &amp;#125; This check was made to see through her Arcane Eye. DC to see the eye is 30&amp;#44; and willing allies can see through the eye as well. &#124;

    Other&#44; 0?{Modifier&amp;#124;0&amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;#125;)`` for Perception!

&#125; This check was to sense the emotional state of a target creature she can see. |



Pinkie's Interrogation, 10 [Pinkie's Interrogation] + ?{Secondary Usage&#124;

    None&#44; 0 ]] for Perception! &#124;

    Empathy&#44; 5 [Empathy] + ?{Tertiary Usage&amp;#124;

        None&amp;#44; 0 ]] for Perception! &amp;#124;

        Perceptive Eye&amp;#44; 40 [Perceptive Eye] ]] for Perception! This check was made to see through her Arcane Eye. DC to see the eye is 30&amp;amp;#44; and willing allies can see through the eye as well. &amp;#124;
        
        Other&amp;#44; 0?{Modifier&amp;amp;#124;0&amp;amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;amp;#125;)`` for Perception!

        &amp;#125; This check was to sense the emotional state of a target creature she can see. &#124;

    Perceptive Eye&#44; 40 [Perceptive Eye] + ?{Tertiary Usage&amp;#124;

        None&amp;#44; 0 ]] for Perception! &amp;#124;

        Empathy&amp;#44; 5 [Empathy] ]] for Perception! This check was to sense the emotional state of a target creature she can see. &amp;#124;
        
        Other&amp;#44; 0?{Modifier&amp;amp;#124;0&amp;amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;amp;#125;)`` for Perception!

    &amp;#125; This check was made to see through her Arcane Eye. DC to see the eye is 30&amp;#44; and willing allies can see through the eye as well. &#124;

    Other&#44; 0?{Modifier&amp;#124;0&amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;#125;)`` for Perception!

&#125; This check was to see if someone was lying! |



Perceptive Eye, 40 [Perceptive Eye] + ?{Secondary Usage&#124;

    None&#44; 0 ]] for Perception! &#124;

    Empathy&#44; 5 [Empathy] + ?{Tertiary Usage&amp;#124;

        None&amp;#44; 0 ]] for Perception! &amp;#124;

        Pinkie's Interrogation&amp;#44; 10 [Pinkie's Interrogation] ]] for Perception! This check was to see if someone was lying! &amp;#124;
        
        Other&amp;#44; 0?{Modifier&amp;amp;#124;0&amp;amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;amp;#125;)`` for Perception!

    &amp;#125; This check was to sense the emotional state of a target creature she can see. &#124;

    Pinkie's Interrogation&#44; 10 [Pinkie's Interrogation] + ?{Tertiary Usage&amp;#124;

        None&amp;#44; 0 ]] for Perception! &amp;#124;

        Empathy&amp;#44; 5 [Empathy] ]] for Perception! This check was to sense the emotional state of a target creature she can see. &amp;#124;
        
        Other&amp;#44; 0?{Modifier&amp;amp;#124;0&amp;amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;amp;#125;)`` for Perception!

    &amp;#125; This check was to see if someone was lying! &#124;

    Other&#44; 0?{Modifier&amp;#124;0&amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;#125;)`` for Perception!

&#125; This check was made to see through her Arcane Eye. DC to see the eye is 30&#44; and willing allies can see through the eye as well. |



Other, 0?{Modifier&#124;0&#125; [Other Modifiers] ]] ``(modified by ?{Modifier&#125;)`` for Perception!

}
"I feel everything!"
February 03 (9 years ago)
Oh, that works beautifully. Also looks hella complicated and I don't think I'd be able to figure that out very quickly. xD
Mind if I bother you with one more on a similar line? 
February 03 (9 years ago)
Please do!
February 04 (9 years ago)
Alright, so I've got a player who wants to use those pesky boxes and I have no idea how to make this work in a dropdown query for their crits.

Crit 8:

/em achieves a Crit8! Semolina unleashes a burst of flame shaped like a phoenix, hitting @{target|Damage|token_name}! As the phoenix passes through @{target|Damage|token_name}, it becomes white and flies towards @{target|Heal|token_name}, dispersing into white dust and healing them!


&{template:default} {{name=Phoenix Fire [Crit 8]}} {{Enemy=@{target|Damage|token_name}}} {{Damage=[[1d3r1+3]]}} {{Ally=@{target|Heal|token_name}}} {{Heal=[[1d8r1+4]]}}

Crit 10:

/em achieves a Crit10! Her horn radiates a orange aura as her eyes glow. She swishes her horn, calling down a pillar of white hot light.


&{template:default} {{name=Sun Burst [Crit 10]}} {{Range= 7, Burst 2}} {{Damage=[[1d10r1]]}} {{note=Allies in blast are healed for double the amount.}}


Crit 12:

/em achieves a Crit12! Semolina is enveloped in a bright white column of light, her eyes glowing fonts of energy. As she rises, a pulse of life force radiates from without, healing all allies and immolating all enemies within the surge.


&{template:default} {{name=Purification Surge [Crit 12]}} {{Range=Burst 6}} {{Healing=[[1d10r1+10]]}} {{Damage=[[2d6r1+4]]}}{{note=All allies get a free saving throw.}}

So, maybe you might know what to do, since this is territory I have no idea about. :P
February 04 (9 years ago)
I highly recommend giving Advanced Usage for Roll Queries a read through, if you haven't already; the only additional replacements you need to make (in this instance) are the closing curly braces from the Roll Template syntax.
?{The key to nesting any Roll Template|

is this..., &{template:default&#125; {{name=Roll Template&#125;&#125; {{Field name=Field value&#125;&#125; |

... |

}
Let me know if you run into any barriers!
February 04 (9 years ago)

/em ?{Which crit?|Crit8, achieves a Crit8! Semolina unleashes a burst of flame shaped like a phoenix, hitting @{target|Damage|token_name}! As the phoenix passes through @{target|Damage|token_name}, it becomes white and flies towards @{target|Heal|token_name}, dispersing into white dust and healing them!


&{template:default} {{name=Phoenix Fire [Crit 8]}} {{Enemy=@{target|Damage|token_name}}} {{Damage=[[1d3r1+3]]}} {{Ally=@{target|Heal|token_name}}} {{Heal=[[1d8r1+4]]}}


|Crit10, achieves a Crit10! Her horn radiates a orange aura as her eyes glow. She swishes her horn, calling down a pillar of white hot light.


&{template:default} {{name=Sun Burst [Crit 10]}} {{Range= 7, Burst 2}} {{Damage=[[1d10r1]]}} {{note=Allies in blast are healed for double the amount.}}


|Crit12, achieves a Crit12! Semolina is enveloped in a bright white column of light, her eyes glowing fonts of energy. As she rises, a pulse of life force radiates from within, healing all allies and immolating all enemies within the surge.


&{template:default} {{name=Purification Surge [Crit 12]}} {{Range=Burst 6}} {{Healing=[[1d10r1+10]]}} {{Damage=[[2d6r1+4]]}}{{note=All allies get a free saving throw.}}}

Like this, I suppose?
February 04 (9 years ago)
Yep; does it work?
February 04 (9 years ago)
Yep! But I'm going to need help on one last thing, cause it runs on the exact same vein as the Perception check from before, but this is an Arcana check.

/me rolls a [[1d20+@{Knowledge}+@{Trained}+@{Expert}+?{Override?|No, 0|Yes, not touching, +30|Yes, touching, 40}+?{Reweave?|No, 0|Yes, 30}]] on an Arcana check, her expert, and trained skill! ?{Did you use Override?|No, |Yes, not touching, This check was made to to control a magical device or machine within 20 feet.|Yes, touching, This check was made to to control a magical device or machine within 20 feet that she is touching.} ?{Did you use Reweave?|No, |Yes, This was a check to alter an ongoing magical effect within 30 feet.}
February 04 (9 years ago)

Edited February 04 (9 years ago)
I don't want to hog all the fun... I think I'm going to let you take a stab at adapting this previous macro to suit your needs. ;)
February 05 (9 years ago)

Edited February 05 (9 years ago)
Alright, I tried, but it's not working.

/me rolls a [[1d20+@{Knowledge}+@{Trained}+@{Expert}+?{Usage|


Standard, 0 ]] on an Arcana check, her Expert, and Trained skill!|


Override& #44; not touching, 30 [Override& #44; not touching]+ ?{Secondary Usage& #124;


    None& #44; 0]] on an Arcana check, her Expert, and Trained skill!& #124;


Override& #44; touching, 40 [Override& #44; touching] ]] on an Arcana check, her Expert, and Trained skill! This check was made to to control a magical device or machine within 20 feet that she is touching.& #124;


Reweave, 30 [Reweave] ]] on an Arcana check, her Expert, and Trained skill! This was a check to alter an ongoing magical effect within 30 feet.& #124;


Other& #44; 0?{Modifier& amp; #124;0& amp; #125; [Other Modifiers] ]] ``(modified by ?{Modifier& amp; #125;)`` on an Arcana check, her Expert, and Trained skill! & #125; This check was made to to control a magical device or machine within 20 feet.|


Override& #44; touching, 40 [Override& #44; touching]+ ?{Secondary Usage& #124;


    None& #44; 0]] on an Arcana check, her Expert, and Trained skill!& #124;


Override& #44; not touching, 30 [Override& #44; not touching] ]] on an Arcana check, her Expert, and Trained skill! This check was made to to control a magical device or machine within 20 feet.& #124;


Reweave, 30 [Reweave] ]] on an Arcana check, her Expert, and Trained skill! This was a check to alter an ongoing magical effect within 30 feet.& #124;


Other& #44; 0?{Modifier& amp; #124;0& amp; #125; [Other Modifiers] ]] ``(modified by ?{Modifier& amp; #125;)`` on an Arcana check, her Expert, and Trained skill! & #125; This check was made to to control a magical device or machine within 20 feet that she is touching.|


Reweave, 30 [Reweave]+ ?{Secondary Usage& #124;


    None& #44; 0]] on an Arcana check, her Expert, and Trained skill!& #124;
	
Override& #44; not touching, 30 [Override& #44; not touching] ]] on an Arcana check, her Expert, and Trained skill! This check was made to to control a magical device or machine within 20 feet.& #124;


Override& #44; touching, 40 [Override& #44; touching] ]] on an Arcana check, her Expert, and Trained skill! This check was made to to control a magical device or machine within 20 feet that she is touching.& #124;


Other& #44; 0?{Modifier& amp; #124;0& amp; #125; [Other Modifiers] ]] ``(modified by ?{Modifier& amp; #125;)`` on an Arcana check, her Expert, and Trained skill! & #125; This was a check to alter an ongoing magical effect within 30 feet.}

February 05 (9 years ago)

Edited February 05 (9 years ago)
Could you post the macro with the HTML entities intact? (You took a screenshot before, but it might be easier to break the HTML entities with a space, e.g. & #125;)
February 05 (9 years ago)

Edited February 05 (9 years ago)
I think I got it now.

Edit, let me specify: The macro with the entities intact. Not a working macro.
February 05 (9 years ago)
Off the bat, I notice your entities are lacking "layers" (i.e. I see lots of instances where &#125; should be &amp;#125; etc.)
February 05 (9 years ago)
Alright, I realized I missed a few that it replaced again and fixed it. Now it's as I have it.
February 05 (9 years ago)
Alright, cool. I see a bunch of commas that need replacing.

February 05 (9 years ago)
I replaced the commas, but it's still not doing anything on the Overrides or the Reweave, and Other isn't even showing up in the dropdown.
February 05 (9 years ago)

Edited February 16 (9 years ago)
Okay, now comes the tricky part!
/me [...] rolls a [[1d20 + 0 + 0 + ?{Usage|

Standard, 0 ]] for Skill! |


Ability 1, 10 [Ability 1] + ?{Secondary Usage&#124;

    None&#44; 0]] for Skill! &#124;

    Ability 2&#44; 10 [Ability 2] ]] for Skill! Ability 2 flavour text! &#124;

    Other&#44; 0?{Modifier&amp;#124;0&amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;#125;)`` for Skill!

&#125; Ability 1 flavour text! |


Ability 2 - on this "layer" of nesting&#44; escaped commas look like: &#44; but notice that the Query commas look like: , 20 [Ability 2] + ?{Secondary Usage&#124;

    None&#44; 0]] for Skill! &#124;

    Ability 1 - on this "layer" of nesting&amp;#44; escaped commas look like &amp;#44; but notice that the Query commas look like: &#44; 10 [Ability 1] ]] for Skill! Ability 1 flavour text! &#124;

    Other&#44; 0?{Modifier&amp;#124;0&amp;#125; [Other Modifiers] ]] ``(modified by ?{Modifier&amp;#125;)`` for Skill!

&#125; Ability 2 flavour text! |


Other, 0?{Modifier&#124;0&#125; [Other Modifiers] ]] ``(modified by ?{Modifier&#125;)`` for Skill!

}
We have to make sure that the everything has the right entities. You've got this mostly down! But, I have a feeling your commas might not be "layered" enough. Maybe the above template will help illustrate what I mean.
February 05 (9 years ago)
Ah, I finally got it! Thanks for the template. Much easier seeing it naked than with information I have to ignore.
February 05 (9 years ago)
Awesome! You've got some powerful skills now, use them wisely!