r/Roll20•
squachy00

Variable macro help

HELP/HOW-TO

Hi everyone,

I hope this comes across as a clear question. My group is using the GURPS rule set and I am running a barbarian style character. I am trying to set up a macro for a skill that allows him to hit all adjacent people.

As it stands I can get the base macro where

&{template:default} {{name=Bladed Wind}} {{To hit=[[3d6]] vs 15}} 

However the value of 15 is subject to change based on what part of the body the attack is hitting (such as to the face incurring a -5 penalty). Where on the enemy the attack is aiming is also part of the roll (we were doing a 1-10 for the hit location; so /r 1d10). What do I need to create to make this macro functional?

Thank you

Posted Dec 31, 2019, 12:57 AM UTC

14
the1ine•

How do you want it to function?

1
squachy00OP•

I want it to function as a to hit vs the variable value (15 - whatever the hit location penalty is based on a 1d10 dice roll)

1
the1ine•

As someone said, for discrete values mapping the 1d10 result to some other number you'd need to incorporate a table roll. What are your 1d10 values thougfh and what AC penalty do they correspond to? It might be possible to be clever with maths depending on the values. For instance (crudely) if all the values are between 5 and 15 and equally weighted then just do 1d10+5, ya dig?

1
m1s1n•

The (15 - location) is going to require a table or custom dice.

You will set one macro up for the table and then click a second nested macro within it for the attack (where you would manually input the modifier).

Custom dice would require a Pro account and some coding.

1