dicekode

steady-ch3581.lua

Jun 24th, 2021 (edited)
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.71 KB | None | 0 0
  1. base      = balance * 10 / (10 ^ 8)
  2. tp        = balance * 5
  3. target    = base * 10
  4. tmpprofit = 0
  5. wincount  = 10
  6.  
  7. chance = 90
  8. nextbet = base
  9. resetstats()
  10. function dobet()
  11.     if balance > tp then
  12.         stop()
  13.     end
  14.     tmpprofit = tmpprofit + currentprofit
  15.     chance = math.random(35 * 100, 81 * 100.0) / 100.0
  16.     if win then
  17.         if (tmpprofit > target) then
  18.             tmpprofit = 0
  19.             nextbet = base
  20.         else
  21.             nextbet = previousbet * 1.82
  22.             if (nextbet < base) then
  23.                 nextbet = base
  24.             end
  25.         end
  26.     else
  27.         nextbet = previousbet * 1.18
  28.         if (nextbet < base) then
  29.             nextbet = base
  30.         end
  31.     end
  32. end
  33.  
Add Comment
Please, Sign In to add comment