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

Success rolls with a variable number of needed rolls

Hi, I've recently started looking more into the rolling system beyoned the average d20 rolls and Would like some help wiht a roll I need for my character since he might lead a small warband and we don't want to hold up combat for too long and we don't want to do the actual larger battle outside of the session sinc ethen you might get really wierd results, So what I need and I have been trying to create is something which rolls a variable number of successes against a certain dificulty without having to copy paste the same 1d20+5 attack roll 200 times. So far I already have the latter part of the roll which is the variable dificulty: Example: ./r {1d20+4, 1d20+4, 1d20+4}>?{Enemy AC|0} So just to recap instead of having to put "1d20+4, 1d20+4, 1d20+4,....." in there 200 times I would just like to be able to enter the amount of time I'd like it to do the roll Any ideas on how to do this?
1431870479
Gen Kitty
Forum Champion
Not without API, which requires the creator of the campaign to have a mentor-level subscription.
Ah that's sad, he doesn't I'll look if theres another easier way to do this
Because I am curious, which system requires 200 rolls ;) (even a dozen would be quite a lot)
If they're all the same bonus, you can just subtract it from both sides and hide the right-side math inside an inline roll: 200d20>[[?{AC|0}-@{bonus}]]
1431891482

Edited 1431891819
Lithl
Pro
Sheet Author
API Scripter
Wandler said: Because I am curious, which system requires 200 rolls ;) (even a dozen would be quite a lot) Game: Exalted, Second Edition Setup: Unity of the Closed Fist with heavily statted & equipped party + Unbreakable Bones of Stone to create Strength 14, Dexterity 9, Melee 5 (specialty: Daiklaves +3), Valor 5 Attack: Dexterity (9) Melee (5) Specialty (3) Stunt (3) First Melee Excellency + Melee Essence Flow (17) Composite Daiklave (7) Aim + Fierce Blow (2) Channel Valor (8) TOTAL: 54 dice, average 27 successes plus 1 from Thunderbolt Attack Prana for 28 successes (max 109 successes) Assume: Target has 0 DV Raw Damage: Composite Daiklave (21) Hearthstone Bracers (2) Candent Carbuncle (4) 5 Strength (5) Golden Destruction Cut using Divine Transcendence of Melee to qualify for Essence 6 upgrade (quadruple extra successes from attack: 108) TOTAL: 140 dice (max 464 dice) Assume: Target has 0 soak Post-Soak Damage: Flashing Edge of Dawn (1) Fire and Stones Strike (19) World-Scarring Solar Glory (5) Raw damage (140) Thunderbolt Attack Prana (double post-soak damage) TOTAL: 330 dice, average 132 successes (max 978 dice, average 391.2 successes) Note: Since the post-soak damage pool exceeds the maximum health levels of... well, basically everything, World-Scarring Solar Glory lets the amalgam inflict any number of levels of damage desired, no damage roll necessary. So really, the 132 average damage is unnecessary and the actual damage is infinite at this point. ... now add flurries and extra-action charms. =)
1431894914
Sungrass
Plus
Sheet Author
/roll {Nd20+M}>TN Lets you roll N number of d20's, add M to each roll, and compare each roll to the TN. All three variables can be input in the same way you input the AC in your example.
Allright just saw that there were a bunch of replies yay! :D Wandler said: Because I am curious, which system requires 200 rolls ;) (even a dozen would be quite a lot) We are playing 5e D&D and our GM has made an absolutley amazing map for it, currently I think we're in the 4th era and we're in the mountains of Highrock there are a lot of Orc's around there and we just helped a stronghold defend against some raiders and the chieftan now has much more respect for me, since I came into the camp with 30 Hp out of my max of 60, and then faught till the end where I was at 10 Hp, I'm a barbarian so lots of rawrs and stuff happened, so he told me the location of other orc strongholds nearby and doing some simple math on around how man free men would want to join me there I came to the number of 210 Orc's and that's not even all the strongholds in the mountains up there manveti said: If they're all the same bonus, you can just subtract it from both sides and hide the right-side math inside an inline roll: 200d20>[[?{AC|0}-@{bonus}]] Thanks I'll try that, but I think it might add all rolls though, which is the problem I've been running into Brian said: Wandler said: Because I am curious, which system requires 200 rolls ;) (even a dozen would be quite a lot) Game: Exalted, Second Edition Setup: Unity of the Closed Fist with heavily statted & equipped party + Unbreakable Bones of Stone to create Strength 14, Dexterity 9, Melee 5 (specialty: Daiklaves +3), Valor 5 Attack: Dexterity (9) Melee (5) Specialty (3) Stunt (3) First Melee Excellency + Melee Essence Flow (17) Composite Daiklave (7) Aim + Fierce Blow (2) Channel Valor (8) TOTAL: 54 dice, average 27 successes plus 1 from Thunderbolt Attack Prana for 28 successes (max 109 successes) Assume: Target has 0 DV Raw Damage: Composite Daiklave (21) Hearthstone Bracers (2) Candent Carbuncle (4) 5 Strength (5) Golden Destruction Cut using Divine Transcendence of Melee to qualify for Essence 6 upgrade (quadruple extra successes from attack: 108) TOTAL: 140 dice (max 464 dice) Assume: Target has 0 soak Post-Soak Damage: Flashing Edge of Dawn (1) Fire and Stones Strike (19) World-Scarring Solar Glory (5) Raw damage (140) Thunderbolt Attack Prana (double post-soak damage) TOTAL: 330 dice, average 132 successes (max 978 dice, average 391.2 successes) Note: Since the post-soak damage pool exceeds the maximum health levels of... well, basically everything, World-Scarring Solar Glory lets the amalgam inflict any number of levels of damage desired, no damage roll necessary. So really, the 132 average damage is unnecessary and the actual damage is infinite at this point. ... now add flurries and extra-action charms. =) That is absolutley crazy,...... xD Calle A. said: /roll {Nd20+M}>TN Lets you roll N number of d20's, add M to each roll, and compare each roll to the TN. All three variables can be input in the same way you input the AC in your example. I'll try this one aswell let's hope this works :D!
Allright I just tested this and it worked what I ended up with was this: /roll {?{Number of attacks|0}d20+?{Attack Bonus|0}}>?{Enemy AC|0} Thanks everyone for replying! :D and the help ofcourse :p