Наследование: BaseShoes, IArcaneEquip
Пример #1
0
        private static void EquipPirateItems(Mobile player)
        {
            //Equip the cursed pirate garb.
            //Cutlass
            Cutlass cutlass = new Cutlass();

            cutlass.Movable = false;
            cutlass.Skill   = SkillName.Swords;
            cutlass.Layer   = Layer.OneHanded;
            player.AddItem(cutlass);

            //Fancy Shirt
            FancyShirt shirt = new FancyShirt(Utility.RandomNeutralHue());

            shirt.Movable = false;
            player.AddItem(shirt);

            //Long Pants
            LongPants pants = new LongPants(Utility.RandomNeutralHue());

            pants.Movable = false;
            player.AddItem(pants);

            //Tricorne Hat
            TricorneHat hat = new TricorneHat(Utility.RandomNeutralHue());

            hat.Movable = false;
            player.AddItem(hat);

            //Thigh Boots
            ThighBoots boots = new ThighBoots();

            boots.Movable = false;
            player.AddItem(boots);
        }
        public HavenCrier()
            : base()
        {
            InitStats(100, 100, 25);

            Title = "the town crier";
            Hue = Utility.RandomSkinHue();

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

            AddItem(new FancyShirt(Utility.RandomBlueHue()));

            Item skirt = new Kilt();
            skirt.Hue = Utility.RandomGreenHue();
            AddItem(skirt);
            AddItem(new FeatheredHat(Utility.RandomGreenHue()));

            Item boots = new ThighBoots();
            AddItem(boots);

            Utility.AssignRandomHair(this);
        }
		public TrinsicLibrarian()
		{
			Name = "Trinaree";
						Title = "Trinsic Librarian";
			Body = 0x191;
			CantWalk = true;
			Hue = Utility.RandomSkinHue();


			AddItem( new Server.Items.ClothNinjaJacket( 1105 ) );
			AddItem( new Server.Items.Skirt( 1105 ) );
			AddItem( new Server.Items.FeatheredHat( 1105 ) );



			ThighBoots ThighBoots = new ThighBoots();
			ThighBoots.Hue = 1372;
			AddItem( ThighBoots );




						int hairHue = 1372;
			
			switch ( Utility.Random( 1 ) )
			{
				case 0: AddItem( new LongHair( hairHue ) ); break;
			} 
			Blessed = true;
			
		}
Пример #4
0
		public Goldilocks()
		{
			Name = "Brunneta";
						Title = "Goldilocks";
			Body = 0x191;
			CantWalk = true;
			Hue = Utility.RandomSkinHue();


			AddItem( new Server.Items.Cloak( 1281 ) );
			AddItem( new Server.Items.Tunic( 1281 ) );




			ThighBoots ThighBoots = new ThighBoots();
			ThighBoots.Hue = 1281;
			AddItem( ThighBoots );




						int hairHue = 1281;
			
			switch ( Utility.Random( 1 ) )
			{
				case 0: AddItem( new LongHair( hairHue ) ); break;
			} 
			Blessed = true;
			
		}
Пример #5
0
        public Orc()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.45, 0.8)
        {
            Body = 17;
            Name = NameList.RandomName( "orc" );
            SetStr( 96, 120 );
            SetHits( 96, 120 );
            SetDex( 81, 105 );
            SetStam( 91, 115 );
            SetInt( 36, 60 );
            SetMana( 71, 95 );
            Karma = -125;

            BaseSoundID = 432;
            SetSkill( SkillName.Tactics, 55.1, 80 );
            SetSkill( SkillName.MagicResist, 50.1, 75 );
            SetSkill( SkillName.Parry, 50.1, 75 );
            SetSkill( SkillName.Magery, 50.1, 75 );
            SetSkill( SkillName.Wrestling, 50.1, 70 );

            VirtualArmor = 14;
            SetDamage( 3, 9 );

            Item item = null;
            item = new ThighBoots();
            AddItem( item );
            PackGold( 15, 75 );
            LootPack.Meager.Generate( this );
        }
Пример #6
0
		public VampireCount() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "Vampire Count";
			Body = 0x0190;
			Hue = 0x497;

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

			SetHits( 50 );
			SetStam( 50 );

			SetDamage( 10, 20 );

			SetSkill( SkillName.Poisoning, 90.0, 100.0 );
			SetSkill( SkillName.Tactics, 100.0 );
			SetSkill( SkillName.MagicResist, 65.0, 88.0 );
			SetSkill( SkillName.Parry, 75.0, 98.0 );
			SetSkill( SkillName.Wrestling, 67.0, 90.0 );
			SetSkill( SkillName.DetectHidden, 90.0, 100.0 );
			SetSkill( SkillName.Swords, 150.0 );
            SetSkill(SkillName.EvalInt, 95.0, 100.0);

			Fame = 0;

			VirtualArmor = 10;

			//Here we add his loot. 
			//PackGold(1000, 1500);
			//PackItem(new VampireHeart());
			//PackItem(new VampireBone(10));

            HairItemID = 8252;
            HairHue = Utility.RandomHairHue();

			PlateGloves glo = new PlateGloves();
			glo.Hue = 0x1;
			PackItem( glo );
			Item temp = new Doublet( 0x1 );
			temp.Movable = false;
			AddItem( temp );
			temp = new ThighBoots( 0x1 );
			temp.Movable = false;
			AddItem( temp );
			temp = new FancyShirt( 0x0496 );
			temp.Movable = false;
			AddItem( temp );
			temp = new ShortPants( 0x1 );
			temp.Movable = false;
			AddItem( temp );
			temp = null;

            Spellbook book = new Spellbook();
            book.Content = ulong.MaxValue;
            book.LootType = LootType.Regular;
            AddItem(book);
		}
Пример #7
0
		public Finlor()
		{
			Name = "Finlor";
                        Title = "the Sea Captain";
			Body = 0x190;
			Hue = Utility.RandomSkinHue();
			Blessed = true;
			CantWalk = true;
			Direction = Direction.South;

			ThighBoots tb = new ThighBoots();
                        tb.Hue = 0;
                        AddItem( tb );

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

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

			TricorneHat th = new TricorneHat();
                        th.Hue = 52;
                        AddItem( th );

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

			Cloak cl = new Cloak();
			cl.Hue = 38;
			AddItem( cl );

	                Scimitar sc = new Scimitar();
                        AddItem( sc );

			GoldBeadNecklace gn = new GoldBeadNecklace();
			AddItem( gn );

			GoldBracelet gb = new GoldBracelet();
			AddItem( gb );

			GoldEarrings ge = new GoldEarrings();
			AddItem( ge );

			GoldRing gr = new GoldRing();
			AddItem( gr );			
                        
                        AddItem( new PonyTail(1149));
                     
			AddItem( new Vandyke(1149));
			
		}
