
Hello there, it is kinda embarrassing for my first post to be about struggling with macros... But I need help to understand how this all works. 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>7+@{selected|awareness}D10sd>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 &{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? I already found this: <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. I really appreciate every sugestion or workaround for my problem.