Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

Converting OGL Macro to Shaped Sheet

I've recently been messing around with PowerCards, and I've been using the following macro for OGL: !power {{      --format|badguys      --name|@{selected|repeating_npcaction_$0_name} Attack      --tokenid|@{selected|token_id}      --target_list|@{target|token_id}      --emote|@{selected|character_name} ^^Attacking^^@{target|character_name}      --leftsub|Against @{target|token_name}      --rightsub|@{selected|repeating_npcaction_$0_attack_type}      --api_token-mod|_ids @{selected|token_id} _ignore-selected _set statusmarkers|stopwatch      --audioattr *1|@{selected|token_id} Attack_0_Sound      --Attack *1|[[ [$Atk] 1d20 + @{selected|repeating_npcaction_$0_attack_tohit} ]] vs **AC** [[@{target|BAR2}]]      --??$Atk.base == 1 OR $Atk.total < @{target|npc_ac} ?? Miss *1|The attack missed.       --??$Atk.base == 1 OR $Atk.total < @{target|npc_ac} ?? audioattr*2|@{selected|token_id} Audio_OnMiss_0      --?? $Atk.total >= @{target|npc_ac} AND $Atk.base <> 1 AND $Atk.base <> 20 ?? Hit *1|@{target|token_name} takes [[ @{selected|repeating_npcaction_$0_attack_damage} ]] @{selected|repeating_npcaction_$0_attack_damagetype} damage      --?? $Atk.total >= @{target|npc_ac} AND $Atk.base <> 1 AND $Atk.base <> 20 ?? vfxattr *1|@{target|token_id} Effect_OnHurt      --?? $Atk.total >= @{target|npc_ac} AND $Atk.base <> 1 AND $Atk.base <> 20 ?? audioattr*3|@{target|token_id} Audio_OnHurt      --?? $Atk.total >= @{target|npc_ac} AND $Atk.base <> 1 AND $Atk.base <> 20 ?? audioattr*4|@{selected|token_id} Audio_OnHit_0      --?? $Atk.base == 20 ?? Critical Hit *1:|@{target|token_name} takes [[ @{selected|repeating_npcaction_$0_attack_damage} ]] + [[ @{selected|repeating_npcaction_$0_attack_crit} ]] @{selected|repeating_npcaction_$0_attack_damagetype} damage      --?? $Atk.base == 20 ?? vfxattr *2|@{target|token_id} Effect_OnCritical      --?? $Atk.base == 20 ?? audioattr *5|@{selected|token_id} Audio_OnCritical      --?? $Atk.base == 1 ?? Fumble *1|      --?? $Atk.base == 1 ?? audioattr *6|@{selected|token_id} Audio_OnFumble --!Desc|@{selected|repeating_npcaction_$0_description} --vfxattr *3|@{selected|token_id} Effect_OnAttack_0 }} Now I'm looking at converting over to Shaped Sheet, but I've been having some trouble with some of the repeating action attributes/abilities - specifically grabbing attack damage. The closest I've gotten is "%{selected|repeating_action_$0_attack_damage}", but that's obviously calling an ability. What am I missing? 
Happy to report I've figured this out via a Powercards workaround - this thread can be locked:  !power {{ --name|Damage --hroll|[[ [$STR] 0d0 + @{selected|strength_mod}]] --hroll|[[ [$DEX] 0d0 + @{selected|dexterity_mod}]] --hroll|[[ [$CON] 0d0 + @{selected|constitution_mod}]] --hroll|[[ [$WIS] 0d0 + @{selected|wisdom_mod}]] --hroll|[[ [$INT] 0d0 + @{selected|intelligence_mod}]] --hroll|[[ [$CHA] 0d0 + @{selected|charisma_mod}]] --Damage:|[[ [$Dmg] @{selected|repeating_action_$0_attack_damage_dice}@{selected|repeating_action_$0_attack_damage_die} + [^@{selected|repeating_action_$0_attack_damage_ability}] ]] }}