And here is a prettier version of the script,
let initialBettingValues = {
baseBet : 0.0000001,
baseChance : 91.851,
firstLossMultiplier : 4,
lossMultiplier : 5,
lossChance : 79.360
}
let nextBet = initialBettingValues ? initialBettingValues : "0"
let chance = baseChance ? baseChance : "0"
doBet =(win,currentStreak,previousbet)=> {
if(win){
nextBet = initialBettingValues.baseBet
chance = baseBet
} else if (currentStreak === -1){
//First Loss
nextBet = previousbet * firstLossMultiplier
} else {
nextbet = previousbet * lossMultiplier
}
chance = lossChance
}
I've also been watching her betting history and can confirm this is exactly the new script she is using. The only differences are you calculated the base chance and loss chance incorrectly. Accurate values are base chance = 0.99/1.08 =
0.9167 and loss chance = 0.99/1.25 =
0.792.
This, as previously, is just another modified Martingale. This one at least recovers your losses after a run of reds, but has the same problems as any Martingale, in that bets grow exponentially on a run of losses, leading to rapid bankruptcy.