
I am trying to make the below macro work, Its using Powercards3 !power --tokenid|@{selected|token_id} --emote|The clean light of your weapon pierces your enemies and fills you with resolve. {{
--format|atwill
--name|Virtuous Strike
--leftsub|At-Will
--rightsub|Standard Action^^Divine, Radiant, Weapon
--Attack|[[ [$Atk] 1d20 + @{charisma-mod} [Charisma Mod] + ?{Other Bonuses to Hit|0}]] + ?{Which weapon are you using?|Mace, @{weapon-1-total-attack}|Sword, @{weapon-2-total-attack}]] vs @{target|token_name} AC
--?? $Atk.base == 1 ?? !CritFail:|Critical Failure
--?? $Atk.total < [[@{target|AC}]] ?? !Miss:|You missed.
--?? $Atk.total >= [[@{target|AC}]] AND $Atk.base <> 1 AND $Atk.base <> 20 ?? Hit:|[[ [NH] d@{weapon-1-dice} + @{weapon-1-total-damage} + @{charisma-mod} + ?{Add Bonus Damage|0}]] radiant damage. You gain a +2 bonus to saving throws until the start of your next turn.
--?? $Atk.base == 20 ?? Critical Hit:|[[1*@{weapon-1-dice} + @{weapon-1-total-damage} + @{charisma-mod} + ?{Add Bonus Damage|0}]] radiant damage. You gain a +2 bonus to saving throws until the start of your next turn.
}} The above macro works just fine if I take out the ?{Which weapon are you using?...... part. But I was trying to see if there was a way to have to player choose their weapon before the macro does its magic. Currently the macro crashed with this error SyntaxError: Expected "(", ".", "[", "abs(", "ceil(", "d", "floor(", "round(", "t", "{", [ |\t], [+|\-] or [0-9] but "i" found.
undefined Weapon-1-total-attack and weapon-1-total-damage are as follows @{weapon-1-attack-class}+@{weapon-1-attack-misc}+@{weapon-1-attack-feat}+@{weapon-1-prof}+@{weapon-1-enh}+floor(@{level}/2) @{weapon-1-damage-class}+@{weapon-1-damage-misc}+@{weapon-1-damage-feat} + @{weapon-1-enh} Weapon-2-total-attack and weapon-2-total-damage are the same just with 2 instead of 1. [fixed] When the drop box appears it also has more options then just Mace and Sword. For some reason it goes to list critical failure, miss and hit. I am unsure why. I have no problem voice chatting with someone or even inviting to the campaign to figure it out. Thanks in advanced for any help given. Your Friendly Neighborhood Dungeon Master, Ryeaa