Guest User

BUSTADICE - 1.08x Single Array

a guest
Sep 15th, 2018
1,250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. // Bet: #1
  2. var betList = [5,22,110,550,700,1400,2800,5600,0] // In bits.
  3. var cashoutList = [1.08,1.25,1.25,1.25,2,2,2,2,1000000] // CashOut
  4.  
  5. ////////\\\\\ Edit Over this line only \\\\////////////
  6. var index = 0
  7. var bet = betList[index]
  8. var cashout = cashoutList[index]
  9. var start = true
  10. var crash = 0
  11. var checkCrash = cashout
  12. var skip = false
  13.  
  14. while(start){
  15.  
  16. // Play bet.
  17. if(bet > 0){
  18. const { multiplier } = await this.bet(bet * 100, cashout)
  19. this.log('Placing Bet')
  20.  
  21. // Result.
  22. if(multiplier < cashout){ // On Loss
  23. this.log('Last game was lost')
  24. index++
  25. if(index < betList.length){
  26. bet = betList[index]
  27. cashout = cashoutList[index]
  28. }else{
  29. this.log('next bet is not defined ... cannot bet')
  30. }
  31.  
  32.  
  33.  
  34. }
  35. else{ // On Win
  36. this.log('Last game was Win')
  37. index = 0
  38. bet = betList[index]
  39. cashout = cashoutList[index]
  40. }
  41. }else{
  42. const { multiplier } = await this.skip()
  43. crash = multiplier
  44.  
  45. // Result.
  46. if(multiplier < cashout){ // On Loss
  47. this.log('Last game was lost , but we were not betting')
  48. index++
  49. if(index < betList.length){
  50. bet = betList[index]
  51. cashout = cashoutList[index]
  52. }else{
  53. this.log('next bet is not defined ... cannot bet')
  54. }
  55.  
  56.  
  57. }
  58. else{ // On Win
  59. this.log('Last game was Win , unluckily we had won but bet is Zero')
  60. index = 0
  61. bet = betList[index]
  62. cashout = cashoutList[index]
  63. }
  64.  
  65.  
  66.  
  67. }
  68.  
  69.  
  70. }
Advertisement
Add Comment
Please, Sign In to add comment