当前位置: 首页>>代码示例>>C#>>正文


C# Items.LeatherArms类代码示例

本文整理汇总了C#中Server.Items.LeatherArms的典型用法代码示例。如果您正苦于以下问题:C# LeatherArms类的具体用法?C# LeatherArms怎么用?C# LeatherArms使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


LeatherArms类属于Server.Items命名空间,在下文中一共展示了LeatherArms类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: InitOutfit

        public override void InitOutfit()
        {
            AddItem( new Backpack() );
            AddItem( new Boots( 0x1BB ) );

            Item item;

            item = new LeatherLegs();
            item.Hue = 0x6C8;
            AddItem( item );

            item = new LeatherGloves();
            item.Hue = 0x1BB;
            AddItem( item );

            item = new LeatherChest();
            item.Hue = 0x1BB;
            AddItem( item );

            item = new LeatherArms();
            item.Hue = 0x4C7;
            AddItem( item );

            item = new CompositeBow();
            item.Hue = 0x5DD;
            AddItem( item );
        }
开发者ID:Ravenwolfe,项目名称:xrunuo,代码行数:27,代码来源:Andric.cs

示例2: TheCursedButcher

        public TheCursedButcher()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Title = "the Cursed Butcher";
            Body = 0x190;
            Name = "Zack";
            Hue = 2130;

            InitStats(700, 151, 100);
            SetHits(500);

            SetResistance(ResistanceType.Physical, 40, 60);
            SetResistance(ResistanceType.Fire, 20, 30);
            SetResistance(ResistanceType.Cold, 50, 60);
            SetResistance(ResistanceType.Poison, 55, 65);
            SetResistance(ResistanceType.Energy, 40, 50);

            SetSkill(SkillName.Wrestling, 120.0);
            SetSkill(SkillName.Swords, 120.0);
            SetSkill(SkillName.Anatomy, 120.0);
            SetSkill(SkillName.MagicResist, 120.0);
            SetSkill(SkillName.Tactics, 120.0);
            SetSkill(SkillName.Healing, 90.0);

            Fame = NotorietyHandlers.GetNotorietyByLevel( 3 );
            Karma = NotorietyHandlers.GetNotorietyByLevel( -3 );

            VirtualArmor = 70;

            Item wep = CursedCaveUtility.MutateItem(new ButcherKnife(), 10);
            AddItem(wep);

            AddItem( new Shoes() );

            CraftResource ArmorCraftResource = GetRandomCraftResource();

            LeatherArms arms = new LeatherArms();
            arms.Resource = ArmorCraftResource;
            AddItem(CursedCaveUtility.MutateItem(arms, 10));

            LeatherChest tunic = new LeatherChest();
            tunic.Resource = ArmorCraftResource;
            AddItem(CursedCaveUtility.MutateItem(tunic, 10));

            LeatherLegs legs = new LeatherLegs();
            legs.Resource = ArmorCraftResource;
            AddItem(CursedCaveUtility.MutateItem(legs, 10));

            AddItem(CursedCaveUtility.MutateItem(new DeerMask(), 10));

            HairItemID = 0x203B;
            HairHue = 0x3C0;
        }
开发者ID:kamronbatman,项目名称:Defiance-AOS-Pre-2012,代码行数:53,代码来源:TheCursedButcher.cs

示例3: MorgBergen

        public MorgBergen()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            this.Title = "the Cursed";

            this.Hue = 0x8596;
            this.Body = 0x190;
            this.Name = "Morg Bergen";

            this.AddItem(new ShortPants(0x59C));

            Bardiche bardiche = new Bardiche();
            LeatherGloves gloves = new LeatherGloves();
            LeatherArms arms = new LeatherArms();

            bardiche.Hue = 0x96F;
            bardiche.Movable = false;
            gloves.Hue = 0x96F;
            arms.Hue = 0x96F;

            this.AddItem(bardiche);
            this.AddItem(gloves);
            this.AddItem(arms);

            this.SetStr(111, 120);
            this.SetDex(111, 120);
            this.SetInt(51, 60);

            this.SetHits(180, 207);
            this.SetMana(0);

            this.SetDamage(9, 17);

            this.SetDamageType(ResistanceType.Physical, 40);
            this.SetDamageType(ResistanceType.Cold, 60);

            this.SetResistance(ResistanceType.Physical, 35, 45);
            this.SetResistance(ResistanceType.Fire, 25, 30);
            this.SetResistance(ResistanceType.Cold, 50, 60);
            this.SetResistance(ResistanceType.Poison, 25, 35);
            this.SetResistance(ResistanceType.Energy, 25, 35);

            this.SetSkill(SkillName.Swords, 90.1, 100.0);
            this.SetSkill(SkillName.Tactics, 90.1, 100.0);
            this.SetSkill(SkillName.MagicResist, 80.1, 90.0);
            this.SetSkill(SkillName.Anatomy, 90.1, 100.0);

            this.Fame = 5000;
            this.Karma = -1000;
        }
开发者ID:Crome696,项目名称:ServUO,代码行数:50,代码来源:MorgBergen.cs

示例4: Sparrow

		public Sparrow()
		{
			Name = "Captian Jack Sparrow";
                        Title = "The Pirate";
			Body = 400;
			CantWalk = true;
			Hue = Utility.RandomSkinHue();

			LeatherArms LeatherArms = new LeatherArms();
			LeatherArms.Hue = 1157;
			AddItem( LeatherArms );
			
			LeatherCap LeatherCap = new LeatherCap();
			LeatherCap.Hue = 1157;
			AddItem( LeatherCap );
			
			LeatherGloves LeatherGloves = new LeatherGloves();
			LeatherGloves.Hue = 1157;
			AddItem( LeatherGloves );

			LeatherLegs LeatherLegs = new LeatherLegs();
			LeatherLegs.Hue = 1157;
			AddItem( LeatherLegs );
			
			LeatherChest LeatherChest = new LeatherChest();
			LeatherChest.Hue = 1157;
			AddItem( LeatherChest );

			LeatherGorget LeatherGorget = new LeatherGorget();
			LeatherGorget.Hue = 1157;
			AddItem( LeatherGorget );




                        int hairHue = 1153;

			switch ( Utility.Random( 1 ) )
			{
				case 0: AddItem( new PonyTail( hairHue ) ); break;
				case 1: AddItem( new Goatee( hairHue ) ); break;
			} 
			
			Blessed = true;
			
			}
开发者ID:greeduomacro,项目名称:unknown-shard-1,代码行数:46,代码来源:Sparrow.cs

示例5: MorgBergen

		public MorgBergen() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Title = "the Cursed";

			Hue = 0x8596;
			Body = 0x190;

			AddItem( new ShortPants( 0x59C ) );

			Bardiche bardiche = new Bardiche();
			LeatherGloves gloves =  new LeatherGloves();
			LeatherArms arms = new LeatherArms();

			bardiche.Hue = 0x96F;
			gloves.Hue = 0x96F;
			arms.Hue = 0x96F;

			AddItem( Immovable(bardiche) );
			AddItem( Immovable(gloves) );
			AddItem( Immovable(arms) );

			SetStr( 111, 120 );
			SetDex( 111, 120 );
			SetInt( 51, 60 );

			SetHits( 180, 207 );
			SetMana( 0 );

			SetDamage( 9, 17 );

			SetSkill( SkillName.Swords, 90.1, 100.0 );
			SetSkill( SkillName.Tactics, 90.1, 100.0 );
			SetSkill( SkillName.MagicResist, 80.1, 90.0 );
			SetSkill( SkillName.Anatomy, 90.1, 100.0 );

			Fame = 5000;
			Karma = -1000;
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:38,代码来源:MorgBergen.cs

示例6: Andric

        public Andric()
            : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2)
        {
            Name = "Andric";
            Title = "o treinador de arqueirismo";
            Race = Race.Human;
            BodyValue = 0x190;
            Female = false;
            Hue = Race.RandomSkinHue();
            InitStats( 100, 100, 25 );

            Utility.AssignRandomHair( this, true );

            SetSkill( SkillName.Archery, 60.0, 80.0 );

            AddItem( new Backpack() );

            Item item;

            item = new LeatherChest();
            item.Hue = 0x1BB;
            AddItem( item );

            item = new LeatherLegs();
            item.Hue = 0x6AD;
            AddItem( item );

            item = new LeatherArms();
            item.Hue = 0x6AD;
            AddItem( item );

            item = new LeatherGloves();
            item.Hue = 0x1BB;
            AddItem( item );

            AddItem( new Boots( 0x1BB ) );
            AddItem( new CompositeBow() );
        }
开发者ID:felladrin,项目名称:runuo-pt-br,代码行数:38,代码来源:NewHavenTraining.cs

示例7: HoneycombProcessingKettleQuestNPC

		public HoneycombProcessingKettleQuestNPC()
		{
			Name = "Old Man";
			Body = 400;
			Hue = Utility.RandomSkinHue();

			LeatherArms LeatherArms = new LeatherArms();
			LeatherArms.Hue = 2418;
			AddItem( LeatherArms );
						
			LeatherGloves LeatherGloves = new LeatherGloves();
			LeatherGloves.Hue = 2418;
			AddItem( LeatherGloves );

			LeatherLegs LeatherLegs = new LeatherLegs();
			LeatherLegs.Hue = 2418;
			AddItem( LeatherLegs );
			
			LeatherChest LeatherChest = new LeatherChest();
			LeatherChest.Hue = 2418;
			AddItem( LeatherChest );

			LeatherGorget LeatherGorget = new LeatherGorget();
			LeatherGorget.Hue = 2418;
			AddItem( LeatherGorget );

                        int hairHue = 2406;

			switch ( Utility.Random( 1 ) )
			{
				case 0: AddItem( new PonyTail( hairHue ) ); break;
				case 1: AddItem( new Goatee( hairHue ) ); break;
			} 
			
			Blessed = true;
			
			}
开发者ID:greeduomacro,项目名称:cov-shard-svn-1,代码行数:37,代码来源:HoneycombProcessingKettleKesselQuestNPC.cs

示例8: SocietyGuard


//.........这里部分代码省略.........

                    EquipItem( chest );
                    EquipItem( arms );
                    EquipItem( legs );
                    EquipItem( gorget );
                    EquipItem( gloves );
                    EquipItem( shield );
                    EquipItem( helm );
                    EquipItem( new Longsword() );
                    break;
                }

                case 2:
                {
                    StuddedChest chest = new StuddedChest();
                    chest.Resource = CraftResource.BeastLeather;
                    chest.Hue = 2830;

                    StuddedArms arms = new StuddedArms();
                    arms.Resource = CraftResource.BeastLeather;
                    arms.Hue = 2830;

                    StuddedLegs legs = new StuddedLegs();
                    legs.Resource = CraftResource.BeastLeather;
                    legs.Hue = 2830;

                    StuddedGorget gorget = new StuddedGorget();
                    gorget.Resource = CraftResource.BeastLeather;
                    gorget.Hue = 2830;

                    StuddedGloves gloves = new StuddedGloves();
                    gloves.Resource = CraftResource.BeastLeather;
                    gloves.Hue = 2830;

                    VhalurianMetalKiteShield shield = new VhalurianMetalKiteShield();
                    shield.Resource = CraftResource.Bronze;
                    shield.Name = "Society of Rymaliel Kite Shield";
                    shield.Hue = 2413;
                    shield.ItemID = 15726;

                    ThighBoots boots = new ThighBoots();
                    boots.Resource = CraftResource.BeastLeather;
                    boots.Hue = 2989;

                    EquipItem( chest );
                    EquipItem( arms );
                    EquipItem( legs );
                    EquipItem( gorget );
                    EquipItem( gloves );
                    EquipItem( shield );
                    EquipItem( boots );
                    EquipItem( new FlangedMace() );
                    break;
                }

                case 3:
                {
                    LeatherChest chest = new LeatherChest();
                    chest.Resource = CraftResource.BeastLeather;
                    chest.Hue = 2830;

                    LeatherArms arms = new LeatherArms();
                    arms.Resource = CraftResource.BeastLeather;
                    arms.Hue = 2830;

                    LeatherLegs legs = new LeatherLegs();
                    legs.Resource = CraftResource.BeastLeather;
                    legs.Hue = 2830;

                    LeatherGorget gorget = new LeatherGorget();
                    gorget.Resource = CraftResource.BeastLeather;
                    gorget.Hue = 2830;

                    LeatherGloves gloves = new LeatherGloves();
                    gloves.Resource = CraftResource.BeastLeather;
                    gloves.Hue = 2830;

                    ThighBoots boots = new ThighBoots();
                    boots.Resource = CraftResource.BeastLeather;
                    boots.Hue = 2830;

                    EquipItem( chest );
                    EquipItem( arms );
                    EquipItem( legs );
                    EquipItem( gorget );
                    EquipItem( gloves );
                    EquipItem( boots );
                    EquipItem( new CompositeShortbow() );
                    AI = AIType.AI_Archer;
                    PackItem( new Arrow( Utility.RandomMinMax( 10, 20 ) ) );
                    break;
                }
            }

            Surcoat surcoat = new Surcoat();
            surcoat.Name = "Society of Rymaliel Surcoat";
            surcoat.ItemID = 15483;

            EquipItem( surcoat );
        }
开发者ID:justdanofficial,项目名称:khaeros,代码行数:101,代码来源:SocietyGuard.cs

示例9: InitOutfit

        public override void InitOutfit()
        {
            this.AddItem(new Backpack());			
            this.AddItem(new Boots(0x1BB));
						
            Item item;
			
            item = new LeatherLegs();
            item.Hue = 0x901;
            this.AddItem(item);
			
            item = new LeatherGloves();
            item.Hue = 0x1BB;
            this.AddItem(item);
			
            item = new LeatherChest();
            item.Hue = 0x1BB;
            this.AddItem(item);
			
            item = new LeatherArms();
            item.Hue = 0x901;
            this.AddItem(item);			
			
            item = new CompositeBow();
            item.Hue = 0x606;
            this.AddItem(item);
        }
开发者ID:Crome696,项目名称:ServUO,代码行数:27,代码来源:Kashiel.cs

