public HolidayBaker ()
		{
			Name = "Tilly";
            Title = "Quest Giver";

            Body = 401;
            Hue = 1002;
			CantWalk = true;
			Blessed = true;
			
			Item skirt;
			skirt = new Skirt();
			skirt.Hue = 1368;
			AddItem( skirt );
          

			Item shirt;
			shirt = new Shirt();
            skirt.Hue = 1368;
			AddItem( shirt );
          

			Item shoes;
			shoes = new Shoes();
			shoes.Hue = 1368;
			AddItem( shoes );
            

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

            Item FullApron;
            FullApron = new FullApron();
            FullApron .Hue = 1368;
            AddItem(FullApron);

            Item LongHair = new LongHair(8252);
            LongHair.Movable = false;
            LongHair.Hue = 1153;
            AddItem(LongHair);

           
		}
		public ExplodingSanta() : base( AIType.AI_Melee, FightMode.None, 10, 1, 0.001, 0.001 )
		{
			Name = "a santa";
			Body = 400;
			Hue = 33814;
			SpeechHue = 1150;

			m_Target = null;

			SetStr( 100 );
			SetDex( 100 );
			SetInt( 100 );

			SetHits( 200 );

			SetDamage( 1, 2 );

			SetSkill( SkillName.MagicResist, 150.0 );

			Robe robe = new Robe();
			robe.Hue = 37;
			robe.Movable = false;
			AddItem( robe );

			WizardsHat hat = new WizardsHat();
			hat.Hue = 37;
			hat.Movable = false;
			AddItem( hat );

			LongBeard b = new LongBeard();
			b.Hue = 1150;
			b.Movable = false;
			AddItem( b );

			LongHair h = new LongHair();
			h.Hue = 1150;
			h.Movable = false;
			AddItem( h );

			AddItem( new Boots() );
		}
        public static void AddHair( Mobile m, int itemID, int hue )
        {
            Item item;

            switch ( itemID & 0x3FFF )
            {
                case 0x2044: item = new Mohawk( hue ); break;
                case 0x2045: item = new PageboyHair( hue ); break;
                case 0x2046: item = new BunsHair( hue ); break;
                case 0x2047: item = new Afro( hue ); break;
                case 0x2048: item = new ReceedingHair( hue ); break;
                case 0x2049: item = new TwoPigTails( hue ); break;
                case 0x204A: item = new KrisnaHair( hue ); break;
                case 0x203B: item = new ShortHair( hue ); break;
                case 0x203C: item = new LongHair( hue ); break;
                case 0x203D: item = new PonyTail( hue ); break;
                default: return;
            }

            m.AddItem( item );
        }
		public override void InitOutfit()
		{
			WipeLayers();
			Item hair = new LongHair();
			hair.Hue = 0x47E;
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem(hair);

			Item Necklace = new GoldNecklace();
			Necklace.LootType = LootType.Newbied;
			Necklace.Hue = 2006; // basilisk hue
			AddItem(Necklace);

			// NEVER drop one of these! - (never runs out of poison)
			BasilisksFang fang = new BasilisksFang();
			fang.Quality = WeaponQuality.Exceptional;
			fang.LootType = LootType.Newbied;
			if (Utility.RandomBool())
				fang.Poison = Poison.Regular;
			else
				fang.Poison = Poison.Lesser;
			fang.PoisonCharges = 30;
			fang.Movable = false;
			AddItem(fang);

			AddItem( new BoneArms() );
			AddItem( new BoneLegs() );

			// all savages wear a mask, but won't drop this one
			//	see OnBeforeDeath for the mask they do drop
			SavageMask mask = new SavageMask();
			mask.LootType = LootType.Newbied;
			AddItem( mask );

		}
		public PackHuman() : base( AIType.AI_Animal, FightMode.Agressor, 10, 1, 0.2, 0.4 )
		{
			Name = "A Pack Human";
			Body = 401;
			Hue = 33770;
                        BaseSoundID = 0;

			SetStr( 52, 80 );
			SetDex( 36, 55 );
			SetInt( 16, 30 );

			SetHits( 500 );
			SetStam( 86, 105 );
			SetMana( 0 );

			SetDamage( 2, 6 );

			SetDamageType( ResistanceType.Physical, 100 );

			SetResistance( ResistanceType.Physical, 25, 35 );
			SetResistance( ResistanceType.Fire, 10, 15 );
			SetResistance( ResistanceType.Cold, 10, 15 );
			SetResistance( ResistanceType.Poison, 10, 15 );
			SetResistance( ResistanceType.Energy, 10, 15 );

			SetSkill( SkillName.MagicResist, 15.1, 20.0 );
			SetSkill( SkillName.Tactics, 19.2, 29.0 );
			SetSkill( SkillName.Wrestling, 19.2, 29.0 );

			Fame = 0;
			Karma = 200;

			VirtualArmor = 16;

			Tamable = true;
			ControlSlots = 1;
			MinTameSkill = 50.1;

			Container pack = Backpack;

			if ( pack != null )
				pack.Delete();

			pack = new StrongBackpack();
			pack.Movable = false;

			AddItem( pack );

			Item shirt = new Shirt();
			shirt.Hue = 1157;
			shirt.LootType = LootType.Blessed;
			EquipItem( shirt );

			Item longpants = new LongPants();
			longpants.Hue = 45;
			longpants.LootType = LootType.Blessed;
			EquipItem( longpants );

			Item shoes = new Shoes();
			shoes.Hue = 72;
			shoes.LootType = LootType.Blessed;
			EquipItem( shoes );

			Item longhair = new LongHair();
			longhair.Hue = 59;
			longhair.LootType = LootType.Blessed;
			EquipItem( longhair );
		}
示例#6
0
        public override void InitOutfit()
		{
//			base.InitOutfit();

//			AddItem( new Server.Items.Robe( Utility.RandomBlueHue() ) );
			AddItem( new Server.Items.GnarledStaff() );

            if (Utility.RandomBool())
                AddItem(new Shoes(Utility.RandomBlueHue()));
            else
                AddItem(new Sandals(Utility.RandomBlueHue()));

            Item EvilMageRobe = new Robe();
            EvilMageRobe.Hue = 0x1;
            EvilMageRobe.LootType = LootType.Newbied;
            AddItem(EvilMageRobe);

            Item EvilWizHat = new WizardsHat();
            EvilWizHat.Hue = 0x1;
            EvilWizHat.LootType = LootType.Newbied;
            AddItem(EvilWizHat);

            Item Bracelet = new GoldBracelet();
            Bracelet.LootType = LootType.Newbied;
            AddItem(Bracelet);

            Item Ring = new GoldRing();
            Ring.LootType = LootType.Newbied;
            AddItem(Ring);

            Item hair = new LongHair();
            hair.Hue = 0x47E;
            hair.Layer = Layer.Hair;
            hair.Movable = false;
            AddItem(hair);

            if ( !this.Female )
            {
                Item beard = new MediumLongBeard();
                beard.Hue = 0x47E;
                beard.Movable = false;
                beard.Layer = Layer.FacialHair;
                AddItem(beard);
            }

        }        
            public override void OnResponse( NetState sender, RelayInfo info )
            {
                if ( m_Deed.Deleted )
                    return;

                Item newHair = null;

                switch ( info.ButtonID )
                {
                    case 0: return;
                    case 2: newHair = new ShortHair(); break;
                    case 3: newHair = new LongHair(); break;
                    case 4: newHair = new PonyTail(); break;
                    case 5: newHair = new Mohawk(); break;
                    case 6: newHair = new PageboyHair(); break;
                    case 7: newHair = new ReceedingHair(); break;
                    case 8: newHair = new TwoPigTails(); break;
                    case 9: newHair = new KrisnaHair(); break;
                }

                if ( m_From is PlayerMobile )
                {
                    PlayerMobile pm = (PlayerMobile)m_From;

                    pm.SetHairMods( -1, -1 ); // clear any hairmods (disguise kit, incognito)
                }

                Item oldHair = m_From.FindItemOnLayer( Layer.Hair );

                if ( oldHair != null )
                    oldHair.Delete();

                if ( newHair != null )
                {
                    if ( oldHair != null )
                        newHair.Hue = oldHair.Hue;

                    m_From.AddItem( newHair );
                }

                m_Deed.Delete();
            }
示例#8
0
		public override void InitOutfit()
		{
			WipeLayers();
			if ( this.Female )
			{
				
				AddItem( new Kilt( Utility.RandomList(1863, 1836, 1133, 1141) ) );
				int hairHue = Utility.RandomList(1140, 1108, 1140, 1147, 1149, 1175, 2412);
				Item hair = new LongHair();
				hair.Hue = hairHue;
				hair.Layer = Layer.Hair;
				hair.Movable = false;
				AddItem( hair );
			}
			else
			{
				AddItem( new Kilt( Utility.RandomList(1863, 1836, 1133, 1141) ) );
				int hairHue = Utility.RandomList(1140, 1108, 1140, 1147, 1149, 1175, 2412);
				Item hair = new LongHair();
				hair.Hue = hairHue;
				hair.Layer = Layer.Hair;
				hair.Movable = false;
				AddItem( hair );

				// MediumLongBeard seems to be a long beard + Mustache
				Item beard = new MediumLongBeard();
				beard.Hue = hairHue;
				beard.Movable = false;
				beard.Layer = Layer.FacialHair;
				AddItem(beard);

				// Adam: I'll probably get in trouble for this :0
				if (this.Female == false)
				{
					// 10% staff, 90% club
					if (Utility.RandomDouble() < 0.10)
						AddItem( new GnarledStaff() );
					else
						AddItem( new Club() );
				}
			}
		}
示例#9
0
		public override void InitOutfit()
		{
			WipeLayers();
			if ( Utility.RandomBool() )
				AddItem( new Shoes( Utility.RandomBlueHue() ) );
			else
				AddItem( new Sandals( Utility.RandomBlueHue() ) );

			//New Fall Fashions!

			Item EvilMageRobe = new Robe();
			EvilMageRobe.Hue = 0x1;
			EvilMageRobe.LootType = LootType.Newbied;
			AddItem( EvilMageRobe );

			Item EvilWizHat = new WizardsHat();
			EvilWizHat.Hue = 0x1;
			EvilWizHat.LootType = LootType.Newbied;
			AddItem( EvilWizHat );

			Item Bracelet = new GoldBracelet();
			Bracelet.LootType = LootType.Newbied;
			AddItem( Bracelet );

			Item Ring = new GoldRing();
			Ring.LootType = LootType.Newbied;
			AddItem ( Ring );

			Item hair = new LongHair();
			hair.Hue = 0x47E;
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem( hair );

			Item beard = new MediumLongBeard();
			beard.Hue = 0x47E;
			beard.Movable = false;
			beard.Layer = Layer.FacialHair;
			AddItem(beard);
			
			//End Fashion Statement
			
		}
示例#10
0
		public override void InitOutfit()
		{
			WipeLayers();

			// add a "wooden stake" to our loot
			Shaft WoodenStake = new Shaft();
			WoodenStake.Hue = 51;
			WoodenStake.Name = "wooden stake";
			PackItem(WoodenStake);

			// black backpack. we need a backpack so our walking-dead can be disarmed, and black is cool
			Backpack.Hue = 0x01;

			// add Scepter
			Scepter weapon = new Scepter();		// can disarm, but can't steal
			weapon.LootType = LootType.Newbied;	// can't steal (will drop on death)
			AddItem(weapon);

			Item hair = new LongHair(1); 
			Item pants = new LongPants(0x1);
			Item shirt = new FancyShirt();
			hair.Layer = Layer.Hair;
			AddItem(hair);
			AddItem(pants);
			AddItem(shirt);

			Item necklace = new GoldNecklace();
			AddItem(necklace);
			Item ring = new GoldRing();
			AddItem(ring);
			Item bracelet = new GoldBracelet();
			AddItem(bracelet);

			Item boots = new Sandals(0x1);
			AddItem(boots);
		}
