--[[
/$$$$$$$$ /$$
| $$_____/ | $$
| $$ /$$ /$$ /$$$$$$$| $$ /$$ /$$ /$$ /$$$$$$ /$$ /$$
| $$$$$| $$ | $$ /$$_____/| $$ /$$/ | $$ | $$ /$$__ $$| $$ | $$
| $$__/| $$ | $$| $$ | $$$$$$/ | $$ | $$| $$ \ $$| $$ | $$
| $$ | $$ | $$| $$ | $$_ $$ | $$ | $$| $$ | $$| $$ | $$
| $$ | $$$$$$/| $$$$$$$| $$ \ $$ | $$$$$$$| $$$$$$/| $$$$$$/
|__/ \______/ \_______/|__/ \__/ \____ $$ \______/ \______/
/$$ | $$
| $$$$$$/
\______/
/$$ /$$ /$$ /$$
|__/ | $/| $$ | $$
/$$ /$$ /$$ /$$ /$$$$$$ /$$$$$$$|_//$$$$$$ /$$$$$$$ /$$$$$$
| $$ | $$ | $$ | $$ /$$__ $$| $$__ $$ |_ $$_/ /$$__ $$ /$$__ $$
| $$ | $$ | $$ | $$| $$ \ $$| $$ \ $$ | $$ | $$ | $$| $$ \ $$
| $$ | $$ | $$ | $$| $$ | $$| $$ | $$ | $$ /$$ | $$ | $$| $$ | $$
| $$ | $$$$$/$$$$/| $$$$$$/| $$ | $$ | $$$$/ | $$$$$$$| $$$$$$/
|__/ \_____/\___/ \______/ |__/ |__/ \___/ \_______/ \______/
/$$ /$$
/$$ /$$ /$$
| $$ | $$
| $$ | $$| $$
/$$ /$$ /$$| $$$$$$$ /$$$$$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$ /$$
/$$$$$$ /$$$$$$ | $$| $$ /$$$$$$/$$$$ /$$$$$$
| $$ | $$ | $$| $$__ $$ |____ $$|_ $$_/ | $$ | $$ /$$__ $$| $$ | $$
|_ $$_/ /$$__ $$| $$| $$ | $$_ $$_ $$ /$$__ $$
| $$ | $$ | $$| $$ \ $$ /$$$$$$$ | $$ | $$ | $$| $$ \ $$| $$ | $$
| $$ | $$$$$$$$| $$| $$ | $$ \ $$ \ $$| $$$$$$$$
| $$ | $$ | $$| $$ | $$ /$$__ $$ | $$ /$$ | $$ | $$| $$ | $$| $$ | $$
| $$ /$$| $$_____/| $$| $$ | $$ | $$ | $$| $$_____/
| $$$$$/$$$$/| $$ | $$| $$$$$$$ | $$$$/ | $$$$$$$| $$$$$$/| $$$$$$/
| $$$$/| $$$$$$$| $$| $$ | $$ | $$ | $$| $$$$$$$
\_____/\___/ |__/ |__/ \_______/ \___/ \____ $$ \______/ \______/
\___/ \_______/|__/|__/ |__/ |__/ |__/ \_______/
/$$ | $$
| $$$$$$/
\______/
v1.1
]]--
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
-- amount to wage in $
WAGER_TARGET = 450.0
BASEBAT_DOLLAR = 0.01 -- can/will rip x100/x200 basebet
-- Balance in $
balance_in_dollar = 2
-- true : can rip x200 basebet
-- false : can/will rip x100 basebet
Recover2streakOneShot = false
-- -1 to disable, min 51, good val 102
ChangeSeedFrequency = -1
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
basebet = balance * BASEBAT_DOLLAR / balance_in_dollar
HOUSE = 1.0
wage_chance = 99.00
recover_chance = 98.00
recoverbet = basebet / ( ((100.0-HOUSE)/recover_chance) - 1 )
nextbet = basebet
chance = wage_chance
bethigh = true
target = WAGER_TARGET * balance / balance_in_dollar
recoverBet = 0
wagertarget = balance * WAGER_TARGET / balance_in_dollar
-- nextrecover = [Link](2, 6)
resetstats()
function dobet()
if (not win) and previousbet > basebet * 2 then
if profit < 0 then
stop()
else
resetstats()
end
end
if (not win) and recoverBet <= 0 then
recoverBet = 1
else
if ChangeSeedFrequency != -1 and bets % ChangeSeedFrequency == 0 then
resetseed()
end
recoverBet -= 1
end
wagertarget -= previousbet
if wagertarget <= 0 then
print( "Target Wagered, stopping." )
stop()
end
if (win or currentstreak < -1) and recoverBet == 0 then
chance = recover_chance
nextbet = basebet / ( ((100.0-HOUSE)/recover_chance) - 1 )
if currentstreak < -1 then
if Recover2streakOneShot then
nextbet = -profit / ( ((100.0-HOUSE)/recover_chance) - 1 )
else
recoverBet = 1
end
end
else
chance = wage_chance
nextbet = basebet
end
end