9
\$\begingroup\$

I am trying to use the exploding function and the highest of functions, but I am having issues with the skill die or wild die side of the roll.

If I do output [highest 1 of 1d4 + 1d6] I get a minimum result of 2...which tells me I am doing this wrong. Is there a way to do highest of d4 OR d6?

\$\endgroup\$
9
\$\begingroup\$

The syntax for non-exploding and taking highest is:

output [highest of 1@1d4 and 1@1d6]

You could also split your command, like this:

output [highest of [highest 1 of 1d4] and [highest 1 of 1d6]]

For exploding, simply add the [explode <roll>] tag, so the result will be something like:

output [highest of [highest 1 of [explode 1d4]] and [highest 1 of [explode 1d6]]]

Or even simpler:

output [highest of [explode 1d4] and [explode 1d6]]
| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ I see so I should be ok with this. output [highest of 1@[explode d4] and 1@[explode d6]] \$\endgroup\$ – Jtest May 12 '17 at 13:51
  • 1
    \$\begingroup\$ There are some edge cases in Savage Worlds where dice do not explode, most notably damage to inanimate objects like busting down a door. So thanks for including both! \$\endgroup\$ – Thunderforge May 12 '17 at 18:05
  • \$\begingroup\$ Also note a roll of 1 on a sorcery-based spell-casting roll results in backlash regardless of the roll on the Wild die. \$\endgroup\$ – FluxIX Jul 26 '17 at 16:16
  • \$\begingroup\$ I think that last one has too many highest of and could just be output [highest of [explode 1d4] and [explode 1d6]]. Not confident enough with anydice to just edit the answer though... \$\endgroup\$ – Chris Nov 29 '17 at 14:41
  • \$\begingroup\$ @Chris you are correct that they wield the same result. Back when I wrote this answer, I had some kind of issue with highest of that forced me to input a number (highest 1 of) and led me to this code. But explode already wields the highest result. \$\endgroup\$ – ShadowKras Nov 29 '17 at 17:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.