G G said: There's a witcher sheet already in development, there's a thread here somewhere. Regarding your macro, I think this should work !?{Range to Target|Point Blank,+5|Close,+0|Medium,-2|Long,-4|Extreme,-6}
?{Archery|
Head, **Archery** You attempt a ranged attack at ?{Range to Target } toward the *Head* with [[1d10+@{dex}+@{archery}-6 ?{Range to Target } ]]. |
Torso, **Archery** You attempt a ranged attack at ?{Range to Target } toward the *Torso* with [[1d10+@{dex}+@{archery}-1?{Range to Target } ]]. |
Arm/Limb, **Archery** You attempt a ranged attack at ?{Range to Target } toward an *Arm* or *Limb* with [[1d10+@{dex}+@{archery}-3?{Range to Target } ]]. |
Leg/Special, **Archery** You attempt a strong ranged attack at ?{Range to Target } toward a *Leg* or *Special* area with [[1d10+@{dex}+@{archery}-2?{Range to Target } ]].
} The ! on the first line means that output wont appear in chat. But the result can be used in the rest of the macro. Inside the query, the ending } needs to be replaced with &#125; A puzzle I am trying to work out now, I tried to take that macro and embed it as HTML into my custom sheet. I had thought I got the hang of it, and didn't want to bother any of you thinking it would 'click in place' eventually in my head. Turns out, it's not. Here's what I have: <label>Archery</label><strong class='dee'></strong><input type="number" name='attr_archery' class='sheet-short'><button type='roll' name='roll_archery' value='?{Range to Target|Point Blank,+5|Close,+0|Medium,-2|Long,-4|Extreme,-6&#125;
Head, **Archery** You attempt a ranged attack at ?{Range to Target&#125; toward the *Head* with [[1d10+@{dex}+@{archery}-6?{Range to Target&#125;]]. |
Torso, **Archery** You attempt a ranged attack at ?{Range to Target&#125; toward the *Torso* with [[1d10+@{dex}+@{archery}-1?{Range to Target&#125;]]. |
Arm/Limb, **Archery** You attempt a ranged attack at ?{Range to Target&#125; toward an *Arm* or *Limb* with [[1d10+@{dex}+@{archery}-3?{Range to Target&#125;]]. |
Leg/Special, **Archery** You attempt a strong ranged attack at ?{Range to Target&#125; toward a *Leg* or *Special* area with [[1d10+@{dex}+@{archery}-2?{Range to Target&#125;]].
}'></button><br /> Do I need to replace the } after each 'dex' and 'archery' call? I thought they might be protected inside the [[ ]]? Sorry if this is coming across dumb, I feel like this pattern or method is on the tip of my tongue and i'm just over-thinking it? Additionally, I gave it a go by using replacement for all of (what I thought) were offending characters in-between the opening and end brackets (see code below), this also failed... <label>Archery</label><strong class='dee'></strong><input type="number" name='attr_archery1' class='sheet-short'><input type="number" name='attr_archery' class='sheet-short'><button type='roll' name='roll_archery' value='?{Range to Target|Point Blank,+5|Close,+0|Medium,-2|Long,-4|Extreme,-6&#125;
Head&#44; **Archery** You attempt a ranged attack at ?{Range to Target&#125; toward the *Head* with [[1d10+@{dex&#124;+@{archery&#124;-6?{Range to Target&#125;]]. &#124;
Torso&#44; **Archery** You attempt a ranged attack at ?{Range to Target&#125; toward the *Torso* with [[1d10+@{dex&#124;+@{archery&#124;-1?{Range to Target&#125;]]. &#124;
Arm/Limb&#44; **Archery** You attempt a ranged attack at ?{Range to Target&#125; toward an *Arm* or *Limb* with [[1d10+@{dex&#124;+@{archery&#124;-3?{Range to Target&#125;]]. &#124;
Leg/Special&#44; **Archery** You attempt a strong ranged attack at ?{Range to Target&#125; toward a *Leg* or *Special* area with [[1d10+@{dex&#124;+@{archery&#124;-2?{Range to Target&#125;]].
}'></button><br /> Edit: Spelling mistake.