-
-
Save JKetelaar/9404850 to your computer and use it in GitHub Desktop.
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
import org.parabot.core.ui.components.LogArea; | |
import org.parabot.el.maestro.elssmagicflethcer.data.Constants; | |
import org.parabot.environment.api.utils.Time; | |
import org.parabot.environment.scripts.framework.Strategy; | |
import org.soulsplit.api.methods.Inventory; | |
import org.soulsplit.api.methods.Menu; | |
import org.soulsplit.api.wrappers.Item; | |
/** | |
* Created by El Maestro on 3/6/14. | |
*/ | |
public class Dropper implements Strategy { | |
@Override | |
public boolean activate() { | |
return Inventory.isFull() && Inventory.getItems(Constants.BOW) != null; | |
} | |
@Override | |
public void execute() { | |
LogArea.log("yes im here"); | |
for (Item i : Inventory.getItems()) { | |
//if (i.getId() == Constants.BOW) { | |
Menu.drop(i); | |
Time.sleep(500); | |
//} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment