Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Script:Exalted Successes"

From Roll20 Wiki

Jump to: navigation, search
m
(I fixed the table so that any mental calculation isn't needed. A "botch" is essentially a -1 value, which is calculable by the roll, negating the need to look over the resulting output aside from the actual result.)
Line 19: Line 19:
 
! Weight
 
! Weight
 
|-
 
|-
| botch
+
| -1
 
| 1
 
| 1
 
|-
 
|-
Line 32: Line 32:
 
|}
 
|}
  
Assuming the table is named <code>exalted</code>, you can then roll on it with something like <code>/roll 8t[exalted]</code>. This solution won't accurately report botches, but you can check the roll itself after the fact if no successes were garnered.
+
Assuming the table is named <code>exalted</code>, you can then roll on it with something like <code>/roll 8t[exalted]</code> or <code>[[8t[exalted]]]</code> for inline rolling (useful if you want to create a macro to hide the ugly output that it gives). The result will be the number of "successes" that the roll has. This solution will also calculate botches (-1) into the result, negating the need to hand calculate the final result. If the number is less than 0, then the roll ended in a botch. If it is 0, then it is a simple failure.
  
 
For bonus points, you can make alternate tables for damage (1 weighted 4 and no 2) and for Sidereal shenaniganry. It also doesn't require any scripting to achieve.
 
For bonus points, you can make alternate tables for damage (1 weighted 4 and no 2) and for Sidereal shenaniganry. It also doesn't require any scripting to achieve.

Revision as of 04:56, 16 July 2015

API ScriptAuthor: Brian
Version: 2.1
Last Modified: 2015-03-14
Code: Exalted Successes
Dependencies: Interpreted sendChat
Conflicts: None

After posting a message with a roll (either regular or inline) which uses d10s, Exalted Successes will echo the number of successes (or botches) using the dice system in Exalted. This script does not take into account Sidereal Astrology modifying the target number, nor does it try to filter players posting a roll with modifiers and the like. This script does not scrutinize based on normal die rolls (10s count double) vs. damage rolls (10s don't count double).

If this script is in the campaign, every roll which uses d10s will be reported.

Notes

You can achieve similar results with rollable tables, without resorting to the scripts that require mentor-level accounts.

Name Weight
-1 1
0 5
1 3
2 1

Assuming the table is named exalted, you can then roll on it with something like /roll 8t[exalted] or [[8t[exalted]]] for inline rolling (useful if you want to create a macro to hide the ugly output that it gives). The result will be the number of "successes" that the roll has. This solution will also calculate botches (-1) into the result, negating the need to hand calculate the final result. If the number is less than 0, then the roll ended in a botch. If it is 0, then it is a simple failure.

For bonus points, you can make alternate tables for damage (1 weighted 4 and no 2) and for Sidereal shenaniganry. It also doesn't require any scripting to achieve.

Changelog

v2.1 (2015-03-14)

  • [bugfix] Fixed infinite loop chat message problem


v2.0 (2015-01-08)

  • Release