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 .
×
The Roll20 Black Friday sale is live now! Up to 30% Off Your Favorite Content!

[Help] Trying to add values inside of a Macro

So for those unfamiliar with Vampire the Masquerade or any of the other World of Darkness games, sometimes your target number is the value of an attribute and an ability. What I'm trying to do is write a macro that will factor in the difficulty based on the selected token's sheet. I thought the following might work: /em uses Dread Gaze on @{selected|Name} with [[{(@{Player Character|Charisma}+@{Player Character|Intimidation})d10s}>@{selected|Wits}+@{selected|Courage}f1]] successes Unfortunately, instead of adding the values of Wits and Courage together, the value of Courage is being applied as an additional success. I'm currently using the following as a work around: /em uses Dread Gaze on @{selected|Name} with [[{(@{Player Character|Charisma}+@{Player Character|Intimidation})d10s}>?{@{selected|Wits}+@{selected|Courage}}f1]] successes Which relies on my not making a typo when performing basic math. Any ideas on how to fix the problem?
1457400090

Edited 1457400258
Try this out: /em uses Dread Gaze on @{selected|Name} with [[ (@{Player Character|Charisma} + @{Player Character|Intimidation})d10s>[[@{selected|Wits} + @{selected|Courage}]]f1 ]] successes
1457402247
Diana P
Pro
Sheet Author
if you nest the calculation, it should work.  try: /em uses Dread Gaze on @{selected|Name} with [[{(@{Player Character|Charisma}+@{Player Character|Intimidation})d10s}>[[@{selected|Wits}+@{selected|Courage}]]f1]] successes otherwise roll20 doesn't know that you want the wits and courage added together before using them.
No luck, here's what was spit out at me: with [[{(3+2)d10s}>7 successes So it's adding the Wits and Courage value (7) but not making the roll now.
/em uses Dread Gaze on @{selected|Name} with [[ (@{Player Character|Charisma} + @{Player Character|Intimidation})d10s>[[@{selected|Wits} + @{selected|Courage}]]f1 ]] successes
@Silvyre awesome! I was leaving out the spaces when I rewrote it. Good catch!
Glad you got it working.