Example #1
0
        public static void EquipInsularii(Armament a, Mobile m)
        {
            if (a == Armament.LightCavalry)
                a = (Armament)1;
            else if (a == Armament.HeavyCavalry)
                a = (Armament)3;

            switch (a)
            {
                case Armament.Light:
                    {
                        MaleDress dress = new MaleDress();
                        dress.Name = "A Ceremonial Robe";
                        dress.Layer = Layer.InnerTorso;
                        dress.Hue = 2990;

                        PlateArms arms = new PlateArms();
                        arms.Resource = CraftResource.Bronze;
                        arms.Hue = 2990;

                        ElegantDoublet doub = new ElegantDoublet();
                        doub.Name = "A Ceremonial Tunic";
                        doub.Hue = 2707;

                        KhemetarRogueTurban gorget = new KhemetarRogueTurban();
                        gorget.Hue = 2990;

                        PlateGloves gloves = new PlateGloves();
                        gloves.Resource = CraftResource.Bronze;
                        gloves.Hue = 2990;

                        HardenedThighBoots boots = new HardenedThighBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2990;

                        BeltPouch belt = new BeltPouch();
                        belt.Hue = 2990;

                        FancyGlasses glasses = new FancyGlasses();
                        glasses.Hue = 2707;

                        m.EquipItem(dress);
                        m.EquipItem(arms);
                        m.EquipItem(doub);
                        m.EquipItem(gorget);
                        m.EquipItem(gloves);
                        m.EquipItem(boots);
                        m.EquipItem(belt);
                        m.EquipItem(glasses);

                        Shortsword ss = new Shortsword();
                        ss.Resource = CraftResource.Iron;
                        m.EquipItem(ss);

                        Buckler shield = new Buckler();
                        shield.Resource = CraftResource.Bronze;
                        shield.Hue = 2707;
                        m.EquipItem(shield);

                        break;
                    }
                case Armament.Medium:
                    {
                        MaleDress dress = new MaleDress();
                        dress.Name = "A Ceremonial Robe";
                        dress.Layer = Layer.InnerTorso;
                        dress.Hue = 2990;

                        PlateArms arms = new PlateArms();
                        arms.Resource = CraftResource.Bronze;
                        arms.Hue = 2990;

                        ElegantDoublet doub = new ElegantDoublet();
                        doub.Name = "A Ceremonial Tunic";
                        doub.ItemID = 15502;
                        doub.Hue = 2707;

                        KhemetarRogueTurban gorget = new KhemetarRogueTurban();
                        gorget.Layer = Layer.Neck;
                        gorget.Hue = 2990;

                        PlateGloves gloves = new PlateGloves();
                        gloves.Resource = CraftResource.Bronze;
                        gloves.Hue = 2990;

                        HardenedThighBoots boots = new HardenedThighBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2990;

                        TyreanHornedPlateHelm helm = new TyreanHornedPlateHelm();
                        helm.Resource = CraftResource.Bronze;
                        helm.Name = "A Horned Helmet";
                        helm.Hue = 2990;

                        BeltPouch belt = new BeltPouch();
                        belt.Hue = 2990;

                        FancyGlasses glasses = new FancyGlasses();
                        glasses.Hue = 2707;

                        m.EquipItem(dress);
                        m.EquipItem(arms);
                        m.EquipItem(doub);
                        m.EquipItem(gorget);
                        m.EquipItem(gloves);
                        m.EquipItem(boots);
                        m.EquipItem(helm);
                        m.EquipItem(belt);
                        m.EquipItem(glasses);

                        Machete ss = new Machete();
                        ss.Resource = CraftResource.Iron;
                        m.EquipItem(ss);

                        MetalShield shield = new MetalShield();
                        shield.Resource = CraftResource.Bronze;
                        shield.Hue = 2707;
                        m.EquipItem(shield);

                        break;
                    }
                case Armament.Heavy:
                    {
                        MaleDress dress = new MaleDress();
                        dress.Name = "A Ceremonial Robe";
                        dress.Layer = Layer.InnerTorso;
                        dress.Hue = 2707;

                        TyreanHalfPlateChest chest = new TyreanHalfPlateChest();
                        chest.Name = "A Ceremonial Breastplate";
                        chest.Layer = Layer.MiddleTorso;
                        chest.Hue = 2990;

                        PlateArms arms = new PlateArms();
                        arms.Resource = CraftResource.Bronze;
                        arms.Hue = 2990;

                        LargeScarf gorget = new LargeScarf();
                        gorget.Layer = Layer.Neck;
                        gorget.Hue = 2990;

                        PlateGloves gloves = new PlateGloves();
                        gloves.Resource = CraftResource.Bronze;
                        gloves.Hue = 2990;

                        HardenedThighBoots boots = new HardenedThighBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2990;

                        TyreanHornedHelm helm = new TyreanHornedHelm();
                        helm.Resource = CraftResource.Bronze;
                        helm.Name = "A Horned Helmet";
                        helm.Hue = 2707;

                        BeltPouch belt = new BeltPouch();
                        belt.Hue = 2990;

                        FemaleLoinCloth lc = new FemaleLoinCloth();
                        lc.Hue = 2990;
                        lc.Name = "A Ceremonial Loin Cloth";

                        FancyGlasses glasses = new FancyGlasses();
                        glasses.Hue = 2707;

                        m.EquipItem(dress);
                        m.EquipItem(chest);
                        m.EquipItem(arms);
                        m.EquipItem(gorget);
                        m.EquipItem(gloves);
                        m.EquipItem(boots);
                        m.EquipItem(helm);
                        m.EquipItem(belt);
                        m.EquipItem(lc);
                        m.EquipItem(glasses);

                        SerratedSword ss = new SerratedSword();
                        ss.Resource = CraftResource.Iron;
                        m.EquipItem(ss);

                        HeaterShield shield = new HeaterShield();
                        shield.Resource = CraftResource.Iron;
                        shield.Hue = 2990;
                        m.EquipItem(shield);

                        break;
                    }
                case Armament.Ranged:
                    {
                        MaleDress dress = new MaleDress();
                        dress.Name = "A Ceremonial Robe";
                        dress.Layer = Layer.InnerTorso;
                        dress.Hue = 2990;

                        ElegantDoublet doub = new ElegantDoublet();
                        doub.Name = "A Ceremonial Tunic";
                        doub.Hue = 2707;

                        KhemetarRogueTurban gorget = new KhemetarRogueTurban();
                        gorget.Layer = Layer.Neck;
                        gorget.Hue = 2990;

                        FancyGloves gloves = new FancyGloves();
                        gloves.Hue = 2990;

                        HardenedThighBoots boots = new HardenedThighBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2990;

                        KhemetarScaleHelmet helm = new KhemetarScaleHelmet();
                        helm.Resource = CraftResource.Bronze;
                        helm.Name = "A Ceremonial Helmet";
                        helm.Hue = 2990;

                        BeltPouch belt = new BeltPouch();
                        belt.Hue = 2990;

                        FancyGlasses glasses = new FancyGlasses();
                        glasses.Hue = 2707;

                        m.EquipItem(dress);
                        m.EquipItem(doub);
                        m.EquipItem(gorget);
                        m.EquipItem(gloves);
                        m.EquipItem(boots);
                        m.EquipItem(helm);
                        m.EquipItem(belt);
                        m.EquipItem(glasses);

                        AlyrianGiantBow bow = new AlyrianGiantBow();
                        bow.Resource = CraftResource.Oak;

                        m.EquipItem(bow);

                        if (m is BaseCreature)
                        {
                            BaseCreature bc = m as BaseCreature;
                            bc.AI = AIType.AI_Archer;
                            bc.PackItem(new Arrow(Utility.RandomMinMax(35, 55)));
                        }

                        break;
                    }
            }
        }
Example #2
0
        public Etrius()
            : base(Nation.Vhalurian)
        {
            Hue = 1038;
            HairItemID = 12751;
            FacialHairItemID = 12722;
            HairHue = 2990;
            FacialHairHue = 2990;

            if( this.Backpack == null )
                AddItem( new Backpack() );

            SetStr( 150 );
            SetDex( 150 );
            SetInt( 150 );

            SetDamage( 20, 25 );

            SetHits( 1000 );
            SetMana( 200 );

            SetDamageType( ResistanceType.Blunt, 100 );

            SetResistance( ResistanceType.Blunt, 30 );
            SetResistance( ResistanceType.Piercing, 30 );
            SetResistance( ResistanceType.Slashing, 30 );

            SetSkill( SkillName.Anatomy, 100.0 );
            SetSkill( SkillName.Archery, 100.0 );
            SetSkill( SkillName.Fencing, 100.0 );
            SetSkill( SkillName.Macing, 100.0 );
            SetSkill( SkillName.Swords, 100.0 );
            SetSkill( SkillName.Tactics, 100.0 );
            SetSkill( SkillName.Polearms, 100.0 );
            SetSkill( SkillName.ExoticWeaponry, 100.0 );
            SetSkill( SkillName.Axemanship, 100.0 );
            SetSkill( SkillName.UnarmedFighting, 100.0 );

            SetSkill( SkillName.Magery, 100.0 );
            SetSkill( SkillName.MagicResist, 100.0 );
            SetSkill( SkillName.Meditation, 100.0 );
            SetSkill( SkillName.Invocation, 100.0 );
            SetSkill( SkillName.Concentration, 100.0 );

            this.Fame = 20000;

            this.VirtualArmor = 30;

            FightMode = FightMode.Closest;

            Title = "the Insularii Mage";
            Name = "Etrius";

            RunicCloak cloak = new RunicCloak();
            cloak.Hue = 2799;

            BeltedPants pants = new BeltedPants();
            pants.Hue = 2591;

            ExtravagantShirt shirt = new ExtravagantShirt();
            shirt.Hue = 2591;

            FancyGloves gloves = new FancyGloves();
            gloves.Hue = 2591;

            ElegantShoes shoes = new ElegantShoes();
            shoes.Hue = 2591;

            QuarterStaff staff = new QuarterStaff();
            staff.ItemID = 15813;
            staff.Name = "Insularii Mage Staff";

            Cowl cowl = new Cowl();
            cowl.Hue = 2799;

            Surcoat surcoat = new Surcoat();
            surcoat.Name = "Insularii Surcoat";
            surcoat.ItemID = 15502;
            surcoat.Hue = 2799;

            EquipItem( shirt );
            EquipItem( cloak );
            EquipItem( pants );
            EquipItem( gloves );
            EquipItem( shoes );
            EquipItem( staff );
            EquipItem( cowl );
            EquipItem( surcoat );

            this.AI = AIType.AI_Mage;
        }