Пример #8
0
		public Sprite() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "Sprite";
			Hue = 0x045e;
			Body = 0x191;
			Female = true;
			AddItem( new PonyTail( 0x0597 ) );

			SetStr( 86, 90 );
			SetDex( 91, 100 );
			SetInt( 71, 85 );

			SetHits( 86, 90 );
			SetStam( 91, 100 );
			SetMana( 0 );

			SetDamage( 6, 10 );

			SetDamageType( ResistanceType.Physical, 100 );

			SetSkill( SkillName.Fencing, 65.0, 88.0 );
			SetSkill( SkillName.MagicResist, 60.0, 80.0 );
			SetSkill( SkillName.Tactics, 75.0, 85.0 );
			SetSkill( SkillName.Wrestling, 35.0, 58.0 );

			Fame = Utility.RandomMinMax( 1200, 3200 );

			VirtualArmor = 5;

			Item temp;
			temp = new ThighBoots();
			temp.Hue = 0x0599;
			temp.Movable = false;
			AddItem( temp );
			temp = new FemaleLeatherChest();
			temp.Hue = 0x0599;
			temp.Movable = false;
			AddItem( temp );
			temp = new Cloak();
			temp.Hue = 0x0599;
			temp.Movable = false;
			AddItem( temp );
			temp = new Kryss();
			temp.Hue = 0x0599;
			temp.Movable = false;
			AddItem( temp );
			temp = new LeatherLegs();
			temp.Hue = 0x0599;
			temp.Movable = false;
			AddItem( temp );
		}
Пример #9
0
		public override void InitOutfit()
		{
			BearMask head = new BearMask();
			head.Hue = 347;
			AddItem( head );
			Tunic chest = new Tunic();
			chest.Hue = 347;
			AddItem( chest );
			LongPants leg = new LongPants();
			leg.Hue = 347;
			AddItem( leg );
			ThighBoots feet = new ThighBoots();
			feet.Hue = 347;
			AddItem( feet );
		}
Пример #10
0
		public Protector()
			: base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Body = 401;
			Female = true;
			Hue = Race.Human.RandomSkinHue();
			HairItemID = Race.Human.RandomHair( this );
			HairHue = Race.Human.RandomHairHue();

			Name = "a Protector";
			Title = "the mystic llamaherder";

			SetStr( 700, 800 );
			SetDex( 100, 150 );
			SetInt( 50, 75 );

			SetHits( 350, 450 );

			SetDamage( 6, 12 );

			SetDamageType( ResistanceType.Physical, 100 );

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

			SetSkill( SkillName.Wrestling, 70.0, 100.0 );
			SetSkill( SkillName.Tactics, 80.0, 100.0 );
			SetSkill( SkillName.MagicResist, 50.0, 70.0 );
			SetSkill( SkillName.Anatomy, 70.0, 100.0 );

			Fame = 10000;
			Karma = -10000;

			Item boots = new ThighBoots();
			boots.Movable = false;
			boots.Hue = Utility.Random( 2 );

			Item shroud = new Item( 0x204E );
			shroud.Layer = Layer.OuterTorso;
			shroud.Movable = false;
			shroud.Hue = Utility.Random( 2 );

			AddItem( boots );
			AddItem( shroud );
		}
Пример #11
0
		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 );
		}
        public AdvertMobile()
            : base()
        {
            InitStats(100, 100, 25);

            Title = "the advertiser";
            Hue = Utility.RandomSkinHue();
            Body = 0x190;
            Name = NameList.RandomName("male");
            AddItem(new FancyShirt(Utility.RandomBlueHue()));
            Item skirt = new Kilt();
            skirt.Hue = Utility.RandomGreenHue();
            AddItem(skirt);
            AddItem(new FeatheredHat(Utility.RandomGreenHue()));
            Item boots = new ThighBoots();
            AddItem(boots);
            Utility.AssignRandomHair(this);
            AdvertSystem.Advertisers.Add(this);
        }
Пример #13
0
		public BarbarianShaman() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			int hairHue = Utility.RandomHairHue();
			Hue = Utility.RandomSkinHue();

			Body = 0x190;
			Name = "Barbarian Shaman";
			AddItem( new LongHair( hairHue ) );
			AddItem( new ShortBeard( hairHue ) );
			Item temp;
			temp = new ThighBoots();
			temp.Hue = 0x01bb;
			temp.Movable = false;
			AddItem( temp );
			temp = new Kilt();
			temp.Hue = 0x01bb;
			temp.Movable = false;
			AddItem( temp );
			temp = new BodySash();
			temp.Hue = 0x01bb;
			temp.Movable = false;
			AddItem( temp );
			temp = new GnarledStaff();
			temp.Movable = false;
			AddItem( temp );

			SetStr( 100, 150 );
			SetDex( 81, 95 );
			SetInt( 20, 30 );
			SetHits( 150, 200 );
			SetStam( 81, 95 );
			SetMana( 100 );

			SetDamage( 20, 25 );
			SetSkill( SkillName.Magery, 60.0, 75.0 );
			SetSkill( SkillName.Parry, 75.0, 100.0 );
			SetSkill( SkillName.MagicResist, 40.0, 55.0 );
			SetSkill( SkillName.Macing, 100.0 );
			SetSkill( SkillName.Tactics, 80.0, 95.0 );
			SetSkill( SkillName.Wrestling, 80.0, 95.0 );

			Fame = Utility.RandomMinMax( 3500, 5000 );
			Karma = Utility.RandomMinMax( -4000, -6000 );

			VirtualArmor = 20;

            if (Utility.RandomDouble() <= 0.7)
            {
                Spellbook book = new Spellbook();
                book.Content = ulong.MaxValue;
                book.LootType = LootType.Regular;
                AddItem(book);
            }
		}
Пример #14
0
		public BarbarianWarrior() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 3, 0.2, 0.4 )
		{
			Hue = Utility.RandomSkinHue();
			Female = Utility.RandomBool();

			Item temp;
			int hairHue = Utility.RandomHairHue();

			if( Female )
			{
				Body = 0x0191;
				Name = "Barbarian Warrioress";
				SetStr( 90, 110 );
				SetHits( 125, 150 );
				SetSkill( SkillName.Parry, 65.0, 90.0 );

				AddItem( new PonyTail( hairHue ) );
				AddItem( new BattleAxe() );
				AddItem( new FemaleLeatherChest() );
				AddItem( new LeatherLegs() );
			}
			else
			{
				Body = 0x0190;
				Name = "barbarian warrior";
				SetStr( 150, 200 );
				SetHits( 150, 200 );
				SetSkill( SkillName.Parry, 75.0, 100.0 );

				AddItem( new LongHair( hairHue ) );
				AddItem( new ShortBeard( hairHue ) );
				AddItem( new DoubleAxe() );
				AddItem( new LeatherChest() );

				temp = new Kilt();
				temp.Hue = 0x01bb;
				temp.Movable = false;
				AddItem( temp );
			}

			temp = new ThighBoots();
			temp.Hue = 0x01bb;
			temp.Movable = false;
			AddItem( temp );

			SetDex( 81, 95 );
			SetInt( 20, 30 );

			SetStam( 81, 95 );
			SetDamage( 20, 25 );

			SetSkill( SkillName.Tactics, 80.0, 95.0 );
			SetSkill( SkillName.MagicResist, 20.0, 35.0 );

			SetSkill( SkillName.Swords, 100.0 );
			SetSkill( SkillName.Wrestling, 80.0, 95.0 );
			VirtualArmor = 20;
			Fame = Utility.RandomMinMax( 3500, 5000 );
			Karma = Utility.RandomMinMax( -4000, -6000 );
		}
