Kurt J. said: Emmanuel C. said: Hello There!! First post here. I'm working on a macro for one of my player's ranger. He uses a longbow +1, and has the archery capacity (+2).It is quite nice as it is, and it works, but I'd like to add something. at the moment it: -asks for Advantage and rolls (magic bonus and archery included) -plays sounds -triggers an fx -removes the hit points from target (if hit) -crit and fumble -Arrows ammunitions removed What i'd like to add is a query for magical +1, +2, +3 arrows, and add the appropriate bonus to the D20 roll and damages. I've tried to add something like --Arrow|[[ [$Arr] ?{arrow?|+1, |+2, 2|+3, 3} + 0d0 ]] and then tried to add +[^Arr] to the roll and damage, but it doesn't add anything. It seems that it's not possible to "call" a value ([^Arr]) as a bonus in a roll. Does anybody have an idea? !ammo @{selected|token_id} other_resource -1 flèche !power {{ --tokenid|@{selected|token_id} --emote|**@{selected|token_name}** Décoche une flèche sur @{target|character_name} --target_list|@{target|token_id} --name|Magic Longbow --leftsub|Action --rightsub|Dist: 45m/180m --Attack|[[ [$Atk] ?{Avantage?| Normal, 1d20 + @{selected|dexterity_mod} [DEX] + @{selected|pb} [PROF] +1 [MAGIC] +2 [ARCH] | Avantage, 2d20kh1 + @{selected|dexterity_mod} [DEX] + @{selected|pb} [PROF] +1 [MAGIC] +2 [ARCH] | Désadvantage, 2d20kl1 + @{selected|dexterity_mod} [DEX] + @{selected|pb} [PROF] +1 [MAGIC] +2 [ARCH]} ]] --?? $Atk.base == 1 ?? !Cmiss:|**Echec Critique**. --?? $Atk.base == 1 ?? soundfx|_audio,play,nomenu|Fumble --?? $Atk.base >= 2 AND $Atk.total < @{target|AC} ?? !Miss:|Echec. --?? $Atk.base >= 2 AND $Atk.total < @{target|AC} ?? soundfx|_audio,play,nomenu|Arrow Miss --?? $Atk >= @{target||ac} ?? soundfx|_audio,play,nomenu|Arrow 3 --?? $Atk.total >= @{target||ac} AND $Atk.base <> 1 AND $Atk.base <> 20 ?? Dégâts :|[[ [$Dmg] 1d8 + @{selected|dexterity_mod} +1]] Dégâts perforants --?? $Atk >= @{target||ac} AND $Atk.base <> 20 ?? alterbar1|_target|@{target||token_id} _bar|1 _amount|-[^Dmg] _show|all --?? $Atk.base == 20 ?? Coup critique :|[[ [$CritDmg] 2d8 +@{selected|dexterity_mod} + 1}]] Dégâts perforants --?? $Atk.base == 20 ?? alterbar2|_target|@{target||token_id} _bar|1 _amount|-[^CritDmg] _show|all --?? $Atk >= @{target|AC} ?? vfx_opt|@{target|token_id} glow-blood }} All rolls are processed before PowerCards does anything else, so [^Arr] does not exist when the to hit/damage rolls happen. RollIDs are only used for matching conditionals or for display purposes. As BilBo mentioned, you could embed this within the rolls (and you can simplify the attack line a bit): --Attack|[[ [$Atk] ?{Avantage?| Normal, 1d20|Avantage, 2d20kh1|Désadvantage, 2d20kl1} + @{selected|dexterity_mod} [DEX] + @{selected|pb} [PROF] +1 [MAGIC] +2 [ARCH] } ?{Arrow Type?|Normal,+0|+1,+1 [+1 Arrow]|+2,+2 [+2 Arrow]|+3,+3 [+3 Arrow]} ]] } You can add the same arrow query (?{Arrow Type?|Normal,+0|+1,+1 [+1 Arrow]|+2,+2 [+2 Arrow]|+3,+3 [+3 Arrow]}) to each of the damage lines as well, and it will only prompt once as all roll queries with the same text are converted to the same value. The simplification of the advantage query comes from the fact that only the die roll (1d20, 1d20kh1 or 1d20kl1) needs to change... all of the modifiers are the same for all three types of roll. It's awesome!! You guys rock!!! Thanks soooo much Now if I want to push it a little further, Is there a way to use !ammo @{selected|token_id} other_resource -1 flèche in a query and the have the correct ammo removed (normal, +1,+2...)? I can't find a command to use !ammo inside a powercard, that's why I put it before the !power