Example #1
0
        public static MobSkill GetSkill(int skill, int level)
        {
            MobSkill sk = null;

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