Advertisement
FALSkills

Untitled

Nov 9th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. public static int getWithdrawXQuantity(){
  2. RSVarBit cache = RSVarBit.get(3960);
  3. return cache != null ? cache.getValue() : 0;
  4. }
  5.  
  6. public static int getDefaultWithdrawQuantity(){
  7. RSVarBit var = RSVarBit.get(6590);
  8. if(var == null){
  9. return 1;
  10. }
  11. switch(var.getValue()){
  12. case 0:
  13. return 1;
  14. case 1:
  15. return 5;
  16. case 2:
  17. return 10;
  18. case 3:
  19. return getWithdrawXQuantity();
  20. case 4:
  21. return 0;
  22. }
  23. return 1;
  24. }
  25.  
  26. public static boolean arePlaceholdersOn() {
  27. RSVarBit var = RSVarBit.get(3755);
  28. return var != null && var.getValue() == 1;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement