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 .
×

Invert dice, compare, output - macro question

Good day fellow dms and players, I'm looking for a macro or script that can compare the rolled value of a d100 and output the associated hit location. The sytem is warhammer fantasy 4e and I'm having a bit of trouble, because firstly the rolled number has to be inverted, then compared and secondly the span between the associated numbers are even and uneven. So I can't just divide the roll by x and compare. 100 table entries seems to be a lot. The table and output should be as followed : Inverted Roll Location 01 - 09 Head 10 - 24 Non-dominant Arm 25 - 44 Dominant Arm 45 - 75 Body 80 - 89 Left Leg 90 - 00 Right Leg I've been looking through a few older forum posts, but non were really helpful so far.
just create a table