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


C# Items.Boots类代码示例

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


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

示例1: InitOutfit

 public override void InitOutfit()
 {
     Item item = null;
     if ( !Female )
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new ShortPants();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Boots();
         item.Hue = Utility.RandomNeutralHue();
         AddItem( item );
         PackGold( 15, 100 );
     } else {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Skirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Boots();
         item.Hue = Utility.RandomNeutralHue();
         AddItem( item );
         PackGold( 15, 100 );
     }
 }
开发者ID:FreeReign,项目名称:Rebirth-Repack,代码行数:33,代码来源:Beekeeper.cs

示例2: BushidoMaster1

        public BushidoMaster1()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            SetSkill(SkillName.Macing, 50.0, 55.0);
            Name = "Cedric";
            Title = ", Le Combattant";
            Direction = Direction.South;

            Body = 400;
            Hue = 33825;
            Blessed = true;

            InitStats(100, 100, 25);

            SpeechHue = 802;
            EmoteHue = 802;

            Backpack bp = new Backpack();
            bp.Movable = false;
            AddItem(bp);
            AddItem(new Robe(2224));
            AddItem(new QuarterStaff());
            AddItem(new RingmailGloves());
            AddItem(new RingmailChest());
            AddItem(new RingmailLegs());
            Boots b = new Boots();
            b.Hue = 1527;
            AddItem(b);
            this.HairItemID = 8253;
            this.HairHue = 1129;
            QuestPlayer = null;
        }
开发者ID:greeduomacro,项目名称:vivre-uo,代码行数:32,代码来源:BushidoMaster1.cs

示例3: MortysTheMaster

        public MortysTheMaster()
            : base(AIType.AI_None, FightMode.None, 10, 1, 0.2, 0.4)
        {
            Name = "Mortys";
            Title = "Le Maitre";
            Direction = Direction.South;

            Body = 400;
            Hue = 33797;
            Blessed = true;

            InitStats(75, 75, 75);

            SpeechHue = 33;
            EmoteHue = 33;

            Backpack bp = new Backpack();
            bp.Movable = false;
            AddItem(bp);
            AddItem(new RobeACapuche(1109));
            Lantern l = new Lantern();
            l.Hue = 1109;
            AddItem(l);
            l.Ignite();
            Boots b = new Boots();
            b.Hue = 1109;
            AddItem(b);
        }
开发者ID:greeduomacro,项目名称:vivre-uo,代码行数:28,代码来源:MortysTheMaster.cs

示例4: UncleJohn

		public UncleJohn()
		{
			Name = "Uncle John";
                        Title = "the farming fool";
			Body = 0x190;
			Hue = Utility.RandomSkinHue();

			Boots b = new Boots();
                        b.Hue = 1;
                        AddItem( b );

                        LongPants lp = new LongPants();
                        lp.Hue = 292;
                        AddItem( lp );

		        FancyShirt fs = new FancyShirt();
                        fs.Hue = 1153;
                        AddItem( fs );

	                Pitchfork pf = new Pitchfork();
                        AddItem( pf );
                        
                        AddItem( new LongHair(1337));
                     

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

示例5: SlimTheFence

		public SlimTheFence() : base(AIType.AI_Vendor, FightMode.None, 10, 1, .4, .2)
		{
            Body = 0x190;
            SpeechHue = 0x3B2;
            Blessed = true;

            Name = "Slim";
            Title = "the Fence";

            HairItemID = 8264;
            FacialHairItemID = 8269;

            HairHue = 1932;
            FacialHairHue = 1932;
            Hue = Race.RandomSkinHue();

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

            EquipItem(new JinBaori(1932));
            EquipItem(new FancyShirt(1932));
            EquipItem(new LongPants(1));

            var boots = new Boots();
            boots.Hue = 1;
            EquipItem(boots);

            CantWalk = true;
		}
开发者ID:Ravenwolfe,项目名称:ServUO,代码行数:30,代码来源:Slim.cs

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

示例7: BushidoMaster2

        public BushidoMaster2()
            : base(AIType.AI_None, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Lee";
            Title = ", Le Combattant";
            Direction = Direction.South;

            Body = 400;
            Hue = 33825;
            Blessed = true;

            InitStats(25, 25, 25);
            SetHits(5);

            SpeechHue = 802;
            EmoteHue = 802;

            Backpack bp = new Backpack();
            bp.Movable = false;
            AddItem(bp);
            AddItem(new LeatherDo());
            AddItem(new LeatherHaidate());
            AddItem(new LeatherHiroSode());
            AddItem(new LeatherJingasa());
            Boots b = new Boots();
            b.Hue = 1527;
            AddItem(b);
            this.HairItemID = 8253;
            this.HairHue = 1129;
            QuestPlayer = null;
        }
开发者ID:greeduomacro,项目名称:vivre-uo,代码行数:31,代码来源:BushidoMaster2.cs

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

示例9: FamousPiratesMace

        public FamousPiratesMace()
            : base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.9, 0.9)
        {

            int Hue = 2075;

            // Skills and Stats
            this.InitStats(350, 350, 310);
            this.Skills[SkillName.Macing].Base = 150;
            this.Skills[SkillName.Anatomy].Base = 150;
            this.Skills[SkillName.Healing].Base = 150;
            this.Skills[SkillName.Tactics].Base = 150;

            // Name
            this.Name = "Captain Hector Barbossa";

            // Equip
            WarHammer war = new WarHammer();
            war.Movable = true;
            war.Crafter = this;
            war.Quality = WeaponQuality.Exceptional;
            AddItem(war);

            Boots bts = new Boots();
			bts.Movable = false;
            bts.Hue = Hue;
            AddItem(bts);

            ChainChest cht = new ChainChest();
            cht.Movable = false;
            cht.LootType = LootType.Regular;
            cht.Crafter = this;
            cht.Quality = ArmorQuality.Exceptional;
            AddItem(cht);

            ChainLegs chl = new ChainLegs();
            chl.Movable = false;
            chl.LootType = LootType.Regular;
            chl.Crafter = this;
            chl.Quality = ArmorQuality.Exceptional;
            AddItem(chl);

            PlateArms pla = new PlateArms();
            pla.Movable = false;
            pla.LootType = LootType.Regular;
            pla.Crafter = this;
            pla.Quality = ArmorQuality.Exceptional;
            AddItem(pla);

            TricorneHat tch = new TricorneHat();
            tch.Movable = false;
            tch.Hue = Hue;
            AddItem(tch);

            Bandage band = new Bandage(20);
            AddToBackpack(band);
        }
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:57,代码来源:FamousPiratesSpecific.cs

示例10: Jailor

        public Jailor()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the jailor";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 96, 110 );
            SetDex( 96, 110 );
            SetInt( 71, 85 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 75, 97.5 );
            SetSkill( SkillName.MagicResist, 75, 97.5 );
            SetSkill( SkillName.Parry, 75, 97.5 );
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new ChainChest();
                AddItem( item );
                item = new ChainLegs();
                AddItem( item );
                item = new BronzeShield();
                AddItem( item );
                item = new Boots();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                item = new VikingSword();
                AddItem( item );
                PackGold( 15, 100 );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new ChainChest();
                AddItem( item );
                item = new ChainLegs();
                AddItem( item );
                item = new BronzeShield();
                AddItem( item );
                item = new Boots();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                item = new VikingSword();
                AddItem( item );
                PackGold( 15, 100 );
            }
        }
开发者ID:FreeReign,项目名称:Rebirth-Repack,代码行数:56,代码来源:Jailor.cs

示例11: father

		public father():base(AIType.AI_Melee, FightMode.None, 20, 1, 1.5, 3.0)
		{

			Name = "Gary";
			Body = 400;
			SpeechHue = 9;
			CantWalk = true;
			Hue = 46;
			Blessed = true;

			SetStr( 1025, 1250 );
			SetDex( 120, 125 );
			SetInt( 1800, 1935 );
			SetHits( 5000, 5550 );

			SetSkill( SkillName.MagicResist, 205.0, 220.0 );
			SetSkill( SkillName.Focus, 216.0, 230.0);
			SetSkill( SkillName.Magery, 219.0, 225.0 ); 
			SetSkill( SkillName.Meditation, 212.0, 215.0 ); 

			VirtualArmor = 44; 

			Container pack = new Backpack();
			pack.Movable = false;
			AddItem( pack );
			
			Item Boots = new Boots();
			Boots.Hue = 351;
			Boots.Name = "Work Boots";
			Boots.Movable = false;
			AddItem( Boots );
			
			Item LongPants = new LongPants();
			LongPants.Hue = 1282;
      	    LongPants.Name = "Wrangler Jeans";
			LongPants.Movable = false;
			AddItem( LongPants );
			
			Item FancyShirt = new FancyShirt();
			FancyShirt.Hue = 1321;
      	    FancyShirt.Name = "Flannel Button-Up Shirt";
			FancyShirt.Movable = false;
			AddItem( FancyShirt );
			
			Item hair = new Item( 0x203B );
			hair.Hue = 1836;
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem( hair );
			
			Item ring = new GoldRing();
			ring.Name = "Wedding Ring";
			ring.Movable = false;
			AddItem( ring );
			
			}
开发者ID:Tukaramdas,项目名称:ServUO-EC-Test-Fork,代码行数:56,代码来源:Father.cs

