First of
all, Oosh, Thank you for the help! I’ve just
begun running a FFG Star Wars campaign and am trying and automising as much
rolls as possible, using mostly selected/target macros. Unfortunately,
the API Dice Roller doesn’t accept any more complex input than simple numbers,
apparently (I couldn’t make it accept any [[operations]]). So my idea was doing
the actual calculation in a separate macro, parking the result in a Mule Char,
and calling it from there into the dice roll.
And yes, I’m
using ChatSetAttr for that; the specific macro being: !setattr --silent --name -DicePool --space-difficulty|
[[1 +
{{@{target|space-silhouette}-@{selected|space-silhouette},10}<1} +
{{@{selected|space-silhouette}-@{target|space-silhouette},-10}>2} +
{{@{selected|space-silhouette}-@{target|space-silhouette},-10}>3} +
{{@{selected|space-silhouette}-@{target|space-silhouette},-10}>4}]]