Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var CashoutPercentage=150;
- var BitsToBetBase=5;
- var BitsToBet=BitsToBetBase;
- var skipenabled = false;
- var skipcount = 0;
- var conseclosses =0;
- engine.on('game_starting', function(data) {
- if (skipenabled == true) {
- skipcount++;
- console.log('skipped');
- if (skipcount >= 2) {
- console.log('playing next round');
- skipcount = 0;
- skipenabled = false;
- }
- } else {
- console.log('%cCashout: '+ CashoutPercentage, 'color: blue');
- console.log('Bits Bet: ', BitsToBet);
- engine.placeBet(Math.floor(BitsToBet)*100 ,Math.floor(CashoutPercentage));
- }
- });
- engine.on('game_crash', function(data) {
- if (engine.lastGamePlay() == 'LOST') {
- conseclosses ++;
- BitsToBet*=3.1;
- } else if (engine.lastGamePlay() == 'WON'){
- conseclosses = 0;
- BitsToBet=BitsToBetBase;
- }
- if (conseclosses >= 2) {
- skipenabled = true;
- }
- if((conseclosses >= 2)&&(engine.lastGamePlay() == 'NOT_PLAYED'))
- conseclosses = 0;
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement