Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var elderly = parseFloat(document.getElementById('pct_balance').value);
- var prefit = Number((elderly/2400).toFixed(8));
- var beast = prefit;
- var tens = (prefit*10);
- var sevens = (prefit*6.9);
- var eights = (prefit*7.9);
- var winnerdinner = (elderly*24)
- var snowy = 0;
- var snowie = elderly
- var great = elderly
- var bolux = false;
- function go(){
- great = document.getElementById('pct_balance').value;
- var dog = Number((great-elderly).toFixed(8));
- console.log("profit");
- console.log(dog);
- if ((great>(snowy-(prefit*0.5)))&&(great<(snowy+(prefit*0.5)))){
- bolux = true;
- }else{
- bolux = false;
- }
- if ((great>(((Math.floor(great/tens))*tens)+sevens))&&(great<(((Math.floor(great/tens))*tens)+eights))&&(!bolux)){
- beast = beast*2;
- snowy = parseFloat(great);
- }
- if (((great/512)<=(beast))&&((great-beast)>tens)&&(great<(((Math.floor(great/tens))*tens)+sevens))){
- beast = prefit;
- snowy = 0;
- snowie = parseFloat(great);
- }
- if (((great/512)<=(beast))&&((great-beast)>tens)&&(great>(((Math.floor(great/tens))*tens)+eights))){
- beast = prefit;
- snowy = 0;
- snowie = parseFloat(great);
- }
- if (((great/512)<=(beast))&&((great-beast)>tens)&&(great>(((Math.floor(great/tens))*tens)+sevens))&&(great<(((Math.floor(great/tens))*tens)+eights))){
- beast = prefit*2;
- snowy = parseFloat(great);
- snowie = parseFloat(great);
- }
- if (((great/192)<=(beast))&&(great<(((Math.floor(great/tens))*tens)+sevens))){
- beast = prefit;
- snowy = 0;
- snowie = parseFloat(great);
- }
- if (((great/192)<=(beast))&&(great>(((Math.floor(great/tens))*tens)+eights))){
- beast = prefit;
- snowy = 0;
- snowie = parseFloat(great);
- }
- if (((great/192)<=(beast))&&(great>(((Math.floor(great/tens))*tens)+sevens))&&(great<(((Math.floor(great/tens))*tens)+eights))){
- beast = prefit*2;
- snowy = parseFloat(great);
- snowie = parseFloat(great);
- }
- if ((beast>=(elderly/100))&&(great>snowie)&&(great<(((Math.floor(great/tens))*tens)+sevens))){
- beast = prefit;
- snowy = 0;
- snowie = parseFloat(great);
- }
- if ((beast>=(elderly/100))&&(great>snowie)&&(great>(((Math.floor(great/tens))*tens)+eights))){
- beast = prefit;
- snowy = 0;
- snowie = parseFloat(great);
- }
- if ((beast>=(elderly/100))&&(great>snowie)&&(great>(((Math.floor(great/tens))*tens)+sevens))&&(great<(((Math.floor(great/tens))*tens)+eights))){
- beast = prefit*2;
- snowy = parseFloat(great);
- snowie = parseFloat(great);
- }
- if (great>=winnerdinner){
- console.log("winner winner chicken dinner");
- return;
- }
- $('#pct_chance').val(49.5);
- $('#pct_bet').val(((beast*1).toFixed(8)));
- $('#a_lo').click();
- setTimeout(() => go(), 350);
- }
- go();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement