Guest User

Untitled

a guest
Jul 17th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. public void checkHead(){
  2. if(!isSkulled){
  3. headIcon = 0;
  4. }
  5. if(isSkulled){
  6. headIcon = 64;
  7. }
  8. }
  9. public void getHead(){
  10. if(ProtMage && !isSkulled)
  11. headIcon = 4;
  12. if(ProtRange && !isSkulled)
  13. headIcon = 2;
  14. if(ProtMelee && !isSkulled)
  15. headIcon = 1;
  16. if(Retribution && !isSkulled)
  17. headIcon = 8;
  18. if(Redemption && !isSkulled)
  19. headIcon = 32;
  20. if(Smite && !isSkulled)
  21. headIcon = 16;
  22. if(ProtMage && isSkulled)
  23. headIcon = 68;
  24. if(ProtRange && isSkulled)
  25. headIcon = 66;
  26. if(ProtMelee && isSkulled)
  27. headIcon = 65;
  28. if(Retribution && isSkulled)
  29. headIcon = 72;
  30. if(Redemption && isSkulled)
  31. headIcon = 96;
  32. if(Smite && isSkulled)
  33. headIcon = 80;
  34. else
  35. if(!ProtMage && !ProtRange && !ProtMelee && !Retribution && !Redemption && !Smite)
  36. headIcon = 64;
  37. }
Add Comment
Please, Sign In to add comment