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

PowerCard macros and your kindness

A player and myself created a bunch of Powercard macros for the use in the campaign im running. They worked great until recently when the party has encountered the dreaded multiattack. Looking into it we realised that we need weapon macros that didnt just roll a single attack with a weapon but could be modified if the attack was a power attack, was it rapid shot or some other conditional attack. I'm asking for examples or even ones you use personally to help solve this issue. As a sign of good faith and to prove I'm not here without at least trying here's what I came up with but obviously this gets very long and messy. (example is for a ranger which introduced the issue via Rapid fire. !power {{ --tokenid|@{selected|token_id} --emote|//?{Description}// --name|Weapon Attack --leftsub|♦ @{selected|repeating_weapon_$0_name} (@{selected|repeating_weapon_$0_range}ft) --rightsub|^^♦ @{selected|repeating_weapon_$1_name} (@{selected|repeating_weapon_$1_range}ft) ♦ --title|[[ [$AtkWpn] ?{@{selected|repeating_weapon_$0_name} (0), @{selected|repeating_weapon_$1_name} (1), @{selected|repeating_weapon_$2_name} (2) } + 0d0 ]] --?? $AtkWpn == 0 ?? Weapon:| @{selected|repeating_weapon_$0_name} --?? $AtkWpn == 0 ?? Attack:|[[ [$AtkBow] 1d20cs&gt;@{selected|repeating_weapon_$0_crit-target} + @{selected|repeating_weapon_$0_total-attack}]] vs **AC** --?? $AtkWpn == 0 AND $AtkBow.base &gt;= @{selected|repeating_weapon_$0_crit-target} ?? Damage:|[[@{selected|repeating_weapon_$0_crit-multiplier}*[[@{selected|repeating_weapon_$0_damage-dice-num}d@{selected|repeating_weapon_$0_damage-die}]] + @{selected|repeating_weapon_$0_total-damage}]]**@{selected|repeating_weapon_$0_type}** --?? $AtkWpn == 0 AND $AtkBow.base &lt; @{selected|repeating_weapon_$0_crit-target} ?? Damage:|[[@{selected|repeating_weapon_$0_damage-dice-num}d@{selected|repeating_weapon_$0_damage-die} + @{selected|repeating_weapon_$0_total-damage}]]**@{selected|repeating_weapon_$0_type}** --?? $AtkWpn == 1 ?? Weapon:| @{selected|repeating_weapon_$1_name} --?? $AtkWpn == 1 ?? Attack:|[[ [$AtkDag] 1d20cs&gt;@{selected|repeating_weapon_$1_crit-target} + @{selected|repeating_weapon_$1_total-attack}]] vs **AC** --?? $AtkWpn == 1 AND $AtkDag.base &gt;= @{selected|repeating_weapon_$1_crit-target} ?? Damage:|[[@{selected|repeating_weapon_$1_crit-multiplier}*[[@{selected|repeating_weapon_$1_damage-dice-num}d@{selected|repeating_weapon_$1_damage-die}]] + @{selected|repeating_weapon_$1_total-damage}]]**@{selected|repeating_weapon_$1_type}** --?? $AtkWpn == 1 AND $AtkDag.base &lt; @{selected|repeating_weapon_$1_crit-target} ?? Damage:|[[@{selected|repeating_weapon_$1_damage-dice-num}d@{selected|repeating_weapon_$1_damage-die} + @{selected|repeating_weapon_$1_total-damage}]]**@{selected|repeating_weapon_$1_type}** --?? $AtkWpn == 2 ?? Weapon:| @{selected|repeating_weapon_$2_name} --?? $AtkWpn == 2 ?? Attack: *1|[[ [$AtkDag] 1d20cs&gt;@{selected|repeating_weapon_$2_crit-target} + @{selected|repeating_weapon_$2_total-attack}]] vs **AC** --?? $AtkWpn == 2 AND $AtkDag.base &gt;= @{selected|repeating_weapon_$2_crit-target} ?? Damage: *1|[[@{selected|repeating_weapon_$2_crit-multiplier}*[[@{selected|repeating_weapon_$2_damage-dice-num}d@{selected|repeating_weapon_$2_damage-die}]] + @{selected|repeating_weapon_$1_total-damage}]]**@{selected|repeating_weapon_$1_type}** --?? $AtkWpn == 2 AND $AtkDag.base &lt; @{selected|repeating_weapon_$2_crit-target} ?? Damage: *1|[[@{selected|repeating_weapon_$2_damage-dice-num}d@{selected|repeating_weapon_$2_damage-die} + @{selected|repeating_weapon_$2_total-damage}]]**@{selected|repeating_weapon_$2_type}** --?? $AtkWpn == 2 ?? Attack: *2|[[ [$AtkDag] 1d20cs&gt;@{selected|repeating_weapon_$2_crit-target} + @{selected|repeating_weapon_$2_total-attack}]] vs **AC** --?? $AtkWpn == 2 AND $AtkDag.base &gt;= @{selected|repeating_weapon_$2_crit-target} ?? Damage: *2|[[@{selected|repeating_weapon_$2_crit-multiplier}*[[@{selected|repeating_weapon_$2_damage-dice-num}d@{selected|repeating_weapon_$2_damage-die}]] + @{selected|repeating_weapon_$1_total-damage}]]**@{selected|repeating_weapon_$1_type}** --?? $AtkWpn == 2 AND $AtkDag.base &lt; @{selected|repeating_weapon_$2_crit-target} ?? Damage: *2|[[@{selected|repeating_weapon_$2_damage-dice-num}d@{selected|repeating_weapon_$2_damage-die} + @{selected|repeating_weapon_$2_total-damage}]]**@{selected|repeating_weapon_$2_type}** }} Also here's an example of our skill check macro which works fine atm. !power {{ --tokenid|@{selected|token_id} --txcolor|#FFFFFF --emote|//@{selected|character_name} ?{Description|Prepares himself to do something intellectual}// --name|Skill Check --title|[[ [$WisChk] ?{Heal (0),Perception (1), Profession (2), Sense Motive (3), Survival (4)} + 0d0 ]] --?? $WisChk == 0 ?? Check:| @@<a href="http://www.d20pfsrd.com/skills/heal||__Heal__@@" rel="nofollow">www.d20pfsrd.com/skills/heal||__Heal__@@</a> --?? $WisChk == 0 ?? Score:| [[1d20 + @{selected|Heal}]] --?? $WisChk == 0 AND @{selected|Heal-ranks} &gt; 0 ?? Trained:| True --?? $WisChk == 0 AND @{selected|Heal-ranks} == 0 ?? Trained:| False --?? $WisChk == 1 ?? Check:| @@<a href="http://www.d20pfsrd.com/skills/perception||__Perception__@@" rel="nofollow">www.d20pfsrd.com/skills/perception||__Perception__@@</a> --?? $WisChk == 1 ?? Score:| [[1d20 + @{selected|Perception}]] --?? $WisChk == 1 AND @{selected|Perception-ranks} &gt; 0 ?? Trained:| True --?? $WisChk == 1 AND @{selected|Perception-ranks} == 0 ?? Trained:| False --?? $WisChk == 2 ?? Check:| @@<a href="http://www.d20pfsrd.com/skills/profession||__Profession__@@" rel="nofollow">www.d20pfsrd.com/skills/profession||__Profession__@@</a> --?? $WisChk == 2 ?? Score:| [[1d20 + @{selected|Profession}]] --?? $WisChk == 2 AND @{selected|Profession-ranks} &gt; 0 ?? Trained:| True --?? $WisChk == 2 AND @{selected|Profession-ranks} == 0 ?? Trained:| False --?? $WisChk == 3 ?? Check:| @@<a href="http://www.d20pfsrd.com/skills/sense-motive||__Sense" rel="nofollow">www.d20pfsrd.com/skills/sense-motive||__Sense</a> Motive__@@ --?? $WisChk == 3 ?? Score:| [[1d20 + @{selected|Sense-Motive}]] --?? $WisChk == 3 AND @{selected|Sense-Motive-ranks} &gt; 0 ?? Trained:| True --?? $WisChk == 3 AND @{selected|Sense-Motive-ranks} == 0 ?? Trained:| False --?? $WisChk == 4 ?? Check:| @@<a href="http://www.d20pfsrd.com/skills/survival||__Survival__@@" rel="nofollow">www.d20pfsrd.com/skills/survival||__Survival__@@</a> --?? $WisChk == 4 ?? Score:| [[1d20 + @{selected|Survival}]] --?? $WisChk == 4 AND @{selected|Survival-ranks} &gt; 0 ?? Trained:| True --?? $WisChk == 4 AND @{selected|Survival-ranks} == 0 ?? Trained:| False }} Your kindness is appreciated.&nbsp; -ToastiePOP
Just fyi, you should be more careful about re-using tag names. PowerCards does not like it when there are multiples of the same tag name, like Trained. In cases like this... I hide the tag name and make a fake tag inside the content. --!RealTag1|**Fake Tag:** Content --!RealTag2|**Fake Tag:** Content --!RealTag3|**Fake Tag:** Content
HoneyBadger said: Just fyi, you should be more careful about re-using tag names. PowerCards does not like it when there are multiples of the same tag name, like Trained. In cases like this... I hide the tag name and make a fake tag inside the content. --!RealTag1|**Fake Tag:** Content --!RealTag2|**Fake Tag:** Content --!RealTag3|**Fake Tag:** Content All power leader thank you for blessing us with your knowledge! Thanks for the advice will do so for future macros as this hasnt broken yet. **Touches Wood**