• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Items.LeatherArms类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: EvilTannis

        public EvilTannis()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Evil Tannis";
            Title = "the spider genetecist";
            Hue = 0;
            Body = 400;

            SetStr(200, 275);
            SetDex(115, 125);
            SetInt(200, 275);

            SetHits(1900, 2100);
            SetMana(1000);

            SetDamage(10, 23);

            SetSkill(SkillName.Fencing, 66.0, 97.5);
            SetSkill(SkillName.Macing, 65.0, 87.5);
            SetSkill(SkillName.MagicResist, 25.0, 47.5);
            SetSkill(SkillName.Swords, 65.0, 87.5);
            SetSkill(SkillName.Tactics, 65.0, 87.5);
            SetSkill(SkillName.Wrestling, 15.0, 37.5);
            SetSkill(SkillName.EvalInt, 55.0, 67.5);
            SetSkill(SkillName.Magery, 90.0, 105.5);

            Fame = 5000;
            Karma = -5000;

            AddItem(new Boots());

            int hue = Utility.RandomMinMax(1410, 1450);  //Random Zog Green

            Item robe = new Robe();
            robe.Hue = hue;
            AddItem(robe);

            Item chest = new LeatherChest();
            chest.Hue = hue;
            AddItem(chest);

            Item gloves = new LeatherGloves();
            gloves.Hue = hue;
            AddItem(gloves);

            Item gorget = new LeatherGorget();
            gorget.Hue = hue;
            AddItem(gorget);

            Item legs = new LeatherLegs();
            legs.Hue = hue;
            AddItem(legs);

            Item arms = new LeatherArms();
            arms.Hue = hue;
            AddItem(arms);

            Item hair = new Item(Utility.RandomList(0x203B, 0x2049, 0x2048, 0x204A));
            hair.Hue = Utility.RandomNondyedHue();
            hair.Layer = Layer.Hair;
            hair.Movable = false;
            AddItem(hair);

            PackItem(new EvilTannisHead());

        }
开发者ID:greeduomacro,项目名称:cov-shard-svn-1,代码行数:66,代码来源:EvilTannis.cs


示例17: NewbLRCArmor

        public static BaseArmor NewbLRCArmor()
        {
            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( 3 ), 40, 80);

            armor.Attributes.LowerRegCost = 12 + Utility.Random( 5 ) + Utility.Random( 5 );
            armor.Hue = 2207;

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


示例18: AmazonHealer

		public AmazonHealer() : base( AIType.AI_Healer, FightMode.Weakest, 10, 1, 0.175, 0.3)
		{

			Name = "a Amazon Healer";
			Title= ", Defiance Amazon Clan";
			Hue= 33788;
			Body = 401;
			SpeechHue= 2305;
			BaseSoundID = 0;
			Team = 0;
                        new Horse().Rider = this;

			SetStr( 185, 215);
			SetDex( 130, 140);
			SetInt( 300, 320);

			SetHits(185, 300);

                        SetSkill( SkillName.Magery, 100.7, 100.4);
			SetSkill( SkillName.Tactics, 100.7, 100.4);
			SetSkill( SkillName.MagicResist, 191.4, 191.7);
			SetSkill( SkillName.Swords, 110.4, 110.7);
			SetSkill( SkillName.Anatomy, 110.4, 110.7);
			SetSkill( SkillName.Parry, 75.1, 100.1);

                        Fame=15000;
			Karma=-15000;

			VirtualArmor= 75;

			Item Spellbook = new Spellbook();
			Spellbook.Movable=false;
			Spellbook.Hue=1157;
		        Spellbook.Name="Amazon Healing Guide";
                        EquipItem( Spellbook );

			//Item Buckler = new Buckler();
			//Buckler.Movable=false;
			//Buckler.Hue=1253;
		        //EquipItem( Buckler );

                        Item Bandana = new Bandana();
			Bandana.Movable=false;
			Bandana.Hue=0;
			EquipItem( Bandana );

			Item Doublet = new Doublet();
			Doublet.Movable=false;
			Doublet.Hue=1150;
			Doublet.Name="Amazon Clothing";
			EquipItem( Doublet );

                        Item LeatherArms = new LeatherArms();
			LeatherArms.Movable=false;
			LeatherArms.Hue=0;
                        EquipItem( LeatherArms );

                        Item LeatherSkirt = new LeatherSkirt();
			LeatherSkirt.Movable=false;
			LeatherSkirt.Hue=0;
		        EquipItem( LeatherSkirt );

			Item Boots = new Boots();
			Boots.Movable=false;
			Boots.Hue=1175;
			EquipItem( Boots );

			//Item BodySash = new BodySash();
			//BodySash.Movable=false;
			//BodySash.Hue=4;
			//BodySash.Name="AmazonHealer Clan Member.";
                        //EquipItem( BodySash );

			Item hair = new Item( 0x203D);
			hair.Hue = 0;
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem( hair );

			PackGold( 250, 800);
			PackMagicItems( 0, 7);
			PackMagicItems( 0, 7);
			PackMagicItems( 0, 7);
			PackMagicItems( 0, 7);

                                switch ( Utility.Random( 15 ))
        		 {
           			case 0: PackItem( new HoodedShroudOfShadows() ); break;
        		 }
		}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:90,代码来源:Amazon.cs


示例19: InsulariiHealer

        public InsulariiHealer()
            : base(Nation.Alyrian)
        {
            int chance = Utility.RandomMinMax( 1, 6 );
            Nation nation = Nation.Alyrian;

            switch( chance )
            {
                case 1: nation = Nation.Alyrian; break;
                case 2: nation = Nation.Azhuran; break;
                case 3: nation = Nation.Khemetar; break;
                case 4: nation = Nation.Mhordul; break;
                case 5: nation = Nation.Tyrean; break;
                case 6: nation = Nation.Vhalurian; break;
            }

            Hue = BaseKhaerosMobile.AssignRacialHue( nation );
            HairItemID = BaseKhaerosMobile.AssignRacialHair( nation, this.Female );
            int hairhue = BaseKhaerosMobile.AssignRacialHairHue( nation );
            HairHue = hairhue;

            if( !this.Female )
            {
                FacialHairItemID = BaseKhaerosMobile.AssignRacialFacialHair( nation );
                FacialHairHue = hairhue;
            }

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

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

            SetDamage( 10, 15 );

            SetHits( 400 );
            SetMana( 300 );

            SetDamageType( ResistanceType.Blunt, 100 );

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

            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 );

            this.Fame = 14000;

            this.VirtualArmor = 0;

            FightMode = FightMode.Closest;

            Title = "the Insularii Healer";
            Name = BaseKhaerosMobile.GiveInsulariiName( this.Female );

            LeatherChest chest = new LeatherChest();
            chest.Resource = CraftResource.BeastLeather;
            chest.Hue = 2591;

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

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

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

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

            BlackLeatherBoots boots = new BlackLeatherBoots();
            boots.Hue = 2591;

            GnarledStaff staff = new GnarledStaff();
            staff.Resource = CraftResource.Redwood;

            EquipItem( chest );
            EquipItem( arms );
            EquipItem( legs );
            EquipItem( gorget );
            EquipItem( gloves );
            EquipItem( boots );
            EquipItem( staff );

            Surcoat surcoat = new Surcoat();
//.........这里部分代码省略.........
开发者ID:justdanofficial,项目名称:khaeros,代码行数:101,代码来源:InsulariiHealer.cs


示例20: DummySuper

		public DummySuper() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
		{
			// A Dummy Super Mage
			int iHue = 20 + Team * 40;
			int jHue = 25 + Team * 40;

			// Skills and Stats
			this.InitStats( 125, 125, 125 );
			this.Skills[SkillName.Magery].Base = 120;
			this.Skills[SkillName.EvalInt].Base = 120;
			this.Skills[SkillName.Anatomy].Base = 120;
			this.Skills[SkillName.Wrestling].Base = 120;
			this.Skills[SkillName.Meditation].Base = 120;
			this.Skills[SkillName.Poisoning].Base = 100;
			this.Skills[SkillName.Inscribe].Base = 100;

			// Name
			this.Name = "Super Mage";

			// 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 );

			JesterHat jhat = new JesterHat();
			jhat.Hue = iHue;
			AddItem( jhat );

			Doublet dblt = new Doublet();
			dblt.Hue = iHue;
			AddItem( dblt );

			// Spells
			AddSpellAttack( typeof(Spells.First.MagicArrowSpell) );
			AddSpellAttack( typeof(Spells.First.WeakenSpell) );
			AddSpellAttack( typeof(Spells.Third.FireballSpell) );
			AddSpellDefense( typeof(Spells.Third.WallOfStoneSpell) );
			AddSpellDefense( typeof(Spells.First.HealSpell) );
		}
开发者ID:jackuoll,项目名称:Pre-AOS-RunUO,代码行数:74,代码来源:DummySpecific.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Items.LeatherChest类代码示例发布时间:2022-05-26
下一篇:
C# Items.Key类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap