Advertisement
OSRSMargins

Untitled

Aug 13th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. if (Lummy.contains(player)) {
  2. return State.DEATH;
  3. } else {
  4. if (!getInventory().isFull()) {
  5. if (Draynor_Bank.contains(myPlayer())) {
  6. Return State.BANK;
  7. } else if (!getInventory().contains("Dodgy necklace", "Trout")) {
  8. return State.WALKTOBANK;
  9. }
  10. } else {
  11. if (!player.isUnderAttack() && MF_AREA.contains(player) && getInventory().contains("Dodgy necklace", "Trout")) {
  12. return state.STEAL;
  13. }
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement