Inheritance: BaseOuterTorso
        public Grandma () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
        {
            
            Name = "Grandma";
            Body = 606;
            Hue = Utility.RandomSkinHue();

            Item hair = new Item(Utility.RandomList(0x2FC0, 0x2FC1, 0x2FCD, 0x2FD1));
            hair.Hue = 1109;
            hair.Layer = Layer.Hair;
            hair.Movable = false;
            AddItem(hair);

            SetStr(350, 400);//Adjust this to fit your shard.
            SetDex(100, 150);//Adjust this to fit your shard.
            SetInt(100, 150);//Adjust this to fit your shard.

            SetHits(800, 1000);//Adjust this to fit your shard.

            SetDamage(25, 30);//Adjust this to fit your shard.

            SetDamageType(ResistanceType.Physical, 45);//Adjust this to fit your shard.
            SetDamageType(ResistanceType.Energy, 75);//Adjust this to fit your shard.

            SetResistance(ResistanceType.Physical, 80, 85);//Adjust this to fit your shard.
            SetResistance(ResistanceType.Fire, 50, 70);//Adjust this to fit your shard.
            SetResistance(ResistanceType.Cold, 50);//Adjust this to fit your shard.
            SetResistance(ResistanceType.Poison, 90, 100);//Adjust this to fit your shard.
            SetResistance(ResistanceType.Energy, 40);//Adjust this to fit your shard.

            SetSkill(SkillName.Anatomy, 90.1, 100.0);//Adjust this to fit your shard.
            SetSkill(SkillName.EvalInt, 90.1, 100.0);//Adjust this to fit your shard.
            SetSkill(SkillName.Magery, 90.1, 100.0);//Adjust this to fit your shard.
            SetSkill(SkillName.Meditation, 90.1, 100.0);//Adjust this to fit your shard.
            SetSkill(SkillName.MagicResist, 100.0, 150.0);//Adjust this to fit your shard.
            SetSkill(SkillName.Tactics, 90.1, 100.0);//Adjust this to fit your shard.
            SetSkill(SkillName.Swords, 90.1, 100.0);//Adjust this to fit your shard.

            Fame = 8000;//Adjust this to fit your shard.
            Karma = -8000;//Adjust this to fit your shard.

            VirtualArmor = 35;//Adjust this to fit your shard. 

            Shoes Shoes = new Shoes();
            Shoes.Hue = 1150;
            AddItem(Shoes);

            PlainDress PlainDress = new PlainDress();
            PlainDress.Hue = 1150;
            AddItem(PlainDress);

            SkullCap SkullCap = new SkullCap();
            SkullCap.Hue = 1150;
            AddItem(SkullCap);
            
            m_Timer = new TeleportTimer(this);
            m_Timer.Start();
        }
		public Mother():base(AIType.AI_Melee, FightMode.None, 20, 1, 1.5, 3.0)
		{

			Name = "Debbie";
            Title = "Quest Giver";
            Body = 401;
			Female = true;
			SpeechHue = 6;
			CantWalk = true;
			Hue = 46;
			Blessed = true;

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

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

			VirtualArmor = 44; 

			Container pack = new Backpack();
			pack.Movable = false;
			AddItem( pack );
			
			Item PlainDress = new PlainDress();//Hue = 0xE6;
			PlainDress.Hue = 0xE6;
			PlainDress.Movable = false;
			AddItem( PlainDress );
			
			Item Sandals = new Sandals();
			Sandals.Hue = 0xE6;
			Sandals.Movable = false;
			AddItem( Sandals );
			
			Item hair = new Item( 0x203D );
			hair.Hue = 351;
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem( hair );
			
			Item ring = new GoldRing();
			ring.Name = "Wedding Ring";
			ring.Movable = false;
			AddItem( ring );
			
			}
Beispiel #3
0
 public override void InitOutfit()
 {
     Item item = null;
     item = AddRandomHair();
     item.Hue = Utility.RandomHairHue();
     item = new PlainDress();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new Shoes();
     item.Hue = Utility.RandomNeutralHue();
     AddItem( item );
     item = new HalfApron();
     item.Hue = 2301;
     AddItem( item );
 }
		public override void InitOutfit()
		{
			FloppyHat head = new FloppyHat();
			head.Hue = 1175;
			AddItem( head );
			PlainDress chest = new PlainDress();
			chest.Hue = 1175;
			AddItem( chest );
			AddItem( new GoldNecklace() );
			Spellbook lefthand = new Spellbook();
			lefthand.Hue = 1217;
			AddItem( lefthand );
			Sandals feet = new Sandals();
			feet.Hue = 1175;
			AddItem( feet );
		}
Beispiel #5
0
        public Commoner5()
            : base(AIType.AI_Melee, FightMode.None, 10, 1, 0.8, 3.0)
        {
            SetStr( 10, 30 );
            SetDex( 10, 30 );
            SetInt( 10, 30 );

            Fame = 50;
            Karma = 50;

            SetSkill( SkillName.Fishing, 60.0, 70.0 );
            SetSkill( SkillName.Cooking, 60.0, 70.0 );

            SpeechHue = Utility.RandomDyedHue();
            Title = string.Empty;//Commoner5.Titles[Utility.Random( 0, Titles.Length )];
            Hue = Utility.RandomSkinHue();
            if ( this.Female = Utility.RandomBool() )
            {
                this.Body = 0x191;
                this.Name = NameList.RandomName( "female" );
                Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2045, 0x204A, 0x2046 , 0x2049 ) );
                hair.Hue = Utility.RandomHairHue();
                hair.Layer = Layer.Hair;
                hair.Movable = false;
                AddItem( hair );
                Item hat = null;
                switch ( Utility.Random( 5 ) )//4 hats, one empty, for no hat
                {
                    case 0: hat = new FloppyHat( Utility.RandomNeutralHue() );		break;
                    case 1: hat = new FeatheredHat( Utility.RandomNeutralHue() );	break;
                    case 2: hat = new Bonnet();			break;
                    case 3: hat = new Cap( Utility.RandomNeutralHue() );			break;
                }
                AddItem( hat );
                Item pants = null;
                switch ( Utility.Random( 3 ) )
                {
                    case 0: pants = new ShortPants( GetRandomHue() );	break;
                    case 1: pants = new LongPants( GetRandomHue() );	break;
                    case 2: pants = new Skirt( GetRandomHue() );		break;
                }
                AddItem( pants );
                Item shirt = null;
                switch ( Utility.Random( 7 ) )
                {
                    case 0: shirt = new Doublet( GetRandomHue() );		break;
                    case 1: shirt = new Surcoat( GetRandomHue() );		break;
                    case 2: shirt = new Tunic( GetRandomHue() );		break;
                    case 3: shirt = new FancyDress( GetRandomHue() );	break;
                    case 4: shirt = new PlainDress( GetRandomHue() );	break;
                    case 5: shirt = new FancyShirt( GetRandomHue() );	break;
                    case 6: shirt = new Shirt( GetRandomHue() );		break;
                }
                AddItem( shirt );
            }
            else
            {
                this.Body = 0x190;
                this.Name = NameList.RandomName( "male" );
                Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2048 ) );
                hair.Hue = Utility.RandomHairHue();
                hair.Layer = Layer.Hair;
                hair.Movable = false;
                AddItem( hair );
                Item beard = new Item( Utility.RandomList( 0x0000, 0x203E, 0x203F, 0x2040, 0x2041, 0x2067, 0x2068, 0x2069 ) );
                beard.Hue = hair.Hue;
                beard.Layer = Layer.FacialHair;
                beard.Movable = false;
                AddItem( beard );
                Item hat = null;
                switch ( Utility.Random( 7 ) ) //6 hats, one empty, for no hat
                {
                    case 0: hat = new SkullCap( GetRandomHue() );					break;
                    case 1: hat = new Bandana( GetRandomHue() );					break;
                    case 2: hat = new WideBrimHat();								break;
                    case 3: hat = new TallStrawHat( Utility.RandomNeutralHue() );	break;
                    case 4: hat = new StrawHat( Utility.RandomNeutralHue() );		break;
                    case 5: hat = new TricorneHat( Utility.RandomNeutralHue() );	break;
                }
                AddItem( hat );
                Item pants = null;
                switch ( Utility.Random( 2 ) )
                {
                    case 0: pants = new ShortPants( GetRandomHue() );	break;
                    case 1: pants = new LongPants( GetRandomHue() );	break;
                }
                AddItem( pants );
                Item shirt = null;
                switch ( Utility.Random( 5 ) )
                {
                    case 0: shirt = new Doublet( GetRandomHue() );		break;
                    case 1: shirt = new Surcoat( GetRandomHue() );		break;
                    case 2: shirt = new Tunic( GetRandomHue() );		break;
                    case 3: shirt = new FancyShirt( GetRandomHue() );	break;
                    case 4: shirt = new Shirt( GetRandomHue() );		break;
                }
                AddItem( shirt );
            }

            Item feet = null;
            switch ( Utility.Random( 3 ) )
            {
                case 0: feet = new Boots( Utility.RandomNeutralHue() );	break;
                case 1: feet = new Shoes( Utility.RandomNeutralHue() );	break;
                case 2: feet = new Sandals( Utility.RandomNeutralHue() );		break;
            }
            AddItem( feet );
            Container pack = new Backpack();

            pack.DropItem( new Gold( 0, 50 ) );

            pack.Movable = false;

            AddItem( pack );
        }
		public Witch() : base( AIType.AI_Melee, FightMode.None, 10, 1, 0.2, 0.4 )
		{

            Name = "Agrona";
            Title = "the witch";
			Body = 401;

            SpeechHue = Utility.RandomDyedHue();
			Hue = 0x83EA;
            HairItemID = 0x2FCD;
            HairHue = 1153;

			caithsidhe = false;
			m_WitchBeginHour = 7;
			m_WitchEndHour = 20;

            this.SetStr(81, 105);
            this.SetDex(91, 115);
            this.SetInt(96, 120);

            this.SetHits(49, 63);

            this.SetDamage(5, 10);

            this.SetDamageType(ResistanceType.Physical, 100);

            this.SetResistance(ResistanceType.Physical, 15, 20);
            this.SetResistance(ResistanceType.Fire, 5, 10);
            this.SetResistance(ResistanceType.Poison, 5, 10);
            this.SetResistance(ResistanceType.Energy, 5, 10);

            this.SetSkill(SkillName.EvalInt, 75.1, 100.0);
            this.SetSkill(SkillName.Magery, 75.1, 100.0);
            this.SetSkill(SkillName.MagicResist, 75.0, 97.5);
            this.SetSkill(SkillName.Tactics, 65.0, 87.5);
            this.SetSkill(SkillName.Wrestling, 20.2, 60.0);

			Fame = 2500;
			Karma = -2500;

			VirtualArmor = 90;

			PlainDress dress = new PlainDress();
			dress.Hue = 1175;
			AddItem( dress );

			AddItem( new Sandals() );
            AddItem( new GnarledStaff());
		}
		public override void OnMovement( Mobile m, Point3D oldLocation )
		{
			base.OnMovement( m, oldLocation );
			int hours, minutes;

			Server.Items.Clock.GetTime( m.Map, m.X, m.Y, out hours, out minutes );

			if ( (m_ShowHours) && (m.AccessLevel > AccessLevel.Player) )
			{
				if (minutes > lastminute)
				{
					m.SendMessage( "Hour: "+hours+" Minute: "+minutes);
					lastminute = minutes;
				}
			}

			if ( ((hours >= m_WitchBeginHour) && (hours <= m_WitchEndHour)) )
			{
				if ( caithsidhe )
				{
                    if (this.Combatant != null)
                        return;

                    else
                    {

                        this.SetStr(81, 105);
                        this.SetDex(91, 115);
                        this.SetInt(96, 120);

                        this.SetHits(49, 63);

                        this.SetDamage(5, 10);

                        this.SetDamageType(ResistanceType.Physical, 100);

                        this.SetResistance(ResistanceType.Physical, 15, 20);
                        this.SetResistance(ResistanceType.Fire, 5, 10);
                        this.SetResistance(ResistanceType.Poison, 5, 10);
                        this.SetResistance(ResistanceType.Energy, 5, 10);

                        this.SetSkill(SkillName.EvalInt, 75.1, 100.0);
                        this.SetSkill(SkillName.Magery, 75.1, 100.0);
                        this.SetSkill(SkillName.MagicResist, 75.0, 97.5);
                        this.SetSkill(SkillName.Tactics, 65.0, 87.5);
                        this.SetSkill(SkillName.Wrestling, 20.2, 60.0);

                        this.Fame = 2500;
                        this.Karma = -2500;

                        this.Hue = 0x83EA;

                        this.Name = "Agrona";
                        this.Title = "the witch";
                        this.Body = 401;

                        this.HairItemID = 0x2FCD;
                        this.HairHue = 1153;

                        PlainDress dress = new PlainDress();
                        dress.Hue = 1175;
                        AddItem(dress);

                        AddItem(new Sandals());

                        AddItem(new GnarledStaff());

                        this.FightMode = FightMode.None;
                        this.Kills = 0;

                        caithsidhe = false;
                    }
				}
			}
			else
			{
				if ( !caithsidhe )
				{

                    UnEquip(this, Layer.Shoes);
                    UnEquip(this, Layer.OuterTorso);
                    UnEquip(this, Layer.TwoHanded);

                    this.Hue = 1175;
                    this.Name = "a caith sidhe";
                    this.Title = "";
                    this.Body = 201;

                    SetStr(476, 505);
                    SetDex(76, 95);
                    SetInt(301, 325);

                    SetHits(286, 303);

                    SetDamage(7, 14);

                    SetDamageType(ResistanceType.Physical, 100);

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

                    SetSkill(SkillName.EvalInt, 70.1, 80.0);
                    SetSkill(SkillName.Magery, 70.1, 80.0);
                    SetSkill(SkillName.MagicResist, 85.1, 95.0);
                    SetSkill(SkillName.Tactics, 70.1, 80.0);
                    SetSkill(SkillName.Wrestling, 60.1, 80.0);

                    Fame = 15000;
                    Karma = -15000;

					this.FightMode = FightMode.Closest;
					this.Kills = 10;

					caithsidhe = true;
				}
			}

      		  	if( m_Talked == false )
        	  	{
      		      		if ( m.InRange( this, 3 ) && m is PlayerMobile)
        			{
            				m_Talked = true;

            				if ( caithsidhe )
            				{
            					SayRandom( CaithSidheSay, this );
            				}
            				else
            				{
            					SayRandom( WitchSay, this );
            				}

           				this.Move( GetDirectionTo( m.Location ) );
             				SpamTimer t = new SpamTimer();
           				t.Start();
            			}
        	  	}
		}
		public AuroraSkycaller():base( AIType.AI_Mage, FightMode.Weakest, 10, 1, 0.15, 0.2 )
		{
			Body = 0x191;
			Hue = 0x3F6;
			Name = "Aurora Skycaller";
			Kills = 10;
			ShortTermMurders = 10;

			SetStr( 356, 396 );
			SetDex( 45, 55 );
			SetInt( 830, 953 );

			SetHits( 3500 );
			SetMana( 9000 );
			SetDamage( 25, 30 );

			SetSkill( SkillName.Wrestling, 111.3, 117.8 );
			SetSkill( SkillName.Tactics, 110.5, 117.0 );
			SetSkill( SkillName.MagicResist, 140.6, 156.8);
			SetSkill( SkillName.Magery, 97.7, 99.6 );
			SetSkill( SkillName.EvalInt, 95.1, 98.1 );
			SetSkill( SkillName.Meditation, 61.1, 70.1 );

			Fame = 25000;
			Karma = -25000;

			VirtualArmor = 5;

			Item GoldBracelet = new GoldBracelet();
			GoldBracelet.Movable=false;
			GoldBracelet.Hue=1165;
		        EquipItem( GoldBracelet );

                        Item FloppyHat = new FloppyHat();
			FloppyHat.Movable=false;
			FloppyHat.Hue=1157;
			EquipItem( FloppyHat );

			Item PlainDress = new PlainDress();
			PlainDress.Movable=false;
			PlainDress.Hue=1157;
			EquipItem( PlainDress );

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

                        Item Necklace = new Necklace();
			Necklace.Movable=false;
			Necklace.Hue=1165;
			EquipItem( Necklace );

			Item GoldRing = new GoldRing();
			GoldRing.Movable=false;
			GoldRing.Hue=1165;
			EquipItem( GoldRing );

			switch( Utility.Random(10) )
			{
				case 0: PackItem( new DarkIronWire() ); break;
			}

			PackGold( 3200, 4000 );
			PackArmor( 0, 5 );
			PackWeapon( 0, 5 );
			PackArmor( 0, 5 );
			PackWeapon( 0, 5 );
			PackArmor( 0, 5 );
			PackWeapon( 0, 5 );
			PackArmor( 0, 5 );
			PackWeapon( 0, 5 );
			PackArmor( 0, 5 );
			PackWeapon( 0, 5 );
		}
Beispiel #9
0
		public override void InitOutfit()
		{
			WipeLayers();
		
			if (this.Female)
			{
				
				Item hair = new Item(0x203C);
				Item dress = new PlainDress(0x1);
				//5% chance to drop black dress
				if ( Utility.RandomDouble() < 0.95 )
					dress.LootType = LootType.Newbied;

				if(Utility.RandomMinMax(0, 100) <= 20) //20% chance to have black hair
				{
					hair.Hue = 0x1;
				}
				else
					hair.Hue = Utility.RandomHairHue();

				hair.Layer = Layer.Hair;
				AddItem(hair);
				AddItem(dress);
			}
			else
			{
				Item hair2 = new Item(Utility.RandomList(0x203C,0x203B));
				Item pants = new LongPants(0x1);
				Item shirt = new FancyShirt();
				hair2.Hue = Utility.RandomHairHue();
				hair2.Layer = Layer.Hair;
				AddItem(hair2);
				//5% chance for black clothes
				if ( Utility.RandomDouble() < 0.95 )
					shirt.LootType = LootType.Newbied;
				if ( Utility.RandomDouble() < 0.95 )
					pants.LootType = LootType.Newbied;
				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);
			boots.LootType = LootType.Newbied; //no dropping the black sandals.
			AddItem(boots);			
		}
Beispiel #10
0
		private void CreateClassic()
		{
			m_MoveSound = 823;
			m_CaptureSound = 824;
			m_DeathSound = 814;

			m_Piece.Female = true;
			m_Piece.BodyValue = 0x191;

			if ( m_BChessboard.OverrideMinorHue )
				m_Piece.Hue = Hue;
			else
				m_Piece.Hue = m_BChessboard.SkinHue;
			m_Piece.AddItem( new LongHair( m_BChessboard.OverrideMinorHue ? Hue : m_BChessboard.HairHue ) );

			Item item = null;

			item = new PlainDress( Hue );
			m_Piece.AddItem( item );

			item = new Sandals( MinorHue );
			m_Piece.AddItem( item );

			item = new Scepter();
			item.Hue = MinorHue;
			m_Piece.AddItem( item );
		}
Beispiel #11
0
		public BloodStoneHighWitch() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = NameList.RandomName( "female" );
			Title = "the Blood Stone High Witch";
			Body = 0x0191;
			Hue = 0x0493;
			Female = true;
			SetStr( 200, 250 );
			SetDex( 100, 200 );
			SetInt( 300 );

			SetHits( 200, 250 );
			SetStam( 100, 200 );
			SetMana( 300 );
			SetDamage( 40, 50 );

			AddItem( new LongHair( Utility.RandomHairHue() ) );

			Item temp;
			temp = new PlainDress( 1 );
			temp.Movable = false;
			AddItem( temp );

			temp = new WizardsHat( 1 );
			temp.Movable = false;
			AddItem( temp );

			temp = new ThighBoots( 1 );
			temp.Movable = false;
			AddItem( temp );

			temp = new BlackStaff();
			AddItem( temp );
			//PackGold(200, 300);
			AddItem( new EyesOfNewt( Utility.RandomMinMax( 1, 5 ) ) );
			AddItem( new BatWing( 2 ) );
			PackPotion();
			PackPotion();

			SetSkill( SkillName.MagicResist, 90.0, 95.0 );
			SetSkill( SkillName.Magery, 200.0, 250.0 );
			SetSkill( SkillName.Macing, 75.0, 95.0 );
			SetSkill( SkillName.Tactics, 80.0, 90.0 );
			SetSkill( SkillName.Wrestling, 40.0, 55.0 );

			Fame = -2000;
			Karma = -6000;

			VirtualArmor = 55;

			PackItem( new Sandals() );
		}