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


C# Items.Sandals类代码示例

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


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

示例1: Artist1

        public Artist1()
            : base(AIType.AI_Animal, FightMode.Aggressor, 10, 1, 0.2, 0.4)
        {
            SpeechHue = Utility.RandomDyedHue();
            Title = "the artist";
            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 ShortPants( Utility.RandomNeutralHue() ) );
            }

            SetStr( 86, 100 );
            SetDex( 81, 95 );
            SetInt( 61, 75 );

            SetDamage( 10, 23 );

            SetSkill( SkillName.Tactics, 65.0, 87.5 );
            SetSkill( SkillName.Wrestling, 15.0, 37.5 );

            Fame = 1000;
            Karma = 1000;

            AddItem( new HalfApron());

            switch ( Utility.Random( 2 ) )
            {
                case 0: AddItem( new FancyShirt( Utility.RandomNeutralHue() ) ); break;
                case 1: AddItem( new Shirt( Utility.RandomNeutralHue() ) ); break;
            }

            if ( Utility.Random( 100 ) < 2 )
            {
                Sandals sandals = new Sandals();
                sandals.Hue = 1;
                AddItem( sandals );
            }
            else
            {
                switch ( Utility.Random( 3 ) )
                {
                    case 0: AddItem( new Sandals( Utility.RandomNeutralHue() ) );; break;
                    case 1: AddItem( new Sandals( Utility.RandomNondyedHue() ) ); break;
                    case 2: AddItem( new Shoes() );; break;
                }
            }

            PackItem( new PaintsAndBrush() );
            //AddItem( Server.Items.Hair.GetRandomHair( Female ) );
              Utility.AssignRandomHair( this );
        }
开发者ID:Ziden,项目名称:ServUO-EC-Test-Fork,代码行数:60,代码来源:Artist1.cs

示例2: InitOutfit

 public override void InitOutfit()
 {
     Item item = null;
     if ( !Female )
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new Robe();
         item.Hue = Utility.RandomBlueHue();
         AddItem( item );
         item = new Sandals();
         AddItem( item );
         PackGold( 15, 100 );
         LootPack.HighScrolls.Generate( this );
         LootPack.HighScrolls.Generate( this );
     } else {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new Robe();
         item.Hue = Utility.RandomBlueHue();
         AddItem( item );
         item = new Sandals();
         AddItem( item );
         PackGold( 15, 100 );
         LootPack.HighScrolls.Generate( this );
         LootPack.HighScrolls.Generate( this );
     }
 }
开发者ID:FreeReign,项目名称:Rebirth-Repack,代码行数:29,代码来源:MageGuildMaster.cs

示例3: MaleHealerEscortTemplate

        public MaleHealerEscortTemplate()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 71, 85 );
            SetDex( 81, 95 );
            SetInt( 86, 100 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 65, 87.5 );
            SetSkill( SkillName.MagicResist, 65, 87.5 );
            SetSkill( SkillName.Parry, 65, 87.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 );
            SetSkill( SkillName.Healing, 55, 77.5 );
            SetSkill( SkillName.Anatomy, 55, 77.5 );
            SetSkill( SkillName.SpiritSpeak, 55, 77.5 );
            SetSkill( SkillName.Forensics, 35, 57.5 );

            Item item = null;
            item = AddRandomHair();
            item.Hue = Utility.RandomHairHue();
            item = AddRandomFacialHair( item.Hue );
            item = new Robe();
            item.Hue = Utility.RandomYellowHue();
            AddItem( item );
            item = new Sandals();
            AddItem( item );
            PackGold( 15, 100 );
        }
开发者ID:FreeReign,项目名称:Rebirth-Repack,代码行数:35,代码来源:MaleHealerEscortTemplate.cs

示例4: EvilMageLord

        public EvilMageLord()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.45, 0.8)
        {
            Body = 400;
            Title = "the mage";
            Name = "Lord " + NameList.RandomName( "evil mage" );
            Hue = Utility.RandomSkinHue();
            SetStr( 81, 105 );
            SetDex( 91, 115 );
            SetInt( 126, 150 );
            Karma = -125;

            SetSkill( SkillName.Tactics, 65, 87.5 );
            SetSkill( SkillName.MagicResist, 75, 97.5 );
            SetSkill( SkillName.Parry, 65, 87.5 );
            SetSkill( SkillName.Magery, 95.1, 100 );
            SetSkill( SkillName.Wrestling, 20.2, 60 );

            VirtualArmor = 18;
            SetDamage( 3, 12 );

            Item item = null;
            item = AddRandomHair();
            item.Hue = Utility.RandomHairHue();
            item = AddRandomFacialHair( item.Hue );
            item = new Robe();
            item.Hue = 1106+Utility.Random( 4 ); // 1106 to 1109
            AddItem( item );
            item = new Sandals();
            AddItem( item );
            LootPack.FilthyRich.Generate( this );
            LootPack.HighScrolls.Generate( this );
            LootPack.HighScrolls.Generate( this );
        }
开发者ID:FreeReign,项目名称:Rebirth-Repack,代码行数:34,代码来源:EvilMageBoss.cs

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

示例6: DemonScholar

		public DemonScholar() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "a demonic scholar";
			Body = 400;
			BaseSoundID = 412;
			Hue = 1175;

			SetStr( 416, 505 );
			SetDex( 146, 165 );
			SetInt( 566, 655 );

			SetHits( 250, 303 );

			SetDamage( 11, 13 );

			SetSkill( SkillName.EvalInt, 90.1, 100.0 );
			SetSkill( SkillName.Magery, 90.1, 100.0 );
			SetSkill( SkillName.MagicResist, 150.5, 200.0 );
			SetSkill( SkillName.Tactics, 50.1, 70.0 );
			SetSkill( SkillName.Wrestling, 60.1, 80.0 );

			Fame = 18000;
			Karma = -18000;

			VirtualArmor = 50;

			Lantern hands = new Lantern();
			hands.Name = "latern of souls";
			hands.Hue = 1258;
			hands.Movable = false;
			AddItem( hands );

			Spellbook hands2 = new Spellbook();
			hands2.Name = "ancient spellbook";
			hands2.Hue = 1158;
			hands2.Movable = false;
			hands2.Content = ulong.MaxValue;
			AddItem( hands2 );

			HoodedShroudOfShadows chest = new HoodedShroudOfShadows();
			chest.Name = "hooded shroud";
			chest.Hue = 1175;
			chest.Movable = false;
			AddItem( chest );

			Sandals feet = new Sandals();
			feet.Name = "sandals";
			feet.Hue = 1258;
			feet.Movable = false;
			AddItem( feet );

			PackReg( 30 );

			if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonSandals() );
			if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonDoublet() );
			if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonWizardsHat() );
			if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonHalfApron() );
			if ( Utility.Random( 2500 ) == 0 ) PackItem( new DemonSkirt() );
		}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:59,代码来源:DemonScholar.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: Beggar

        public Beggar()
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the beggar";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 26, 40 );
            SetDex( 21, 35 );
            SetInt( 36, 50 );
            Karma = Utility.RandomMinMax( 4, -5 );

            SetSkill( SkillName.Tactics, 15, 37.5 );
            SetSkill( SkillName.MagicResist, 15, 37.5 );
            SetSkill( SkillName.Parry, 15, 37.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 );
            SetSkill( SkillName.Begging, 55, 77.5 );
            SetSkill( SkillName.Snooping, 25, 47.5 );
            SetSkill( SkillName.Stealing, 15, 37.5 );

            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 LongPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                if ( Utility.RandomBool() )
                {
                    item = new Sandals();
                    AddItem( item );
                }
                LootPack.Poor.Generate( this );
            } 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 );
                if ( Utility.RandomBool() )
                {
                    item = new Sandals();
                    AddItem( item );
                }
                LootPack.Poor.Generate( this );
            }
        }
开发者ID:FreeReign,项目名称:Rebirth-Repack,代码行数:58,代码来源:Beggar.cs

示例9: EvilVampire

		public EvilVampire () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = NameList.RandomName( "male" );
			Body = 400;
			Title = "the Vampire Lord";

			BaseSoundID = 0x482;;
			Hue = 0;

			SetStr( 350, 500 );
			SetDex( 100, 105 );
			SetInt( 3000, 4000 );
			SetHits( 2500, 3750 );

			SetDamage( 40, 50 );
			SetDamageType( ResistanceType.Physical, 20 );
			SetDamageType( ResistanceType.Cold, 60 );
			SetDamageType( ResistanceType.Energy, 40 );

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

			SetSkill( SkillName.EvalInt, 150.1, 200.0 );
			SetSkill( SkillName.Magery, 150.1, 200.0 );
			SetSkill( SkillName.MagicResist, 200, 250.0 );
			SetSkill( SkillName.Tactics, 150.0, 200.0 );
			SetSkill( SkillName.Wrestling, 150.0, 200.0 );

			Fame = 20000;
			Karma = -10000;

			VirtualArmor = 90;

			PackGem();
			PackGem();
			PackGold( 5000, 10000 );
			PackScroll( 3, 8 );
			PackScroll( 3, 8 );
			PackMagicItems( 1, 5, 0.80, 0.75 );
			PackMagicItems( 3, 5, 0.60, 0.45 );
			PackSlayer( 1 );

			AddItem( new BlackStaff() );
			Item m_ShortPants = new ShortPants( Utility.RandomRedHue() );
			m_ShortPants.LootType = LootType.Blessed;
			AddItem( m_ShortPants );
			Item m_Doublet = new Doublet( Utility.RandomRedHue() );
			m_Doublet.LootType = LootType.Blessed;
			AddItem( m_Doublet );
			Item m_sandals = new Sandals( Utility.RandomRedHue() );
			m_sandals.LootType = LootType.Blessed;
			AddItem( m_sandals );

			AddItem( new PonyTail( Utility.RandomRedHue() ) );
		}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:58,代码来源:EvilVampire.cs

示例10: EithkaOcksra

		public EithkaOcksra() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "Eithka Ocksra";
			Body = 0x190;
			Hue = 0x492;

			SetStr( 100 ); //I've set him up with normal stats since we've defined his Hits and his weapons speed elsewhere.
			SetDex( 100 );
			SetInt( 100 );

			SetHits( 600, 700 ); // here are his hits according to the spherescript. random between 250 and 350
			SetStam( 350, 450 );

			SetDamage( 15, 20 ); //i set his damage to be low since he hits like 3 times a second. This will probably need to be tweaked.

			SetSkill( SkillName.Swords, 110.0 ); //we dont need to give him uberskillz
			SetSkill( SkillName.Tactics, 110.0 );
			SetSkill( SkillName.MagicResist, 100.0 );
			SetSkill( SkillName.Parry, 100.0 );
			SetSkill( SkillName.Wrestling, 100.0 );

			Fame = 3900;
			Karma = -4000;

			VirtualArmor = 70; //this might need to be tweaked

			//Here we add his loot. I'm omitting his gloves since that's later in his dress.
			//PackGold(1000, 1500);

			//Now we dress him
			Item shroud = new HoodedShroudOfShadows(); //since we want a custom shroud, we define it here.
			shroud.Movable = false; //this way we dont let the shroud drop
			shroud.Hue = 0x492; //omg more props
			AddItem( shroud ); //add the item

			Item smurfshoes = new Sandals(); //since sandals are already a class i've named it smurfshoes. It doesnt matter what we call it.
			smurfshoes.Movable = false; // leet shoes for the players? GM tailoring kthx.
			smurfshoes.Hue = 0x492; // more props
			AddItem( smurfshoes ); //add the item

			Scimitar weapon = new Scimitar(); //same thing. define the weapon.
			weapon.Movable = false;
			weapon.Skill = SkillName.Swords; //props
			weapon.Hue = 0x492; //we're leet
			weapon.Speed = 65; //set the speed to 5 higher than the cho ku no.
			weapon.DamageLevel = WeaponDamageLevel.Force; //katana of force
			AddItem( weapon ); //add the weapon

			Item gloves = new PlateGloves(); // here we add his gloves. this time we let them drop
			gloves.Hue = 0x492; //omg more props
			AddItem( gloves ); //add the item

			MetalShield shie = new MetalShield();
			shie.Hue = 0x0492;
			shie.ProtectionLevel = ArmorProtectionLevel.Hardening;
			AddItem( shie );
		}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:57,代码来源:EithkaOcksra.cs

