Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // br 66k bits start
- var start_bet = 0.0000000001; //Bet
- var profit = 50;//200bits
- var cash_multi = 5; //3x
- /////////////////////////////////////////////////////////
- ////////////////do not touch down code///////////////////
- /////////////////////////////////////////////////////////
- var bet_amount = Math.ceil((start_bet/100)*Math.floor(engine.getBalance()/100));
- var losing_balance = 0;
- var recover = true;
- engine.on('game_crash', function(data) {
- if (engine.lastGamePlay() == 'WON') {
- bet_amount = Math.ceil((start_bet/100)*Math.floor(engine.getBalance()/100));
- losing_balance = 0;
- }
- else if(engine.lastGamePlay() == 'LOST') {
- losing_balance = losing_balance + bet_amount;
- if(recover){
- bet_amount=Math.ceil(losing_balance/(cash_multi-1));
- recover = false;
- } else {
- bet_amount=Math.ceil((losing_balance+profit)/(cash_multi-1));
- recover = true;
- }
- }
- });
- engine.on('game_starting', function() {
- engine.placeBet(Math.round(bet_amount), 100, Math.round(cash_multi 100), false);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement