I am expecting to fire 35% of the time. But it is firing way too often.
As a result, I have had to reduce the trigger from 35 to 15.
Perhaps I am confused on how #TRIGGER= is supposed to work?
But even after reducing it to 15%, it has fired the 1st 3 turns of the game!
The chances of that are just 0.3 %
Code: Select all
{
#NAME= Turkey Leans Toward Allies While USSR Neutral (Continuous) (Turkey->Allies)(35%)
#POPUP= TEST: Turkey's relationship with the Allies improves
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#GV= 1[1,100]
#LINK= 0[0]
#LEVEL= 0
; Turkey(111)
#COUNTRY_ID= 111
#TRIGGER= 15
#DATE= 1939/09/03
; 1-5% mobilization increase towards Allies
#MOBILIZATION= [1,5] [2]
; USSR(116) Allied and not active
; Turkey(111) Allied and Not Active
#VARIABLE_CONDITION= 116 [2] [0] [0]
#VARIABLE_CONDITION= 111 [2] [0] [0]
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
#PRIVATE= 1
}What is the RND algorithm you are using? Mersene Twister?
https://en.wikipedia.org/wiki/Mersenne_Twister