Inheritance: BaseShirt
Exemplo n.º 1
0
		public UncleJohn()
		{
			Name = "Uncle John";
                        Title = "the farming fool";
			Body = 0x190;
			Hue = Utility.RandomSkinHue();

			Boots b = new Boots();
                        b.Hue = 1;
                        AddItem( b );

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

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

	                Pitchfork pf = new Pitchfork();
                        AddItem( pf );
                        
                        AddItem( new LongHair(1337));
                     

			
		}
Exemplo n.º 2
0
 public override void InitOutfit()
 {
     Item item = null;
     if ( !Female )
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new FancyShirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new LongPants();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = Utility.RandomBool() ? (Item)new Shoes() : (Item)new Sandals();
         item.Hue = Utility.RandomNeutralHue();
         AddItem( item );
         LootPack.Rich.Generate( this );
     } else {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new FancyShirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Skirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = Utility.RandomBool() ? (Item)new Shoes() : (Item)new Sandals();
         AddItem( item );
         LootPack.Rich.Generate( this );
     }
 }
Exemplo n.º 3
0
 public override void InitOutfit()
 {
     Item item = null;
     if ( !Female )
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new FancyShirt();
         item.Hue = Utility.RandomOrangeHue();
         AddItem( item );
         item = new LongPants();
         item.Hue = 2305;
         AddItem( item );
         item = new Shoes();
         item.Hue = Utility.RandomNeutralHue();
         AddItem( item );
         PackGold( 15, 100 );
     } else {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new FancyShirt();
         item.Hue = Utility.RandomOrangeHue();
         AddItem( item );
         item = new Skirt();
         item.Hue = 2305;
         AddItem( item );
         item = new Shoes();
         item.Hue = Utility.RandomNeutralHue();
         AddItem( item );
         PackGold( 15, 100 );
     }
 }
Exemplo n.º 4
0
		public RaresVendor() : base( "the custom provisioner" )
		{
            Item temp;
            temp = new Shoes();
            temp.Hue = 1953;
            temp.Movable = false;
            AddItem(temp);
            temp = new LongPants();
            temp.Hue = 01;
            temp.Movable = false;
            AddItem(temp);
            temp = new Doublet();
            temp.Hue = 1953;
            temp.Movable = false;
            AddItem(temp);
            temp = new FancyShirt();
            temp.Hue = 01;
            temp.Movable = false;
            AddItem(temp);
            temp = new FloppyHat();
            temp.Hue = 1953;
            temp.Movable = false;
            AddItem(temp);
            temp = new Cloak();
            temp.Hue = 1953;
            temp.Movable = false;
            AddItem(temp);
		}
Exemplo n.º 5
0
        public override void InitOutfit()
        {
            Item item = null;

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

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

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

            PackGold(15, 100);

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

                item = new LongPants();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
            else
            {
                item = new Skirt();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }
        }
Exemplo n.º 6
0
		public VampireCount() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "Vampire Count";
			Body = 0x0190;
			Hue = 0x497;

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

			SetHits( 50 );
			SetStam( 50 );

			SetDamage( 10, 20 );

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

			Fame = 0;

			VirtualArmor = 10;

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

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

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

            Spellbook book = new Spellbook();
            book.Content = ulong.MaxValue;
            book.LootType = LootType.Regular;
            AddItem(book);
		}
Exemplo n.º 7
0
        public BlackOrderGrandMage()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Black Order Grand Mage";
            Title = "of the Dragons's Flame Sect";
            Race = Utility.RandomBool() ? Race.Human : Race.Elf;
            Body = Race == Race.Elf ? 605 : 400;
            Hue = Utility.RandomSkinHue();

            Utility.AssignRandomHair( this );

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

            SetStr( 325, 375 );
            SetDex( 290, 310 );
            SetInt( 485, 505 );

            SetHits( 1900, 2100 );

            SetDamage( 16, 30 );

            SetDamageType( ResistanceType.Physical, 100 );

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

            Fame = 15000;
            Karma = -15000;

            SetSkill( SkillName.MagicResist, 120.0, 130.0 );
            SetSkill( SkillName.Tactics, 115.0, 130.0 );
            SetSkill( SkillName.Wrestling, 95.0, 120.0 );
            SetSkill( SkillName.Anatomy, 105.0, 120.0 );
            SetSkill( SkillName.Magery, 120.0, 130.0 );
            SetSkill( SkillName.EvalInt, 120.0, 130.0 );

            /* Equip */
            Item item = null;

            AddItem( new Waraji() );

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

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

            item = new Hakama();
            item.Hue = 1309;
            AddItem( item );
        }
Exemplo n.º 8
0
        public Mayor()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the mayor";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 36, 50 );
            SetDex( 36, 50 );
            SetInt( 51, 65 );
            Karma = Utility.RandomMinMax( 53, -5 );

            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 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new FancyShirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new LongPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
                AddItem( item );
                item = new BodySash();
                item.Hue = Utility.RandomRedHue();
                AddItem( item );
                LootPack.Rich.Generate( this );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new FancyShirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
                AddItem( item );
                item = new BodySash();
                item.Hue = Utility.RandomRedHue();
                AddItem( item );
                LootPack.Rich.Generate( this );
            }
        }
Exemplo n.º 9
0
		public father():base(AIType.AI_Melee, FightMode.None, 20, 1, 1.5, 3.0)
		{

			Name = "Gary";
			Body = 400;
			SpeechHue = 9;
			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 Boots = new Boots();
			Boots.Hue = 351;
			Boots.Name = "Work Boots";
			Boots.Movable = false;
			AddItem( Boots );
			
			Item LongPants = new LongPants();
			LongPants.Hue = 1282;
      	    LongPants.Name = "Wrangler Jeans";
			LongPants.Movable = false;
			AddItem( LongPants );
			
			Item FancyShirt = new FancyShirt();
			FancyShirt.Hue = 1321;
      	    FancyShirt.Name = "Flannel Button-Up Shirt";
			FancyShirt.Movable = false;
			AddItem( FancyShirt );
			
			Item hair = new Item( 0x203B );
			hair.Hue = 1836;
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem( hair );
			
			Item ring = new GoldRing();
			ring.Name = "Wedding Ring";
			ring.Movable = false;
			AddItem( ring );
			
			}
Exemplo n.º 10
0
		public Finlor()
		{
			Name = "Finlor";
                        Title = "the Sea Captain";
			Body = 0x190;
			Hue = Utility.RandomSkinHue();
			Blessed = true;
			CantWalk = true;
			Direction = Direction.South;

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

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

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

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

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

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

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

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

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

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

			GoldRing gr = new GoldRing();
			AddItem( gr );			
                        
                        AddItem( new PonyTail(1149));
                     
			AddItem( new Vandyke(1149));
			
		}
Exemplo n.º 11
0
        public Prisoner()
            : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body = Female ? 401 : 400;
            Title = "the peasant";
            Name = NameList.RandomName( Female ? "female" : "male" );
            Hue = Utility.RandomSkinHue();
            SetStr( 11, 25 );
            SetDex( 11, 25 );
            SetInt( 31, 45 );
            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 );

            Item item = null;
            if ( !Female )
            {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = AddRandomFacialHair( item.Hue );
                item = new FancyShirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new LongPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                LootPack.Poor.Generate( this );
            } else {
                item = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item = new FancyShirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem( item );
                item = new Shoes();
                item.Hue = Utility.RandomNeutralHue();
                AddItem( item );
                LootPack.Poor.Generate( this );
            }
        }
Exemplo n.º 12
0
        public LordSanta()
        {
            Name = "Lord Santa";
                        Title = "the Ruler of the green dudes";
            Body = 0x190;
            CantWalk = true;
            Hue = Utility.RandomSkinHue();

            Item Boots = new Boots();
            Boots.Hue = 33;
              	    Boots.Name = "Santa Boots";
            Boots.Movable = false;
            AddItem( Boots );

            Item Doublet = new Doublet();
            Doublet.Hue = 33;
              	    Doublet.Name = "Santa's Doublet";
            Doublet.Movable = false;
            AddItem( Doublet );

            Item FancyShirt = new FancyShirt();
            FancyShirt.Hue = 33;
              	    FancyShirt.Name = "Santa's Shirt";
            FancyShirt.Movable = false;
            AddItem( FancyShirt );

            Item LongPants = new LongPants();
            LongPants.Hue = 33;
              	    LongPants.Name = "Santa's Pants";
            LongPants.Movable = false;
            AddItem( LongPants );

            Item WizardsHat = new WizardsHat();
            WizardsHat.Hue = 33;
              	    WizardsHat.Name = "Santa's Hat";
            WizardsHat.Movable = false;
            AddItem( WizardsHat );

                        int hairHue = 1153;

            switch ( Utility.Random( 1 ) )
            {
                case 0: AddItem( new LongHair( hairHue ) ); break;
                case 1: AddItem( new LongBeard( hairHue ) ); break;
            }

            Blessed = true;
        }
Exemplo n.º 13
0
        public VelaTheSorceress()
            : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2)
        {
            Name = "Vela";
            Title = "the sorceress";

            SetStr(110);
            SetDex(100);
            SetInt(1000);

            Hue = Utility.RandomSkinHue();
            Body = 0x191;
            HairItemID = 0x203C;
            HairHue = 0x46D;

            Item item = new FancyShirt();
            item.Hue = 1150;
            AddItem(item);

            item = new LongPants();
            item.Hue = 108;
            AddItem(item);

            item = new Shoes();
            item.Hue = 108;
            AddItem(item);

            item = new BraceletOfProtection();
            item.Movable = false;
            PackItem(item);

            item = new Hephaestus();
            item.Movable = false;
            PackItem(item);

            item = new GargishHephaestus();
            item.Movable = false;
            PackItem(item);

            item = new BlightOfTheTundra();
            item.Movable = false;
            PackItem(item);

            item = new GargishBlightOfTheTundra();
            item.Movable = false;
            PackItem(item);
        }
Exemplo n.º 14
0
		public Barthus()
		{
			Name = "Barthus";
                        Title = "the Shipmate";
			Body = 0x190;
			Hue = Utility.RandomSkinHue();
			Blessed = true;
			CantWalk = true;
			Direction = Direction.South;

			Boots bt = new Boots();
                        bt.Hue = 0;
                        AddItem( bt );

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

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

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

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

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

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

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

			GoldRing gr = new GoldRing();
			AddItem( gr );			
                        
                        AddItem( new PonyTail(1149));
                     
			AddItem( new Vandyke(1149));
			
		}
Exemplo n.º 15
0
 public override void InitOutfit()
 {
     Item item = null;
     if ( !Female )
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = AddRandomFacialHair( item.Hue );
         item = new FancyShirt();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new LongPants();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new Cloak();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new BodySash();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
         AddItem( item );
         item = new Longsword();
         AddItem( item );
         PackGold( 100, 150 );
     }
     else
     {
         item = AddRandomHair();
         item.Hue = Utility.RandomHairHue();
         item = new FancyDress();
         item.Hue = Utility.RandomNeutralHue();
         AddItem( item );
         item = new Cloak();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = new BodySash();
         item.Hue = Utility.RandomNondyedHue();
         AddItem( item );
         item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots();
         AddItem( item );
         item = new Longsword();
         AddItem( item );
         PackGold( 100, 150 );
     }
 }
Exemplo n.º 16
0
		public FarmerJones()
		{
			Name = "Jones";
                        Title = "the Farmer";
			Body = 0x190;
			CantWalk = true;
			Hue = Utility.RandomSkinHue();

			Item Boots = new Boots();
			Boots.Hue = 2829;
      	    Boots.Name = "Non-Leather Boots";
			Boots.Movable = false;
			AddItem( Boots ); 

			Item FancyShirt = new FancyShirt();
			FancyShirt.Hue = 2829;
      	    FancyShirt.Name = "Shirt";
			FancyShirt.Movable = false;
			AddItem( FancyShirt ); 

			Item LongPants = new LongPants();
			LongPants.Hue = 847;
      	    LongPants.Name = "Pants";
			LongPants.Movable = false;
			AddItem( LongPants ); 

			Item Pitchfork = new Pitchfork();
			//Cloak.Hue = 1267;
      	    Pitchfork.Name = "Farm Tool";
			Pitchfork.Movable = false;
			AddItem( Pitchfork ); 




                        int hairHue = 1814;

			switch ( Utility.Random( 1 ) )
			{
				case 0: AddItem( new PonyTail( hairHue ) ); break;
				case 1: AddItem( new Goatee( hairHue ) ); break;
			} 
			
			Blessed = true;
			
			}
Exemplo n.º 17
0
		public Pilock()
		{
			Name = "Pilock";
            Title = "the farmer";
			Body = 0x190;
			CantWalk = true;
			Hue = Utility.RandomSkinHue();

			Item Boots = new Boots();
			Boots.Hue = 2112;
      	    Boots.Name = "Farming Boots";
			Boots.Movable = false;
			AddItem( Boots ); 

			Item FancyShirt = new FancyShirt();
			FancyShirt.Hue = 1267;
      	    FancyShirt.Name = "Farming Shirt";
			FancyShirt.Movable = false;
			AddItem( FancyShirt ); 

			Item LongPants = new LongPants();
			LongPants.Hue = 847;
      	    LongPants.Name = "Farming Pants";
			LongPants.Movable = false;
			AddItem( LongPants ); 

			Item Cloak = new Cloak();
			Cloak.Hue = 1267;
      	    Cloak.Name = "Farming Cloak";
			Cloak.Movable = false;
			AddItem( Cloak ); 




                        int hairHue = 1814;

			switch ( Utility.Random( 1 ) )
			{
				case 0: AddItem( new PonyTail( hairHue ) ); break;
				case 1: AddItem( new Goatee( hairHue ) ); break;
			} 
			
			Blessed = true;
			
			}
		public virtual void InitOutfit()
		{
			Item item = new FancyShirt( Utility.RandomNeutralHue() );
			item.Layer = Layer.InnerTorso;
			AddItem( item );
			AddItem( new LongPants( Utility.RandomNeutralHue() ) );
			AddItem( new BodySash( Utility.RandomNeutralHue() ) );
			AddItem( new Boots( Utility.RandomNeutralHue() ) );
			AddItem( new Cloak( Utility.RandomNeutralHue() ) );

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

			Container pack = new VendorBackpack();
			pack.Movable = false;
			AddItem( pack );
		}
		public MonsterContractDealer()
		{
			Name = "Rio";
           	Title = "The Contract Dealer";
			Body = 0x190;
			CantWalk = true;
			Hue = Utility.RandomSkinHue();
			
			AddItem( ItemSet( new Cloak() ) );
			AddItem( ItemSet( new Robe() ) );
			AddItem( ItemSet1( new ShepherdsCrook() ) );

			Item Boots = new Boots();
			Boots.Hue = 2112;
      	    Boots.Name = "Non-Leather Boots";
			Boots.Movable = false;
			AddItem( Boots ); 

			Item FancyShirt = new FancyShirt();
			FancyShirt.Hue = 1267;
      	    FancyShirt.Name = "Shirt";
			FancyShirt.Movable = false;
			AddItem( FancyShirt ); 

			Item LongPants = new LongPants();
			LongPants.Hue = 847;
      	    LongPants.Name = "Pants";
			LongPants.Movable = false;
			AddItem( LongPants ); 

            int hairHue = 1814;

			switch ( Utility.Random( 1 ) )
			{
				case 0: AddItem( new PonyTail( hairHue ) ); break;
				case 1: AddItem( new Goatee( hairHue ) ); break;
			} 
			
			Blessed = true;
			
			}
Exemplo n.º 20
0
        public override void InitBody()
        {
            InitStats(100, 100, 25);
            Female = false;
            Race = Race.Human;

            Hue = Race.RandomSkinHue();
            Race.RandomHair(this);
            HairHue = Race.RandomHairHue();

            Item fancyShirt = new FancyShirt();
            Item shirt = new Shirt(PirateCaptain.GetRandomShirtHue());
            shirt.Layer = Layer.OuterTorso;

            AddItem(new Cloak(5));
            AddItem(new Cutlass());
            AddItem(shirt);
            AddItem(fancyShirt);
            AddItem(new LongPants());
            AddItem(new Boots());

            m_NextSay = DateTime.UtcNow;
        }
Exemplo n.º 21
0
		public GrandpaTam()
		{
			Name = "Grandpa Tam";
                        Title = "the old coot";
			Body = 0x190;
			Hue = Utility.RandomSkinHue();
            Blessed = true;
			Boots b = new Boots();
                        b.Hue = 1;
                        AddItem( b );

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

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

                        AddItem( new LongHair(1150));

			
		}
Exemplo n.º 22
0
		public AEvilElf() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "An Evil Elf";
			Body = 400;
			BaseSoundID = 357;

			SetStr( 80, 110 );
			SetDex( 80, 90 );
			SetInt( 80, 90 );

			SetHits( 200 );

			SetDamage( 5, 20 );

			SetDamageType( ResistanceType.Physical, 50 );
			SetDamageType( ResistanceType.Fire, 25 );
			SetDamageType( ResistanceType.Energy, 25 );

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

			SetSkill( SkillName.Anatomy, 90 );
			SetSkill( SkillName.EvalInt, 50.1, 70.0 );
			SetSkill( SkillName.Magery, 50.5, 70.0 );
			SetSkill( SkillName.Meditation, 60 );
			SetSkill( SkillName.MagicResist, 40.5, 50.0 );
			SetSkill( SkillName.Tactics, 60.1, 60.0 );
			SetSkill( SkillName.Wrestling, 60.1, 60.0 );

			Fame = 24000;
			Karma = -24000;

			Kills = 10;

			Hue = 0;

			VirtualArmor = 12;

			Item Boots = new Boots();
			Boots.Hue = 1369;
      	    Boots.Name = "Elf Boots";
			Boots.Movable = false;
			AddItem( Boots ); 

			Item Doublet = new Doublet();
			Doublet.Hue = 1369;
      	    Doublet.Name = "Elf's Doublet";
			Doublet.Movable = false;
			AddItem( Doublet ); 

			Item FancyShirt = new FancyShirt();
			FancyShirt.Hue = 1369;
      	    FancyShirt.Name = "Elf's Shirt";
			FancyShirt.Movable = false;
			AddItem( FancyShirt ); 

			Item LongPants = new LongPants();
			LongPants.Hue = 1369;
      	    LongPants.Name = "Elf's Pants";
			LongPants.Movable = false;
			AddItem( LongPants ); 


 			PackItem( new YellowSnow() );


		}
Exemplo n.º 23
0
		public virtual void InitOutfit()
		{
			Item item = new FancyShirt( Utility.RandomNeutralHue() );
			item.Layer = Layer.InnerTorso;
			AddItem( item );
			AddItem( new LongPants( Utility.RandomNeutralHue() ) );
			AddItem( new BodySash( Utility.RandomNeutralHue() ) );
			AddItem( new Boots( Utility.RandomNeutralHue() ) );
			AddItem( new Cloak( Utility.RandomNeutralHue() ) );

			Utility.AssignRandomHair( this );

			Container pack = new VendorBackpack();
			pack.Movable = false;
			AddItem( pack );
		}
Exemplo n.º 24
0
        public static void EquipTyrean(Armament a, Mobile m)
        {
            if (a == Armament.LightCavalry)
                a = (Armament)1;
            else if (a == Armament.HeavyCavalry)
                a = (Armament)3;

            Surcoat coat = new Surcoat();
            coat.ItemID = 15477;
            coat.Name = "A Surcoat of the Jarlsgaard";
            coat.Hue = 2741;
            m.EquipItem(coat);

            switch (a)
            {
                case Armament.Light:
                    {
                        StuddedChest lc = new StuddedChest();
                        lc.Resource = CraftResource.BeastLeather;
                        lc.Hue = 1899;
                        m.EquipItem(lc);

                        StuddedLegs ll = new StuddedLegs();
                        ll.Resource = CraftResource.BeastLeather;
                        ll.Hue = 1899;
                        m.EquipItem(ll);

                        StuddedArms la = new StuddedArms();
                        la.Resource = CraftResource.BeastLeather;
                        la.Hue = 1899;
                        m.EquipItem(ll);

                        StuddedGloves lg = new StuddedGloves();
                        lg.Resource = CraftResource.BeastLeather;
                        lg.Hue = 1899;
                        m.EquipItem(lg);

                        StuddedGorget lo = new StuddedGorget();
                        lo.Resource = CraftResource.BeastLeather;
                        lo.Hue = 1899;
                        m.EquipItem(lo);

                        BearMask mask = new BearMask();
                        mask.Hue = 1899;
                        m.EquipItem(mask);

                        FurBoots boots = new FurBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2741;
                        m.EquipItem(boots);

                        TyreanThrowingAxe tta = new TyreanThrowingAxe();
                        tta.Resource = CraftResource.Bronze;
                        m.EquipItem(tta);

                        LeatherShield ls = new LeatherShield();
                        ls.Resource = CraftResource.Yew;
                        m.EquipItem(ls);

                        break;
                    }
                case Armament.Medium:
                    {
                        ChainChest cc = new ChainChest();
                        cc.Resource = CraftResource.Bronze;
                        cc.Hue = 1899;
                        m.EquipItem(cc);

                        ChainLegs cl = new ChainLegs();
                        cl.Resource = CraftResource.Bronze;
                        cl.Hue = 1899;
                        m.EquipItem(cl);

                        RingmailArms ra = new RingmailArms();
                        ra.Resource = CraftResource.Bronze;
                        ra.Hue = 1899;
                        m.EquipItem(ra);

                        RingmailGloves rg = new RingmailGloves();
                        rg.Resource = CraftResource.Bronze;
                        rg.Hue = 1899;
                        m.EquipItem(rg);

                        TyreanHornedHelm thh = new TyreanHornedHelm();
                        thh.Resource = CraftResource.Bronze;
                        thh.Hue = 1899;
                        m.EquipItem(thh);

                        FurBoots boots = new FurBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2741;
                        m.EquipItem(boots);

                        bool WeaponChance = Utility.RandomBool();

                        if (WeaponChance)
                        {
                            TyreanHarpoon weapon = new TyreanHarpoon();
                            weapon.Resource = CraftResource.Bronze;

                            m.EquipItem(weapon);
                        }

                        else
                        {
                            TyreanBattleAxe weapon = new TyreanBattleAxe();
                            weapon.Resource = CraftResource.Bronze;

                            m.EquipItem(weapon);
                        }

                        break;
                    }
                case Armament.Heavy:
                    {
                        TyreanHalfPlateChest thpc = new TyreanHalfPlateChest();
                        thpc.Resource = CraftResource.Bronze;
                        thpc.Hue = 1899;
                        m.EquipItem(thpc);

                        TyreanHalfPlateLegs thpl = new TyreanHalfPlateLegs();
                        thpl.Resource = CraftResource.Bronze;
                        thpl.Hue = 1899;
                        m.EquipItem(thpl);

                        TyreanHalfPlateSabatons thps = new TyreanHalfPlateSabatons();
                        thps.Resource = CraftResource.Bronze;
                        thps.Hue = 1899;
                        m.EquipItem(thps);

                        TyreanHalfPlateArms thpa = new TyreanHalfPlateArms();
                        thpa.Resource = CraftResource.Bronze;
                        thpa.Hue = 1899;
                        m.EquipItem(thpa);

                        TyreanHalfPlateGloves thpg = new TyreanHalfPlateGloves();
                        thpg.Resource = CraftResource.Bronze;
                        thpg.Hue = 1899;
                        m.EquipItem(thpg);

                        TyreanHalfPlateGorget thpo = new TyreanHalfPlateGorget();
                        thpo.Resource = CraftResource.Bronze;
                        thpo.Hue = 1899;
                        m.EquipItem(thpo);

                        TyreanKiteShield tks = new TyreanKiteShield();
                        tks.Resource = CraftResource.Bronze;
                        tks.Hue = 1899;
                        m.EquipItem(tks);

                        m.EquipItem(new Cloak(1445));

                        TyreanWingedHelm twh = new TyreanWingedHelm();
                        twh.Resource = CraftResource.Bronze;
                        twh.Hue = 1899;
                        m.EquipItem(twh);

                        bool WeaponChance = Utility.RandomBool();
                        if (WeaponChance)
                        {
                            TyreanWarAxe axe = new TyreanWarAxe();
                            axe.Resource = CraftResource.Bronze;

                            m.EquipItem(axe);
                        }

                        else
                        {
                            TyreanOrnateAxe axe = new TyreanOrnateAxe();
                            axe.Resource = CraftResource.Bronze;

                            m.EquipItem(axe);
                        }

                        break;
                    }
                case Armament.Ranged:
                    {
                        FancyShirt shirt = new FancyShirt();
                        shirt.Resource = CraftResource.Wool;
                        shirt.Hue = 1899;
                        m.EquipItem(shirt);

                        LeatherChest lc = new LeatherChest();
                        lc.Resource = CraftResource.BeastLeather;
                        lc.Hue = 1899;
                        m.EquipItem(lc);

                        LeatherLegs ll = new LeatherLegs();
                        ll.Resource = CraftResource.BeastLeather;
                        ll.Hue = 1899;
                        m.EquipItem(ll);

                        LeatherGloves lg = new LeatherGloves();
                        lg.Resource = CraftResource.BeastLeather;
                        lg.Hue = 1899;
                        m.EquipItem(lg);

                        FurBoots boots = new FurBoots();
                        boots.Resource = CraftResource.BeastLeather;
                        boots.Hue = 2741;
                        m.EquipItem(boots);

                        m.EquipItem(new Cloak(1445));

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

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

                        break;
                    }
            }
        }
