I recently reviewed Kurt Jaegers' PowerCards : Templates and
Replacements video. I entered the initial macro and PowerCard
template, which worked fine. However, adding
the conditionals then failed with the output to chat box resembling an empty
linefeed. What am I doing wrong?
Initial Macro:
!power {{
--template|WeaponAttack|@{selected|character_name};Quarterstaff;@{selected|strength_mod};STR;@{selected|pb};@{target|AC};1d6;2d6;bludgeoning
}}
Initial Handout (PowerCard_Template) Entered:
WeaponAttack:--name|~0! - ~1! Attack
--Attack|~0! rolls [[ [$Atk] 1d20 + ~2! [~3!] + ~4! [PROF] ]] vs AC ~5! --Damage|On a hit,
~0! deals [[ [$Dmg] ~6! + ~2! [~3!] ]] ~8! damage or [[ [$Crit] ~7! + ~2! [~3!]
]] on a critical
Above macro/handout tested fine .
Handout (PowerCard-Template) with
Conditionals Entered:
WeaponAttack:--name|~0! - ~1! Attack
--Attack|~0! rolls [[ [$Atk] 1d20 + ~2! [~3!] + ~4! [PROF] ]] vs AC ~5!
--hroll|[[ [$Dmg] ~6! + ~2! [~3!] ]] or [[ [$Crit] ~7! + ~2! [~3!] ]] --??
$Atk.base <> 1 AND $Atk.base <> 20 AND $Atk >= ~5! ??Hit|~0!
hits for [^Dmg] ~8! damage! --?? $Atk.base == 20 ??Critical Hit|~0! scores a
critical hit for [^Crit] ~8! damage! --?? $Atk < ~5! AND $Atk.base <>
1 ??Miss|~0! missed. --?? $Atk.base == 1 ??Fumble|~0! fumbles the attack!
Or, for easier reading – with line feeds and legend (not
in PowerCard Template handout):
WeaponAttack:--name|~0! - ~1! Attack
--Attack|~0! rolls [[ [$Atk] 1d20 + ~2! [~3!] + ~4! [PROF] ]] vs AC ~5!
--hroll|[[ [$Dmg] ~6! + ~2! [~3!] ]] or [[
[$Crit] ~7! + ~2! [~3!] ]]
--?? $Atk.base <> 1 AND $Atk.base
<> 20 AND $Atk >= ~5! ??Hit|~0! hits for [^Dmg] ~8! damage!
--?? $Atk.base == 20 ??Critical Hit|~0!
scores a critical hit for [^Crit] ~8! damage! --?? $Atk < ~5! AND $Atk.base
<> 1 ??Miss|~0! missed.
--?? $Atk.base == 1 ??Fumble|~0! fumb les the attack! ----------------------------- ~0! Character name ~1! Weapon name ~2! Strength mod ~3! [STR] ~4! Proficiency bonus ~5! Target AC ~6! Damage ~7! Critical damage ~8! Damage type