Exemplo n.º 1
0
        public ElfCityChestClothier() : base(0x2DF2)
        {
            Name    = "a metal chest -5-";
            Hue     = 663;
            Movable = true;
            Weight  = 1000.0;

            TrapPower = 0;
            Locked    = true;

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

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

            // Supplies

            if (Utility.RandomDouble() < 0.20)
            {
                DropItem(new Cotton(Utility.Random(25, 50)));
            }

            if (Utility.RandomDouble() < 0.20)
            {
                DropItem(new Wool(Utility.Random(25, 50)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new DarkYarn(Utility.Random(25, 50)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new LightYarn(Utility.Random(25, 50)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new LightYarnUnraveled(Utility.Random(25, 50)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new SpoolOfThread(Utility.Random(25, 50)));
            }

            if (Utility.RandomDouble() < 0.20)
            {
                DropItem(new BoltOfCloth(Utility.Random(20, 45)));
            }

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

            if (Utility.RandomDouble() < 0.25)
            {
                DropItem(new Leather(Utility.Random(15, 35)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseClothing clothing = Loot.RandomClothing(true);
                switch (Utility.Random(7))
                {
                case 0: clothing = new ElvenDarkShirt(); break;

                case 1: clothing = new ElvenPants(); break;

                case 2: clothing = new ElvenRobe(); break;

                case 3: clothing = new ElvenShirt(); break;

                case 4: clothing = new FemaleElvenRobe(); break;

                case 5: clothing = new WoodlandBelt(); break;

                default: clothing = new ElvenBoots(); break;
                }

                BaseRunicTool.ApplyAttributesTo(clothing, 3, 15, 20);

                DropItem(clothing);
            }
        }
Exemplo n.º 2
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);

                }
Exemplo n.º 3
0
		public SantaHelper() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "Santa's Evil Little Helper";
			Body = 400;
			Hue = 33770;
			BaseSoundID = 343;

			SetStr( 301, 420 );
			SetDex( 81, 90 );
			SetInt( 301, 320 );

			SetHits( 478, 595 );

			SetDamage( 40, 120 );

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

			SetResistance( ResistanceType.Physical, 50 );
			SetResistance( ResistanceType.Fire, 50 );
			SetResistance( ResistanceType.Cold, 15 );
			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 = 50000;

			VirtualArmor = 40;
       
				  PackItem( new BowOfChristmas() );

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

            JesterHat hat = new JesterHat();
			hat.Name = "Elf Hat";
			hat.Hue = 64;
			hat.Movable = false;
			AddItem( hat );

			ElvenPants legs = new ElvenPants();
			legs.Hue = 64;
			legs.Movable = false;
			AddItem( legs );

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

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

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

			
			BodySash bodysash = new BodySash();
			bodysash.Hue = 64;
			bodysash.Movable = false;
			AddItem ( bodysash );
			
			HalfApron halfapron = new HalfApron();
			halfapron.Hue = 64;
			halfapron.Movable = false;
			AddItem ( halfapron );

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

                }
Exemplo n.º 4
0
        public LockeCole()
            : base(AIType.AI_Arcade, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Locke Cole";
            Body = 400;
            Hue = 1162;
            SpecialTitle = "Undead Treasure Hunter";
            TitleHue = 1174;

            BaseSoundID = 362;

            SetStr(500);
            SetDex(400);
            SetInt(100);

            SetHits(400000);

            SetDamage(2, 4);

            foreach (SkillName skill in _Skills)
            {
                SetSkill(skill, 80.0, 140.0);
            }

            SpeechHue = YellHue = 34;

            VirtualArmor = 90;

            PackGold(3000, 3500);
            PackMagicItems(5, 5, 0.95, 0.95);
            PackMagicItems(5, 5, 0.80, 0.65);
            PackMagicItems(5, 5, 0.80, 0.65);
            PackMagicItems(6, 6, 0.80, 0.65);

            Damagers = new Dictionary<PlayerMobile, int>();

            var helm = new SkullCap();
            helm.Name = "Locke's Bandana";
            helm.Hue = 4;
            helm.Identified = true;
            AddItem(Immovable(helm));

            var arms = new JinBaori();
            arms.Name = "Locke's Jacket";
            arms.Hue = 4;
            arms.Identified = true;
            AddItem(Immovable(arms));

            var gloves = new LeatherGloves();
            gloves.Name = "Locke's Gloves";
            gloves.Hue = 4;
            gloves.Identified = true;
            AddItem(Immovable(gloves));

            var tunic = new Shirt();
            tunic.Name = "Locke's Shirt";
            tunic.Hue = 0;
            tunic.Identified = true;
            AddItem(Immovable(tunic));

            var legs = new LeatherNinjaPants();
            legs.Name = "Locke's Pants";
            legs.Hue = 4;
            legs.Identified = true;
            AddItem(Immovable(legs));

            var boots = new ElvenBoots();
            boots.Name = "Locke's Boots";
            boots.Hue = 1175;
            boots.Identified = true;
            AddItem(Immovable(boots));

            var spellbook = new Dagger();
            spellbook.Name = "Thief Dagger";
            spellbook.Hue = 0;
            spellbook.Movable = false;
            AddItem(Immovable(spellbook));
        }
Exemplo n.º 5
0
        public Aulan()
            : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2)
        {
            Name = "Aulan";
            Title = "o expedicionista";
            Race = Race.Elf;
            BodyValue = 0x25D;
            Female = false;
            Hue = Race.RandomSkinHue();
            InitStats( 100, 100, 25 );

            Utility.AssignRandomHair( this, true );

            SetSkill( SkillName.Meditation, 60.0, 80.0 );
            SetSkill( SkillName.Focus, 60.0, 80.0 );

            Item item;

            item = new ElvenBoots();
            item.Hue = Utility.RandomYellowHue();
            AddItem( item );

            AddItem( new ElvenPants( Utility.RandomGreenHue() ) );
            AddItem( new Cloak( Utility.RandomGreenHue() ) );
            AddItem( new Circlet() );

            item = new HideChest();
            item.Hue = Utility.RandomYellowHue();
            AddItem( item );

            item = new HideGloves();
            item.Hue = Utility.RandomYellowHue();
            AddItem( item );
        }
        public LockeColeMirrorImagePortal()
            : base(AIType.AI_Arcade, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Locke Cole";
            Body = 400;
            Hue = 1162;
            SpecialTitle = "Mirror Image";
            TitleHue = 1174;

            BaseSoundID = 362;

            SetStr(10, 10);
            SetDex(200);
            SetInt(706, 726);

            SetHits(2000);

            SetDamage(1, 1);

            foreach (SkillName skill in _Skills)
            {
                SetSkill(skill, 65.0, 70.0);
            }

            SpeechHue = YellHue = 34;

            VirtualArmor = 90;

            PackGold(500, 1000);
            PackMagicItems(5, 5, 0.95, 0.95);

            var helm = new SkullCap();
            helm.Name = "Locke's Bandana";
            helm.Hue = 4;
            helm.Identified = true;
            AddItem(Immovable(helm));

            var arms = new JinBaori();
            arms.Name = "Locke's Jacket";
            arms.Hue = 4;
            arms.Identified = true;
            AddItem(Immovable(arms));

            var gloves = new LeatherGloves();
            gloves.Name = "Locke's Gloves";
            gloves.Hue = 4;
            gloves.Identified = true;
            AddItem(Immovable(gloves));

            var tunic = new Shirt();
            tunic.Name = "Locke's Shirt";
            tunic.Hue = 0;
            tunic.Identified = true;
            AddItem(Immovable(tunic));

            var legs = new LeatherNinjaPants();
            legs.Name = "Locke's Pants";
            legs.Hue = 4;
            legs.Identified = true;
            AddItem(Immovable(legs));

            var boots = new ElvenBoots();
            boots.Name = "Locke's Boots";
            boots.Hue = 1175;
            boots.Identified = true;
            AddItem(Immovable(boots));

            var spellbook = new Dagger();
            spellbook.Name = "Thief Dagger";
            spellbook.Hue = 0;
            spellbook.Movable = false;
            AddItem(Immovable(spellbook));
        }