
!power --tokenid|@{selected|token_id} --emote|You can dig into your resolve and endurance to find an extra burst of vitality. {{
--format|encounter
--name|Second Wind
--leftsub|Encounter
--rightsub|Standard Action
--Effect|Regain [[floor(@{hp|max}/4)]] hit points. Gain [[2]] to all defenses until the start of my next turn
}} After using the above powercard. I get this error
/home/symbly/www/d20-api-server/node_modules/firebase/lib/firebase-node.js:1
orts, require, module, __filename, __dirname) { function g(a){throw a;}var j=v
^
SyntaxError: Expected "[" or [ |\t] but "f" found.
It worked before the site update but now only get this error. I also get the same error when I try these two powercards !power --tokenid|@{selected|token_id} --emote|Sacred light shines from above, searing a single enemy with its radiance while at the same time aiding an ally with its beneficent power {{
--format|atwill
--name|Sacred Flame
--leftsub|At-Will
--rightsub|Standard Action ^^Ranged 5
--Attack|[[ [$Atk] 1d20 + @{wisdom-mod} [Wisdom Mod] + @{weapon-1-total-attack} + ?{Other Bonuses to Hit|0}]] vs @{target|token_name} Reflex
--?? $Atk.base == 1 ?? !CritFail:|Critical Failure
--?? $Atk.total < [[@{target|Ref}]] ?? !Miss:|You miss
--?? $Atk.total >= [[@{target|Ref}]] AND $Atk.base <> 1 AND $Atk.base <> 20 ?? Hit:|[[ [NH] 1d6 + @{weapon-1-total-damage} + @{wisdom-mod} + ?{Add Bonus Damage|0}]] radiant damage
--?? $Atk.base == 20 ?? Critical Hit:|[[1d6 + @{weapon-1-total-damage} + @{wisdom-mod} + ?{Add Bonus Damage|0}]] radiant damage
--Effect|One ally you can see chooses either to gain [[floor(@{wisdom-mod} + @{level}/2)]] temporary hit points or to make a saving throw.
}}
AND
!power --tokenid|@{selected|token_id} --emote|When an enemy drops its guard, your spirit companion leaps on it, claws and fangs bared. {{
--format|atwill
--name|Protecting Strike
--leftsub|At-Will
--rightsub|Opportunity Attack ^^Spirit Melee^^Spirit, Primal
--Attack|[[ [$Atk] 1d20 + @{wisdom-mod} [Wisdom Mod] + @{weapon-3-total-attack} + ?{Add Bonus Attack|0}]] vs **@{target|token_name}** Will
--?? $Atk.base == 1 ?? !CritFail:|Critical Failure
--?? $Atk.total < [[@{target|Will}]] ?? !Miss:|You missed.
--?? $Atk.total >= [[@{target|Will}]] AND $Atk.base <> 1 AND $Atk.base <> 20 ?? Hit:|[[d@{weapon-3-dice} + @{wisdom-mod} + @{weapon-3-total-damage} + ?{Add Bonus Damage|0}]] damage. Each ally adjacent
to your spirit companion gains [[@{constitution-mod}]] temporary hit points
--?? $Atk.base == 20 ?? Critical Hit:|[[1*@{weapon-3-dice} + @{weapon-3-total-damage} + @{dexterity-mod}]] damage. Each ally adjacent to your spirit companion gains [[@{constitution-mod}]] temporary hit points
}} If I get rid of the inline roll that calls to a stat, then the power card works. I don't know whats going on. My other old powercards work but not these two. That don't call to a stat that is not in an $Atk part of the powercard. Any help or suggestions would be awesome. Thanks Ryeaa