Example #1
0
    public bool CheckHindrance(SkillType.Hindrance Hindrance)
    {
        if (Hindrance == SkillType.Hindrance.NO_OTHER_SKILLS)
        {
            if (HindranceLevel > 0)
            {
                return(false);
            }
            return(true);
        }

        if ((int)(Hindrance) + HindranceLevel > 3)
        {
            return(false);
        }
        return(true);
    }
Example #2
0
 public void ChangeHindranceLevel(SkillType.Hindrance Change)
 {
     HindranceLevel += (int)(Change);
 }