.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old September 14th, 2009, 09:14 AM

Agema Agema is offline
First Lieutenant
 
Join Date: Aug 2007
Location: UK
Posts: 792
Thanks: 28
Thanked 45 Times in 31 Posts
Agema is on a distinguished road
Default Re: OW describes the "Zeroing Effect" for Begginers

Quote:
Originally Posted by Pehmyt View Post
Quote:
Originally Posted by Agema View Post
If anyone wants to check this sort of phenomenon mathematically, I've attached an MS Excel file I made months ago. I don't know programming, so I constructed it longhand with Excel, and it's accurate up to DRN rolls about 40-50, which means it's over 99.99% accurate.
I think I should comment that as far as I can understand your spreadsheet, the results are ~10% off as soon as the open-ended rolls enter the picture. Did you take into account that 6 equals "5 +extra roll"? Not that it matters for the present discussion.

For example, the probability of getting 7 should be that of throwing one of (2;5), (3;4), (4;3), (5;2), (6,1;1), (1;6,1) (with ";" separating the two dice), that is 4/36 + 2/216 = 13/108 = 0.1204.

The results corresponding your column A can be computed exactly by writing the value of DRN roll as X=5k+r+1, with r between 0 and 4, and using
Code:
P(DRN = 5k+r+1) =  ((6-r)5k +r )/6^(k+2)

The chances of DRN being at least as large as a given number X=5k+r+1 can also be computed exactly, although this is not directly useful. It could be practical for generating a table similar to that in manual without losing too much precision. For 6-sided dice it reads
Code:
P(DRN >= 5k+r+1) = ( (48 - 13r + r^2)5k + 72 + r - r^2 )/( 2 * 6^(k+2) )
Yes, I did account for 6s being re-rolled, however there was an error in my working, I misplaced some columns in my working as if an extra roll was calculated as 6+d6, not 6-1+d6, which was where the 10% arrived. I've revised my tables accordingly, and I'll check them agains the book and repost them.

I had a look at those equations, and although my maths is pretty rusty these days I don't think they work for 2d6 which are the basis of DRNs in Dom 3. I'm not entirely clear what k and r represent - k = number of 6s rolled and [i]r[/r] = d6-1 excluding 6? It would work with something more like X=5k+r+r'+2.
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:11 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.