daily pastebin goal
49%
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public byte getSkillLevel(ISkill skill) {
  2.     ISkill fullswing = SkillFactory.getSkill(Aran.FULL_SWING);
  3.     ISkill overswing = SkillFactory.getSkill(Aran.OVER_SWING);
  4.     if (skills.get(skill) == null) {
  5.         return 0;
  6.     }
  7.     switch (skill.getId()) {
  8.         case 21110007:
  9.         case 21110008:
  10.             return skills.get(fullswing).skillevel;
  11.         case 21120009:
  12.         case 21120010:
  13.             return skills.get(overswing).skillevel;
  14.     }
  15.     return skills.get(skill).skillevel;
  16. }
RAW Paste Data
Top