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


C# Items.LeatherGloves类代码示例

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


LeatherGloves类属于Server.Items命名空间,在下文中一共展示了LeatherGloves类的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: InitOutfit

        public override void InitOutfit()
        {
            AddItem( new Backpack() );
            AddItem( new Sandals( 0x8FD ) );
            AddItem( new BoneHelm() );

            Item item;

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

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

            item = new LeatherGorget();
            item.Hue = 0x2C3;
            AddItem( item );

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

            item = new LeatherArms();
            item.Hue = 0x2C3;
            AddItem( item );
        }
开发者ID:ITLongwell,项目名称:mondains-legacy,代码行数:28,代码来源:Mulcivikh.cs

示例3: ArmyBase

		public ArmyBase(int Team, AIType iAI, FightMode iFightMode, int iRangePerception, int iRangeFight, double dActiveSpeed, double dPassiveSpeed) 
            : base(iAI, iFightMode, iRangePerception, iRangeFight, dActiveSpeed, dPassiveSpeed)
		{
			this.Body = 400 + Utility.Random(2);
			this.Hue = Utility.RandomSkinHue();
            this.Team = Team;

			this.Skills[SkillName.DetectHidden].Base = 100;
            this.Skills[SkillName.MagicResist].Base = 120;

			int iHue = 20 + Team * 40;
			int jHue = 25 + Team * 40;

			Item hair = new Item( Utility.RandomList( 0x203C, 0x203B, 0x203C, 0x203D ) );
			hair.Hue = iHue;
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem( hair );

			LeatherGloves glv = new LeatherGloves();
			glv.Hue = iHue;
			glv.LootType = LootType.Newbied;
			AddItem(glv);

			Container pack = new Backpack();

			pack.Movable = false;

			AddItem( pack );

			m_Timer = new AutokillTimer(this);
			m_Timer.Start();
		}
开发者ID:nick12344356,项目名称:The-Basement,代码行数:33,代码来源:ArmyBase.cs

示例4: FamousPirates

		public FamousPirates(AIType iAI, FightMode iFightMode, int iRangePerception, int iRangeFight, double dActiveSpeed, double dPassiveSpeed) : base(iAI, iFightMode, iRangePerception, iRangeFight, dActiveSpeed, dPassiveSpeed)
		{
			this.Body = 400;
			this.Hue = Utility.RandomSkinHue();

			this.Skills[SkillName.DetectHidden].Base = 100;
			this.Skills[SkillName.MagicResist].Base = 100;
			this.Skills[SkillName.Magery].Base = 100;
            this.Skills[SkillName.Healing].Base = 100;

			int Hue = 0 ;

			Utility.AssignRandomHair( this, Hue );

			LeatherGloves glv = new LeatherGloves();
			glv.Hue = Hue;
			glv.LootType = LootType.Regular;
			AddItem(glv);

			Container pack = new Backpack();

			pack.Movable = false;

			AddItem( pack );

			Kills = 5;
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:27,代码来源:FamousPirates.cs

示例5: Ciiss

		public Ciiss()
		{
			Name = "Ciiss";
                        Title = "the Snake Worshipper";
			Body = 401;
			CantWalk = true;
			Hue = 2006;

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

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

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

			int hairHue = 1741;
			AddItem( new LongHair( hairHue ) );
			Blessed = true;
		}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:27,代码来源:Ciiss.cs

示例6: Dummy

		public Dummy(AIType iAI, FightMode iFightMode, int iRangePerception, int iRangeFight, double dActiveSpeed, double dPassiveSpeed) : base(iAI, iFightMode, iRangePerception, iRangeFight, dActiveSpeed, dPassiveSpeed)
		{
			Body = 400 + Utility.Random(2);
			Hue = Utility.RandomSkinHue();

			Skills[SkillName.DetectHidden].Base = 100;
			Skills[SkillName.MagicResist].Base = 120;

			Team = Utility.Random(3);

			int iHue = 20 + Team * 40;
			int jHue = 25 + Team * 40;

			Utility.AssignRandomHair( this, iHue );

			LeatherGloves glv = new LeatherGloves();
			glv.Hue = iHue;
			glv.LootType = LootType.Newbied;
			AddItem(glv);

			Container pack = new Backpack();

			pack.Movable = false;

			AddItem( pack );

			m_Timer = new AutokillTimer(this);
			m_Timer.Start();
		}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:29,代码来源:Dummy.cs

示例7: KhaldunSummoner

		public KhaldunSummoner():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Body = 0x190;
			Title = "the Summoner";

            SetStr(1254, 1381);
            SetDex(93, 135);
            SetInt(745, 810);

            SetHits(694, 875);

            SetDamage(12, 20);

			
			

			
			
			
			
			

			SetSkill( SkillName.Wrestling, 90.1, 100.0 );
			SetSkill( SkillName.Tactics, 90.1, 100.0 );
			SetSkill( SkillName.MagicResist, 90.1, 100.0 );
			SetSkill( SkillName.Magery, 90.1, 100.0 );
			SetSkill( SkillName.EvalInt, 100.0 );
			SetSkill( SkillName.Meditation, 120.1, 130.0 );

			VirtualArmor = 36;
			Fame = 10000;
			Karma = -10000;

			LeatherGloves gloves = new LeatherGloves();
			gloves.Hue = 0x66D;
            gloves.Identified = true;
			AddItem( Immovable(gloves) );

			BoneHelm helm = new BoneHelm();
			helm.Hue = 0x835;
            helm.Identified = true;
			AddItem( Immovable(helm) );

			Necklace necklace = new Necklace();
			necklace.Hue = 0x66D;
			AddItem( Immovable(necklace) );

			Cloak cloak = new Cloak();
			cloak.Hue = 0x66D;
			AddItem( Immovable(cloak) );

			Kilt kilt = new Kilt();
			kilt.Hue = 0x66D;
			AddItem( Immovable(kilt) );

			Sandals sandals = new Sandals();
			sandals.Hue = 0x66D;
			AddItem( Immovable(sandals) );
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:59,代码来源:KhaldunSummoner.cs

示例8: KhaldunSummoner

        public KhaldunSummoner()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body = 0x190;
            Name = "Zealot of Khaldun";
            Title = "the Summoner";

            SetStr( 351, 400 );
            SetDex( 101, 150 );
            SetInt( 502, 700 );

            SetHits( 421, 480 );

            SetDamage( 5, 15 );

            SetDamageType( ResistanceType.Physical, 75 );
            SetDamageType( ResistanceType.Cold, 25 );

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

            SetSkill( SkillName.Wrestling, 90.1, 100.0 );
            SetSkill( SkillName.Tactics, 90.1, 100.0 );
            SetSkill( SkillName.MagicResist, 90.1, 100.0 );
            SetSkill( SkillName.Magery, 90.1, 100.0 );
            SetSkill( SkillName.EvalInt, 100.0 );
            SetSkill( SkillName.Meditation, 120.1, 130.0 );

            VirtualArmor = 16;
            Fame = 10000;
            Karma = -10000;

            LeatherGloves gloves = new LeatherGloves();
            gloves.Hue = 0x66D;
            AddItem( gloves );

            BoneHelm helm = new BoneHelm();
            helm.Hue = 0x835;
            AddItem( helm );

            Necklace necklace = new Necklace();
            necklace.Hue = 0x66D;
            AddItem( necklace );

            Cloak cloak = new Cloak();
            cloak.Hue = 0x66D;
            AddItem( cloak );

            Kilt kilt = new Kilt();
            kilt.Hue = 0x66D;
            AddItem( kilt );

            Sandals sandals = new Sandals();
            sandals.Hue = 0x66D;
            AddItem( sandals );
        }
开发者ID:cynricthehun,项目名称:UOLegends,代码行数:59,代码来源:KhaldunSummoner.cs

示例9: FreddyKruger

		public FreddyKruger() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) 
		{ 
			Name = "Freddy Kruger";
			Body = 185;
                        Hue = 2949;

                     

			SetStr( 481, 705 );
			SetDex( 291, 315 );
			SetInt( 226, 350 );

			SetHits(12000, 14000 );

			SetDamage( 25, 40 );

			SetDamageType( ResistanceType.Physical, 100 );

			SetResistance( ResistanceType.Physical, 35, 40 );
			SetResistance( ResistanceType.Fire, 30, 40 );
			SetResistance( ResistanceType.Cold, 30, 40 );
			SetResistance( ResistanceType.Poison, 30, 40 );
			SetResistance( ResistanceType.Energy, 30, 40 );

			SetSkill( SkillName.EvalInt, 80.2, 100.0 );
			SetSkill( SkillName.Magery, 95.1, 100.0 );
			SetSkill( SkillName.Meditation, 27.5, 50.0 );
			SetSkill( SkillName.MagicResist, 77.5, 100.0 );
			SetSkill( SkillName.Tactics, 65.0, 87.5 );
			SetSkill( SkillName.Wrestling, 20.3, 80.0 );

			Fame = 0;
			Karma = -10500;

			VirtualArmor = 90;
                
			LeatherGloves gloves = new LeatherGloves();
			gloves.Hue = 1175;
                        gloves.Movable = false;
			AddItem( gloves );

			LongPants legs = new LongPants();
			legs.Hue = 1175;
                        legs.Movable = false;
			AddItem( legs );

			FingersOfFreddy weapon = new FingersOfFreddy();
			weapon.Movable = false;
			AddItem( weapon );

			Boots boots = new Boots();
			boots.Hue = 1175;
            boots.Movable = false;
			AddItem( boots );

			

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

示例10: 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

示例11: 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

示例12: Stripper

		public Stripper() : base( AIType.AI_Melee, FightMode.None, 10, 1, 0.5, 2 )
		{
			SpeechHue = Utility.RandomDyedHue();
			InitStats( 50, 50, 25 );
			//Title = "The Stripper";
			Hue = Utility.RandomSkinHue();
			Body = 0x191;
			Name = "The Stripper"; //NameList.RandomName( "female" );
			Fame = 100;
			Karma = 0;
			Blessed = true;
            AddItem(new LongHair(2213));
           // AddItem( new BunsHair( Utility.RandomRedHue() ) );
			AddItem( new Backpack() );
				switch ( Utility.Random( 2 ) )
				{
					case 0: AddItem( new Bonnet( Utility.RandomBlueHue() ) ); break;
					default: case 1: AddItem( new FeatheredHat( Utility.RandomBlueHue() ) ); break;
				}
				switch ( Utility.Random( 2 ) )
				{
					case 0: AddItem( new ThighBoots( Utility.RandomGreenHue() ) ); break;
					default: case 1: AddItem( new Sandals( Utility.RandomGreenHue() ) ); break;
				}
			AddItem( new FancyShirt( Utility.RandomBlueHue() ) );
			AddItem( new Doublet( Utility.RandomBlueHue() ) );
			AddItem( new Cloak( Utility.RandomGreenHue() ) );
			Item gloves = new LeatherGloves();
			gloves.Hue = Utility.RandomBlueHue();
			AddItem( gloves );
			AddItem( new ShortPants( Utility.RandomBlueHue() ) );
			AddItem( new StrippersLingerie());
			Item skirt;
				switch ( Utility.Random( 2 ) )
				{
					case 0: skirt = new Skirt(); break;
					default: case 1: skirt = new Kilt(); break;
				}
			skirt.Hue = Utility.RandomGreenHue();
			AddItem( skirt );
			AddItem( new SilverRing() );
			AddItem( new SilverEarrings() );
			AddItem( new SilverBracelet() );
			AddItem( new SilverNecklace() ); 
		}
开发者ID:Tukaramdas,项目名称:ServUO-EC-Test-Fork,代码行数:45,代码来源:Stripper.cs

示例13: InitOutfit

		public override void InitOutfit()
		{
			AddItem( new FancyShirt() );
			AddItem( new LongPants( 0x66D ) );
			AddItem( new ThighBoots() );
			AddItem( new TricorneHat( 0x1 ) );
			AddItem( new BodySash( 0x66D ) );

			LeatherGloves gloves = new LeatherGloves();
			gloves.Hue = 0x66D;
			AddItem( gloves );

			AddItem( new LongBeard( 0x455 ) );

			Item sword = new Cutlass();
			sword.Movable = false;
			AddItem( sword );
		}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:18,代码来源:Blackheart.cs

示例14: InitOutfit

        public override void InitOutfit()
        {
            this.AddItem(new FancyShirt());
            this.AddItem(new LongPants(0x66D));
            this.AddItem(new ThighBoots());
            this.AddItem(new TricorneHat(0x1));
            this.AddItem(new BodySash(0x66D));

            LeatherGloves gloves = new LeatherGloves();
            gloves.Hue = 0x66D;
            this.AddItem(gloves);

            this.FacialHairItemID = 0x203E; // Long Beard
            this.FacialHairHue = 0x455;

            Item sword = new Cutlass();
            sword.Movable = false;
            this.AddItem(sword);
        }
开发者ID:greeduomacro,项目名称:RuneUO,代码行数:19,代码来源:Blackheart.cs

示例15: Armond

		public Armond():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Body = 0x190;
			Name = "Armond";
			Title = "The Dark One";

			SetStr( 356, 396 );
			SetDex( 105, 135 );
			SetInt( 530, 653 );
			SetSkill( SkillName.Wrestling, 91.3, 97.8 );
			SetSkill( SkillName.Tactics, 91.5, 99.0 );
			SetSkill( SkillName.MagicResist, 90.6, 96.8);
			SetSkill( SkillName.Magery, 91.7, 99.0 );
			SetSkill( SkillName.EvalInt, 100.1, 100.1 );
			SetSkill( SkillName.Meditation, 121.1, 128.1 );

			VirtualArmor = 64;

			new Kirin().Rider = this;

			SetFameLevel( 8 );
			SetKarmaLevel( -8 );

			LeatherGloves gloves = new LeatherGloves();
			gloves.Hue = 1;
			AddItem( gloves );

			HoodedShroudOfShadows shroud = new HoodedShroudOfShadows();
			shroud.Hue = 1157;
			AddItem( shroud );

			Cloak cloak = new Cloak();
			cloak.Hue = 1157;
			AddItem( cloak );

			Kilt kilt = new Kilt();
			kilt.Hue = 1;
			AddItem( kilt );

			Sandals sandals = new Sandals();
			sandals.Hue = 1;
			AddItem( sandals );
		}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:43,代码来源:Armond.cs


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