Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Script: Drop from 4x
- // Author: MooseyMoose
- // Please reward username MooseyMoose for writing this. All donations will be noted under Transfer history, anyone who donates gains custom edits on request.
- var CashoutPercentage;
- var BitsToBet;
- var LossCount=0;
- var TotalLoss=0;
- var CashoutLoss=300;
- var BitMultiplier;
- var CashoutWin=600;
- var BitBaseBetWin=10;
- var BitBaseBetLoss=10;
- engine.on('game_starting', function(data) {
- // if (engine.lastGamePlay() == 'LOST') {
- if (engine.lastGamePlay() == 'WON')
- {
- CashoutPercentage=CashoutWin;
- BitsToBet=BitBaseBetWin;
- BitBaseBetLoss=engine.getBalance()/450000;
- LossCount=0;
- TotalLoss=0;
- }
- if (LossCount==0) {
- BitsToBet=BitBaseBetLoss;
- CashoutPercentage=CashoutLoss;
- }
- BitMultiplier=1+(2/(CashoutPercentage/(110+LossCount*2)));
- BitsToBet*=BitMultiplier;
- CashoutPercentage-=(Math.random()*(CashoutLoss/110))*LossCount;
- TotalLoss+=BitsToBet;
- LossCount++;
- // } else {
- // }
- TotalLoss+=BitsToBet;
- console.log(' ');
- console.log('CashOut: ', CashoutPercentage);
- console.log('BitsToBet: ', BitsToBet);
- console.log('%cTotal Loss: ' + Math.floor(TotalLoss), 'color: red');
- console.log('%cLoss Count: '+ LossCount, 'color: purple; font-size:' + LossCount*1.5);
- console.log('Bit Multipler: ', BitMultiplier);
- engine.placeBet(Math.floor(BitsToBet)*100 ,Math.floor(CashoutPercentage));
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement