Beispiel #1
0
        public GardeMoff()
            : base(AIType.AI_Melee, FightMode.Closest, 15, 2, 0.1, 0.2)
        {
            SpeechHue = Utility.RandomDyedHue();
            Title     = "(Garde d'Edgar Moff)";
            Hue       = Utility.RandomList(new int[] { 1025, 1032, 1049, 1057, 1878 });

            if (this.Female = Utility.RandomBool())
            {
                Body = 401;
                Name = NameList.RandomName("female");
            }
            else
            {
                Body = 400;
                Name = NameList.RandomName("male");
            }


            AddItem(new Boots(Utility.RandomNeutralHue()));

            AddItem(new ChainLegs());
            AddItem(new ChainChest());
            AddItem(new PlateArms());
            AddItem(new PlateGloves());
            AddItem(new PlateGorget());
            AddItem(new Helmet());


            AddItem(new Cloak(2121));
            AddItem(new BodySash(2121));

            switch (Utility.Random(4))
            {
            case 0: AddItem(new Spear()); break;

            case 1: AddItem(new Halberd()); break;

            case 2: AddItem(new DoubleBladedStaff()); break;

            case 3: AddItem(new Bardiche()); break;
            }

            mMonsterHits = Utility.RandomMinMax(150, 200);

            NiveauCreature = 8;
            AddCompetence(CompType.Detection, 3);
            AddCompetence(CompType.PerceptionAuditive, 3);
            AddCompetence(CompType.DeplacementSilencieux, 3);
            AddCompetence(CompType.PerceptionAuditive, 3);
            AddCompetence(CompType.Survie, 1);


            //Utility.AssignRandomHair( this );
            NubiaHelper.RandomHair(this);

            Faction = FactionEnum.EdgarMoff;
        }
Beispiel #2
0
        public Brigand() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.25, 0.4)
        {
            SpeechHue = Utility.RandomDyedHue();
            Title     = "le brigand";
            Hue       = Utility.RandomList(new int[] { 1025, 1032, 1049, 1057, 1878 });

            if (this.Female = Utility.RandomBool())
            {
                Body = 401;
                Name = NameList.RandomName("female");
                AddItem(new Skirt(Utility.RandomNeutralHue()));
            }
            else
            {
                Body = 400;
                Name = NameList.RandomName("male");
                AddItem(new ShortPants(Utility.RandomNeutralHue()));
            }

            if (Utility.RandomDouble() > .8)
            {
                int hueOrc             = Utility.RandomList(new int[] { 1450, 1451, 1452, 2420, 1441, 1442, 1443, 1444, 1025, 1032, 1049, 1057, 1878 });
                TNRaceSkinHalforc skin = new TNRaceSkinHalforc(hueOrc);
                this.Hue     = hueOrc;
                skin.Movable = false;
                AddItem(skin);
            }

            AddItem(new Boots(Utility.RandomNeutralHue()));
            if (Utility.RandomBool())
            {
                AddItem(new Shirt());
            }
            else
            {
                AddItem(new LeatherChest());
            }

            AddItem(new Bandana());

            switch (Utility.Random(7))
            {
            case 0: AddItem(new Longsword()); break;

            case 1: AddItem(new Cutlass()); break;

            case 2: AddItem(new Broadsword()); break;

            case 3: AddItem(new Axe()); break;

            case 4: AddItem(new Club()); break;

            case 5: AddItem(new Dagger()); break;

            case 6: AddItem(new Spear()); break;
            }

            NiveauCreature = 7;

            AddCompetence(CompType.Detection, 3);
            AddCompetence(CompType.PerceptionAuditive, 3);
            AddCompetence(CompType.DeplacementSilencieux, 3);
            AddCompetence(CompType.PerceptionAuditive, 3);
            AddCompetence(CompType.Survie, 1);
            //Utility.AssignRandomHair( this );
            NubiaHelper.RandomHair(this);

            VirtualArmor = 3;
        }
Beispiel #3
0
        public MonstreBrigandEcarlate()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.1, 0.4)
        {
            SpeechHue = Utility.RandomDyedHue();
            Title     = " de la main écarlate";
            Hue       = Utility.RandomList(new int[] { 1025, 1032, 1049, 1057, 1878 });

            if (this.Female = Utility.RandomBool())
            {
                Body = 401;
                Name = NameList.RandomName("female");
                AddItem(new Skirt(Utility.RandomNeutralHue()));
            }
            else
            {
                Body = 400;
                Name = NameList.RandomName("male");
                AddItem(new ShortPants(Utility.RandomNeutralHue()));
            }

            if (Utility.RandomDouble() > .8)
            {
                int hueOrc             = Utility.RandomList(new int[] { 1450, 1451, 1452, 2420, 1441, 1442, 1443, 1444, 1025, 1032, 1049, 1057, 1878 });
                TNRaceSkinHalforc skin = new TNRaceSkinHalforc(hueOrc);
                this.Hue     = hueOrc;
                skin.Movable = false;
                AddItem(skin);
            }

            AddItem(new Boots(Utility.RandomNeutralHue()));
            if (Utility.RandomBool())
            {
                AddItem(new StuddedChest());
            }
            else
            {
                AddItem(new RingmailChest());
            }

            AddItem(new RingmailLegs());
            AddItem(new RingmailArms());
            AddItem(new RingmailGloves());
            AddItem(new PlateGorget());

            if (Utility.RandomBool())
            {
                AddItem(new SkullCap(2118));
            }
            else
            {
                AddItem(new Bandana(2118));
            }

            AddItem(new BodySash(2118));

            switch (Utility.Random(7))
            {
            case 0: AddItem(new Longsword()); break;

            case 1: AddItem(new Cutlass()); break;

            case 2: AddItem(new Broadsword()); break;

            case 3: AddItem(new Axe()); break;

            case 4: AddItem(new Club()); break;

            case 5: AddItem(new Dagger()); break;

            case 6: AddItem(new Spear()); break;
            }

            if (FindItemOnLayer(Layer.OneHanded) != null)
            {
                if (FindItemOnLayer(Layer.OneHanded) is BaseSword && Utility.RandomBool())
                {
                    AddItem(new WoodenShield());
                }
            }

            NiveauCreature = Utility.RandomMinMax(6, 8);
            Faction        = FactionEnum.MainEcarlate;

            AddCompetence(CompType.Detection, 3);
            AddCompetence(CompType.PerceptionAuditive, 3);
            AddCompetence(CompType.DeplacementSilencieux, 3);
            AddCompetence(CompType.PerceptionAuditive, 3);
            AddCompetence(CompType.Survie, 1);
            //Utility.AssignRandomHair( this );
            NubiaHelper.RandomHair(this);

            VirtualArmor = 3;
        }