Advertisement
NotADeveloper

Untitled

Mar 26th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. // Script Name: Lobster Larry
  2. // Author: Jiggles 03-24-2017
  3. // Donations sent to LobsterLarry
  4. var BetSizeIsBankrollDividedBy=512;
  5. var CashoutPercentage = 157;
  6. var BitsToBet;
  7. var LossCount=0;
  8. engine.on('game_starting', function(data) {
  9. if (engine.lastGamePlay() == 'LOST') {
  10. if (LossCount==0)
  11. BitsToBet=Math.floor((engine.getBalance()/100)/BetSizeIsBankrollDividedBy);
  12. BitsToBet*=3.2;
  13. LossCount++;
  14. } else {
  15. BitsToBet=Math.floor((engine.getBalance()/100)/BetSizeIsBankrollDividedBy);
  16. if (Math.random() > 0.7) BitsToBet*=1.4;
  17. LossCount=0;
  18. }
  19. engine.placeBet(Math.floor(BitsToBet)*100 ,Math.floor(CashoutPercentage));
  20. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement