Inheritance: BasePants
Beispiel #1
0
        public override void InitOutfit()
        {
            Item item = null;

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

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

            if (Female)
            {
                item = new Skirt();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
            else
            {
                item = new ShortPants();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }

            AddLoot(LootPack.Poor);
        }
Beispiel #2
0
 public override void InitOutfit()
 {
     if ( Female )
     {
         Item item = null;
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Skirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         LootPack.Poor.Generate( this );
     }
     else
     {
         Item item = null;
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new ShortPants();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
     }
 }
Beispiel #3
0
        public Bard()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Name = NameList.RandomName( Female ? "female" : "male" );
            Title = "the bard";
            Hue = Utility.RandomSkinHue();
            SetStr( 16, 30 );
            SetDex( 26, 40 );
            SetInt( 26, 40 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 15, 37.5 );
            SetSkill( SkillName.MagicResist, 15, 37.5 );
            SetSkill( SkillName.Parry, 15, 37.5 );
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );
            SetSkill( SkillName.Musicianship, 55, 77.5 );
            SetSkill( SkillName.Provocation, 55, 77.5 );
            SetSkill( SkillName.Discordance, 55, 77.5 );
            SetSkill( SkillName.Peacemaking, 55, 77.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new ShortPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                item = Loot.RandomInstrument();
                PackItem( item );
                PackGold( 15, 100 );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                item = Loot.RandomInstrument();
                PackItem( item );
                PackGold( 15, 100 );
            }
        }
 public override void InitOutfit()
 {
     Item item = null;
     if ( !Female )
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new ShortPants();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Shoes();
         item.Hue = Utility.RandomNeutralHue();
         AddItem( item );
         PackGold( 15, 100 );
     } else {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Skirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Shoes();
         item.Hue = Utility.RandomNeutralHue();
         AddItem( item );
         PackGold( 15, 100 );
     }
 }
Beispiel #5
0
        public Ranger()
            : base(AIType.AI_Archer, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 71, 85 );
            SetDex( 76, 90 );
            SetInt( 61, 75 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 65, 87.5 );
            SetSkill( SkillName.MagicResist, 65, 87.5 );
            SetSkill( SkillName.Parry, 65, 87.5 );
            SetSkill( SkillName.Swords, 35, 57.5 );
            SetSkill( SkillName.Macing, 35, 57.5 );
            SetSkill( SkillName.Fencing, 35, 57.5 );
            SetSkill( SkillName.Wrestling, 35, 57.5 );
            SetSkill( SkillName.Archery, 55, 77.5 );
            SetSkill( SkillName.Hiding, 45, 67.5 );
            SetSkill( SkillName.Camping, 55, 77.5 );
            SetSkill( SkillName.AnimalLore, 55, 77.5 );
            SetSkill( SkillName.Herding, 45, 67.5 );
            SetSkill( SkillName.Tracking, 45, 67.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = Utility.RandomGreenHue();
                AddItem( item );
                item = new ShortPants();
                item.Hue = 443;
                AddItem( item );
                PackGold( 15, 100 );
                item = new Bow();
                AddItem( item );
                item = new Arrow( Utility.RandomMinMax( 5, 25 ) );
                PackItem( item );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = Utility.RandomGreenHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = 443;
                AddItem( item );
                PackGold( 15, 100 );
                item = new Bow();
                AddItem( item );
                item = new Arrow( Utility.RandomMinMax( 5, 25 ) );
                PackItem( item );
            }
        }
        public BaseShieldGuard( Mobile target )
            : base(target)
        {
            Item item = null;

            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            SpeechHue = Utility.RandomDyedHue();
            Name = NameList.RandomName(Female ? "female" : "male");
            Hue = Utility.RandomSkinHue();
            Title = "the guard";

            BaseSoundID = 332;

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

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

            item = new PlateChest();
            AddItem(item);

            item = new PlateLegs();
            AddItem(item);

            item = new PlateArms();
            AddItem(item);

            item = new Tunic();
            AddItem(item);
            if ( Type == GuildType.Order )
                item.Hue = Utility.RandomBlueHue();
            else
                item.Hue = Utility.RandomRedHue();

            item = new VikingSword();
            AddItem(item);

            item = Shield;
            item.Movable = false;
            AddItem(item);

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

                item = new ShortPants();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
            else
            {
                item = new Skirt();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
        }
Beispiel #7
0
        public Sculpter()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the sculpter";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 16, 30 );
            SetDex( 26, 40 );
            SetInt( 21, 35 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 15, 37.5 );
            SetSkill( SkillName.MagicResist, 15, 37.5 );
            SetSkill( SkillName.Parry, 15, 37.5 );
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );
            SetSkill( SkillName.Anatomy, 25, 47.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new ShortPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                item = new HalfApron();
                item.Hue = 2301;
                AddItem( item );
                PackGold( 15, 100 );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                item = new HalfApron();
                item.Hue = 2301;
                AddItem( item );
                PackGold( 15, 100 );
            }
        }
		public EvilVampire () : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = NameList.RandomName( "male" );
			Body = 400;
			Title = "the Vampire Lord";

			BaseSoundID = 0x482;;
			Hue = 0;

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

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

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

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

			Fame = 20000;
			Karma = -10000;

			VirtualArmor = 90;

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

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

			AddItem( new PonyTail( Utility.RandomRedHue() ) );
		}
Beispiel #9
0
        public Sculptor()
            : base(AIType.AI_Melee, FightMode.Aggressor, 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(16, 30);
            SetDex(26, 40);
            SetInt(21, 35);
            Job = JobFragment.sculptor;
            Title = "the sculptor";

            BaseSoundID = 332;
            SetSkill(SkillName.Wrestling, 15, 37.5);
            SetSkill(SkillName.Fencing, 15, 37.5);
            SetSkill(SkillName.Macing, 15, 37.5);
            SetSkill(SkillName.Swords, 15, 37.5);
            SetSkill(SkillName.Parry, 15, 37.5);
            SetSkill(SkillName.Tactics, 15, 37.5);
            SetSkill(SkillName.MagicResist, 15, 37.5);
            SetSkill(SkillName.Anatomy, 25, 47.5);

            Item item = null;

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

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

            item = new Shoes();
            AddItem(item);
            item.Hue = Utility.RandomNeutralHue();

            item = new HalfApron();
            AddItem(item);
            item.Hue = 2301;

            PackGold(15, 100);

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

                item = new ShortPants();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
            else
            {
                item = new Skirt();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
        }
Beispiel #10
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);
		}
Beispiel #11
0
        public Miner()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the miner";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 66, 80 );
            SetDex( 51, 65 );
            SetInt( 41, 55 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Mining, 45, 67.5 );
            SetSkill( SkillName.Tactics, 35, 57.5 );
            SetSkill( SkillName.MagicResist, 35, 57.5 );
            SetSkill( SkillName.Parry, 35, 57.5 );
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = 946;
                AddItem( item );
                item = new ShortPants();
                item.Hue = Utility.RandomBlueHue();
                AddItem( item );
                item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
                item.Hue = 443;
                AddItem( item );
                item = new Pickaxe();
                AddItem( item );
                LootPack.Meager.Generate( this );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = 946;
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomBlueHue();
                AddItem( item );
                item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
                item.Hue = 443;
                AddItem( item );
                item = new Pickaxe();
                AddItem( item );
                LootPack.Meager.Generate( this );
            }
        }
Beispiel #12
0
        public Sailor()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the sailor";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 66, 80 );
            SetDex( 66, 80 );
            SetInt( 41, 55 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 45, 67.5 );
            SetSkill( SkillName.MagicResist, 45, 67.5 );
            SetSkill( SkillName.Parry, 45, 67.5 );
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = 2301;
                AddItem( item );
                item = new ShortPants();
                item.Hue = 2301;
                AddItem( item );
                item = new Cutlass();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                PackGold( 15, 100 );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = 2301;
                AddItem( item );
                item = new ShortPants();
                item.Hue = 2301;
                AddItem( item );
                item = new Cutlass();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                PackGold( 15, 100 );
            }
        }
Beispiel #13
0
        public Actor()
            : base(AIType.AI_Melee, FightMode.Aggressor, 12, 1, 0.5, 0.75)
        {
            Job = JobFragment.actor;
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 21, 35 );
            SetDex( 26, 40 );
            SetInt( 26, 40 );

            SetFameLevel( 1 );

            BaseSoundID = 332;
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Parry, 15, 37.5 );
            SetSkill( SkillName.Tactics, 15, 37.5 );
            SetSkill( SkillName.MagicResist, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );

            Item item = null;

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

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

            item = Utility.RandomBool() ? (Item)new Shoes() : (Item)new Sandals();
            AddItem( item );
            item.Hue = Utility.RandomNeutralHue();

            PackGold( 15, 100 );

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

                item = new ShortPants();
                AddItem( item );
                item.Hue = Utility.RandomNondyedHue();
                Title = "the actor";
            } else {
                item = new Skirt();
                AddItem( item );
                item.Hue = Utility.RandomNondyedHue();
                Title = "the actress";
            }
        }
Beispiel #14
0
        public HarborMaster()
            : base(AIType.AI_Melee, FightMode.Aggressor, 12, 1, 0.5, 0.75)
        {
            Title = "the harbor master";

            SetStr(86, 100);
            SetDex(66, 80);
            SetInt(71, 85);
            Hue = Utility.RandomSkinHue();
            SpeechHue = Utility.RandomDyedHue();

            Female = Utility.RandomBool();
            Body = 401;
            Name = NameList.RandomName(Female ? "female" : "male");
            Job = JobFragment.master;

            BaseSoundID = 332;
            SetSkill(SkillName.Swords, 15, 37.5);
            SetSkill(SkillName.Fencing, 15, 37.5);
            SetSkill(SkillName.Macing, 15, 37.5);
            SetSkill(SkillName.Parry, 55, 77.5);
            SetSkill(SkillName.Tactics, 45, 67.5);
            SetSkill(SkillName.MagicResist, 55, 77.5);
            SetSkill(SkillName.Wrestling, 15, 37.5);

            Item item = null;

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

            Utility.AssignRandomFacialHair(this, hairHue);

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

            item = new ShortPants();
            AddItem(item);
            item.Hue = Utility.RandomNondyedHue();

            item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
            AddItem(item);

            item = new QuarterStaff();
            AddItem(item);

            PackGold(15, 100);
        }
 public override void InitOutfit()
 {
     Item item = null;
     item = AddRandomHair();
     item.Hue = Utility.RandomHairHue();
     item = AddRandomFacialHair( item.Hue );
     item = new Shirt();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new ShortPants();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = Utility.RandomBool() ? (Item)new Shoes() : (Item)new Sandals();
     item.Hue = Utility.RandomNeutralHue();
     AddItem( item );
     PackGold( 15, 100 );
 }
Beispiel #16
0
 public override void InitOutfit()
 {
     Item item = null;
     if ( !Female )
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new ShortPants();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         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 );
         PackGold( 15, 100 );
     } else {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new Shirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Skirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         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 );
         PackGold( 15, 100 );
     }
 }
Beispiel #17
0
 public override void InitOutfit()
 {
     Item item = null;
     item = AddRandomHair();
     item.Hue = Utility.RandomHairHue();
     item = AddRandomFacialHair( item.Hue );
     item = new Shirt();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new ShortPants();
     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()
 {
     Item item = null;
     item = AddRandomHair();
     item.Hue = Utility.RandomHairHue();
     item = AddRandomFacialHair( item.Hue );
     item = new Shirt();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new ShortPants();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new Shoes();
     item.Hue = Utility.RandomNeutralHue();
     AddItem( item );
     item = Loot.RandomInstrument();
     PackItem( item );
     PackGold( 15, 100 );
 }
Beispiel #19
0
 public override void InitOutfit()
 {
     Item item = null;
     if ( !Female )
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new Shirt();
         item.Hue = 443;
         AddItem( item );
         item = new ShortPants();
         item.Hue = 2305;
         AddItem( item );
         item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
         AddItem( item );
         item = new SkinningKnife();
         AddItem( item );
         PackGold( 15, 100 );
         item = new SkinningKnife();
         AddItem( item );
     } else {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new Shirt();
         item.Hue = 443;
         AddItem( item );
         item = new Skirt();
         item.Hue = 2305;
         AddItem( item );
         item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
         AddItem( item );
         item = new SkinningKnife();
         AddItem( item );
         PackGold( 15, 100 );
         item = new SkinningKnife();
         AddItem( item );
     }
 }
Beispiel #20
0
        public override void InitOutfit()
        {
            SetStr( 36, 50 );
            SetDex( 31, 45 );
            SetInt( 36, 50 );
            Karma = Utility.RandomMinMax( -1, -10 );
            BaseSoundID = 342;

            if ( Female )
            {
                Title = "the bride";
                Item item = null;
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
            }
            else
            {
                Title = "the groom";
                Item item = null;
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new ShortPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
            }
        }
        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;
                }
                 }
        }
Beispiel #22
0
        public WarriorGuard(Mobile target)
            : base(target)
        {
            SpeechHue = Utility.RandomDyedHue();
            Hue = Utility.RandomSkinHue();
            Title = "the guard";

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

                switch (Utility.Random(2))
                {
                    case 0: AddItem(new LeatherSkirt()); break;
                    case 1: AddItem(new LeatherShorts()); break;
                }

                AddItem(new FemalePlateChest());
            }
            else
            {
                Body = 0x190;
                Name = NameList.RandomName("male");

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

                item = new ShortPants();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();

                item = new PlateChest();
                AddItem(item);

                item = new PlateLegs();
                AddItem(item);

                item = new PlateArms();
                AddItem(item);

                item = new Tunic();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
            Utility.AssignRandomHair(this);

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

            Halberd weapon = new Halberd();

            weapon.Movable = false;
            weapon.Quality = WeaponQuality.Exceptional;

            AddItem(weapon);

            Container pack = new Backpack();

            pack.Movable = false;

            pack.DropItem(new Gold(10, 25));

            AddItem(pack);
        }
Beispiel #23
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 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;
                }
                 }
        }
Beispiel #25
0
        public Gambler()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the gambler";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 31, 45 );
            SetDex( 51, 65 );
            SetInt( 56, 70 );
            Karma = Utility.RandomMinMax( 13, -45 );

            SetSkill( SkillName.Tactics, 25, 47.5 );
            SetSkill( SkillName.MagicResist, 25, 47.5 );
            SetSkill( SkillName.Parry, 25, 47.5 );
            SetSkill( SkillName.Swords, 15, 37.5 );
            SetSkill( SkillName.Macing, 15, 37.5 );
            SetSkill( SkillName.Fencing, 15, 37.5 );
            SetSkill( SkillName.Wrestling, 15, 37.5 );
            SetSkill( SkillName.ItemID, 35, 57.5 );
            SetSkill( SkillName.Snooping, 55, 77.5 );
            SetSkill( SkillName.Stealing, 35, 57.5 );
            SetSkill( SkillName.EvalInt, 45, 67.5 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new ShortPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                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 );
                item = new Dagger();
                AddItem( item );
                PackGold( 15, 100 );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                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 );
                item = new Dagger();
                AddItem( item );
                PackGold( 15, 100 );
            }
        }
 public override void InitOutfit()
 {
     Item item = null;
     item = AddRandomHair();
     item.Hue = Utility.RandomHairHue();
     item = AddRandomFacialHair( item.Hue );
     item = new Shirt();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new ShortPants();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
     AddItem( item );
     item = new QuarterStaff();
     AddItem( item );
     PackGold( 15, 100 );
     item = AddRandomHair();
     item.Hue = Utility.RandomHairHue();
     item = new Shirt();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = new ShortPants();
     item.Hue = Utility.RandomNondyedHue();
     AddItem( item );
     item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
     AddItem( item );
     item = new QuarterStaff();
     AddItem( item );
     PackGold( 15, 50 );
 }
Beispiel #27
0
		public override void OnResponse( NetState state, RelayInfo info )
		{
			Mobile from = state.Mobile;
			PlayerMobile player = from as PlayerMobile;

			switch( info.ButtonID )
			{
				case 0:
				{
                                        player.Profession = 3;
                                        player.Level = 1;
                                        player.Exp = 0;
                                        player.KillExp = 0;
                                        player.LevelAt = 200;

                                        from.BankBox.DropItem( new BankCheck( 500 ) );

                                        from.Str += 25;
                                        from.Dex += 20;
                                        from.Int += 5;

                                        from.Skills.ArmsLore.Base = 10;
                                        from.Skills.Blacksmith.Base = 50;
                                        from.Skills.Carpentry.Base = 25;
                                        from.Skills.Cooking.Base = 25;
                                        from.Skills.Fletching.Base = 25;
                                        from.Skills.Mining.Base = 50;
                                        from.Skills.Tailoring.Base = 25;
                                        from.Skills.Tinkering.Base = 25;

			                SkullCap hat = new SkullCap();
			                hat.Hue = 0;
			                hat.Identified = true;
			                from.AddToBackpack( hat );

			                FormalShirt shirt = new FormalShirt();
			                shirt.Hue = 0;
			                shirt.Identified = true;
			                from.AddToBackpack( shirt );

			                ShortPants pants = new ShortPants();
			                pants.Hue = 0;
			                pants.Identified = true;
			                from.AddToBackpack( pants );

			                HeavyBoots boots = new HeavyBoots();
			                boots.Hue = 0;
			                boots.Identified = true;
			                from.AddToBackpack( boots );

			                HalfApron apron = new HalfApron();
			                apron.Hue = 0;
			                apron.Identified = true;
			                from.AddToBackpack( apron );

			                FurCape cloak = new FurCape();
			                cloak.Hue = 0;
			                cloak.Identified = true;
			                from.AddToBackpack( cloak );

                                        from.AddToBackpack( new CrafterSkillGuide() );
                                        from.BankBox.DropItem( new BagOfComponents() );
                                        from.BankBox.DropItem( new BagOfTools() );
                                        from.BankBox.DropItem( new IronIngot( 200 ) );
                                        from.BankBox.DropItem( new MinersIngotPouch() );

		                        from.Map = Map.Malas;
                                        from.Location = new Point3D( 1670, 2008, 1 );
		                        from.PlaySound( 0x214 );
		                        from.FixedEffect( 0x376A, 10, 16 );

                                        World.Broadcast( 0x35, true, "Another has chosen thy path of the Crafter!" );
					from.CloseGump( typeof( CrafterClassGump ) );

					break;
				}
				case 1:
				{
					from.SendMessage( "You decide that the way of the Crafter is not in your best interests." );
					from.CloseGump( typeof( CrafterClassGump ) );

					break;
				}
			}
		}
public FriendlyPlayer() : base( AIType.AI_Melee, FightMode.Closest, 25, 1, 0.4, 0.3 ) 
		{ 
	
			SpeechHue = Utility.RandomDyedHue();

                 switch (Utility.Random(6))
                 {
                         case 0: Title = "[BEC]"; break;
                         case 1: Title = "[COOL]"; break;
                         case 2: Title = "[FUN]"; break;
                         case 3: Title = "[PYR]"; break;
                         case 4: Title = "[FRN]"; break;
                         case 5: Title = "[CRA]"; break;

                 } 
 
       	    SetStr(100, 200);
            SetDex(100, 200);
            SetInt(125, 200);
			ActiveSpeed = 0.2;
			PassiveSpeed = 0;

            SetHits(100, 400);

            SetDamage(10, 19);

            SetDamageType(ResistanceType.Physical, 120);

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

            SetSkill(SkillName.Swords, 79.0, 110.0);
            SetSkill(SkillName.Tactics, 79.0, 110.0);
            SetSkill(SkillName.MagicResist, 79.0, 110.0);
            SetSkill(SkillName.Tactics, 79.0, 110.0);
            SetSkill(SkillName.Parry, 79.0, 110.0);
            SetSkill(SkillName.Anatomy, 70.0, 110.0);
            SetSkill(SkillName.Healing, 70.0, 110.0);

            Fame = 1000;
            Karma = 10000;

            VirtualArmor = 50;

                           	 switch (Utility.Random(4))
                           	 {
                           	 	case 0: AddItem( new Longsword() ); break;
                           	 	case 1: AddItem( new Axe() ); break;
                           	 	case 2: AddItem( new Bardiche() ); break;
                           	 	case 3: AddItem( new Hatchet() ); break;
                            	} 


                           	 switch (Utility.Random(5))
                           	 {
                           	 	case 0: Item cloak = new Cloak();
						cloak.Movable = false;
						cloak.Hue = GetRandomHue();
						AddItem( cloak );
						break;
                           	 	case 1: Item shroud = new HoodedShroudOfShadows();
						shroud.Movable = false;
						shroud.Hue = GetRandomHue();
						AddItem( shroud );
						break;
                           	 	case 2: break;
                           	 	case 3: Item monkrobe = new MonkRobe();
						monkrobe.Movable = false;
						monkrobe.Hue = GetRandomHue();
						AddItem( monkrobe );
						break;
                           	 	case 4: break;
                            	} 


                           	 switch (Utility.Random(4))
                           	 {
                           	 	case 0: AddItem( new LongPants() ); break;
                           	 	case 1: Item LegsOfBane = new LeggingsOfBane();
						LegsOfBane.Hue = GetRandomHue();
                      				LegsOfBane.LootType = LootType.Newbied;
                      				LegsOfBane.Movable = false;
						AddItem( LegsOfBane );
						break;
					case 2: Item ShortPantss = new ShortPants();
						ShortPantss.Hue = GetRandomHue();
                      				ShortPantss.LootType = LootType.Newbied;
                      				ShortPantss.Movable = false;
						AddItem( ShortPantss );
						break;
					case 3: Item PlateLegsv = new PlateLegs();
						PlateLegsv.Hue = GetRandomHue();
                      				PlateLegsv.LootType = LootType.Newbied;
                      				PlateLegsv.Movable = false;
						AddItem( PlateLegsv );
						break;
                            	} 

                           	 switch (Utility.Random(5))
                           	 {
                           	 	case 0:	AddItem( new Boots() ); break;
                           	 	case 1: Item Sandals = new Sandals();
						Sandals.Hue = GetRandomHue();
                        			Sandals.LootType = LootType.Blessed;
                        			Sandals.Movable = false;
						AddItem( Sandals );
						break;
					case 2: Item Bootsv = new Boots();
						Bootsv.Hue = GetRandomHue();
                        			Bootsv.LootType = LootType.Blessed;
                        			Bootsv.Movable = false;
						AddItem( Bootsv );
						break;
					case 3: Item Shoesv = new Shoes();
						Shoesv.Hue = GetRandomHue();
                        			Shoesv.LootType = LootType.Blessed;
                        			Shoesv.Movable = false;
						AddItem( Shoesv );
						break;
					case 4: break;
                            	} 

                           	 switch (Utility.Random(6))
                           	 {
                           	 	case 0:	AddItem( new ClothNinjaHood(  ) ); break;
                           	 	case 1: Item SpiritOfTheTotem = new SpiritOfTheTotem();
						SpiritOfTheTotem.Hue = GetRandomHue();
						SpiritOfTheTotem.Movable = false;
                        			SpiritOfTheTotem.LootType = LootType.Blessed;
						AddItem( SpiritOfTheTotem );
						break;
                           	 	case 2:	Item BoneHelmv = new BoneHelm();
						BoneHelmv.Hue = GetRandomHue();
						BoneHelmv.Movable = false;
                        			BoneHelmv.LootType = LootType.Blessed;
						AddItem( BoneHelmv );
						break;
                           	 	case 3:	Item CloseHelmv = new CloseHelm();
						CloseHelmv.Hue = GetRandomHue();
						CloseHelmv.Movable = false;
                        			CloseHelmv.LootType = LootType.Blessed;
						AddItem( CloseHelmv );
						break;
					case 4: AddItem( new SkullCap( ) );break;
					case 5: Item TricorneHatv = new TricorneHat();
						TricorneHatv.Hue = GetRandomHue();
						TricorneHatv.Movable = false;
                        			TricorneHatv.LootType = LootType.Blessed;
						AddItem( TricorneHatv );
						break;
                            	} 

                           	 switch (Utility.Random(3))
                           	 {
                           	 	case 0:	Item LeatherGlovesv = new LeatherGloves();
						LeatherGlovesv.Hue = GetRandomHue();
						LeatherGlovesv.Movable = false;
                        			LeatherGlovesv.LootType = LootType.Blessed;
						AddItem( LeatherGlovesv );
						break;
                           	 	case 1: Item PlateGlovesv = new PlateGloves();
						PlateGlovesv.Hue = GetRandomHue();
						PlateGlovesv.Movable = false;
                        			PlateGlovesv.LootType = LootType.Blessed;
						AddItem( PlateGlovesv );
						break;
                           	 	case 2: AddItem( new RingmailGloves() ); break;
                            	} 


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


			}
			
			Utility.AssignRandomHair( this );

			for (int i = 0; i < 10; i++)
			{
				PackItem( new GreaterCurePotion() );
				PackItem( new GreaterHealPotion() );
				PackItem( new TotalRefreshPotion() );
			}

          		  PackItem(new Bandage(Utility.RandomMinMax(10, 100)));

			Horse ns = new Horse();
			ns.Controlled = true;
			ns.ControlMaster = this;
			ns.ControlOrder = OrderType.Stay;
			ns.Rider = this; 
}
        public BaseShieldGuard()
            : base(AIType.AI_Melee, FightMode.Agressor, 14, 1, 0.8, 1.6)
        {
            Job = JobFragment.guard;

            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 9000 );
            SetDex( 9000 );
            SetInt( 9000 );
            Karma = 100;

            SetSkill( SkillName.Tactics, 90.1, 100 );
            SetSkill( SkillName.MagicResist, 90.1, 100 );
            SetSkill( SkillName.Parry, 90.1, 100 );
            SetSkill( SkillName.Swords, 90.1, 100 );
            SetSkill( SkillName.Macing, 90.1, 100 );
            SetSkill( SkillName.Fencing, 90.1, 100 );
            SetSkill( SkillName.Wrestling, 90.1, 100 );
            SetSkill( SkillName.DetectHidden, 90.1, 100 );
            SetSkill( SkillName.Forensics, 90.1, 100 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new ShortPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new PlateChest();
                AddItem( item );
                item = new PlateLegs();
                AddItem( item );
                item = new PlateArms();
                AddItem( item );
                item = new Tunic();
                item.Hue = Utility.RandomRedHue();
                AddItem( item );
            }
            else
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new PlateChest();
                AddItem( item );
                item = new PlateLegs();
                AddItem( item );
                item = new PlateArms();
                AddItem( item );
                item = new Tunic();
                item.Hue = Utility.RandomRedHue();
                AddItem( item );
            }

            VikingSword weapon = new VikingSword();
            weapon.Movable = false;
            AddItem( weapon );

            BaseShield shield = Shield;
            shield.Movable = false;
            AddItem( shield );
            PackGold( 15, 100 );
        }
Beispiel #30
0
        /*public virtual void InitOutfit()
        {
            switch ( Utility.Random( 3 ) )
            {
                case 0: AddItem( new FancyShirt( GetRandomHue() ) ); break;
                case 1: AddItem( new Doublet( GetRandomHue() ) ); break;
                case 2: AddItem( new Shirt( GetRandomHue() ) ); break;
            }

            switch ( ShoeType )
            {
                case VendorShoeType.Shoes: AddItem( new Shoes( GetShoeHue() ) ); break;
                case VendorShoeType.Boots: AddItem( new Boots( GetShoeHue() ) ); break;
                case VendorShoeType.Sandals: AddItem( new Sandals( GetShoeHue() ) ); break;
                case VendorShoeType.ThighBoots: AddItem( new ThighBoots( GetShoeHue() ) ); break;
            }

            int hairHue = GetHairHue();

            Utility.AssignRandomHair( this, hairHue );
            Utility.AssignRandomFacialHair( this, hairHue );

            if ( Female )
            {
                switch ( Utility.Random( 6 ) )
                {
                    case 0: AddItem( new ShortPants( GetRandomHue() ) ); break;
                    case 1:
                    case 2: AddItem( new Kilt( GetRandomHue() ) ); break;
                    case 3:
                    case 4:
                    case 5: AddItem( new Skirt( GetRandomHue() ) ); break;
                }
            }
            else
            {
                switch ( Utility.Random( 2 ) )
                {
                    case 0: AddItem( new LongPants( GetRandomHue() ) ); break;
                    case 1: AddItem( new ShortPants( GetRandomHue() ) ); break;
                }
            }

            PackGold( 100, 200 );
        }*/
        public virtual void InitOutfit()
        {
            Item item = null;

            switch (ShoeType)
            {
                default:
                case VendorShoeType.Shoes: AddItem(new Shoes(GetShoeHue())); break;
                case VendorShoeType.Boots: AddItem(new Boots(GetShoeHue())); break;
                case VendorShoeType.Sandals: AddItem(new Sandals(GetShoeHue())); break;
                case VendorShoeType.ThighBoots: AddItem(new ThighBoots(GetShoeHue())); break;
            }

            int hairHue = GetHairHue();

            Utility.AssignRandomHair(this, hairHue);

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

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

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

            PackGold( 15, 100 );
        }
Beispiel #31
0
        public static Item GetRandomPants()
        {
            Item pants = null;

            switch ( Utility.Random( 2 ) )
            {
                case 0:
                    pants = new ShortPants( GetRandomHue() );
                    break;
                case 1:
                    pants = new LongPants( GetRandomHue() );
                    break;
            }

            return pants;
        }