Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private int general() throws InterruptedException {
- int rnd = this.plugin.random(15);
- Tab current = this.plugin.currentTab();
- switch (rnd) {
- case 0:
- this.plugin.client.setMouseSpeed(this.plugin.random(3, 7));
- break;
- case 1:
- this.plugin.client.rotateCameraPitch(this.plugin.random(30, 360));
- break;
- case 2:
- if (current != Tab.ATTACK) {
- this.plugin.openTab(Tab.ATTACK);
- }
- this.plugin.sleep(500 + this.plugin.random(1000));
- this.plugin.openTab(Tab.INVENTORY);
- break;
- case 3:
- if (current != Tab.SKILLS) {
- this.plugin.openTab(Tab.SKILLS);
- }
- this.plugin.sleep(500 + this.plugin.random(1000));
- this.plugin.openTab(Tab.INVENTORY);
- break;
- case 4:
- if (current != Tab.EQUIPMENT) {
- this.plugin.openTab(Tab.EQUIPMENT);
- }
- this.plugin.sleep(500 + this.plugin.random(1000));
- this.plugin.openTab(Tab.INVENTORY);
- break;
- case 5:
- if (current != Tab.FRIENDS) {
- this.plugin.openTab(Tab.FRIENDS);
- }
- this.plugin.sleep(500 + this.plugin.random(1000));
- this.plugin.openTab(Tab.INVENTORY);
- break;
- case 6:
- this.plugin.client.getInterface(548).getChild(89).hover();
- break;
- case 7:
- this.plugin.client.getInterface(548).getChild(85).hover();
- break;
- case 8:
- this.plugin.client.getInterface(548).getChild(109).hover();
- break;
- case 9:
- this.plugin.client.getInterface(548).getChild(84).hover();
- break;
- case 10:
- if (this.plugin.client.getInterface(320).getChild(144).isVisible()) {
- this.plugin.client.getInterface(548).getChild(50).interact();
- this.plugin.sleep(this.plugin.random(0, 600));
- }
- this.plugin.client.rotateCameraToAngle(this.plugin.random(60, 160));
- break;
- case 11:
- this.plugin.client.getInterface(548).getChild(75).hover();
- break;
- case 12:
- this.plugin.client.getInterface(548).getChild(100).hover();
- break;
- case 13:
- this.plugin.client.getInterface(548).getChild(44).hover();
- break;
- }
- return this.plugin.random(1000, 2500);
- }
Advertisement
Add Comment
Please, Sign In to add comment