Advertisement
dicekode

wolf-usdt

Sep 26th, 2021
1,705
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.76 KB | None | 0 0
  1. basebet  = balance / 250000
  2. chance   = 33.33
  3. nextbet  = basebet
  4. level    = 0
  5. fibstep  = 1
  6. fibreset = 10
  7. target   = balance * 1.25
  8. cprofit  = 0
  9. tprofit  = basebet * 10
  10.  
  11. function fib(level)
  12.     fibno     = basebet
  13.     temp      = 0
  14.     prevfibno = 0
  15.     if (level  == 0) then
  16.         fibno = basebet
  17.     else
  18.         for j = 0,level-1,1 do    
  19.             temp      = fibno
  20.             fibno     = fibno + (prevfibno * fibstep)
  21.             prevfibno = temp
  22.         end
  23.     end
  24.     return fibno    
  25. end
  26.  
  27. function dobet()
  28.     if balance > target then stop() end
  29.     cprofit += currentprofit
  30.     if cprofit > tprofit then
  31.         cprofit = 0
  32.         level   = 0
  33.     end
  34.     if win then
  35.         level += 1
  36.     end
  37.     nextbet = fib(level)  
  38. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement