Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. if(headIconPk == 1 && getItems().getCarriedWealth() < 10000000){
  2. headIconPk = 0;
  3. getPA().requestUpdates();
  4. sendMessage("You have lost the red skull for risking less then 10M");
  5.  
  6. }
  7. if(headIconPk == 0 && getItems().getCarriedWealth() > 10000000){
  8. headIconPk = 1;
  9. getPA().requestUpdates();
  10. sendMessage("You have gained a red skull for risking more then 10M");
  11.  
  12. }
  13.  
  14. handlePvpInterface();
  15. }
  16. if (epTimer > 0 && inWild() && ep < 100 ){
  17. epTimer --;
  18. }
  19. if(ep > 100){
  20. ep = 100;
  21. }
  22. if(epTimer == 0 && getItems().getCarriedWealth() >= 200000){
  23.  
  24. int EPadd = 17 + Misc.random(6);
  25. if(ep + EPadd > 100){
  26. ep = 100;
  27. }else{
  28. if(!hotZone())
  29. ep += EPadd * .90;
  30. if(hotZone())
  31. ep += EPadd * 1.20;
  32. }
  33. epTimer = 1500;
  34. }
  35. if(epTimer == 0 && getItems().getCarriedWealth() > 200000){
  36. sendMessage("You did not receive EP because you are not risking 200k (You risk "+getItems().getCarriedWealth()+"");
  37. epTimer = 1500;
  38. }
  39. if(inWild()
  40. checkPvpLevels() MAKE SURE TO DELETE THE OTHER IF(INWILD FOR WORLD 1 IF CHECKING FOR WORLD 2 OR IT WILL FUCK UP!)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement