rendered paste bodyimport impsoft.nexus.bots.color.constants.Info;
import impsoft.nexus.bots.color.methods.ColorScript;
import impsoft.nexus.bots.color.scriptobjects.RGBCluster;
import impsoft.nexus.bots.color.scriptobjects.RGB;
public class cursecaster extends ColorScript{
public static double version = 1.0;
public static String[] commands = new String[] {""};
public String author = "Beezkneez";
public String description = "Curse Caster v1.0";
RGB head;
private int randomClick(int start, int range) {
if (random(0,1) == 0) // negative
return start + random(-range, 0);
return start + random(range, 0);
}
private long rsleep(int min, int max) throws InterruptedException {
long time = random(min, max);
sleep(time);
return time;
}
public boolean doStart(String cmd, String[] args) throws InterruptedException {
return true;
}
public void script() throws InterruptedException {
log("Starting script...");
setTab(Info.TAB_MAGIC);
while(isLoggedIn()){
mouseClickLeft(randomClick(673, 3), randomClick(263,3));
rsleep (400, 1500);
RGBCluster head = new RGBCluster(new RGB[]{new RGB(208, 161, 119)}, this);
head.gatherNewPoints(20);
head.doTopTextAndMenu("Cast", "Monk");
}
}
}