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 .
×
Create a free account

Is this possible via Macro or API? HERO System damage types

Using the HERO System rules, some attacks can do Body damage as well as Stun damage. When I roll an attack, all the dice are totaled as Stun damage. Obviously, Roll20 does this perfectly. Body damage is computed as follows: Any die result of 1=O Body, 2-5=1 Body, 6=2 Body. We are currently doing this addition manually whenever it is required. Is there a way to get the game to automatically output Stun and Body damage via a Macro? Using the API? Impossible? In our first session, we noted that the dice displayed are a different color when they are a 1 or a 6 and this got us all excited that it might be possible. Anyone have any ideas? The Macro section of the wiki was helpful on many other questions, but not on this one.
1383358942

Edited 1383358981
Gauss
Forum Champion
You can use a table for body damage. Three entries: 0 Body: weight 1 1 Body: weight 4 2 Body: weight 1 Otherwise, no, there really isn't anything you can do for Body other than to do what you are doing now. - Gauss
From the description, it looks like the same die roll gives you stun damage _and_ body damage. For example, if you rolled 1, 1, 3, 6, that would be 11 stun damage and 0+0+1+2=3 body damage. One possible shortcut would be to create a rollable table with the following entries: 1.00: weight 1 2.01: weight 1 3.01: weight 1 4.01: weight 1 5.01: weight 1 6.02: weight 1 You could then safely roll up to 50 of these dies. The number in front of the decimal would be the stun damage, and the number after the decimal would be the body damage. Beyond 50 dies, you risk rolling over the body damage into the stun damage. Of course, this assumes that floating-point math works properly in Roll20, and I'm pretty sure that there's a bit of iffiness there :)
It looks like we can at least make this simpler by using a Sort on the die rolls. If I'm reading it correctly, that will put all the dice in order and we can manually add stuff a bit more easily. Thanks for the suggestions anyway!