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

This Month's Specials

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

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old June 8th, 2008, 09:41 PM
secretperson's Avatar

secretperson secretperson is offline
Corporal
 
Join Date: Mar 2008
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
secretperson is on a distinguished road
Default Fortune teller

Simple question really- Do the effects of multiple fortune tellers stack?
Reply With Quote
  #2  
Old June 8th, 2008, 11:22 PM

chrispedersen chrispedersen is offline
BANNED USER
 
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
chrispedersen is on a distinguished road
Default Re: Fortune teller

yes.
Reply With Quote
  #3  
Old June 9th, 2008, 01:42 AM

Wick Wick is offline
Sergeant
 
Join Date: Oct 2003
Posts: 262
Thanks: 1
Thanked 0 Times in 0 Posts
Wick is on a distinguished road
Default Re: Fortune teller

It depends what you mean by stack. The chances aren't added but each one gets a chance of stopping each bad event.
Reply With Quote
  #4  
Old June 9th, 2008, 01:44 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Fortune teller

Yes, in the sense that each fortune teller checks separately for prevention. No, as in their abilities are not additive.
Reply With Quote
  #5  
Old June 9th, 2008, 02:32 AM
secretperson's Avatar

secretperson secretperson is offline
Corporal
 
Join Date: Mar 2008
Posts: 159
Thanks: 0
Thanked 0 Times in 0 Posts
secretperson is on a distinguished road
Default Re: Fortune teller

Interesting! Thanks for the responses!

It's been wayyyy too long since high school statistics... How would this look statistically?
Reply With Quote
  #6  
Old June 9th, 2008, 02:34 AM

chrispedersen chrispedersen is offline
BANNED USER
 
Join Date: May 2004
Posts: 4,075
Thanks: 203
Thanked 121 Times in 91 Posts
chrispedersen is on a distinguished road
Default Re: Fortune teller

its better than adding.
2 5% chances > 1 10% chance, as you have the small possibility of cancelling two events.

Well, I meant "is better" by the > sign.

I grant that the math has been elegantly presented and is right. However, I wonder if there is a way to test this.
I raise the question for the following reasons:

If you mod 5 10% chances of a dominions magic random - they get summed into 1 50% chance. (Try it). I wonder if that same approach hasn't been done to fortune tellers.

The second reason I wonder is because around 20 fortune tellers, I don't seem to ever get bad random events.
If I get industrious.. I'll run a test on that.

Reply With Quote
  #7  
Old June 9th, 2008, 07:16 AM

Kaljamaha Kaljamaha is offline
Private
 
Join Date: Nov 2003
Location: Helsinki, Finland
Posts: 44
Thanks: 0
Thanked 1 Time in 1 Post
Kaljamaha is on a distinguished road
Default Re: Fortune teller

Quote:
secretperson said:
Interesting! Thanks for the responses!

It's been wayyyy too long since high school statistics... How would this look statistically?
It's binomial distribution. Look up the correct row from Pascal's triangle. So, for example, if you have three fortune tellers (5) in a province, the chance that at least one of them prevents an event is:

0.05^3 + 3 * 0.05^2 * 0.95 + 3 * 0.05 * 0.95^2 = 14.2625%

Or, if you prefer the easy way, its:

1 - (1 - 0.05)^3


K.
__________________
Mental health is an extremely serious issue, which, if not detected and treated early on, will drive you mad.
Reply With Quote
  #8  
Old June 9th, 2008, 09:43 AM

llamabeast llamabeast is offline
National Security Advisor
 
Join Date: Nov 2006
Location: Oxford, UK
Posts: 5,921
Thanks: 194
Thanked 855 Times in 291 Posts
llamabeast will become famous soon enoughllamabeast will become famous soon enough
Default Re: Fortune teller

Quote:
its better than adding.
2 5% chances > 1 10% chance, as you have the small possibility of cancelling two events.
This isn't really correct. The chance of blocking at least one event is less than 10% for two 5% fortune tellers. Of course there is a chance of blocking two events, but most often that will be irrelevant as there won't be two events trying to happen there anyway.
__________________
www.llamaserver.net
LlamaServer FAQ
My mod nations: Tomb Kings and Vampire Counts
A compilation of high quality mod nations: Expanded Nations Packs
Reply With Quote
  #9  
Old June 9th, 2008, 02:57 PM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: Fortune teller

If an event attempts to get past fortune tellers, then 20 fortune tellers with 5% will have ~64% of stopping that event.
The formula goes: 1-(1-P)^n, P is the probability of stopping an event (0.05 in this case), and n is the number of fortune tellers (20 in this case).

Explanation: The chance for a fortune teller to prevent the event is P, so the chance of the event getting past that fortune teller is (1-P), so the chance for getting past all of the fortune tellers is (1-P)^n, so if we want to see what the chance of the event not getting past all of the fortune tellers we get 1-(1-P)^n.

(Feel free to correct me if I'm mistaken )
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #10  
Old June 9th, 2008, 03:05 PM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default Re: Fortune teller

You're mistaken.

The goat is actually behind door number 4, the door you came in through.
Reply With Quote
Reply

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 06:26 PM.


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