dicebot


SUBMITTED BY: phroyd

DATE: Aug. 4, 2019, 9:51 a.m.

UPDATED: Aug. 4, 2019, 9:54 a.m.

FORMAT: Lua

SIZE: 292 Bytes

HITS: 62831

  1. chance = 0.99
  2. multiplier = 1.0102
  3. base = balance/1923
  4. nextbet = base
  5. function getmulti()
  6. local payout=(100-1)/chance
  7. return (payout/(payout-1))
  8. end
  9. function dobet()
  10. if win then
  11. base = balance/1923
  12. nextbet = base
  13. else
  14. nextbet = previousbet*getmulti()
  15. end
  16. end

comments powered by Disqus