Пример #15
0
		public DarkElfGrunt() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Title = "the Dark Elf";
			Hue = 0x0597;

			Item temp;

			temp = new BoneChest();
			temp.Hue = 0x0455;
			temp.Movable = false;
			AddItem( temp );
			temp = new BoneGloves();
			temp.Hue = 0x0455;
			temp.Movable = false;
			AddItem( temp );
			temp = new BoneHelm();
			temp.Hue = 0x0455;
			temp.Movable = false;
			AddItem( temp );
			temp = new ThighBoots();
			temp.Hue = 0x0455;
			temp.Movable = false;
			AddItem( temp );
			temp = new StuddedLegs();
			temp.Hue = 0x0455;
			temp.Movable = false;
			AddItem( temp );
			temp = new WoodenShield();
			AddItem( temp );
			temp = new WarAxe();
			AddItem( temp );
			temp = new FancyShirt();
			temp.Hue = 0x0455;
			temp.Movable = false;
			AddItem( temp );

			Female = Utility.RandomBool();
			if( Female )
			{
				Body = 0x191;
				Name = NameList.RandomName( "pixie" );
				AddItem( new LongHair( 0 ) );
			}
			else
			{
				Body = 0x190;
				Name = NameList.RandomName( "golem controller" );
				AddItem( new KrisnaHair( 0 ) );
				AddItem( new Goatee( 0 ) );
			}

			SetStr( 50, 70 );
			SetDex( 61, 80 );
			SetInt( 50, 60 );

			SetHits( 150, 200 );

			SetDamage( 10, 20 );

			SetDamageType( ResistanceType.Physical, 100 );

			SetResistance( ResistanceType.Physical, 30, 40 );
			SetResistance( ResistanceType.Fire, 25, 35 );
			SetResistance( ResistanceType.Cold, 35, 45 );
			SetResistance( ResistanceType.Poison, 5, 15 );
			SetResistance( ResistanceType.Energy, 15, 25 );

			SetSkill( SkillName.Archery, 60.0, 80.0 );
			SetSkill( SkillName.Fencing, 60.0, 80.0 );
			SetSkill( SkillName.Macing, 60.0, 80.0 );
			SetSkill( SkillName.Swords, 60.0, 80.0 );
			SetSkill( SkillName.MagicResist, 15.0, 38.0 );
			SetSkill( SkillName.Tactics, 60.0, 90.0 );
			SetSkill( SkillName.Wrestling, 25.0, 40.0 );

			Fame = Utility.RandomMinMax( 1000, 2000 );
			Karma = Utility.RandomMinMax( -3500, -2500 );

			VirtualArmor = 15;
		}
Пример #16
0
        public BlackOrderHighExecutioner()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Black Order High Executioner";
            Title = "of the Serpent's Fang Sect";
            Race = Utility.RandomBool() ? Race.Human : Race.Elf;
            Body = Race == Race.Elf ? 605 : 400;
            Hue = Utility.RandomSkinHue();

            Utility.AssignRandomHair( this );

            if ( Utility.RandomBool() )
                Utility.AssignRandomFacialHair( this, HairHue );

            SetStr( 325, 375 );
            SetDex( 390, 510 );
            SetInt( 285, 305 );

            SetHits( 1900, 2100 );

            SetDamage( 16, 30 );

            SetDamageType( ResistanceType.Physical, 100 );

            SetResistance( ResistanceType.Physical, 45, 70 );
            SetResistance( ResistanceType.Fire, 55, 75 );
            SetResistance( ResistanceType.Cold, 35, 55 );
            SetResistance( ResistanceType.Poison, 50, 70 );
            SetResistance( ResistanceType.Energy, 50, 75 );

            Fame = 15000;
            Karma = -15000;

            SetSkill( SkillName.MagicResist, 100.0, 120.0 );
            SetSkill( SkillName.Tactics, 125.0, 140.0 );
            SetSkill( SkillName.Wrestling, 95.0, 120.0 );
            SetSkill( SkillName.Anatomy, 115.0, 130.0 );
            SetSkill( SkillName.Fencing, 115.0, 125.0 );

            /* Equip */
            Item item = null;

            item = new Sai();
            item.Hue = 1309;
            AddItem( item );

            item = new LeatherNinjaPants();
            item.Hue = 1309;
            AddItem( item );

            item = new FancyShirt();
            item.Hue = 1309;
            AddItem( item );

            item = new StuddedGloves();
            item.Hue = 42;
            AddItem( item );

            item = new JinBaori();
            item.Hue = 42;
            AddItem( item );

            item = new LightPlateJingasa();
            item.Hue = 1309;
            AddItem( item );

            item = new ThighBoots();
            item.Hue = 1309;
            AddItem( item );
        }
Пример #17
0
		public PirateLeader() : base( AIType.AI_Melee/*, FightMode.Closest, 10, 1, 0.15, 0.4*/ )
		{
			Name = "Pirate Lord";

			if ( Female = Utility.RandomBool() )
				Body = 186;
			else
				Body = 185;

			SetStr( 578, 620 );
			SetDex( 450, 500 );
			SetInt( 200, 300 );

			SetHits( 4000, 6000);
			SetDamage( 40, 55 );

			SetDamageType( ResistanceType.Physical, 100 );

			SetSkill( SkillName.Fencing, 100.5, 120.0 );
			SetSkill( SkillName.Healing, 60.3, 100.0 );
			SetSkill( SkillName.Macing, 100.5, 140.0 );
			SetSkill( SkillName.Poisoning, 60.0, 100.5 );
			SetSkill( SkillName.MagicResist, 72.5, 100.0 );
			SetSkill( SkillName.Swords, 100.5, 150.0 );
			SetSkill( SkillName.Tactics, 72.5, 170.0 );

			Fame = 50000;
			Karma = -50000;
			
			CanSwim = true;

			Tamable = false;
			ControlSlots = 1;
			MinTameSkill = 99.1;
            MF_Displacer = true;
            MF_Bomber = true;
            MF_HumanRevealer = true;
			PackItem( new Gold( 6500, 15000 ) );
			//PackItem( new Musket2() );
			
			//new ThoroughbredHorse().Rider = this;
			
			switch ( Utility.Random( 5 )) 
			{ 
				case 0: PackItem( new SOS() ); 
				break;
				case 1: PackItem( new SpecialFishingNet() ); 
				break;
				}	
			
			Item LongPants = new LongPants();
			LongPants.Movable = false;
			AddItem( LongPants );
  			LongPants.Hue = 1; 

			Item LeatherGloves = new LeatherGloves();
			LeatherGloves.Hue = 1;
			LeatherGloves.Movable = false;
			AddItem( LeatherGloves ); 

			Item FancyShirt = new FancyShirt();
			FancyShirt.Hue = 143;
			FancyShirt.Movable = false;
			AddItem( FancyShirt ); 

			Item BodySash = new BodySash();
			BodySash.Hue = 1;
			BodySash.Movable = false;
			AddItem( BodySash ); 

			Item TricorneHat = new TricorneHat();
			TricorneHat.Hue = 1;
			TricorneHat.Movable = false;
			AddItem( TricorneHat ); 
			
			Item ThighBoots = new ThighBoots();
			ThighBoots.Hue = 143;
			ThighBoots.Movable = false;
			AddItem( ThighBoots );

            switch (Utility.Random(5))
            {
                case 0: AddItem(new Bow()); break;
                case 1: AddItem(new CompositeBow()); break;
                case 2: AddItem(new Crossbow()); break;
                case 3: AddItem(new RepeatingCrossbow()); break;
                case 4: AddItem(new HeavyCrossbow()); break;
            }
			/*Item Musket2 = new Musket2();
			Musket2.LootType = LootType.Blessed;
			Musket2.Movable = false;
			AddItem( Musket2 );
			
			switch ( Utility.Random( 1 )) 
			{ 
				case 0: PackItem( new ClothingBlessDeed() ); 
				break;
				}*/	
		}
        public TownChestCobbler() : base(0xE43)
        {
            Name    = "a metal chest -5-";
            Movable = true;
            Weight  = 1000.0;

            Hue = 83;

            TrapPower = 0;
            Locked    = true;

            RequiredSkill = 5;
            LockLevel     = 5;
            MaxLockLevel  = 10;

            // Gold
            if (Utility.RandomDouble() < 0.25)
            {
                DropItem(new Gold(Utility.Random(1, 25)));
            }

            // Supplies

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Boots());
            }

            if (Utility.RandomDouble() < 0.20)
            {
                DropItem(new Shoes());
            }

            if (Utility.RandomDouble() < 0.25)
            {
                DropItem(new Sandals());
            }

            if (Utility.RandomDouble() < 0.10)
            {
                DropItem(new ThighBoots());
            }


            if (Utility.RandomDouble() < 0.15)
            {
                BaseClothing footwear = Loot.RandomClothing(true);
                switch (Utility.Random(4))
                {
                case 0: footwear = new Shoes(); break;

                case 1: footwear = new Boots(); break;

                case 2: footwear = new ThighBoots(); break;

                default: footwear = new Sandals(); break;
                }
                BaseRunicTool.ApplyAttributesTo(footwear, 1, 5, 15);

                DropItem(footwear);
            }
        }
Пример #19
0
        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);

                        break;
                    }
                case Armament.Heavy:
                    {
                        PlateChest chest = new PlateChest();
                        chest.Resource = CraftResource.Bronze;
                        chest.Hue = 2830;

                        PlateArms arms = new PlateArms();
                        arms.Resource = CraftResource.Bronze;
                        arms.Hue = 2830;

                        PlateLegs legs = new PlateLegs();
                        legs.Resource = CraftResource.Bronze;
                        legs.Hue = 2830;

                        PlateGorget gorget = new PlateGorget();
                        gorget.Resource = CraftResource.Bronze;
                        gorget.Hue = 2830;

                        PlateGloves gloves = new PlateGloves();
                        gloves.Resource = CraftResource.Bronze;
                        gloves.Hue = 2830;

                        CloseHelm helm = new CloseHelm();
                        helm.Resource = CraftResource.Bronze;
                        helm.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);

                        Longsword sword = new Longsword();
                        sword.Resource = CraftResource.Iron;

                        m.EquipItem(chest);
                        m.EquipItem(arms);
                        m.EquipItem(legs);
                        m.EquipItem(gorget);
                        m.EquipItem(gloves);
                        m.EquipItem(shield);
                        m.EquipItem(helm);
                        m.EquipItem(sword);

                        m.EquipItem(new ElegantCloak(2751));

                        break;
                    }
                case Armament.Ranged:
                    {
                        LeatherChest chest = new LeatherChest();
                        chest.Resource = CraftResource.BeastLeather;
                        chest.Hue = 2830;

                        LongPants legs = new LongPants();
                        legs.Resource = CraftResource.Wool;
                        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;

                        WingedHelm helm = new WingedHelm();
                        helm.Resource = CraftResource.Copper;

                        CompositeBow bow = new CompositeBow();
                        bow.Resource = CraftResource.Ash;

                        m.EquipItem(chest);
                        m.EquipItem(legs);
                        m.EquipItem(gorget);
                        m.EquipItem(gloves);
                        m.EquipItem(boots);
                        m.EquipItem(helm);
                        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;
                    }
            }

            Surcoat coat = new Surcoat();
            coat.ItemID = 15483;
            coat.Name = "A Surcoat of the Society of Rymaliel";
            m.EquipItem(coat);
        }