Exemplo n.º 25
0
		public ManOfSin() : base( AIType.AI_Melee, FightMode.None, 10, 1, 0.2, 0.4 )
		{
			Title = "Power Of Darkness";
			Name = "Lucifer";
			Body = 0x190;
			BaseSoundID = 0x165;
			Hue = 1194;
			
			Item BoneGloves = new BoneGloves();
			BoneGloves.Hue = 1194;
			BoneGloves.LootType = LootType.Blessed;
			BoneGloves.Movable = false;
			AddItem( BoneGloves );
			
			Item BoneChest = new BoneChest();
			BoneChest.Hue = 1194;
			BoneChest.LootType = LootType.Blessed;
			BoneChest.Movable = false;
			AddItem( BoneChest );
			
			Item BoneArms = new BoneArms();
			BoneArms.Hue = 1194;
			BoneArms.LootType = LootType.Blessed;
			BoneArms.Movable = false;
			AddItem( BoneArms );
			
			Item BoneHelm = new BoneHelm();
			BoneHelm.Hue = 1194;
			BoneHelm.LootType = LootType.Blessed;
			BoneHelm.Movable = false;
			AddItem( BoneHelm );
			
			Item LongPants = new LongPants();
			LongPants.Hue = 1194;
			LongPants.LootType = LootType.Blessed;
			LongPants.Movable = false;
			AddItem( LongPants );
			
			Item FancyShirt = new FancyShirt();
			FancyShirt.Hue = 1194;
			FancyShirt.LootType = LootType.Blessed;
			FancyShirt.Movable = false;
			AddItem( FancyShirt );
			
			Item Boots = new Boots();
			Boots.Hue = 1;
			Boots.LootType = LootType.Blessed;
			Boots.Movable = false;
			AddItem( Boots ); 
			
			Item DeathAxe = new DeathAxe();
			DeathAxe.Hue = 1194;
			DeathAxe.LootType = LootType.Blessed;
			DeathAxe.Movable = false;
			AddItem( DeathAxe );
			
			SetStr( 300, 450 );
			SetDex( 150, 300 );
			SetInt( 420, 420 );
			
			SetHits( 10000, 15000 );
			
			SetDamage( 20, 28 );
			
			SetDamageType( ResistanceType.Physical, 100 );
			SetDamageType( ResistanceType.Cold, 100 );
			SetDamageType( ResistanceType.Fire, 100 );
			SetDamageType( ResistanceType.Energy, 100 );
			SetDamageType( ResistanceType.Poison, 100 );
			
			SetResistance( ResistanceType.Physical, 100 );
			SetResistance( ResistanceType.Cold, 100 );
			SetResistance( ResistanceType.Fire, 100 );
			SetResistance( ResistanceType.Energy, 100 );
			SetResistance( ResistanceType.Poison, 100 );

			SetSkill( SkillName.Anatomy,  99.0, 100.0 );
			SetSkill( SkillName.EvalInt,  99.0, 100.0 );
			SetSkill( SkillName.Magery,  99.0, 100.0 );
			SetSkill( SkillName.MagicResist,  99.0, 100.0 );
			SetSkill( SkillName.Swords, 99.0, 100.0 );
			SetSkill( SkillName.Tactics, 99.0, 100.0 );
			SetSkill( SkillName.Lumberjacking, 99.0, 100.0 );

			Fame = -15000;
			Karma = -15000;

			VirtualArmor = 35;


			PackItem( new Gold( 50, 60 ) );

			new SkeletalMount().Rider = this;

		}