示例#11
0
		public Vampire() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			switch ( Utility.Random( 16 ))
			{
				case 0: Name = "Asasabonsam"; break;
				case 1: Name = "Bhuta"; break;
				case 2: Name = "Chedipe"; break;
				case 3: Name = "Brahmaparusha"; break;
				case 4: Name = "Churel"; break;
				case 5: Name = "Maneden"; break;
				case 6: Name = "Pisachas"; break;
				case 7: Name = "Polong"; break;
				case 8: Name = "Asema"; break;
				case 9: Name = "Civateto"; break;
				case 10: Name = "Tlahuelpuchi"; break;
				case 11: Name = "Bruxa"; break;
				case 12: Name = "Strigoiu"; break;
				case 13: Name = "Dhampir"; break;
				case 14: Name = "Djadadjii"; break;
				case 15: Name = "Ustrel"; break;
			}
			Title = "the vampire";

			Female = Utility.RandomBool();
			Body = 400 + (Female ? 1 : 0);
			Hue = 0x0;

			SetStr( 80, 100 );
			SetDex( 72, 150 );
			SetInt( 150, 250 );

			SetHits( 700, 1000 );
			Stam = Dex;

			SetDamage( 10, 25 );

			SetSkill( SkillName.MagicResist, 150.0 );
			SetSkill( SkillName.Wrestling, 100.0 );

			Fame = 10000;
			Karma = -10000;

			VirtualArmor = 30;

			FancyShirt shirt = new FancyShirt();
			shirt.Hue = 1175;
			shirt.Movable = false;
			AddItem( shirt );

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

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

			Cloak cloak = new Cloak();
			cloak.Hue = 1175;
			cloak.Movable = false;
			AddItem( cloak );

			Hair hair = new LongHair();
			hair.Hue = 1175;
			hair.Movable = false;
			AddItem( hair );

		}
示例#12
0
            public override void OnResponse(NetState sender, RelayInfo info)
            {
                if (m_Deed.Deleted)
                {
                    return;
                }

                Item newHair = null;

                switch (info.ButtonID)
                {
                case 0:
                    return;

                case 2:
                    newHair = new ShortHair();
                    break;

                case 3:
                    newHair = new LongHair();
                    break;

                case 4:
                    newHair = new PonyTail();
                    break;

                case 5:
                    newHair = new Mohawk();
                    break;

                case 6:
                    newHair = new PageboyHair();
                    break;

                case 7:
                    newHair = new ReceedingHair();
                    break;

                case 8:
                    newHair = new TwoPigTails();
                    break;

                case 9:
                    newHair = new KrisnaHair();
                    break;
                }

                if (m_From is PlayerMobile)
                {
                    PlayerMobile pm = (PlayerMobile)m_From;

                    pm.SetHairMods(-1, -1);                       // clear any hairmods (disguise kit, incognito)
                }

                Item oldHair = m_From.FindItemOnLayer(Layer.Hair);

                if (oldHair != null)
                {
                    oldHair.Delete();
                }

                if (newHair != null)
                {
                    if (oldHair != null)
                    {
                        newHair.Hue = oldHair.Hue;
                    }

                    m_From.AddItem(newHair);
                }

                m_Deed.Delete();
            }
示例#13
0
		public override void InitOutfit()
		{
			WipeLayers();
			AddItem( new Sandals() );

			// New Fall Fashions!

			Item EvilMageRobe = new Robe();
			EvilMageRobe.Hue = 0x1;
			EvilMageRobe.LootType = LootType.Newbied;
			AddItem( EvilMageRobe );

			Item BDB = new BloodDrenchedBandana();
			BDB.LootType = LootType.Newbied;
			AddItem( BDB );

			Item Cloak = new Cloak();
			Cloak.Hue = 0x1;
			Cloak.LootType = LootType.Newbied;
			AddItem( Cloak );

			Item Bracelet = new GoldBracelet();
			Bracelet.LootType = LootType.Newbied;
			AddItem( Bracelet );

			Item Ring = new GoldRing();
			Ring.LootType = LootType.Newbied;
			AddItem ( Ring );
	
			Item hair = new LongHair();
			hair.Hue = 0x47E;
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem( hair );

			Item beard = new Goatee();  
			beard.Hue = 0x47E;
			beard.Movable = false;
			AddItem(beard);

			//  End New Additions
			
		}
