LoudPacks Posted January 18, 2016 Share Posted January 18, 2016 if (Settings.specName == "Dragon Scimitar") { //if u have settings where u select spec weapon if (getCombat().getSpecialPercentage() >= 55) { //change for different weapons or use some sort of map if (getEquipment().isWieldingWeapon(Settings.specName)) { if (!getCombat().isSpecialActivated()) { int startSpec = getCombat().getSpecialPercentage(); getCombat().toggleSpecialAttack(true); new ConditionalSleep(3000, 3500){ @Override public boolean condition(){ return getCombat().getSpecialPercentage() < startSpec; } }.sleep(); } } else { slot = getInventory().getSlot(Settings.specName); getInventory().getItem(Settings.specName).interact("Wield"); sleep(800); if (!getCombat().isSpecialActivated()) { int startSpec = getCombat().getSpecialPercentage(); getCombat().toggleSpecialAttack(true); new ConditionalSleep(3000, 3500){ @Override public boolean condition(){ return getCombat().getSpecialPercentage() < startSpec; } }.sleep(); } } } else if (getEquipment().isWieldingWeapon(Settings.specName)) { getInventory().getItemInSlot(slot).interact("Wield"); sleep(800); } 4 Quote Link to comment Share on other sites More sharing options...
Aeonx Posted February 14, 2016 Share Posted February 14, 2016 Thanks Quote Link to comment Share on other sites More sharing options...