Ejemplo n.º 1
0
 public SecondarySkill(int curLvl, Type.SecondarySkill _name)
 {
     currentLvl = curLvl;
     currentXp  = 0f;
     maxXp      = CalculateNextXp(currentLvl);
     name       = Util.MapSecondarySkillToSkillname(_name);
 }
Ejemplo n.º 2
0
    public int GetSkill(Type.SecondarySkill skill)
    {
        Skill.SecondarySkill s = secondarySkills[skill];

        return(s.GetLevel());
    }