示例#14
0
        public UndeadBlackBart()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.175, 0.2)
        {
            Body = 400;
            Team = 1;
            Kills = 10;
            Hue = Utility.RandomSkinHue();
            SpeechHue = 1153;
            this.Body = 0x190;
            Name = NameList.RandomName( "Male" );
                    SetStr( 100 );
            SetDex( 100 );
            SetInt( 20 );

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

            Fame = 4500;
            Karma = -4500;

            VirtualArmor = 0;

            Item hair = new LongHair();
            hair.Hue = 1175;
            hair.Layer = Layer.Hair;
            hair.Movable = false;
            AddItem( hair );
            Item beard = new MediumLongBeard();
            beard.Hue = 1175;
            beard.Layer = Layer.FacialHair;
            beard.Movable = false;
            AddItem( beard );
            PackGold( 120, 160 );
            PackItem( new Bandage( 100 ) );

            Item fancyshirt = new FancyShirt();
            EquipItem( fancyshirt );
            Item necklace = new Necklace();
            EquipItem( necklace );
            Item goldring = new GoldRing();
            EquipItem( goldring );
            Item longpants = new LongPants();
            longpants.Hue = Utility.RandomNeutralHue();
            EquipItem( longpants );
            Item boots = new Boots();
            EquipItem( boots );
            Item gloves = new LeatherGloves();
            EquipItem( gloves);
            Item hat = new TricorneHat();
            hat.Hue = 1;
            EquipItem( hat );

            switch ( Utility.Random( 2 ) )
            {
                case 0:
                {
                Item scimitar = new Scimitar();
                EquipItem( scimitar );
                break;
                }
                case 1:
                {
                Item cutlass = new Cutlass();
                EquipItem( cutlass );
                break;
                }
            }
        }
示例#15
0
 public virtual Item AddRandomHair()
 {
     Item hair = null;
     switch ( Utility.Random( 8 ) )
     {
         case 0: AddItem( hair = new Afro() ); break;
         case 1: AddItem( hair = new KrisnaHair() ); break;
         case 2: AddItem( hair = new PageboyHair() ); break;
         case 3: AddItem( hair = new PonyTail() ); break;
         case 4: AddItem( hair = new ReceedingHair() ); break;
         case 5: AddItem( hair = new TwoPigTails() ); break;
         case 6: AddItem( hair = new ShortHair() ); break;
         case 7: AddItem( hair = new LongHair() ); break;
     }
     return hair;
 }
		public DemonExec () : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "a demonic executioner";
			Body = 400;
			BaseSoundID = 427;
			Hue = 1175;

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

			SetHits( 476, 552 );

			SetDamage( 20, 25 );

			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;

			NorseHelm helm = new NorseHelm();
			helm.Hue = 1175;
			helm.Movable = false;
			AddItem( helm );

			PlateChest chest = new PlateChest();
			chest.Hue = 1175;
			chest.Movable = false;
			AddItem( chest );

			PlateArms arms = new PlateArms();
			arms.Hue = 1175;
			arms.Movable = false;
			AddItem( arms );

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

			Kilt kilt = new Kilt();
			kilt.Hue = 1158;
			kilt.Movable = false;
			AddItem( kilt );

			LongHair hair = new LongHair();
			hair.Hue = 1154;
			hair.Movable = false;
			hair.Layer = Layer.Hair;
			AddItem( hair );

			Halberd hands = new Halberd();
			hands.Hue = 1258;
			hands.Movable = false;
			AddItem( hands );

			if ( Utility.Random( 750 ) == 0 ) PackItem( new DemonSandals() );
			if ( Utility.Random( 750 ) == 0 ) PackItem( new DemonDoublet() );
			if ( Utility.Random( 750 ) == 0 ) PackItem( new DemonWizardsHat() );
			if ( Utility.Random( 750 ) == 0 ) PackItem( new DemonHalfApron() );
			if ( Utility.Random( 750 ) == 0 ) PackItem( new DemonSkirt() );
		}