示例12: ArmyBaseMace

		public ArmyBaseMace(int Team) : base(Team, AIType.AI_Melee, FightMode.Closest, 15, 1, 0.2, 0.6)
		{

            // An ArmyBase Hammerman
            int iHue = 20 + Team * 40;
            int jHue = 25 + Team * 40;

            // Skills and Stats
            this.InitStats((90 + Utility.Random(35)), (90 + Utility.Random(35)), (75 + Utility.Random(15)));
            this.Skills[SkillName.Macing].Base = (90 + Utility.Random(30));
            this.Skills[SkillName.Anatomy].Base = (90 + Utility.Random(30));
            this.Skills[SkillName.Healing].Base = (90 + Utility.Random(30));
            this.Skills[SkillName.Tactics].Base = (90 + Utility.Random(30));


            // Name
            this.Name = "Hammerman";

			// Equip
			WarHammer war = new WarHammer();
			war.Movable = true;
			war.Crafter = this;
			war.Quality = WeaponQuality.Regular;
			AddItem( war );

			Boots bts = new Boots();
			bts.Hue = iHue;
			AddItem( bts );

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

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

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

			Bandage band = new Bandage( 50 );
			AddToBackpack( band );
		}
开发者ID:nick12344356,项目名称:The-Basement,代码行数:53,代码来源:ArmyMembers.cs

示例13: Santa

		public Santa ()
		{
			Name = "SantaClaus";
            Title = "Quest Giver";

            Body = 400;
            Hue = 1002;
			CantWalk = true;
			Blessed = true;
            
			
			
          
            Item longpants;
			longpants = new LongPants();
			longpants.Hue = 1109;
			AddItem( longpants );
                         

			Item tunic;
			tunic = new Tunic();
			tunic.Hue = 33;
			AddItem( tunic );


            Item leatherninjabelt;
            leatherninjabelt = new LeatherNinjaBelt();
            leatherninjabelt.Hue = 1109;
            AddItem(leatherninjabelt);
            
                        
            FacialHairItemID = 0x204C;
            FacialHairHue = 1153;

            Item JesterHat;
            JesterHat = new JesterHat();
            JesterHat.Hue = 33;
            AddItem(JesterHat);
            
          

              HairItemID = 0x203C;
              HairHue = 1153;

            Item boots;
            boots = new Boots();
            boots.Hue = 1109;
            AddItem( boots );


           
		}
开发者ID:Tukaramdas,项目名称:ServUO-EC-Test-Fork,代码行数:52,代码来源:SantaClause.cs

示例14: DummyMace

		public DummyMace() : base(AIType.AI_Melee, FightMode.All | FightMode.Closest, 15, 1, 0.2, 0.6)
		{
			// A Dummy Macer
			int iHue = 20 + Team * 40;
			int jHue = 25 + Team * 40;

			// Skills and Stats
			this.InitStats( 125, 125, 90 );
			this.Skills[SkillName.Macing].Base = 120;
			this.Skills[SkillName.Anatomy].Base = 120;
			this.Skills[SkillName.Healing].Base = 120;
			this.Skills[SkillName.Tactics].Base = 120;


			// Name
			this.Name = "Macer";

			// Equip
			WarHammer war = new WarHammer();
			war.Movable = true;
			war.Crafter = this;
			war.Quality = WeaponQuality.Regular;
			AddItem( war );

			Boots bts = new Boots();
			bts.Hue = iHue;
			AddItem( bts );

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

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

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

			Bandage band = new Bandage( 50 );
			AddToBackpack( band );
		}
开发者ID:zerodowned,项目名称:angelisland,代码行数:52,代码来源:DummySpecific.cs

示例15: LordSanta

        public LordSanta()
        {
            Name = "Lord Santa";
                        Title = "the Ruler of the green dudes";
            Body = 0x190;
            CantWalk = true;
            Hue = Utility.RandomSkinHue();

            Item Boots = new Boots();
            Boots.Hue = 33;
              	    Boots.Name = "Santa Boots";
            Boots.Movable = false;
            AddItem( Boots );

            Item Doublet = new Doublet();
            Doublet.Hue = 33;
              	    Doublet.Name = "Santa's Doublet";
            Doublet.Movable = false;
            AddItem( Doublet );

            Item FancyShirt = new FancyShirt();
            FancyShirt.Hue = 33;
              	    FancyShirt.Name = "Santa's Shirt";
            FancyShirt.Movable = false;
            AddItem( FancyShirt );

            Item LongPants = new LongPants();
            LongPants.Hue = 33;
              	    LongPants.Name = "Santa's Pants";
            LongPants.Movable = false;
            AddItem( LongPants );

            Item WizardsHat = new WizardsHat();
            WizardsHat.Hue = 33;
              	    WizardsHat.Name = "Santa's Hat";
            WizardsHat.Movable = false;
            AddItem( WizardsHat );

                        int hairHue = 1153;

            switch ( Utility.Random( 1 ) )
            {
                case 0: AddItem( new LongHair( hairHue ) ); break;
                case 1: AddItem( new LongBeard( hairHue ) ); break;
            }

            Blessed = true;
        }
开发者ID:Ziden,项目名称:ServUO-EC-Test-Fork,代码行数:48,代码来源:LordSanta.cs


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