byte MasteryGet(int id) { try { for (byte b = 1; b <= 7; b++) if (Character.Stat.Skill.Mastery[b] == id) return b; } catch (Exception ex) { Systems.Debugger.Write(ex); } return 0; }