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

4e improved critical on a marked target

I wanted to have the paladin power Thunderous smite query whether the target was marked and change the attack roll if it was. I was thinking something like this would work &{template:dnd4epower} {{encounter=7 }} {{name= Thunder Smite}} {{level= Paladin Attack 7}} {{type=Encounter}} {{keywords=Divine, Thunder, Weapon}} {{action=Standard Action }} {{range= ✦ Melee Weapon}} {{target= One creature}} {{?{Is the target marked?  | Yes, = **Target is Marked** {{attack=[[1d20cs>19+[[ @{strength-mod} ]] + [[floor(@{level}/2)}]]+[[ @{weapon-1-attack} ]] ]]vs. **AC** }} {{damage=[[ @{weapon-1-num-dice}d(@{weapon-1-dice}) +@{weapon-1-num-dice}d(@{weapon-1-dice})+[[@{strength-mod}]]+[[ @{weapon-1-damage}]]+[[ @{weapon-1-damage}]]]] thunder damage and the target is knocked prone }} {{critical=[[69 + [[2d6]]]]thunder damage and the target is knocked prone.}} }} | No, = **Target is not marked** {{attack=[[1d20+[[ @{strength-mod} ]] + [[floor(@{level}/2)}]]+[[ @{weapon-1-attack} ]] ]]vs. **AC** }} {{damage=[[ @{weapon-1-num-dice}d(@{weapon-1-dice}) +@{weapon-1-num-dice}d(@{weapon-1-dice})+[[@{strength-mod}]]+[[ @{weapon-1-damage}]]+[[ @{weapon-1-damage}]]]] thunder damage and the target is knocked prone }} {{critical=[[69 + [[2d6]]]]thunder damage and the target is knocked prone.}} }}} But it doesn't at all. I then tried to have it so the entire power came after each query, but it ended in a similar result. I mostly Frankenstein the 4e codes together from other forum posts but couldn't find an answer to this anywhere. Any help would be much appreciated.
1639736922

Edited 1639737431
Andreas J.
Forum Champion
Sheet Author
Translator
think the leading {{ before query is in the way, so do this: One creature}} ?{Is the target marked? Think you probably need to to the HTML char replacement for all "}" inside the roll query, not just the last two. See the community docs on nesting Or if you can live without having the "target is marked" text show, but have correct rolls, you could change this part to be the only thing inside a roll query: attack=[[?{Target Marked?| Yes,1d20cs>19|No,1d20cs}+