Exemplo n.º 26
0
        public UndeadArcherPirate()
            : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.175, 0.2)
        {
            Title = "the unrested pirate";
            Body = Utility.RandomList(400, 50, 3);
            Team = 1;
            Kills = 10;
            Hue = 0;
            SpeechHue=1153;
            this.Body = 0x190;
            this.Name = NameList.RandomName( "male" );
            SetStr( 60, 85 );
            SetDex( 50, 70 );
            SetInt( 10, 20 );
            SetDamage( 5, 7 );

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

            Fame = 2500;
            Karma = -2500;

            VirtualArmor = 0;

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

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

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

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

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

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

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

                    switch ( Utility.Random( 3 ) )
                 {
               			case 0:
                {
                Item Bandana = new Bandana();
                Bandana.Hue = Utility.RandomBirdHue();
                EquipItem( Bandana );
                break;
                }
                case 1:
                {
                Item skullcap = new SkullCap();
                skullcap.Hue = Utility.RandomBirdHue();
                EquipItem( skullcap );
                break;
                }
                case 3:
                {
                break;
                }
                 }
        }
Exemplo n.º 27
0
        public UndeadSwordPirateSTR()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.175, 0.2)
        {
            Title = "the unrested pirate";
            Body = 400;
            Team = 1;
            Kills = 10;
            Hue = Utility.RandomSkinHue();
            SpeechHue=1153;
            this.Body = 0x190;
            this.Name = NameList.RandomName( "male" );
                    SetStr( 90, 100 );
            SetDex( 85, 100 );
            SetInt( 10, 20 );

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

            Fame = 4500;
            Karma = -4500;

            VirtualArmor = 0;

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

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

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

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

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

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

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

                    switch ( Utility.Random( 3 ) )
                 {
               			case 0:
                {
                Item Bandana = new Bandana();
                Bandana.Hue = Utility.RandomBirdHue();
                EquipItem( Bandana );
                break;
                }
                case 1:
                {
                Item skullcap = new SkullCap();
                skullcap.Hue = Utility.RandomBirdHue();
                EquipItem( skullcap );
                break;
                }
                case 3:
                {
                break;
                }
                 }
        }
Exemplo n.º 28
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 );
        }
Exemplo n.º 29
0
		public Rackham() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "Rackham";
                        Title = "the Bloody Pirate";
			Body = 0x190;
			Hue = Utility.RandomSkinHue();
			
			ThighBoots tb = new ThighBoots();
                        tb.Hue = 0;
                        AddItem( tb );

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

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

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

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

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

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

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

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

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

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

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

			SetDamage( 20, 28 );

			SetDamageType( ResistanceType.Physical, 100 );

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

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

			Fame = 9900;
			Karma = -9900;

			VirtualArmor = 25;
					
                        PackItem( new SeafaringBracelet() );
			PackItem( new TreasureMap( 1, Map.Felucca ) ); 
		}
