The conditionals are great! They've helped ensured that my girlfriend's Psion in my D&D4E game has all of her at-wills, with augment options, in one macro instead of one per augment. Here is the code I used to compliment it. Thought to share it to show what a more extensive use of the conditionals can be used for. I use the Ammo macro Aaron made to compliment this. I use the 4e char sheet variables to go with this and weapon 3 is the crit overflow die. !power {{
--emote|SIN
--name|@{power-4-name}
--leftsub|@{power-4-useage}
--rightsub|@{power-4-action}
--Range:|@{power-4-range}
--Target:|One Creature (@{target|token_name})
--Augment:|?{Augment|0} ( [[@{PowerPoints}-?{Augment|0}]] Left )
--Attack:|[[ [$Atk] 1d20 + [[@{power-4-attack}]] + ?{Attack Modifier|0}]] vs @{power-4-def}
--?? ?{Augment|0}] == 0 AND $Atk.base <> 20 ?? Damage:|[[1d10+[[@{power-4-damage}]]+?{Damage Modifier|0}]] force damage, and you slide the target 1 square.
--?? ?{Augment|0}] == 0 AND $Atk.base == 20 ?? Critical Hit:|[[(@{weapon-3-num-dice}d@{weapon-3-dice})+10+[[@{power-4-damage}]]+?{Damage Modifier|0}]] force damage, and you slide the target 1 square.
--?? ?{Augment|0}] == 1 AND @{PowerPoints} > 1 AND $Atk.base <> 20 ?? Damage:|[[1d10+[[@{power-4-damage}]]+?{Damage Modifier|0}]] force damage, and you pull the target [[ [[floor((@{wisdom}-10)/2)]] ]] square(s) towards you, instead of sliding it.
--?? ?{Augment|0}] == 1 AND @{PowerPoints} > 1 AND $Atk.base == 20 ?? Critical Hit:|[[(@{weapon-3-num-dice}d@{weapon-3-dice})+10+[[@{power-4-damage}]]+?{Damage Modifier|0}]] force damage, and you pull the target [[ [[floor((@{wisdom}-10)/2)]] ]] square(s) towards you, instead of sliding it.
--?? ?{Augment|0}] == 2 AND @{PowerPoints} >= 2 AND $Atk.base <> 20 ?? Damage:|[[2d10+@{power-4-damage}+?{Damage Modifier|0}]] force damage, and you slide the target [[0+[[floor((@{wisdom}-10)/2)]] ]] square(s).
--?? ?{Augment|0}] == 2 AND @{PowerPoints} >= 2 AND $Atk.base == 20 ?? Critical Hit:|[[(@{weapon-3-num-dice}d@{weapon-3-dice})+20+@{power-4-damage}+?{Damage Modifier|0}]] force damage, and you slide the target [[0+[[floor((@{wisdom}-10)/2)]] ]] square(s).
--?? ?{Augment|0}] == 1 AND @{PowerPoints} < 1 ?? Warning:|Too few Power Points!
--?? ?{Augment|0}] == 2 AND @{PowerPoints} < 2 ?? Warning:|Too few Power Points!
--txcolor|#@{txcolor}
--bgcolor|#@{bgcolor}
--charid|@{character_id}
}}
Also edited the 4E mob importer API code in order for it to be powercard 3 functional. And It all works, apart from the format section, which I fix after.
It's quite simple to edit it when you find the right lines. The main part was renaming the left and right sub.parts.