Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- chance = 98
- basebet=balance/1000;
- nextbet=basebet
- wager=0
- tb=0
- xp=0
- ch=0
- x=0
- ath = balance
- function getChance(x)
- return 99/x
- end
- function dobet()
- if balance > ath then
- ath = balance
- basebet = balance/1000
- end
- tb+=1
- wager+=nextbet
- x=lastBet.result
- local c=getChance(x)
- xp+=x
- ch+=c
- local avg=xp/tb
- chance=99/getChance(avg)
- if partialprofit > 0 then resetpartialprofit() chance = 98 end
- if win then nextbet = basebet else
- nextbet = partialprofit*-1/((99/chance)-1) end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement