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

Initiative macro for Exalted 3E

1452220835

Edited 1452220899
Hello there,&nbsp; it is kinda embarrassing for my first post to be about struggling with macros... But I need help to understand how this all works. &nbsp; So I took a look at the macro wiki page and found the macros for D&D and Shadowrun, took those as a guideline as I tried to make the following into a macro. First I need to add up the value from two attributes from the character sheet and count all successes with a target number of 7 and 10s counting double. To those successes I add 3 to get to the final Initiative value. I looked around a bit and found that it will be very difficult to make the 10s count double, so just getting to the point of rolling the sum of the two attributes of the selected token through an ability will be enough I guess. Easier said than done... In code I thought it would be something like this... /roll @{selected|wits}D10sd&gt;7+@{selected|awareness}D10sd&gt;7+3 It is messy. I´d liked to roll both attributes as one roll and not as seperates ones marked with () so the 10s are all at the top. That makes it just faster to count. Though I am happy that it works at all. But if I would add the&nbsp;&{tracker} at the end it would even count the successes as initiative wich would be absolutely awesome... If I could make the 10s count double. Is there no way to count the 10s within an expression and add a numeric value of 1 for every 10 to the result?&nbsp; I already found this:&nbsp; <a href="https://app.roll20.net/forum/post/2621357/exalted-" rel="nofollow">https://app.roll20.net/forum/post/2621357/exalted-</a>... But this does not seem like I could actually use this. And it is hard to understand with my current knowledge.&nbsp; I really appreciate every sugestion or workaround for my problem.&nbsp;
1452229092

Edited 1452229464
Hi, Ryoki . You can group items within a dice pool using parentheses: /r (@{selected|wits} + @{selected|awareness})d10sd&gt;7 + 3 or [[ (@{selected|wits} + @{selected|awareness})d10sd&gt;7 + 3 ]] It might make counting successes a bit easier if you append cf&lt;6 to your roll (e.g. d10sd&gt;7cf&lt;6). This highlights non-successes in red. Unfortunately, Roll20's dice engine doesn't have a way of counting certain numbers as "double successes". However, an API script could easily handle this (access to the API is available in games created by Pro subscribers). If you have any questions about my macro in the thread you linked to, I'd be happy to answer them.
1452234313
Lithl
Pro
Sheet Author
API Scripter
Silvyre said: Unfortunately, Roll20's dice engine doesn't have a way of counting certain numbers as "double successes". However, an API script could easily handle this (access to the API is available in games created by Pro subscribers). You can also use rollable tables. The Exalted 2e sheet assumes the existence of two rollable tables (one equivalent to double-10s and one without double-10s) for its roll buttons. The downside to this approach is that you have to create new tables if players start using charms or astrology to affect the target number or what numbers are being doubled.
First of all thank you both for your help. :)&nbsp; @Silvyre The grouping helped a lot. I also decided to keep adding it to the turn tracker, since it still saves a few clicks even if I need to manually add the successes for the 10s.&nbsp; Concerning the API script... I wanted to upgrade to the plus subscription either way but first I wanted to make sure I can actually use all of the cool stuff roll20 is offering. Also the reason I started to look into macros even though my group works just fine without.&nbsp; So how would I go about scripting with API? I know it needs Javascript. Luckily I just started to learn it for another project. But I do not need a global rule saying every 10 counts as two successes since there are rolls with normal 10s too. So it could get a bit complicated? I do not know, I have yet to script anything myself.&nbsp; @Brian Rollable tables? I kinda read a bit about them somewhere but I do not remember what exactly they are. From the sound of it it seems to be an okay solution. Guess I will be searching the wiki for a bit. :)&nbsp; Again thank you for your time.&nbsp;
1452298981
Lithl
Pro
Sheet Author
API Scripter
Rollable Tables A table like this can be used for normal "success on 7+, double 10s" rolls: Name Weight botch 1 0 5 1 3 2 1 I include the "botch" value so you can tell if a roll should be a botch when you roll 0 successes, although in an inline roll it will only show (without hovering your mouse over the roll) if the botch was the first value rolled. A roll would be something like "[[(@{wits} + @{awareness})t[exalted]]]" assuming the table name is "exalted". With names and weights 0 -&gt; 6 and 1 -&gt; 4, you could make an "exalted-damage" table, which can't botch and doesn't get double successes on 10s. And so on, for all variations you end up needing.
1452333009
Finderski
Plus
Sheet Author
Compendium Curator
Ryoki said: Concerning the API script... I wanted to upgrade to the plus subscription either way but first I wanted to make sure I can actually use all of the cool stuff roll20 is offering.&nbsp; Just to clarify, the API access is only available to Pro subscriptions. A Plus subscription will get you access to Rollable Tables, though. And regarding the API itself, The Aaron is typically summoned just by chanting API in a mirror three times while the lights are off; he typically can be entreated to help with API questions (and maybe even write the script for your if you ask nicely, and promise him cookies).
1452337066
Lithl
Pro
Sheet Author
API Scripter
G V. said: Ryoki said: Concerning the API script... I wanted to upgrade to the plus subscription either way but first I wanted to make sure I can actually use all of the cool stuff roll20 is offering.&nbsp; Just to clarify, the API access is only available to Pro subscriptions. A Plus subscription will get you access to Rollable Tables, though. Rollable tables are available for everyone.
@G V.&nbsp; Ah sorry, I knew that. My intention was more like "Since I wanted to upgrade either way, let me see if the access to the API with the pro subscription will make my life easier". I'm a student so I need to make sure where to spent my money.&nbsp; And thank you for the summoning ritual instructions. I will see if I can make contact with the API wizard. :)&nbsp; @Brian&nbsp; Thanks to your link I played around with tables for a little while. It works really well, though I have no idea with how many tables I would end up with. But I don't think that is an actual problem. Guess I just need to jump in and see what works best for now.&nbsp; Silvyre was kind enough to explain his macro to me and how I could adapt it to several different circumstances.&nbsp; Thank you again. All of you have helped me a great deal!&nbsp;
1452378551
Finderski
Plus
Sheet Author
Compendium Curator
Brian said: G V. said: Ryoki said: Concerning the API script... I wanted to upgrade to the plus subscription either way but first I wanted to make sure I can actually use all of the cool stuff roll20 is offering.&nbsp; Just to clarify, the API access is only available to Pro subscriptions. A Plus subscription will get you access to Rollable Tables, though. Rollable tables are available for everyone. Has it always been that way? I could have sworn when I started with Roll20 I didn't have access to Rollable Tables... Either way, thanks for the correction, because now I know. :)