Created
March 29, 2014 20:23
-
-
Save iGusev/9862233 to your computer and use it in GitHub Desktop.
Dripstat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.hasFocus = function(){return true} // for click without focus | |
setInterval(function() { | |
var t=CoffeeCup.calcBytesPerClick(); | |
localStats.byteCount+=t; | |
popManager.newPop("btn-addMem","+"+NumUtils.byteConvert(t,2)); | |
},45); | |
setInterval(function() { | |
// auto drip | |
if(parseFloat($('#localProgressBar').css('width'))/parseFloat($('#localProgressBar').parent().css('width')) === 1) | |
$('#btn-addGlobalMem').click(); | |
// auto buy | |
if(!$('#pu10').hasClass('disabled')) | |
$('#pu10').click(); | |
// auto buy 1st powerup | |
if(!$('#upg1').hasClass('disabled')) | |
$('#upg1').click(); | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment