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

C# Items.LeatherChest类代码示例

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

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



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

        public WolfMaster()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            SpeechHue = Utility.RandomDyedHue();
            Title = "the wolf master";
            Hue = Utility.RandomSkinHue();

            if ( this.Female = Utility.RandomBool() )
            {
                Body = 0x191;
                Name = NameList.RandomName( "female" );
                AddItem( new Skirt( Utility.RandomNeutralHue() ) );
            }
            else
            {
                Body = 0x190;
                Name = NameList.RandomName( "male" );
                AddItem( new Skirt( Utility.RandomNeutralHue() ) );
            }

            SetStr( 86, 100 );
            SetDex( 31, 45 );
            SetInt( 61, 75 );

            SetDamage( 6, 11 );

            SetHits( 171, 190 );

            SetSkill( SkillName.MagicResist, 35.0, 47.5 );
            SetSkill( SkillName.Macing, 75.0, 87.5 );
            SetSkill( SkillName.Tactics, 45.0, 57.5 );

            Fame = 3000;
            Karma = -3000;

            // Equip
            Item toArm = new LeatherChest();
            toArm.LootType = LootType.Blessed;
            AddItem( toArm );

            toArm = new LeatherLegs();
            toArm.LootType = LootType.Blessed;
            AddItem( toArm );

            toArm = new StrawHat();
            toArm.LootType = LootType.Blessed;
            AddItem( toArm );

            toArm = new GnarledStaff();
            toArm.Movable = false;
            toArm.LootType = LootType.Blessed;
            AddItem( toArm );

            Utility.AssignRandomHair( this );

            if( Utility.RandomDouble() < 0.06 )
                PackItem( new BallOfSummoning() );
        }
开发者ID:kamronbatman,项目名称:Defiance-AOS-Pre-2012,代码行数:58,代码来源:WolfMaster.cs


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


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

		public BarbarianChieftain() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			int hairHue = Utility.RandomHairHue();
			Name = "Barbarian Chieftain";
			Hue = Utility.RandomSkinHue();
			Body = 0x190;

			AddItem( new LongHair( hairHue ) );
			AddItem( new LongBeard( hairHue ) );

			SetStr( 200, 250 );
			SetDex( 88, 98 );
			SetInt( 20, 30 );

			SetHits( 150, 200 );
			SetStam( 81, 95 );

			SetDamage( 25, 28 );

			SetDamageType( ResistanceType.Physical, 100 );

			SetSkill( SkillName.Swords, 100.0 );
			SetSkill( SkillName.MagicResist, 20.0, 35.0 );
			SetSkill( SkillName.Tactics, 90.0, 100.0 );
			SetSkill( SkillName.Wrestling, 90.0, 100.0 );
			SetSkill( SkillName.Parry, 85.0, 100.0 );
			Fame = Utility.RandomMinMax( 4000, 5500 );
			Karma = Utility.RandomMinMax( -4500, -6500 );

			VirtualArmor = 20;
			Item temp;
			temp = new ThighBoots();
			temp.Hue = 0x01bb;
			temp.Movable = false;
			AddItem( temp );
			temp = new LeatherChest();
			temp.Movable = false;
			AddItem( temp );
			temp = new Kilt();
			temp.Hue = 0x01bb;
			temp.Movable = false;
			AddItem( temp );
			LargeBattleAxe a = new LargeBattleAxe();
			a.DamageLevel = WeaponDamageLevel.Ruin;
			AddItem( a );
		}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:46,代码来源:Barbarians.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: DummyHealer

        public DummyHealer()
            : base(AIType.AI_Healer, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // A Dummy Healer Mage
            int iHue = 20 + this.Team * 40;
            int jHue = 25 + this.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.Healing].Base = 100;

            // Name
            this.Name = "Healer";

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

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

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

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

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

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

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

            Robe robe = new Robe();
            robe.Hue = iHue;
            this.AddItem(robe);
        }
开发者ID:FreeReign,项目名称:forkuo,代码行数:67,代码来源:DummySpecific.cs


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


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


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


示例12: EquipVhalurian


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

                        PlateSabatons ps = new PlateSabatons();
                        ps.Resource = CraftResource.Bronze;
                        ps.Hue = 2105;
                        m.EquipItem(ps);

                        VhalurianOrnatePlateArms vopa = new VhalurianOrnatePlateArms();
                        vopa.Resource = CraftResource.Bronze;
                        vopa.Hue = 2101;
                        m.EquipItem(vopa);

                        VhalurianOrnatePlateGloves vopg = new VhalurianOrnatePlateGloves();
                        vopg.Resource = CraftResource.Bronze;
                        vopg.Hue = 2101;
                        m.EquipItem(vopg);

                        VhalurianOrnateKiteShield voks = new VhalurianOrnateKiteShield();
                        voks.Resource = CraftResource.Bronze;
                        voks.Hue = 2102;
                        m.EquipItem(voks);

                        m.EquipItem(new Cloak(1133));

                        if (m.Female)
                        {
                            VhalurianWarHammer hammer = new VhalurianWarHammer();
                            hammer.Resource = CraftResource.Bronze;
                            m.EquipItem(hammer);

                            VhalurianOrnateHelm voh = new VhalurianOrnateHelm();
                            voh.Resource = CraftResource.Bronze;
                            voh.Hue = 2102;
                            m.EquipItem(voh);
                        }

                        else
                        {
                            VhalurianBastardSword sword = new VhalurianBastardSword();
                            sword.Resource = CraftResource.Bronze;
                            m.EquipItem(sword);

                            VhalurianOrnatePlateHelm voph = new VhalurianOrnatePlateHelm();
                            voph.Resource = CraftResource.Bronze;
                            voph.Hue = 2102;
                            m.EquipItem(voph);
                        }

                        break;
                    }
                case Armament.Ranged:
                    {
                        LeatherBoots boots = new LeatherBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2101;
                        m.EquipItem(boots);

                        LeatherCap cap = new LeatherCap();
                        cap.Resource = CraftResource.RegularLeather;
                        cap.Hue = 2101;
                        m.EquipItem(cap);

                        LeatherChest lc = new LeatherChest();
                        lc.Resource = CraftResource.RegularLeather;
                        lc.Hue = 2101;
                        m.EquipItem(lc);

                        Quiver qv = new Quiver();
                        qv.Layer = Layer.Earrings;
                        m.EquipItem(qv);

                        LongPants lp = new LongPants();
                        lp.Resource = CraftResource.Cotton;
                        lp.Hue = 2101;
                        m.EquipItem(lp);

                        LeatherArms la = new LeatherArms();
                        la.Resource = CraftResource.RegularLeather;
                        la.Hue = 2101;
                        m.EquipItem(la);

                        LeatherGloves lg = new LeatherGloves();
                        lg.Resource = CraftResource.RegularLeather;
                        lg.Hue = 2101;
                        m.EquipItem(lg);

                        VhalurianLongbow bow = new VhalurianLongbow();
                        bow.Resource = CraftResource.Yew;
                        m.EquipItem(bow);

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

                        break;
                    }
            }
        }
开发者ID:justdanofficial,项目名称:khaeros,代码行数:101,代码来源:Soldier.cs


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


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


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


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


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


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


示例19: 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(  

鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C# Items.LeatherGloves类代码示例发布时间:2022-05-26
下一篇:
C# Items.LeatherArms类代码示例发布时间: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