コード例 #1
0
ファイル: Ethic.cs プロジェクト: alucardxlx/Casiopia
        public override bool IsEligible(Mobile mob)
        {
            if (mob.SkillsTotal >= 5000 && Ethic.HasEligibleSkill(mob))
            {
                Faction fac = Faction.Find(mob);

                return(mob.AccessLevel == AccessLevel.Player && !(fac is Minax || fac is Shadowlords));
            }

            return(false);
        }
コード例 #2
0
        public override bool IsEligible(Mobile mob)
        {
            if (mob.SkillsTotal >= 5000 && Ethic.HasEligibleSkill(mob))
            {
                Faction fac = Faction.Find(mob);

                return(mob.AccessLevel == AccessLevel.Player && !(fac is TrueBritannians || fac is CouncilOfMages));
            }

            return(false);
        }