
I am trying to make a powercard for Toll the Dead. It doesn't work yet but I think I'm getting close. Here's the outline: !power {{
--name|Toll the Dead
--leftsub|Necromancy
Cantrip
--rightsub|Range:60ft
--soundfx|_audio,play,nomenu|Bell
--Wisdom Save:|[[
[$sav] 1d20 + @{target|wisdom_save_bonus} ]] vs Spell Save DC @{selected|spell_save_dc}
--?? $sav >=
@{selected|spell_save_dc} ?? Wisdom Save Successful!
--?? $sav <
@{selected|spell_save_dc} ?? AND @{target|bar1} < @{target|bar1|max} ?? [[
[$dmg1] 1d12 ]]
--?? $sav <
@{selected|spell_save_dc} ?? AND @{target|bar1} == @{target|bar1|max} ?? [[
[$dmg1] 1d8 ]]
--alterbar1|_target|@{target| token_id} _bar|1 _amount|-[^dmg1]
_show|all
}} I think I need to substitute the pipe in bar1|max for something else but underscore doesn't work. I may be wrong in trying to use two different conditional statements to differently define the same variable string ($dmg) Can anyone help me to correct it, please? Many thanks in advance. John
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:0cm;
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;}