.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
  #13  
Old July 19th, 2007, 10:43 AM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: Finding enemy searched magic sites.

[thinks] Oh, I see. You're right, if Dominions uses Jazzepi's discontinue-on-fail algorithm P(3 sites | 2 sites) = site freq, and maybe you shouldn't skip them. However, I don't believe that it does discontinue on fail because (w/ site freq 45) I don't see anything close to 55% of provinces having zero sites. The distribution of sites I actually see looks more like a binomial, which makes skipping 2-site provinces reasonable after all.

Binomial probability calculator
P(1+ sites) = 91%
P(2+ sites) = 61%
P(3+ sites) = 24%
P(at least 3 sites | at least 2 sites) = 24/61 = 40%

Assuming that all sites are equally likely in a given terrain, that gives a 91/8 = 11% chance of finding a site in a "fresh" province with a site-searching spell, and a 40/8 = 5% chance of finding a site in a province that already has 2 sites.

-Max

Edit: no, that's wrong. There's more than an 91/8 = 11% chance of finding a site with a spell, since there could be more than one site there. But I'm too lazy to do the math at the moment, and I've made my point.
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
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 08:52 PM.


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