285
edits
ByteFoolish (talk | contribs) mNo edit summary |
ByteFoolish (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
In-game Functions | In-game Functions | ||
combatManager.slayerTask.killsLeft = 99999 | |||
combatManager.slayerTask.killsLeft = | |||
<nowiki> | <nowiki> | ||
var monsID = | var monsID = 10; | ||
var count = 30; | var count = 30; | ||
while(count > 1 && combatManager.slayerTask.monster.id != monsID) { | while(count > 1 && combatManager.slayerTask.monster.id != monsID) { | ||
// selectTask(tier, costCoins, render, fromClick) | |||
combatManager.slayerTask.selectTask(0,0,true,true); | combatManager.slayerTask.selectTask(0,0,true,true); | ||
console.log(count); | console.log(count); | ||
Line 18: | Line 17: | ||
combatManager.slayerTask.jumpButton.click(); | combatManager.slayerTask.jumpButton.click(); | ||
} else { | } else { | ||
while(new Date().getTime() < now + | while(new Date().getTime() < now + 1500){ /* Do nothing */ } | ||
} | } | ||
}</nowiki> | }</nowiki> |
edits