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); }
public void ChangeHindranceLevel(SkillType.Hindrance Change) { HindranceLevel += (int)(Change); }