示例11: SilverDonationBoxAoS

        public SilverDonationBoxAoS()
        {
            Weight = 1.0;
            Hue = 2401;
            Item item = null;
            Name = "Defiance Gold Member Box of Holding";

            CharacterCreation.PlaceItemIn(this, 16, 60, (item = new DonationSkillBall( 25, false )));
            CharacterCreation.PlaceItemIn(this, 28, 60, (item = new DonationSkillBall( 25, false )));
            CharacterCreation.PlaceItemIn(this, 40, 60, (item = new DonationSkillBall( 25, false )));

            CharacterCreation.PlaceItemIn(this, 16, 81, (item = new HoodedShroudOfShadows()));
            item.Hue = 2401;
            item.Name = "Silver Shroud of Shadows";
                        item.LootType = LootType.Blessed;

                        BaseContainer cont;
                        CharacterCreation.PlaceItemIn(this, 58, 57, (cont = new Backpack()));
            cont.Hue = 2401;
            cont.Name = "a silver bag";

            CharacterCreation.PlaceItemIn(cont, 29, 39, new SulfurousAsh(5000));
            CharacterCreation.PlaceItemIn(cont, 29, 64, new Nightshade(5000));
            CharacterCreation.PlaceItemIn(cont, 29, 89, new SpidersSilk(5000));

            CharacterCreation.PlaceItemIn(cont, 60, 64, new Garlic(5000));
            CharacterCreation.PlaceItemIn(cont, 60, 89, new Ginseng(5000));

            CharacterCreation.PlaceItemIn(cont, 88, 39, new Bloodmoss(5000));
            CharacterCreation.PlaceItemIn(cont, 88, 64, new BlackPearl(5000));
            CharacterCreation.PlaceItemIn(cont, 88, 89, new MandrakeRoot(5000));

            CharacterCreation.PlaceItemIn(this, 103, 58, (item = new Sandals()));
            item.Hue = Utility.RandomList(5, 70, 90, 110);
            item.LootType = LootType.Blessed;

            CharacterCreation.PlaceItemIn(this, 122, 53, new SpecialDonateDye());

            CharacterCreation.PlaceItemIn(this, 156, 55, (item = new EtherealHorse()));
            item.Hue = 2401;
            item.Name = "No Aged Ethereal";
            ((EtherealMount)item).IsDonationItem = true;

            CharacterCreation.PlaceItemIn(this, 43, 83, (item = new ClothingBlessDeed()));
            item.Hue = 2401;
            CharacterCreation.PlaceItemIn(this, 63, 83, (item = new KillResetDeedAOS())); //by Blady
            item.Hue = 2213;
            CharacterCreation.PlaceItemIn(this, 83, 83, (item = new SmallBrickHouseDeed()));
            item.Hue = 2401;
            CharacterCreation.PlaceItemIn(this, 103, 83, (item = new NameChangeDeed()));
            item.Hue = 2401;
            CharacterCreation.PlaceItemIn(this, 123, 83, (item = new AntiBlessDeed()));
            item.Hue = 2401;
            CharacterCreation.PlaceItemIn(this, 143, 83, (item = new MembershipTicket()));
            item.Hue = 2213;
            ((MembershipTicket)item).MemberShipTime = TimeSpan.MaxValue;
        }
开发者ID:kamronbatman,项目名称:Defiance-AOS-Pre-2012,代码行数:57,代码来源:SilverDonationBoxAoS.cs

示例12: Earthcaller

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

			Hue = Utility.RandomSkinHue();
			Body = 0x190;
			Name = NameList.RandomName( "male" );
			BaseSoundID = 0;
			Kills = 10;
			ShortTermMurders = 10;

                        Item StrawHat = new StrawHat();
			StrawHat.Movable=false;
			StrawHat.Hue=1021;
			EquipItem( StrawHat );

			Item Robe = new Robe();
			Robe.Movable=false;
			Robe.Hue=1021;
			EquipItem( Robe );

                        Item Sandals = new Sandals();
			Sandals.Movable=false;
			Sandals.Hue=1021;
			EquipItem( Sandals );

			SetStr( 200, 220 );
			SetDex( 136, 145 );

			SetDamage( 10, 17 );

			SetSkill( SkillName.Wrestling, 95.3, 98.8 );
			SetSkill( SkillName.Tactics, 93.5, 97.0 );
			SetSkill( SkillName.MagicResist, 96.6, 99.8);

			Fame = 12500;
			Karma = -12500;

			VirtualArmor = 50;

			switch( Utility.Random(125) )
	{
			case 0: PackItem( new EnchantedWood() ); break;
	}

			PackGold( 500, 800 );
			PackPotion();
			PackItem( new Bandage( Utility.RandomMinMax( 5, 10 ) ) );
			PackArmor( 0, 5 );
			PackWeapon( 0, 5 );
			PackSlayer();

				if ( 0.05 > Utility.RandomDouble() )
					PackItem( new Obsidian() );

		}
开发者ID:kamronbatman,项目名称:DefianceUO-Pre1.10,代码行数:56,代码来源:Earthcaller.cs

示例13: BookCollector

        public BookCollector()
            : base()


//----------------------------------------------------------------------------------------------------//
        {
            Body = 400;
            Hue = Utility.RandomSkinHue();
            if (Female = Utility.RandomBool())
            {
                Body = 401;
                Name = NameList.RandomName("female");
            }
            else
            {
                Name = NameList.RandomName("male");
            }


            //----------------------------------------------------------------------------------------------------//

            //Title = "[A Book Collector]";
            //CantWalk = true;
            Direction = Direction.South;
            Hue = Utility.RandomSkinHue();
            Utility.AssignRandomHair(this);
            Blessed = true;


            BodySash bs = new BodySash();
            bs.Hue = 33;
            AddItem(bs);

            //PlateArms pa = new PlateArms();
            //pa.Hue = 0;
            //AddItem(pa);

            FormalShirt pc = new FormalShirt();
            pc.Hue = 0;
            AddItem(pc);

            //PlateGloves pg = new PlateGloves();
            //pg.Hue = 0;
            //AddItem(pg);

            LongPants pl = new LongPants();
            pl.Hue = 0;
            AddItem(pl);

            Sandals pt = new Sandals();
            pt.Hue = 0;
            AddItem(pt);

            //----------------------------------------------------------------------------------------------------//

        }
开发者ID:greeduomacro,项目名称:annox,代码行数:56,代码来源:BookCollector.cs

