• The VOIDRUNNER'S CODEX is coming! Explore new worlds, fight oppressive empires, fend off fearsome aliens, and wield deadly psionics with this comprehensive boxed set expansion for 5E and A5E!

D&D 5E How long does a "save ends" spell last?

Xeviat

Hero
Hi everyone. Can someone check my math? I fiddled with the formula on this until I got it working, and it seems to match up to me doing the math long-hand.

For a 1 minute duration spell with a save at the end of each of the creature's turns, how long should a spell last with a given percent chance to fail a save?

Failure%Average Rounds
00
50.05
100.11
150.18
200.25
250.33
300.43
350.54
400.67
450.82
501
551.22
601.49
651.83
702.27
752.83
803.57
854.55
905.86
957.62
10010

The formula I ended up using was (chance to fail^rounds)*(1-chance to fail) to determine the percent chance of it lasting each of the given number of rounds, then it was rounds*chance all summed together to get these.

Did I get it right?
 

log in or register to remove this ad



Goober4473

Explorer
Assuming they make the save at the end of their turn, and are thus affected for at least 1 round, shouldn't the minimum average rounds be 1? Or is this a calculation for extra rounds?
 



bid

First Post
The sum of 1 + 1/2 + 1/4 + 1/8 + ... = 2
This is a 50% chance of having to reroll next turn.

The general case:
S = ∑ p^i
S * p = ∑ p^i - p^0
S * (1 - p) = p^0
S = 1 / (1 - p)

If you have 19/20 of failing your save, it will take {1 / (1 - 19/20) = 20} rounds


tl;dr
Your average durations should be 20/19, 20/18, ... 20/4, 20/3, 20/2, 20/1.
 

Satyrn

First Post
So, I coded a test for you , doing a 1000 iterations (the save mod is 0)

DC 1: 0.0
DC 2: 0.055
DC 3: 0.097
DC 4: 0.169
DC 5: 0.228
DC 6: 0.304
DC 7: 0.428
DC 8: 0.531
DC 9: 0.679
DC 10: 0.814
DC 11: 0.98
DC 12: 1.251
DC 13: 1.426
DC 14: 1.889
DC 15: 2.31
DC 16: 3.054
DC 17: 4.203
DC 18: 5.459
DC 19: 9.131
 

Satyrn

First Post
And 10,000 iterations

DC 1: 0.0
DC 2: 0.0514
DC 3: 0.1131
DC 4: 0.1806
DC 5: 0.2567
DC 6: 0.334
DC 7: 0.4262
DC 8: 0.5403
DC 9: 0.6668
DC 10: 0.808
DC 11: 1.0247
DC 12: 1.2124
DC 13: 1.5228
DC 14: 1.8887
DC 15: 2.3327
DC 16: 2.8906
DC 17: 4.0015
DC 18: 5.7033
DC 19: 8.9407
DC 20: 19.4137

I'd say your math is close enough.
 

Remove ads

Top