Exemplo n.º 30
0
		public CrazySanta() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "Crazy Santa Clause";
			Title = "Of Red Christmas";
			Body = 400;
			Hue = 33770;
			BaseSoundID = 343;

			SetStr( 401, 520 );
			SetDex( 81, 90 );
			SetInt( 401, 520 );

			SetHits( 678, 695 );

			SetDamage( 50, 120 );

			SetDamageType( ResistanceType.Cold, 50 );
			SetDamageType( ResistanceType.Energy, 50 );

			SetResistance( ResistanceType.Physical, 50 );
			SetResistance( ResistanceType.Fire, 50 );
			SetResistance( ResistanceType.Cold, 100 );
			SetResistance( ResistanceType.Poison, 60 );
			SetResistance( ResistanceType.Energy, 80 );

			SetSkill( SkillName.EvalInt, 200.0 );
			SetSkill( SkillName.Magery, 200.0 );
			SetSkill( SkillName.Meditation, 200.0 );
			SetSkill( SkillName.MagicResist, 200.0 );
			SetSkill( SkillName.Tactics, 100.0 );
			SetSkill( SkillName.Wrestling, 200.0 );

			Fame = -1500;
			Karma = 550000;

			VirtualArmor = 40;

                  PackItem( new SantasHat() );
				  
				           if (1 > Utility.RandomDouble())

                                                   switch (Utility.Random(24))
                                                   {
                                                       case 0: PackItem(new MaceOfWinter());
                                                           break;
                                                       case 1: PackItem(new ChristmasKatana());
                                                           break;
                                                       case 2: PackItem(new SantasStaff());
                                                           break;
                                                       case 3: PackItem(new ArmsOfChristmas());
                                                           break;
                                                       case 4: PackItem(new ChestOfChristmas());
                                                           break;
                                                       case 5: PackItem(new GlovesOfChristmas());
                                                           break;
                                                       case 6: PackItem(new GorgetOfChristmas());
                                                           break;
                                                       case 7: PackItem(new HelmOfChristmas());
                                                           break;
                                                       case 8: PackItem(new LegsOfChristmas());
                                                           break;
                                                       case 9: PackItem(new HelmOfWinter());
                                                           break;
                                                       case 10: PackItem(new LegsOfWinter());
                                                           break;
                                                       case 11: PackItem(new FemaleChestOfWinter());
                                                           break;
                                                       case 12: PackItem(new GlovesOfWinter());
                                                           break;
                                                       case 13: PackItem(new ArmsOfWinter());
                                                           break;
                                                       case 14: PackItem(new ChestOfWinter());
                                                           break;
                                                       case 16: PackItem(new XmasArms());
                                                           break;
                                                       case 17: PackItem(new XmasChest());
                                                           break;
                                                       case 18: PackItem(new XmasGloves());
                                                           break;
                                                       case 19: PackItem(new XmasHelm());
                                                           break;
                                                       case 20: PackItem(new XmasLegs());
                                                           break;
                                                       case 21: PackItem(new XmasHalberd());
                                                           break;
                                                       case 22: PackItem(new SwordOfChristmas());
                                                           break;
                                                       case 23: PackItem(new BowOfChristmas());
                                                           break;
                                                   }
	

                  FacialHairItemID = 8267;
                  FacialHairHue = 1153;

			LongPants legs = new LongPants();
			legs.Hue = 1157;
			legs.Movable = false;
			AddItem( legs );

			FancyShirt chest = new FancyShirt();
			chest.Hue = 1157;
			chest.Movable = false;
			AddItem( chest );

			LeatherGloves gloves = new LeatherGloves();
			gloves.Hue = 1153;
			gloves.Movable = false;
			AddItem( gloves );

			ElvenBoots boots = new ElvenBoots();
			boots.Hue = 1153;
			boots.Movable = false;
			AddItem( boots );

                  Item hair = new Item( Utility.RandomList( 8252 ) );
			hair.Hue = 1153;
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem( hair );
			
			BodySash bodysash = new BodySash();
			bodysash.Hue = 1153;
			bodysash.Movable = false;
			AddItem ( bodysash );
			
			HalfApron halfapron = new HalfApron();
			halfapron.Hue = 1153;
			halfapron.Movable = false;
			AddItem ( halfapron );

			Cloak cloak = new Cloak();
			cloak.Hue = 1153;
			cloak.Movable = false;
			AddItem ( cloak );
					
			PackGold( 60000, 100000);

                }