public static MobSkill GetSkill(int skill, int level) { MobSkill sk = null; if (Skills.TryGetValue(GetRealSkillID(skill, level), out sk)) { return(sk); } return(null); }
public static void SetSkill(MobSkill skill) { Skills[GetRealSkillID(skill.Skill, skill.Level)] = skill; }