Advertisement
dicekode

-set-drop-reduction

Apr 17th, 2025
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.54 KB | Cryptocurrency | 0 0
  1. minbet   = 0.1
  2. chance   = 19
  3. edge     = 95
  4. basediv  = 1e-5
  5. baserisk = basediv*balance
  6. basebet  = baserisk/(edge/chance)
  7. nextbet  = basebet
  8.  
  9. nextbet = math.max(nextbet,minbet)
  10. function dobet()
  11.     if partialprofit > 0 then
  12.         resetpartialprofit()
  13.         chance   = math.random(5,30)
  14.         baserisk = basediv*balance
  15.         basebet  = baserisk/(edge/chance)
  16.         nextbet  = basebet
  17.     end
  18.     if win then
  19.         nextbet = basebet
  20.     else
  21.         streak  = math.abs(currentstreak)
  22.         betload = math.abs(partialprofit)/((edge/chance)-1)
  23.         betrisk = 2.5-(streak/100)
  24.         nextbet = betload*betrisk
  25.         info    = string.format("[ %.2f ]",betrisk) .. string.format("\t[ %.2f ]",chance)
  26.     end
  27.     nextbet = math.max(nextbet,minbet)
  28.     manageRisk()
  29. end
  30.  
  31. ifpause  = 0
  32. ifdrop   = 25
  33. ifprofit = 525
  34.  
  35. info = ""
  36. sbal,mbal = balance,balance
  37. cdrop,mdrop = 0,0
  38. stwin = false
  39. stbal = balance+(balance*(ifprofit/100))
  40. function manageRisk()
  41.  
  42.     if balance > stbal and stbal > 0 then stop() end
  43.     if balance > mbal then
  44.         if stwin then stop() end
  45.         if currentprofit/sbal*100 > ifpause and ifpause > 0 then pause() end
  46.         mbal = balance
  47.     end
  48.     cdrop = mbal - balance
  49.     mdrop = math.max(mdrop,cdrop)
  50.     if cdrop/mbal*100 > ifdrop and ifdrop > 0 then stwin = true end
  51.     incdrop = string.format("[ %.8f ]", cdrop)
  52.     inmdrop = string.format("[ %.8f ]", mdrop) .. string.format(" [ %.2f ]", mdrop/mbal*100)
  53.     print("++ drop " .. incdrop .. "\t\t" .. inmdrop .. "\t" .. info)
  54. end
Tags: pasino
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement