Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var elderly = parseFloat(document.getElementById('pct_balance').value);
- var belance = elderly;
- var greatie = elderly;
- var prefit = 0.0001; //10000 divide balance;
- var beast = prefit;
- var winnerdinner = elderly;
- var snow = elderly;
- var stroke = 0;
- var broke = 0;
- var freak = false;
- var dork = Number(document.getElementById('me').firstChild.lastChild.firstChild.children[5].innerText);
- var elven = 0;
- function go(){
- chunk = Number(document.getElementById('me').firstChild.lastChild.firstChild.children[7].innerText);
- elven = Number(document.getElementById('me').firstChild.lastChild.firstChild.children[5].innerText);
- if ((elven>dork)&&(chunk<49.5000)){
- stroke = stroke+1;
- broke = 0;
- freak = true;
- belance = belance+beast;
- dork = parseFloat(elven);
- }
- if ((elven>dork)&&(chunk>=49.5000)){
- broke = broke+1;
- freak = false;
- belance = belance-beast;
- dork = parseFloat(elven);
- }
- var cat = ((belance-elderly).toFixed(8));
- console.log("profit");
- console.log(cat);
- var dog = (belance-snow);
- if (dog<0){
- saved = ((dog-dog)-dog);
- }
- if (dog>=0){
- saved = prefit;
- snow = parseFloat(belance);
- }
- if (saved<prefit){
- saved = prefit;
- }
- if ((stroke==1)&&(freak)) {
- beast = saved;
- }
- if (stroke==2) {
- beast = 0;
- stroke = 0;
- }
- if ((broke>=1)&&(!freak)) {
- beast = 0;
- stroke = 0;
- }
- if (belance>=240) {
- console.log("winner winner chicken dinner");
- return;
- }
- $('#pct_chance').val(49.5);
- $('#pct_bet').val(((beast*1).toFixed(8)));
- $('#a_lo').click();
- setTimeout(() => go(), 1000);
- }
- go();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement