[Saboteur] 7 players game

Suggestions & ideas / Suggestions & idées
User avatar
qwertasdfg
Posts: 297
Joined: 17 June 2013, 18:26

Re: [Saboteur] 7 players game

Post by qwertasdfg »

Een, in your post you stated that with the selfish variant we got a selfish dwarf 7/8 of the time and no selfish dwarf 1/8 of the time.
Thu6 stated that in his experience (and in mine also) with the selfish variant we got a selfish dwarf 100% of the time.
totes_not_pej
Posts: 20
Joined: 03 April 2014, 22:05

Re: [Saboteur] 7 players game

Post by totes_not_pej »

qwertasdfg wrote:Een, in your post you stated that with the selfish variant we got a selfish dwarf 7/8 of the time and no selfish dwarf 1/8 of the time.
Thu6 stated that in his experience (and in mine also) with the selfish variant we got a selfish dwarf 100% of the time.
Een himself confirms that in this comment (from last year, it might have changed):
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: [Saboteur] 7 players game

Post by Een »

That's right! You have a good memory ;)
User avatar
Yorgad
Posts: 131
Joined: 21 October 2012, 13:27

Re: [Saboteur] 7 players game

Post by Yorgad »

Hello, any idea if this going to be fixed someday ? (selfish variant with odds of 1/8 for a 7 players game)
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: [Saboteur] 7 players game

Post by Een »

Hi Yorgad,
I thought I did, but again, maybe I didn't... I'll take a look and check.
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: [Saboteur] 7 players game

Post by Een »

Looks like I did, here is the code. It seems to be what it should.

Code: Select all

// There is N-1 chances over N that the selfish golddigger has been drawn (N = number of golddiggers in the roles handed down)
if (mt_rand(1, count($diggers) + 1) > 1) {
	$selfish_present = true;
}
Locked

Return to “Suggestions”