protected override bool PrivateAllow(IScoringGenerator stats, SimDescription sim, SimData settings, AllowCheck check) { if (!base.PrivateAllow(stats, sim, settings, check)) { return(false); } if (sim.IsEP11Bot) { if (!sim.HasTrait(TraitNames.AbilityToLearnChip)) { stats.IncStat("Chip Denied"); return(false); } } IHasSkill option = stats as IHasSkill; if (option != null) { foreach (SkillNames skill in option.CheckSkills) { if (!AllowSkill(stats, sim, settings, skill)) { return(false); } } } return(true); }
public bool Allow(IHasSkill stats, SimDescription sim) { return(PrivateAllow(stats, sim)); }
public bool Allow(IHasSkill stats, SimDescription sim, AllowCheck check) { return(PrivateAllow(stats, sim, check)); }
public bool Allow(IHasSkill stats, Sim sim) { return(PrivateAllow(stats, sim)); }