示例14: WindSummoner

		public WindSummoner() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.2 )
		{
			Title = "the Wind Summoner";

			Hue = Utility.RandomSkinHue();
			Body = 0x190;
			Name = NameList.RandomName( "male" );
			BaseSoundID = 0;

			Item hat = new WizardsHat();
			hat.Movable = false;
			hat.Hue = 1154;
			EquipItem( hat );

			Item shirt = new Shirt();
			shirt.Movable = false;
			shirt.Hue = 1154;
			EquipItem( shirt );

			Item skirt = new Skirt();
			skirt.Movable = false;
			skirt.Hue = 1154;
			EquipItem( skirt );

			Item Sandals = new Sandals();
			Sandals.Movable = false;
			Sandals.Hue = 1154;
			EquipItem( Sandals );

			SetStr( 110, 120 );
			SetDex( 86, 95 );
			SetInt( 161, 170 );

			SetHits( 120, 130 );

			SetDamage( 5, 13 );

			SetSkill( SkillName.Wrestling, 70.3, 77.8 );
			SetSkill( SkillName.Tactics, 80.5, 87.0 );
			SetSkill( SkillName.MagicResist, 90.6, 92.8);
			SetSkill( SkillName.Magery, 94.7, 96.0 );
			SetSkill( SkillName.EvalInt, 40.1, 44.1 );
			SetSkill( SkillName.Meditation, 21.1, 30.1 );

			Fame = 9000;
			Karma = -9000;

			VirtualArmor = 45;

			PackPotion();
			PackItem( new Bandage( Utility.RandomMinMax( 5, 10 ) ) );

			if ( 0.005 > Utility.RandomDouble() )
				PackItem( new ObsidianStatue() );
		}
开发者ID:greeduomacro,项目名称:UO-Forever,代码行数:55,代码来源:WindSummoner.cs

示例15: EithkaUlesra

		public EithkaUlesra() : base( AIType.AI_Archer, FightMode.Closest, 10, 5, 0.2, 0.4 )
		{
			Name = "Eithka Ulesra";
			Body = 0x190;
			Hue = 0x798;

			SetStr( 100 ); //I've set him up with normal stats since we've defined his Hits and his weapons speed elsewhere.
			SetDex( 100 );
			SetInt( 100 );

			SetHits( 250, 350 ); // here are his hits according to the spherescript. random between 250 and 350
			SetStam( 350, 450 );

			SetDamage( 10, 15 ); //i set his damage to be low since he hits like 3 times a second. This will probably need to be tweaked.

			SetSkill( SkillName.Archery, 110.0 ); //we dont need to give him uberskillz
			SetSkill( SkillName.Tactics, 110.0 );
			SetSkill( SkillName.MagicResist, 100.0 );

			Fame = 3900;
			Karma = -4000;

			VirtualArmor = 70; //this might need to be tweaked

			//Here we add his loot. I'm omitting his gloves since that's later in his dress.
            //no here do you NOT add the loot, onyl whats in hes backpack.
			Container pack = new Backpack();
			pack.Movable = false;
			pack.DropItem( new Arrow( 50 ) );
			AddItem( pack );
			//Now we dress him
			Item shroud = new HoodedShroudOfShadows(); //since we want a custom shroud, we define it here.
			shroud.Movable = false; //this way we dont let the shroud drop
			shroud.Hue = 0x798; //omg more props
			AddItem( shroud ); //add the item

			Item smurfshoes = new Sandals(); //since sandals are already a class i've named it smurfshoes. It doesnt matter what we call it.
			smurfshoes.Movable = false; // leet shoes for the players? GM tailoring kthx.
			smurfshoes.Hue = 0x798; // more props
			AddItem( smurfshoes ); //add the item

			Bow weapon = new Bow(); //same thing. define the weapon.
			weapon.Skill = SkillName.Archery; //props
			weapon.Hue = 0x798; //we're leet
			weapon.Speed = 90; //set the speed to 5 higher than the cho ku no.
			weapon.DamageLevel = WeaponDamageLevel.Force; //bow of force
			weapon.Movable = false; // not for players
			AddItem( weapon ); //add the weapon

			Item gloves = new PlateGloves(); // here we add his gloves. this time we let them drop
			gloves.Hue = 0x798; //omg more props
			AddItem( gloves ); //add the item
		}
开发者ID:FreeReign,项目名称:imaginenation,代码行数:53,代码来源:EithkaUlesra.cs


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