Advertisement
dicekode

steady-ch45.lua

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