Пример #20
0
        public UndeadArcherPirate()
            : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.175, 0.2)
        {
            Title = "the unrested pirate";
            Body = Utility.RandomList(400, 50, 3);
            Team = 1;
            Kills = 10;
            Hue = 0;
            SpeechHue=1153;
            this.Body = 0x190;
            this.Name = NameList.RandomName( "male" );
            SetStr( 60, 85 );
            SetDex( 50, 70 );
            SetInt( 10, 20 );
            SetDamage( 5, 7 );

            SetSkill( SkillName.Archery, 35.0, 50.0 );
            SetSkill( SkillName.MagicResist, 23.0, 27.5 );
            SetSkill( SkillName.Tactics, 40.0, 45.5 );
            SetSkill( SkillName.Healing, 30.2, 35.9 );
            SetSkill( SkillName.Anatomy, 45.2, 50.9 );
            SetSkill( SkillName.Swords, 50.0, 60.0);
            SetSkill(SkillName.Stealth, 120.0, 180.0);
            SetSkill(SkillName.Hiding, 120.0, 180.0);

            Fame = 2500;
            Karma = -2500;

            VirtualArmor = 0;

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

            Item beard = new Item( Utility.RandomList( 0x2040, 0x203E , 0x204C, 0x204B, 0x203F ) );
            beard.Hue = hair.Hue;
            beard.Layer = Layer.FacialHair;
            beard.Movable = false;
            AddItem( beard );

            PackGold( 70, 95 );
            PackItem( new Bandage( 10 ) );

                Item crossbow = new Crossbow();
                EquipItem( crossbow );

            switch ( Utility.Random( 3 ) )
            {
                case 0:
                {
                Item fancyshirt = new FancyShirt();
                fancyshirt.Hue = Utility.RandomNeutralHue();
                EquipItem( fancyshirt );
                break;
                }
                case 1:
                {
                Item doublet = new Doublet();
                doublet.Hue = Utility.RandomNeutralHue();
                EquipItem( doublet );
                break;
                }
                case 2:
                {
                break;
                }
            }

            switch ( Utility.Random( 2 ) )
            {
                case 0:
                {
                Item longpants = new LongPants();
                longpants.Hue = Utility.RandomNeutralHue();
                EquipItem( longpants );
                break;
                }
                case 1:
                {
                Item shortpants = new ShortPants();
                shortpants.Hue = Utility.RandomNeutralHue();
                EquipItem( shortpants );
                break;
                }
            }

                    switch ( Utility.Random( 4 ) )
            {
               			case 0:
                {
                Item boots = new Boots();
                boots.Hue = 0;
                EquipItem( boots );
                break;
                }
                case 1:
                {
                Item shoes = new Shoes();
                shoes.Hue = 1713;
                EquipItem( shoes );
                break;
                }
                case 3:
                {
                Item thighboots = new ThighBoots();
                thighboots.Hue = 0;
                EquipItem( thighboots );
                break;
                }
                case 4:
                {
                break;
                }
                 }

                    switch ( Utility.Random( 3 ) )
                 {
               			case 0:
                {
                Item Bandana = new Bandana();
                Bandana.Hue = Utility.RandomBirdHue();
                EquipItem( Bandana );
                break;
                }
                case 1:
                {
                Item skullcap = new SkullCap();
                skullcap.Hue = Utility.RandomBirdHue();
                EquipItem( skullcap );
                break;
                }
                case 3:
                {
                break;
                }
                 }
        }
		public HeadlessHorseman() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "The Headless Horseman";
			Body = 185;
			BaseSoundID = 0x47F;
			Hue = 0x4001;
			
			SetStr( 430, 500 );
			SetDex( 90, 120 );
			SetInt( 700, 800 );

			SetHits( 5000, 10000 );
			SetMana( 5000 );

			SetDamage( 20, 35 );

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

			SetResistance( ResistanceType.Physical, 40, 60 );
			SetResistance( ResistanceType.Fire, 60, 80 );
			SetResistance( ResistanceType.Cold, 40, 60 );
			SetResistance( ResistanceType.Poison, 40, 60 );
			SetResistance( ResistanceType.Energy, 40, 65 );

			SetSkill( SkillName.Anatomy, 120.0 );
			SetSkill( SkillName.EvalInt, 100.0 );
			SetSkill( SkillName.Magery, 100.0 );
			SetSkill( SkillName.Meditation, 120.0 );
			SetSkill( SkillName.MagicResist, 100.0 );
			SetSkill( SkillName.Tactics, 120.0 );
			SetSkill( SkillName.Swords, 120.0 );

			Fame = 30000;
			Karma = -30000;
            
			VirtualArmor = 60;

			PlateChest chest = new PlateChest();
			chest.Hue = 1345;
			chest.Movable = false;
			AddItem( chest );
			
			PlateArms arms = new PlateArms();
			arms.Hue = 1345;
			arms.Movable = false;
			AddItem( arms );
			
			PlateGloves gloves = new PlateGloves();
			gloves.Hue = 1345;
			gloves.Movable = false;
			AddItem( gloves );
			
			PlateGorget gorget = new PlateGorget();
			gorget.Hue = 1345;
			gorget.Movable = false;
			AddItem( gorget );
			
			PlateLegs legs = new PlateLegs();
			legs.Hue = 1345;
			legs.Movable = false;
			AddItem( legs );

			Cloak cloak = new Cloak();
			cloak.Hue = 1175;
			cloak.Movable = false;
			AddItem( cloak );
			
			Longsword weapon = new Longsword();
            weapon.Hue = 1175;
			weapon.Movable = false;
			AddItem( weapon );
			
			Lantern lantern = new Lantern();
			lantern.Movable = false;
			lantern.Ignite();
			AddItem( lantern );			
			
			ThighBoots boots = new ThighBoots();
			boots.Movable = false;
			AddItem( boots );
			

			new Nightmare().Rider = this;
		}
Пример #22
0
		public Pirate2() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.4 )
		{
			Name = "Pirate";

			if ( Female = Utility.RandomBool() )
				Body = 186;
			else
				Body = 185;

			SetStr( 578, 620 );
			SetDex( 450, 500 );
			SetInt( 200, 300 );

			SetHits( 100, 150);
			SetDamage( 30, 45 );

			SetDamageType( ResistanceType.Physical, 100 );

			SetSkill( SkillName.Fencing, 72.5, 100.0 );
			SetSkill( SkillName.Healing, 60.3, 100.0 );
			SetSkill( SkillName.Macing, 72.5, 100.0 );
			SetSkill( SkillName.Poisoning, 60.0, 100.5 );
			SetSkill( SkillName.MagicResist, 72.5, 100.0 );
			SetSkill( SkillName.Swords, 72.5, 100.0 );
			SetSkill( SkillName.Tactics, 72.5, 100.0 );

			Fame = 1000;
			Karma = -1000;
			
			CanSwim = true;

			Tamable = false;
			ControlSlots = 1;
			MinTameSkill = 99.1;
	
			PackItem( new Gold( 650, 1500 ) );
			//PackItem( new Musket2() );
			
			new Horse().Rider = this;
			
			switch ( Utility.Random( 5 )) 
			{ 
				case 0: PackItem( new SOS() ); 
				break;
				case 1: PackItem( new SpecialFishingNet() ); 
				break;
				}	
			
			Item LongPants = new LongPants();
			LongPants.Movable = false;
			AddItem( LongPants );
  			LongPants.Hue = 1; 

			Item LeatherGloves = new LeatherGloves();
			LeatherGloves.Hue = 1;
			LeatherGloves.Movable = false;
			AddItem( LeatherGloves ); 

			Item FancyShirt = new FancyShirt();
			FancyShirt.Hue = 43;
			FancyShirt.Movable = false;
			AddItem( FancyShirt ); 

			Item BodySash = new BodySash();
			BodySash.Hue = 1;
			BodySash.Movable = false;
			AddItem( BodySash ); 

			Item TricorneHat = new TricorneHat();
			TricorneHat.Hue = 1;
			TricorneHat.Movable = false;
			AddItem( TricorneHat ); 
			
			Item ThighBoots = new ThighBoots();
			ThighBoots.Hue = 1;
			ThighBoots.Movable = false;
			AddItem( ThighBoots ); 
			
			/*Item Musket2 = new Musket2();
			Musket2.LootType = LootType.Blessed;
			Musket2.Movable = false;
			AddItem( Musket2 );
			
			switch ( Utility.Random( 1 )) 
			{ 
				case 0: PackItem( new ClothingBlessDeed() ); 
				break;
				}*/	
		}
Пример #23
0
        public Brigand()
            : base(AIType.AI_Melee, FightMode.Closest, 12, 1, 0.5, 0.75)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            SpeechHue = Utility.RandomDyedHue();
            Name = NameList.RandomName(Female ? "female" : "male");
            Hue = Utility.RandomSkinHue();
            SetStr(66, 100);
            SetDex(81, 95);
            SetInt(61, 75);
            Job = JobFragment.brigand;

            Fame = 1000;
            Karma = -1000;

            BardLevel = 55;

            BaseSoundID = 332;
            SetSkill(SkillName.Hiding, 45, 67.5);
            SetSkill(SkillName.Anatomy, 55, 65.1);
            SetSkill(SkillName.Wrestling, 50, 75);
            SetSkill(SkillName.Fencing, 50, 75 );
            SetSkill(SkillName.Macing, 50, 75 );
            SetSkill(SkillName.Swords, 50, 75 );
            SetSkill(SkillName.Camping, 45, 67.5);
            SetSkill(SkillName.Stealing, 45, 67.5);
            SetSkill(SkillName.Snooping, 35, 57.5);
            SetSkill(SkillName.Poisoning, 35, 57.5);
            SetSkill(SkillName.Parry, 55, 77.5);
            SetSkill(SkillName.Tactics, 55, 77.5);
            SetSkill(SkillName.MagicResist, 55, 77.5);
            SetSkill(SkillName.Lockpicking, 35, 57.5);

            int hairHue = Utility.RandomHairHue();
            Utility.AssignRandomHair(this, hairHue);

            Item item = new Shirt();
            AddItem(item);
            item.Hue = Utility.RandomNondyedHue();

            switch (Utility.Random(4))
            {
                case 0: item = new Boots(); break;
                case 1: item = new ThighBoots(); break;
                case 2: item = new Shoes(); break;
                case 3:
                default: item = new Sandals(); break;
            }
            AddItem(item);

            if (!Female)
            {
                Utility.AssignRandomFacialHair(this, hairHue);

                item = new LongPants();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
            else
            {
                item = new Skirt();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }

            item = Loot.RandomWeapon();
            EquipItem(item);
        }
Пример #24
0
		public Rackham() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "Rackham";
                        Title = "the Bloody Pirate";
			Body = 0x190;
			Hue = Utility.RandomSkinHue();
			
			ThighBoots tb = new ThighBoots();
                        tb.Hue = 0;
                        AddItem( tb );

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

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

			SkullCap sk = new SkullCap();
                        sk.Hue = 413;
                        AddItem( sk );

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

			Cloak cl = new Cloak();
			cl.Hue = 688;
			AddItem( cl );

	                Scimitar sc = new Scimitar();
			sc.Hue = 533;
                        AddItem( sc );

			GoldBeadNecklace gn = new GoldBeadNecklace();
			AddItem( gn );

			GoldBracelet gb = new GoldBracelet();
			AddItem( gb );

			GoldEarrings ge = new GoldEarrings();
			AddItem( ge );

			GoldRing gr = new GoldRing();
			AddItem( gr );			
                        
                        AddItem( new PonyTail(1149));
                     
			AddItem( new Vandyke(1149));
			
			SetStr( 120, 140 );
			SetDex( 90, 105 );
			SetInt( 25, 40 );

			SetHits( 450, 500 );
			SetMana( 0 );

			SetDamage( 20, 28 );

			SetDamageType( ResistanceType.Physical, 100 );

			SetResistance( ResistanceType.Physical, 56, 67 );
			SetResistance( ResistanceType.Fire, 40, 50 );
			SetResistance( ResistanceType.Poison, 40, 50 );
			SetResistance( ResistanceType.Cold, 40, 45 );
			SetResistance( ResistanceType.Energy, 40, 55 );

			SetSkill( SkillName.MagicResist, 55.1, 65.0 );
			SetSkill( SkillName.Tactics, 85.3, 105.0 );
			SetSkill( SkillName.Wrestling, 90.3, 105.0 );
			SetSkill( SkillName.Swords, 90.3, 105.0 );

			Fame = 9900;
			Karma = -9900;

			VirtualArmor = 25;
					
                        PackItem( new SeafaringBracelet() );
			PackItem( new TreasureMap( 1, Map.Felucca ) ); 
		}
Пример #25
0
		public Khashina() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "Khashina";
			Body = 401;
			Female = true;

			SetStr( 767, 945 );
			SetDex( 66, 75 );
			SetInt( 46, 70 );

			SetHits( 476, 552 );

			SetDamage( 20, 25 );

			SetDamageType( ResistanceType.Physical, 30 );
			SetDamageType( ResistanceType.Cold, 70 );

			SetResistance( ResistanceType.Physical, 45, 55 );
			SetResistance( ResistanceType.Cold, 60, 70 );
			SetResistance( ResistanceType.Poison, 100 );
			SetResistance( ResistanceType.Energy, 40, 50 );

			SetSkill( SkillName.MagicResist, 125.1, 140.0 );
			SetSkill( SkillName.Tactics, 90.1, 100.0 );
			SetSkill( SkillName.Wrestling, 90.1, 100.0 );

			Fame = 15000;
			Karma = -15000;

			VirtualArmor = 50;

            Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2049, 0x204A ) );
            hair.Hue = Utility.RandomHairHue();
            hair.Layer = Layer.Hair;
            hair.Movable = false;
            AddItem( hair );

			
			StuddedArms studdedarms = new StuddedArms();
			studdedarms.Hue = 0x486;
			AddItem( studdedarms );

			FemaleStuddedChest femalesc = new FemaleStuddedChest();
			femalesc.Hue = 0x486;
			AddItem(femalesc);
			
			StuddedGloves studdedg = new StuddedGloves();
			studdedg.Hue = 0x486;
			AddItem(studdedg);
			
			StuddedGorget studdedgg = new StuddedGorget();
			studdedgg.Hue = 0x486;
			AddItem(studdedgg);			
			
			LeatherSkirt leatherskirt = new LeatherSkirt();
			leatherskirt.Hue = 0x486;
			AddItem(leatherskirt);
			
			ThighBoots thighboots = new ThighBoots();
			thighboots.Hue = 0x486;
			AddItem(thighboots);
			
            AddItem( new Server.Items.KhashinaShroud() );


			
		}
Пример #26
0
        public override void InitOutfit()
        {
            AddItem(new FancyShirt(Utility.RandomBlueHue()));

            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 FeatheredHat(Utility.RandomGreenHue()));

            Item boots;

            switch (Utility.Random(2))
            {
                case 0:
                    boots = new Boots();
                    break;
                default:
                case 1:
                    boots = new ThighBoots();
                    break;
            }

            AddItem(boots);

            Item hair = new Item(Utility.RandomList(0x203B, 0x2049, 0x2048, 0x204A));

            hair.Hue = Utility.RandomNondyedHue();
            hair.Layer = Layer.Hair;
            hair.Movable = false;

            AddItem(hair);
        }
Пример #27
0
        public UndeadSwordPirateSTR()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.175, 0.2)
        {
            Title = "the unrested pirate";
            Body = 400;
            Team = 1;
            Kills = 10;
            Hue = Utility.RandomSkinHue();
            SpeechHue=1153;
            this.Body = 0x190;
            this.Name = NameList.RandomName( "male" );
                    SetStr( 90, 100 );
            SetDex( 85, 100 );
            SetInt( 10, 20 );

            SetSkill( SkillName.Archery, 95.0, 100.0 );
            SetSkill( SkillName.MagicResist, 75.0, 100.0 );
            SetSkill( SkillName.Tactics, 90.0, 100.0 );
            SetSkill( SkillName.Healing, 75.0, 100.0 );
            SetSkill( SkillName.Anatomy, 90.0, 100.0 );
            SetSkill(SkillName.Swords, 95.0, 100.0);
            SetSkill(SkillName.Stealth, 120.0, 180.0);
            SetSkill(SkillName.Hiding, 120.0, 180.0);

            Fame = 4500;
            Karma = -4500;

            VirtualArmor = 0;

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

            Item beard = new Item( Utility.RandomList( 0x2040, 0x203E , 0x204C, 0x204B, 0x203F ) );
            beard.Hue = hair.Hue;
            beard.Layer = Layer.FacialHair;
            beard.Movable = false;
            AddItem( beard );

            AddItem( hair );
            PackGold( 70, 95 );
            PackItem( new Bandage( 20 ) );

            switch ( Utility.Random( 2 ) )
            {
                case 0:
                {
                Item scimitar = new Scimitar();
                EquipItem( scimitar );
                break;
                }
                case 1:
                {
                Item cutlass = new Cutlass();
                EquipItem( cutlass );
                break;
                }
            }

            switch ( Utility.Random( 3 ) )
            {
                case 0:
                {
                Item fancyshirt = new FancyShirt();
                fancyshirt.Hue = Utility.RandomNeutralHue();
                EquipItem( fancyshirt );
                break;
                }
                case 1:
                {
                Item doublet = new Doublet();
                doublet.Hue = Utility.RandomNeutralHue();
                EquipItem( doublet );
                break;
                }
                case 2:
                {
                break;
                }
            }

            switch ( Utility.Random( 2 ) )
            {
                case 0:
                {
                Item longpants = new LongPants();
                longpants.Hue = Utility.RandomNeutralHue();
                EquipItem( longpants );
                break;
                }
                case 1:
                {
                Item shortpants = new ShortPants();
                shortpants.Hue = Utility.RandomNeutralHue();
                EquipItem( shortpants );
                break;
                }
            }

                    switch ( Utility.Random( 4 ) )
            {
               			case 0:
                {
                Item boots = new Boots();
                boots.Hue = 0;
                EquipItem( boots );
                break;
                }
                case 1:
                {
                Item shoes = new Shoes();
                shoes.Hue = 1713;
                EquipItem( shoes );
                break;
                }
                case 3:
                {
                Item thighboots = new ThighBoots();
                thighboots.Hue = 0;
                EquipItem( thighboots );
                break;
                }
                case 4:
                {
                break;
                }
                 }

                    switch ( Utility.Random( 3 ) )
                 {
               			case 0:
                {
                Item Bandana = new Bandana();
                Bandana.Hue = Utility.RandomBirdHue();
                EquipItem( Bandana );
                break;
                }
                case 1:
                {
                Item skullcap = new SkullCap();
                skullcap.Hue = Utility.RandomBirdHue();
                EquipItem( skullcap );
                break;
                }
                case 3:
                {
                break;
                }
                 }
        }
Пример #28
0
        public TownCrier()
        {
            m_Instances.Add( this );

            InitStats( 100, 100, 25 );

            Title = "the town crier";
            Hue = Utility.RandomSkinHue();

            if ( !Core.AOS )
                NameHue = 0x35;

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

            AddItem( new FancyShirt( Utility.RandomBlueHue() ) );

            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 FeatheredHat( Utility.RandomGreenHue() ) );

            Item boots;

            switch ( Utility.Random( 2 ) )
            {
                case 0: boots = new Boots(); break;
                default: case 1: boots = new ThighBoots(); break;
            }

            AddItem( boots );

            Item hair = new Item( Utility.RandomList( 0x203B, 0x2049, 0x2048, 0x204A ) );

            hair.Hue = Utility.RandomNondyedHue();
            hair.Layer = Layer.Hair;
            hair.Movable = false;

            AddItem( hair );
        }
Пример #29
0
        public static void EquipKhemetar(Armament a, Mobile m)
        {
            if (a == Armament.LightCavalry)
                a = (Armament)1;
            else if (a == Armament.HeavyCavalry)
                a = (Armament)3;

            switch (a)
            {
                case Armament.Light:
                    {
                        Sandals sand = new Sandals();
                        sand.Resource = CraftResource.BeastLeather;
                        sand.Hue = 2947;
                        m.EquipItem(sand);

                        KhemetarScaleChest chest = new KhemetarScaleChest();
                        chest.Resource = CraftResource.Bronze;
                        chest.Hue = 2947;
                        m.EquipItem(chest);

                        KhemetarScaleLegs legs = new KhemetarScaleLegs();
                        legs.Resource = CraftResource.Bronze;
                        legs.Hue = 2947;
                        m.EquipItem(legs);

                        KhemetarScaleHelmet helmet = new KhemetarScaleHelmet();
                        helmet.Resource = CraftResource.Bronze;
                        helmet.Hue = 2947;
                        m.EquipItem(helmet);

                        KhemetarKukri k = new KhemetarKukri();
                        k.Resource = CraftResource.Iron;
                        m.EquipItem(k);

                        WoodenShield shield = new WoodenShield();
                        shield.Resource = CraftResource.Redwood;
                        m.EquipItem(shield);

                        if (m.Female)
                        {
                            ElegantWaistCloth waist = new ElegantWaistCloth();
                            waist.Hue = 2795;
                            m.EquipItem(waist);
                        }

                        else
                        {
                            WaistSash sash = new WaistSash();
                            sash.Hue = 2795;
                            m.EquipItem(sash);
                        }

                        break;
                    }
                case Armament.Medium:
                    {
                        ThighBoots boots = new ThighBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2947;
                        m.EquipItem(boots);

                        KhemetarScaleChest chest = new KhemetarScaleChest();
                        chest.Resource = CraftResource.Bronze;
                        chest.Hue = 2947;
                        m.EquipItem(chest);

                        KhemetarScaleLegs legs = new KhemetarScaleLegs();
                        legs.Resource = CraftResource.Bronze;
                        legs.Hue = 2947;
                        m.EquipItem(legs);

                        KhemetarScaleArms arms = new KhemetarScaleArms();
                        arms.Resource = CraftResource.Bronze;
                        arms.Hue = 2947;
                        m.EquipItem(arms);

                        RingmailGloves gloves = new RingmailGloves();
                        gloves.Resource = CraftResource.Bronze;
                        gloves.Hue = 2947;
                        m.EquipItem(gloves);

                        KhemetarScaleHelmet helmet = new KhemetarScaleHelmet();
                        helmet.Resource = CraftResource.Bronze;
                        helmet.Hue = 2947;
                        m.EquipItem(helmet);

                        KhemetarKhopesh sword = new KhemetarKhopesh();
                        sword.Resource = CraftResource.Bronze;
                        m.EquipItem(sword);

                        MetalShield shield = new MetalShield();
                        shield.Resource = CraftResource.Bronze;
                        shield.Hue = 2947;
                        m.EquipItem(shield);

                        if (m.Female)
                        {
                            ElegantWaistCloth waist = new ElegantWaistCloth();
                            waist.Hue = 2795;
                            m.EquipItem(waist);
                        }

                        else
                        {
                            WaistSash sash = new WaistSash();
                            sash.Hue = 2795;
                            m.EquipItem(sash);
                        }

                        break;
                    }
                case Armament.Heavy:
                    {
                        KhemetarScaleChest chest = new KhemetarScaleChest();
                        chest.Resource = CraftResource.Bronze;
                        chest.Hue = 2947;
                        m.EquipItem(chest);

                        PlateLegs legs = new PlateLegs();
                        legs.Resource = CraftResource.Bronze;
                        legs.Hue = 2947;
                        m.EquipItem(legs);

                        PlateArms arms = new PlateArms();
                        arms.Resource = CraftResource.Bronze;
                        arms.Hue = 2947;
                        m.EquipItem(arms);

                        PlateGorget gorget = new PlateGorget();
                        gorget.Resource = CraftResource.Bronze;
                        gorget.Hue = 2947;
                        m.EquipItem(gorget);

                        PlateGloves gloves = new PlateGloves();
                        gloves.Resource = CraftResource.Bronze;
                        gloves.Hue = 2947;
                        m.EquipItem(gloves);

                        KhemetarScaleHelmet helmet = new KhemetarScaleHelmet();
                        helmet.Resource = CraftResource.Bronze;
                        helmet.Hue = 2947;
                        m.EquipItem(helmet);

                        RunicCloak cloak = new RunicCloak();
                        cloak.Hue = 2795;
                        m.EquipItem(cloak);

                        KhemetarAxe axe = new KhemetarAxe();
                        axe.Resource = CraftResource.Bronze;
                        m.EquipItem(axe);

                        if (m.Female)
                        {
                            ElegantWaistCloth waist = new ElegantWaistCloth();
                            waist.Hue = 2795;
                            m.EquipItem(waist);
                        }

                        else
                        {
                            WaistSash sash = new WaistSash();
                            sash.Hue = 2795;
                            m.EquipItem(sash);
                        }

                        break;
                    }
                case Armament.Ranged:
                    {
                        KhemetarRogueTurban turban = new KhemetarRogueTurban();
                        turban.Resource = CraftResource.Cotton;
                        turban.Hue = 2795;
                        m.EquipItem(turban);

                        BaggyPants pants = new BaggyPants();
                        pants.Resource = CraftResource.Cotton;
                        pants.Hue = 2795;
                        m.EquipItem(pants);

                        ElegantCloak cloak = new ElegantCloak();
                        cloak.Resource = CraftResource.Cotton;
                        cloak.Hue = 2795;
                        m.EquipItem(cloak);

                        m.EquipItem(new Sandals());

                        KhemetarScaleChest chest = new KhemetarScaleChest();
                        chest.Resource = CraftResource.Bronze;
                        chest.Hue = 2947;
                        m.EquipItem(chest);

                        KhemetarScaleArms arms = new KhemetarScaleArms();
                        arms.Resource = CraftResource.Bronze;
                        arms.Hue = 2947;
                        m.EquipItem(arms);

                        KhemetarLongbow bow = new KhemetarLongbow();
                        bow.Resource = CraftResource.Redwood;
                        m.EquipItem(bow);

                        if (m.Female)
                        {
                            ElegantWaistCloth waist = new ElegantWaistCloth();
                            waist.Hue = 2795;
                            m.EquipItem(waist);
                        }

                        else
                        {
                            WaistSash sash = new WaistSash();
                            sash.Hue = 2795;
                            m.EquipItem(sash);
                        }

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

                        break;
                    }
            }
        }
Пример #30
0
        public SocietyGuard( int choice )
            : 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 );

            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 = 12000;
            this.Karma = -12000;

            this.VirtualArmor = 0;

            FightMode = FightMode.Closest;

            Name = "Society of Rymaliel Guard";

            if( choice > 3 || choice < 1 )
                choice = Utility.RandomMinMax( 1, 3 );

            switch( choice )
            {
                case 1:
                {
                    PlateChest chest = new PlateChest();
                    chest.Resource = CraftResource.Bronze;
                    chest.Hue = 2830;

                    PlateArms arms = new PlateArms();
                    arms.Resource = CraftResource.Bronze;
                    arms.Hue = 2830;

                    PlateLegs legs = new PlateLegs();
                    legs.Resource = CraftResource.Bronze;
                    legs.Hue = 2830;

                    PlateGorget gorget = new PlateGorget();
                    gorget.Resource = CraftResource.Bronze;
                    gorget.Hue = 2830;

                    PlateGloves gloves = new PlateGloves();
                    gloves.Resource = CraftResource.Bronze;
                    gloves.Hue = 2830;

                    CloseHelm helm = new CloseHelm();
                    helm.Resource = CraftResource.Bronze;
                    helm.Hue = 2830;

                    VhalurianMetalKiteShield shield = new VhalurianMetalKiteShield();
                    shield.Resource = CraftResource.Bronze;
                    shield.Name = "Society of Rymaliel Kite Shield";
                    shield.Hue = 2413;
                    shield.ItemID = 15726;

                    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 );
        }
Пример #31
0
		public TownCrier()
		{
			m_Instances.Add( this );

			InitStats( 100, 100, 25 );

			Title = "the town crier";
			Hue = Utility.RandomSkinHue();

			if ( !Core.AOS )
				NameHue = 0x35;

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

			AddItem( new FancyShirt( Utility.RandomBlueHue() ) );

			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 FeatheredHat( Utility.RandomGreenHue() ) );

			Item boots;

			switch ( Utility.Random( 2 ) )
			{
				case 0: boots = new Boots(); break;
				default: case 1: boots = new ThighBoots(); break;
			}

			AddItem( boots );

			Utility.AssignRandomHair( this );
		}
Пример #32
0
        public MyQuestGiver()
        {
            BodyValue = 400;
            Name = "Rockstar";
            Title = "the awezum";
            Hits = 10000;
            Hue = 33791;
            Utility.AssignRandomHair(this);
            FancyShirt torso = new FancyShirt();
            torso.Hue = 0;
            AddItem(torso);
            LongPants legs = new LongPants();
            legs.Hue = 0;
            AddItem(legs);
            ThighBoots feet = new ThighBoots();
            feet.Hue = 0;
            AddItem(feet);

            Blessed = true;
            CantWalk = true;


        }