示例10: EquipSociety

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

            switch (a)
            {
                case Armament.Light:
                    {
                        LeatherChest chest = new LeatherChest();
                        chest.Resource = CraftResource.BeastLeather;
                        chest.Hue = 2830;

                        LeatherArms arms = new LeatherArms();
                        arms.Resource = CraftResource.BeastLeather;
                        arms.Hue = 2830;

                        LeatherLegs legs = new LeatherLegs();
                        legs.Resource = CraftResource.BeastLeather;
                        legs.Hue = 2830;

                        LeatherGorget gorget = new LeatherGorget();
                        gorget.Resource = CraftResource.BeastLeather;
                        gorget.Hue = 2830;

                        LeatherGloves gloves = new LeatherGloves();
                        gloves.Resource = CraftResource.BeastLeather;
                        gloves.Hue = 2830;

                        ThighBoots boots = new ThighBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2830;

                        m.EquipItem(chest);
                        m.EquipItem(arms);
                        m.EquipItem(legs);
                        m.EquipItem(gorget);
                        m.EquipItem(gloves);
                        m.EquipItem(boots);

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

                        VhalurianMetalKiteShield shield = new VhalurianMetalKiteShield();
                        shield.Resource = CraftResource.Bronze;
                        shield.Name = "Society of Rymaliel Kite Shield";
                        shield.Hue = 2413;
                        shield.ItemID = 15726;
                        m.EquipItem(shield);

                        break;
                    }
                case Armament.Medium:
                    {
                        ChainChest chest = new ChainChest();
                        chest.Resource = CraftResource.Bronze;
                        chest.Hue = 2830;

                        ChainArms arms = new ChainArms();
                        arms.Resource = CraftResource.Bronze;
                        arms.Hue = 2830;

                        ChainLegs legs = new ChainLegs();
                        legs.Resource = CraftResource.Bronze;
                        legs.Hue = 2830;

                        ChainGorget gorget = new ChainGorget();
                        gorget.Resource = CraftResource.Bronze;
                        gorget.Hue = 2830;

                        ChainGloves gloves = new ChainGloves();
                        gloves.Resource = CraftResource.Bronze;
                        gloves.Hue = 2830;

                        VhalurianMetalKiteShield shield = new VhalurianMetalKiteShield();
                        shield.Resource = CraftResource.Bronze;
                        shield.Name = "Society of Rymaliel Kite Shield";
                        shield.Hue = 2413;
                        shield.ItemID = 15726;
                        m.EquipItem(shield);

                        FlangedMace fm = new FlangedMace();
                        fm.Resource = CraftResource.Bronze;
                        m.EquipItem(fm);

                        ThighBoots boots = new ThighBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2989;

                        m.EquipItem(chest);
                        m.EquipItem(arms);
                        m.EquipItem(legs);
                        m.EquipItem(gorget);
                        m.EquipItem(gloves);
                        m.EquipItem(shield);
                        m.EquipItem(fm);
                        m.EquipItem(boots);
//.........这里部分代码省略.........
开发者ID:justdanofficial,项目名称:khaeros,代码行数:101,代码来源:Soldier.cs

示例11: DummyThief

		public DummyThief() : base(AIType.AI_Thief, FightMode.Closest, 15, 1, 0.2, 0.6)
		{
			// A Dummy Hybrid Thief
			int iHue = 20 + Team * 40;
			int jHue = 25 + Team * 40;

			// Skills and Stats
			this.InitStats( 105, 105, 105 );
			this.Skills[SkillName.Healing].Base = 120;
			this.Skills[SkillName.Anatomy].Base = 120;
			this.Skills[SkillName.Stealing].Base = 120;
			this.Skills[SkillName.ArmsLore].Base = 100;
			this.Skills[SkillName.Meditation].Base = 120;
			this.Skills[SkillName.Wrestling].Base = 120;

			// Name
			this.Name = "Hybrid Thief";

			// Equip
			Spellbook book = new Spellbook();
			book.Movable = false;
			book.LootType = LootType.Newbied;
			book.Content =0xFFFFFFFFFFFFFFFF;
			AddItem( book );

			LeatherArms lea = new LeatherArms();
			lea.Movable = false;
			lea.LootType = LootType.Newbied;
			lea.Crafter = this;
			lea.Quality = ArmorQuality.Regular;
			AddItem( lea );

			LeatherChest lec = new LeatherChest();
			lec.Movable = false;
			lec.LootType = LootType.Newbied;
			lec.Crafter = this;
			lec.Quality = ArmorQuality.Regular;
			AddItem( lec );

			LeatherGorget leg = new LeatherGorget();
			leg.Movable = false;
			leg.LootType = LootType.Newbied;
			leg.Crafter = this;
			leg.Quality = ArmorQuality.Regular;
			AddItem( leg );

			LeatherLegs lel = new LeatherLegs();
			lel.Movable = false;
			lel.LootType = LootType.Newbied;
			lel.Crafter = this;
			lel.Quality = ArmorQuality.Regular;
			AddItem( lel );

			Sandals snd = new Sandals();
			snd.Hue = iHue;
			snd.LootType = LootType.Newbied;
			AddItem( snd );

			Cap cap = new Cap();
			cap.Hue = iHue;
			AddItem( cap );

			Robe robe = new Robe();
			robe.Hue = iHue;
			AddItem( robe );

			Bandage band = new Bandage( 50 );
			AddToBackpack( band );
		}
开发者ID:jackuoll,项目名称:Pre-AOS-RunUO,代码行数:69,代码来源:DummySpecific.cs

示例12: NewbLuckArmor

        public static BaseArmor NewbLuckArmor()
        {
            BaseArmor armor = null;

            switch( Utility.Random( 6 ) )
            {
                case 0: armor = new LeatherChest(); break;
                case 1: armor = new LeatherLegs(); break;
                case 2: armor = new LeatherArms(); break;
                case 3: armor = new LeatherGloves(); break;
                case 4: armor = new LeatherGorget(); break;
                case 5: armor = new LeatherCap(); break;
            }

            BaseRunicTool.ApplyAttributesTo(armor, Utility.Random( 4 ), 40, 80);

            int luck = 65 + Utility.Random( 21 ) + Utility.Random( 21 );
            if( luck > 100 )
                luck = 100;

            armor.Attributes.Luck = luck;
            armor.Hue = 2123;

            return armor;
        }
开发者ID:kamronbatman,项目名称:Defiance-AOS-Pre-2012,代码行数:25,代码来源:NewbWarrior.cs

示例13: ChickenPlucker

		public ChickenPlucker() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) 
		{ 
			SetStr( 2205, 3245 );
			SetDex( 781, 995 );
			SetInt( 2361, 4475 );
			
			SetHits( 8650, 10000 );

			SetDamage( 15, 25 );

			SetDamageType( ResistanceType.Physical, 50, 70 );
			SetDamageType( ResistanceType.Fire, 50, 70 );
			SetDamageType( ResistanceType.Energy, 50, 70 );
			SetDamageType( ResistanceType.Poison, 50, 70 );

			SetResistance( ResistanceType.Physical, 100 );
			SetResistance( ResistanceType.Fire, 30, 50 );
			SetResistance( ResistanceType.Cold, 30, 50 );
			SetResistance( ResistanceType.Poison, 30, 50 );
			SetResistance( ResistanceType.Energy, 30, 50 );
			
			SetSkill( SkillName.Wrestling, 90, 120 );
			SetSkill( SkillName.Tactics, 90, 120 );
			SetSkill( SkillName.Healing, 120, 150 );
			SetSkill( SkillName.SpiritSpeak, 120, 150 );
			SetSkill( SkillName.Anatomy, 90, 120 );
			SetSkill( SkillName.Magery, 90, 120 );
			SetSkill( SkillName.MagicResist, 90, 120 );
			SetSkill( SkillName.Meditation, 90, 120 );
			SetSkill( SkillName.DetectHidden, 20000, 30000 );
			
			Fame = 5000;
			Karma = -5000;
 			
			Name = "Pixel";
			Title = "The Chicken Plucking Thief";
			Body = 0x190; 

			SpeechHue = Utility.RandomDyedHue(); 

			Hue = Utility.RandomSkinHue(); 

						
			LeatherChest chest = new LeatherChest(); 
			chest.Hue = 2492; 
			AddItem( chest ); 
			LeatherArms arms = new LeatherArms(); 
			arms.Hue = 2492; 
			AddItem( arms ); 
			LeatherGloves gloves = new LeatherGloves(); 
			gloves.Hue = 2492; 
			AddItem( gloves ); 
			LeatherGorget gorget = new LeatherGorget(); 
			gorget.Hue = 2492; 
			AddItem( gorget ); 
			LeatherLegs legs = new LeatherLegs(); 
			legs.Hue = 2492; 
			AddItem( legs ); 
			
			
			
			PackGold( 2420, 3690 );
			
			if( Utility.Random( 50 ) < 50 ) 
			switch ( Utility.Random( 50 ))
			{ 
        		case 0:	PackItem( new FighterCloak() );
        		break;
        		case 1: PackItem( new DruidCloak() );
        		break;
        		case 2: PackItem( new Piwafwi() );
        		break;
        		case 3: PackItem( new RogueCloak() );
        		break;
        		case 4: PackItem( new RogueSandals() );
        		break;
        		case 5: PackItem( new MasterSandals() );
        		break;
        		
		}

	} 
开发者ID:greeduomacro,项目名称:unknown-shard-1,代码行数:82,代码来源:Pixel+the+Chicken+Plucker.cs

示例14: PegLeg

		public PegLeg() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "Peg Leg";
			Body = 159;

			SetStr( 60, 110 );
			SetDex( 60, 100 );
			SetInt( 60, 100 );

			SetHits( 200 );

			SetDamage( 5, 25 );

			SetDamageType( ResistanceType.Physical, 50 );
			SetDamageType( ResistanceType.Fire, 60 );
			SetDamageType( ResistanceType.Energy, 10 );

			SetResistance( ResistanceType.Physical, 30, 80 );
			SetResistance( ResistanceType.Fire, 20, 100 );
			SetResistance( ResistanceType.Cold, 10, 15 );
			SetResistance( ResistanceType.Poison, 20 );
			SetResistance( ResistanceType.Energy, 0, 20 );

			SetSkill( SkillName.Anatomy, 120 );
			SetSkill( SkillName.EvalInt, 90, 95.0 );
			SetSkill( SkillName.Magery, 50.5, 100.0 );
			SetSkill( SkillName.Meditation, 60 );
			SetSkill( SkillName.MagicResist, 10.1, 50.0 );
			SetSkill( SkillName.Tactics, 115, 125 );
			SetSkill( SkillName.Swords, 115, 125 );

			Fame = 8000;
			Karma = -8000;

			Kills = 10;

			Hue = 1271;

			VirtualArmor = 50;

			LeatherArms LeatherArms = new LeatherArms();
			LeatherArms.Hue = 1175;
			AddItem( LeatherArms );
			
			LeatherCap LeatherCap = new LeatherCap();
			LeatherCap.Hue = 1157;
			AddItem( LeatherCap );
			
			LeatherGloves LeatherGloves = new LeatherGloves();
			LeatherGloves.Hue = 1175;
			AddItem( LeatherGloves );

			LeatherLegs LeatherLegs = new LeatherLegs();
			LeatherLegs.Hue = 1157;
			AddItem( LeatherLegs );
			
			LeatherChest LeatherChest = new LeatherChest();
			LeatherChest.Hue = 1175;
			AddItem( LeatherChest );

			LeatherGorget LeatherGorget = new LeatherGorget();
			LeatherGorget.Hue = 1157;
			AddItem( LeatherGorget );

			//AddItem( new SparrowBlade() );
 			PackItem( new PegLeghook() );
			PackItem( new PegLegHead() );


		}
开发者ID:greeduomacro,项目名称:unknown-shard-1,代码行数:70,代码来源:PegLeg.cs

示例15: Kashiel

		public Kashiel()
			: base( AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2 )
		{
			Name = "Kashiel";
			Title = "the archer";
			Race = Race.Human;
			BodyValue = 0x191;
			Female = true;
			Hue = Race.RandomSkinHue();
			InitStats( 100, 100, 25 );

			Utility.AssignRandomHair( this, true );

			AddItem( new Backpack() );

			Item item;

			item = new LeatherChest();
			item.Hue = 0x1BB;
			AddItem( item );

			item = new LeatherLegs();
			item.Hue = 0x901;
			AddItem( item );

			item = new LeatherArms();
			item.Hue = 0x901;
			AddItem( item );

			item = new LeatherGloves();
			item.Hue = 0x1BB;
			AddItem( item );

			AddItem( new Boots( 0x1BB ) );
			AddItem( new CompositeBow() );
		}
开发者ID:jackuoll,项目名称:Pre-AOS-RunUO,代码行数:36,代码来源:NewHavenTraining.cs


注:本文中的Server.Items.LeatherArms类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。