Beispiel #1
0
		public Jonah()
		{
			Name = "Master Jonah";
		    Title = ", the Wizard ";
            Body = 401;
            Hue = 33770;
            VirtualArmor = 50;
			CantWalk = true;

           Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2049, 0x204A ) );
            hair.Hue = Utility.RandomHairHue();
		    hair.Layer = Layer.Hair;
            hair.Movable = false;
            AddItem( hair );

            AddItem(new Server.Items.Skirt( Utility.RandomNeutralHue() ));
			AddItem(new Server.Items.Doublet( Utility.RandomNeutralHue() ));
            AddItem(new Server.Items.Sandals(0));

            GoldNecklace goldnecklace = new GoldNecklace();
            goldnecklace.Hue = 0;
            goldnecklace.Movable = false;
            AddItem(goldnecklace);

            GoldRing goldring = new GoldRing();
            goldring.Hue = 0;
            goldring.Movable = false;
            AddItem(goldring);
			
			Blessed = true;
			
		}
        public Werewolf()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "a Werewolf";
            Body = 0x190;
            Hue = 850;
            BaseSoundID = 0xE5;

            SetStr( 150, 160 );
            SetDex( 121, 125 );
            SetInt( 20, 22 );

            SetHits( 200, 250 );

            SetDamage( 10, 11 );

            SetDamageType( ResistanceType.Physical, 75 );
            SetDamageType( ResistanceType.Cold, 25 );

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

            SetSkill( SkillName.Anatomy, 90.1, 100.0 );
            SetSkill( SkillName.DetectHidden, 80.1, 90.0 );
            SetSkill( SkillName.Meditation, 90.1, 100.0 );
            SetSkill( SkillName.MagicResist, 90.5, 100.0 );
            SetSkill( SkillName.Tactics, 90.1, 100.0 );
            SetSkill( SkillName.Wrestling, 90.1, 100.0 );

            Fame = 7000;
            Karma = -7000;

            VirtualArmor = 10;

            AddItem( new ShortPants( Utility.RandomNeutralHue() ) );

            GoldRing ring = new GoldRing();
            ring.Attributes.RegenHits = 10;
            ring.Movable = false;
            AddItem( ring );

            /*			Item hair = new LongHair();
            hair.Hue = 443;
            hair.Layer = Layer.Hair;
            hair.Movable = false;
            AddItem( hair );

            Item beard = new Goatee();
            beard.Hue = 443;
            beard.Layer = Layer.FacialHair;
            beard.Movable = false;
            AddItem( beard ); */

            PackItem( new Ribs( Utility.RandomMinMax( 5, 8 ) ) );
        }
Beispiel #3
0
		public void AddRingOfPower()
		{
			BaseJewel jewel = new GoldRing();
			//jewel.Resource = CraftResource.Amazon;
			jewel.Hue = 2126;
			jewel.Name = "a ring of power";
			//jewel.Attributes.BonusInt = Utility.Random( 1, 6 );
			AddItem( jewel );
		}
		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 );
			
			}
Beispiel #5
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));
			
		}
        //public override bool AlwaysMurderer { get { return true; } }
        public override void InitOutfit()
        {
            HoodedShroudOfShadows shroud = new HoodedShroudOfShadows();
            shroud.LootType = LootType.Blessed;
            AddItem(shroud);

            GoldRing ring = new GoldRing();
            ring.Attributes.CastSpeed = 2;
            ring.Attributes.CastRecovery = 6;
            ring.LootType = LootType.Blessed;
            AddItem(ring);
        }
		public Mother():base(AIType.AI_Melee, FightMode.None, 20, 1, 1.5, 3.0)
		{

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

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

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

			VirtualArmor = 44; 

			Container pack = new Backpack();
			pack.Movable = false;
			AddItem( pack );
			
			Item PlainDress = new PlainDress();//Hue = 0xE6;
			PlainDress.Hue = 0xE6;
			PlainDress.Movable = false;
			AddItem( PlainDress );
			
			Item Sandals = new Sandals();
			Sandals.Hue = 0xE6;
			Sandals.Movable = false;
			AddItem( Sandals );
			
			Item hair = new Item( 0x203D );
			hair.Hue = 351;
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem( hair );
			
			Item ring = new GoldRing();
			ring.Name = "Wedding Ring";
			ring.Movable = false;
			AddItem( ring );
			
			}
		public Barracoon() : base( AIType.AI_Mage )
		{
			Name = "Barracoon";
			Title = "the piper";
			Body = 0x190;
			Hue = 0x83EC;

			SetStr( 305, 425 );
			SetDex( 72, 150 );
			SetInt( 505, 750 );

			SetHits( 16800 );
			SetStam( 102, 300 );

			SetDamage( 25, 35 );

			SetDamageType( ResistanceType.Physical, 100 );

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

			SetSkill( SkillName.Magery, 100.0 );
			SetSkill( SkillName.MagicResist, 100.0 );
			SetSkill( SkillName.Tactics, 97.6, 100.0 );
			SetSkill( SkillName.Wrestling, 97.6, 100.0 );

			Fame = 22500;
			Karma = -22500;

			VirtualArmor = 70;

			AddItem( new FancyShirt( Utility.RandomGreenHue() ) );
			AddItem( new LongPants( Utility.RandomYellowHue() ) );
			AddItem( new JesterHat( Utility.RandomPinkHue() ) );
			AddItem( new Cloak( Utility.RandomPinkHue() ) );
			AddItem( new Sandals() );

			HairItemID = 0x203B; // Short Hair
			HairHue = 0x94;

			GoldRing ring = new GoldRing();
			ring.Movable = ring.Visible = false;
			ring.Attributes.CastRecovery = 4;
			ring.Attributes.CastSpeed = 4;
			EquipItem( ring );
		}
        public Peraniese()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Peraniese";
            Title = "a Scholar extrodinair";
            Body = 400;
            CantWalk = true;
            Hue = 33770;
            CantWalk = true;

            int hairHue = 0;
            Blessed = true;

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

            AddItem(new Server.Items.FurCape(1150));
            AddItem(new Server.Items.Sandals(1530));
            AddItem(new Server.Items.FurSarong(1530));

            Doublet doublet = new Doublet();
            doublet.Hue = 1530;
            doublet.Movable = false;
            AddItem(doublet);

            GoldNecklace goldnecklace = new GoldNecklace();
            goldnecklace.Hue = 0;
            goldnecklace.Movable = false;
            AddItem(goldnecklace);

            GoldRing goldring = new GoldRing();
            goldring.Hue = 0;
            goldring.Movable = false;
            AddItem(goldring);

            Backpack backpack = new Backpack();
            backpack.Hue = 1530;
            backpack.Movable = false;
            AddItem(backpack);

        }
Beispiel #10
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));
			
		}
Beispiel #11
0
        public Pythie()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Pythie";
            Title = "Handmaid of the Gods";
            Body = 401;
            CantWalk = true;
            Hue = 33770;
            CantWalk = true;

            int hairHue = 0;
            Blessed = true;

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

            AddItem(new Server.Items.Cloak(1153));
            AddItem(new Server.Items.Sandals(1153));
            AddItem(new Server.Items.Robe(1153));
            AddItem(new Server.Items.Bandana(1153));

            GoldNecklace goldnecklace = new GoldNecklace();
            goldnecklace.Hue = 0;
            goldnecklace.Movable = false;
            AddItem(goldnecklace);

            GoldRing goldring = new GoldRing();
            goldring.Hue = 0;
            goldring.Movable = false;
            AddItem(goldring);

            Backpack backpack = new Backpack();
            backpack.Hue = 1530;
            backpack.Movable = false;
            AddItem(backpack);

        }
        public Merlin()
        {
            Name = "Merlin";
            Title = "Master Magician and Philosopher";
            Body = 400;
            CantWalk = false;
            Hue = 33770;

            int hairHue = 0;
            Blessed = true;

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

            AddItem(new Server.Items.HoodedShroudOfShadows(1150));
            AddItem(new Server.Items.Sandals(0));
            AddItem(new Server.Items.FurCape(0));

            GoldNecklace goldnecklace = new GoldNecklace();
            goldnecklace.Hue = 1154;
            goldnecklace.Movable = false;
            AddItem(goldnecklace);

            GoldRing goldring = new GoldRing();
            goldring.Hue = 1154;
            goldring.Movable = false;
            AddItem(goldring);

            Backpack backpack = new Backpack();
            backpack.Hue = 1154;
            backpack.Movable = false;
            AddItem(backpack);
        }
        public FortressCalcifinaBossChest() : base(0x2DF2)
        {
            Name    = "a boss treasure chest -35-";
            Movable = true;
            Weight  = 1000.0;

            TrapPower = 0;
            Locked    = true;

            RequiredSkill = 35;
            LockLevel     = 35;
            MaxLockLevel  = 40;

            // Gold
            if (Utility.RandomDouble() < 0.50)
            {
                DropItem(new Gold(Utility.Random(250, 400)));
            }

/////////////////////////////////////// Jewelry

            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Agate());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Beryl());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new ChromeDiopside());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new FireOpal());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new MoonstoneCustom());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Onyx());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Opal());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Pearl());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new TurquoiseCustom());
            }

            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Bloodstone());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Citrine());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Demantoid());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Jasper());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Lolite());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Lupis());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Peridot());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Tsavorite());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Zircon());
            }

            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Amber());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Amethyst());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Andalusite());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Chrysoberyl());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Garnet());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Jade());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Mandarin());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Morganite());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Paraiba());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new TigerEye());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Tourmaline());
            }

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Alexandrite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Ametrine());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Kunzite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Ruby());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Sapphire());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Tanzanite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Topaz());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Zultanite());
            }

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Diamond());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Emerald());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new PinkQuartz());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new StarSapphire());
            }

/////////////////////////////////////// Supplies

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

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

            Item ReagentLoot = Loot.RandomReagent();

            ReagentLoot.Amount = Utility.Random(35, 40);
            DropItem(ReagentLoot);

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

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bedroll());
            }

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

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

            Item PotionLoot1 = Loot.RandomPotion();

            DropItem(PotionLoot1);

            Item PotionLoot2 = Loot.RandomPotion();

            DropItem(PotionLoot2);

            Item PotionLoot3 = Loot.RandomPotion();

            DropItem(PotionLoot3);

/////////////////////////////////////// Tools

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new FishingPole());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Shovel());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Skillet());
            }

/////////////////////////////////////// Rare Items

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new DyeTub());
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseWeapon weapon = Loot.RandomWeapon(true);
                switch (Utility.Random(38))
                {
                case 0: weapon = new Hatchet(); break;

                case 1: weapon = new Bow(); break;

                case 2: weapon = new Crossbow(); break;

                case 3: weapon = new Club(); break;

                case 4: weapon = new Mace(); break;

                case 5: weapon = new Maul(); break;

                case 6: weapon = new Pitchfork(); break;

                case 7: weapon = new ShortSpear(); break;

                case 8: weapon = new GnarledStaff(); break;

                case 9: weapon = new ShepherdsCrook(); break;

                case 10: weapon = new Cutlass(); break;

                case 11: weapon = new Katana(); break;

                case 12: weapon = new Kryss(); break;

                case 13: weapon = new Scimitar(); break;

                case 14: weapon = new AssassinSpike(); break;

                case 15: weapon = new DiamondMace(); break;

                case 16: weapon = new Leafblade(); break;

                case 17: weapon = new MagicalShortbow(); break;

                case 18: weapon = new RadiantScimitar(); break;

                case 19: weapon = new WildStaff(); break;

                case 20: weapon = new Axe(); break;

                case 21: weapon = new ExecutionersAxe(); break;

                case 22: weapon = new Pickaxe(); break;

                case 23: weapon = new TwoHandedAxe(); break;

                case 24: weapon = new WarAxe(); break;

                case 25: weapon = new HeavyCrossbow(); break;

                case 26: weapon = new HammerPick(); break;

                case 27: weapon = new WarMace(); break;

                case 28: weapon = new Spear(); break;

                case 29: weapon = new WarFork(); break;

                case 30: weapon = new BlackStaff(); break;

                case 31: weapon = new QuarterStaff(); break;

                case 32: weapon = new Longsword(); break;

                case 33: weapon = new ElvenCompositeLongbow(); break;

                case 34: weapon = new ElvenMachete(); break;

                case 35: weapon = new ElvenSpellblade(); break;

                case 36: weapon = new RuneBlade(); break;

                default: weapon = new Dagger(); break;
                }

                BaseRunicTool.ApplyAttributesTo(weapon, 5, 22, 25);

                DropItem(weapon);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseArmor armor = Loot.RandomArmor(true);
                switch (Utility.Random(13))
                {
                case 0: armor = new FemaleStuddedChest(); break;

                case 1: armor = new StuddedArms(); break;

                case 2: armor = new StuddedBustierArms(); break;

                case 3: armor = new StuddedGloves(); break;

                case 4: armor = new StuddedGorget(); break;

                case 5: armor = new ChainCoif(); break;

                case 6: armor = new ChainChest(); break;

                case 7: armor = new ChainLegs(); break;

                case 8: armor = new RingmailArms(); break;

                case 9: armor = new RingmailChest(); break;

                case 10: armor = new RingmailGloves(); break;

                case 11: armor = new RingmailLegs(); break;

                default: armor = new StuddedChest(); break;
                }

                BaseRunicTool.ApplyAttributesTo(armor, 5, 22, 25);

                DropItem(armor);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseHat hat = Loot.RandomHat(true);
                switch (Utility.Random(5))
                {
                case 0: hat = new BearMask(); break;

                case 1: hat = new DeerMask(); break;

                case 2: hat = new FeatheredHat(); break;

                case 3: hat = new WizardsHat(); break;

                default: hat = new TribalMask(); break;
                }

                BaseRunicTool.ApplyAttributesTo(hat, 5, 22, 25);

                DropItem(hat);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseClothing clothing = Loot.RandomClothing(true);
                BaseRunicTool.ApplyAttributesTo(clothing, 5, 22, 25);

                DropItem(clothing);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseShield shield = new MetalKiteShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield, 5, 22, 25);
                }

                DropItem(shield);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseJewel bracelet = new GoldBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 5, 22, 25);
                }

                DropItem(bracelet);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseJewel earrings = new GoldEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 5, 22, 25);
                }

                DropItem(earrings);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseJewel necklace = new GoldNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 5, 22, 25);
                }

                DropItem(necklace);
            }

            if (Utility.RandomDouble() < 0.20)
            {
                BaseJewel ring = new GoldRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 5, 22, 25);
                }

                DropItem(ring);
            }
        }
        public static BaseJewel NewbJewelry()
        {
            BaseJewel jewel = null;

            switch( Utility.Random( 4 ) )
            {
                case 0: jewel = new GoldRing(); break;
                case 1: jewel = new GoldBracelet(); break;
                case 2: jewel = new SilverRing(); break;
                case 3: jewel = new SilverBracelet(); break;
            }

            if( Utility.RandomBool() )
            {
                int luck = 60 + Utility.Random( 26 ) + Utility.Random( 26 );
                if( luck > 100 )
                    luck = 100;

                jewel.Attributes.Luck = luck;
            }
            else
            {
                jewel.Attributes.CastSpeed = 1;
                jewel.Attributes.CastRecovery = Utility.RandomMinMax( 1, 3 );
            }

            return jewel;
        }
		public Aidon():base( AIType.AI_Mage, FightMode.Weakest, 10, 1, 0.15, 0.2 )
		{
			Body = 400;
			Hue = 0x3F6;
			SpeechHue= 1175;
			Name = "Aidon the Archwizard";
			Kills = 10;
			ShortTermMurders = 10;

			SetStr( 356, 396 );
			SetDex( 125, 135 );
			SetInt( 830, 953 );

			SetDamage( 15, 20 );

			SetSkill( SkillName.Wrestling, 91.3, 97.8 );
			SetSkill( SkillName.Tactics, 91.5, 97.0 );
			SetSkill( SkillName.MagicResist, 140.6, 156.8);
			SetSkill( SkillName.Magery, 96.7, 99.8 );
			SetSkill( SkillName.EvalInt, 75.1, 80.1 );
			SetSkill( SkillName.Meditation, 61.1, 68.1 );

			Fame = 17500;
			Karma = -17500;

			VirtualArmor = 15;

			Item Robe = new Robe();
			Robe.Hue=2112;
			EquipItem( Robe );

                        Item SavageMask = new SavageMask();
			SavageMask.Movable=false;
			SavageMask.Hue=1175;
			EquipItem( SavageMask );

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

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

			Item hair = new Item( 0x203B);
			hair.Hue = 1072;
			hair.Layer = Layer.Hair;
			AddItem( hair );

			Item beard = new Item( 0x203E);
			beard.Hue = 1072;
			beard.Layer = Layer.FacialHair;
			AddItem( beard );

			switch ( Utility.Random( 10 ) )
			{
				case 0: PackReg( 39 ); break;
				case 1: PackReg( 33 ); break;
				case 2: PackReg( 36 ); break;
				case 3: PackReg( 36 ); break;
			}

			PackGold( 800, 1200 );

			switch ( Utility.Random( 25 ) )
			{
				case 0: PackWeapon( 4, 5 ); break;
				case 1: PackArmor( 4, 5 ); break;
			}

			switch ( Utility.Random( 5 ) )
			{
				case 0: PackWeapon( 0, 5 ); break;
				case 1: PackArmor( 0, 5 ); break;
			}

			switch ( Utility.Random( 10 ) )
			{
				case 0: PackWeapon( 0, 5 ); break;
				case 1: PackArmor( 0, 5 ); break;
			}

			switch ( Utility.Random( 15 ) )
			{
				case 0: PackWeapon( 1, 5 ); break;
				case 1: PackArmor( 1, 5 ); break;
			}

		}
        public NewPlayerPackage()
        {
            Name = "New Player Welcome Package";
            Hue = 1281;
            LootType = LootType.Newbied;
            

            /*
            Spellbook book1 = new Spellbook();
            book1.Content = ulong.MaxValue;
            DropItem(book1);
            book1.Location = new Point3D(16, 83, 0);

            BookOfChivalry book2 = new BookOfChivalry();
            book2.Content = 1023;//all spells
            DropItem(book2);
            book2.Location = new Point3D(33, 83, 0);

            NecromancerSpellbook book3 = new NecromancerSpellbook();
            book3.Content = 0x1FFFF;
            DropItem(book3);
            book3.Location = new Point3D(49, 83, 0);
            */ 

            BaseArmor armor = new LeatherChest();
            armor.Hue = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.LowerManaCost = 2;
            armor.Attributes.LowerRegCost = 5;
            armor.Attributes.Luck = 10;
            armor.Attributes.BonusMana = 3;
            armor.Attributes.RegenMana = 1;
            armor.ColdBonus = 1;
            armor.EnergyBonus = 1;
            armor.FireBonus = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(61, 74, 0);

            armor = new LeatherLegs();
            armor.Hue = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.RegenHits = 1;
            armor.Attributes.BonusHits = 3;
            armor.Attributes.LowerManaCost = 2;
            armor.Attributes.LowerRegCost = 5;
            armor.Attributes.Luck = 10;
            armor.ColdBonus = 1;
            armor.EnergyBonus = 1;
            armor.FireBonus = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(71, 78, 0);

            armor = new LeatherArms();
            armor.Hue = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.LowerManaCost = 2;
            armor.Attributes.LowerRegCost = 5;
            armor.Attributes.Luck = 10;
            armor.Attributes.BonusStam = 3;
            armor.Attributes.RegenStam = 1;
            armor.ColdBonus = 1;
            armor.EnergyBonus = 1;
            armor.FireBonus = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(94, 84, 0);

            armor = new LeatherGloves();
            armor.Hue = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.LowerManaCost = 2;
            armor.Attributes.LowerRegCost = 5;
            armor.Attributes.Luck = 10;
            armor.Attributes.BonusStr = 2;
            armor.ColdBonus = 1;
            armor.EnergyBonus = 1;
            armor.FireBonus = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(108, 85, 0);

            armor = new LeatherGorget();
            armor.Hue = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.LowerManaCost = 2;
            armor.Attributes.LowerRegCost = 5;
            armor.Attributes.BonusInt = 2;
            armor.Attributes.Luck = 10;
            armor.ColdBonus = 1;
            armor.EnergyBonus = 1;
            armor.FireBonus = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(122, 79, 0);

            armor = new LeatherCap();
            armor.Hue = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.BonusDex = 2;
            armor.Attributes.LowerManaCost = 2;
            armor.Attributes.LowerRegCost = 5;
            armor.Attributes.Luck = 10;
            armor.ColdBonus = 1;
            armor.EnergyBonus = 1;
            armor.FireBonus = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(115, 88, 0);

            armor = new MetalShield();
            armor.Hue = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.AttackChance = 5;
            armor.Attributes.DefendChance = 5;
            armor.Attributes.SpellChanneling = 1;
            armor.Attributes.Luck = 10;
            armor.ColdBonus = 1;
            armor.EnergyBonus = 1;
            armor.FireBonus = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(132, 85, 0);

            BaseJewel ring = new GoldRing();
            ring.LootType = LootType.Newbied;
            ring.Attributes.NightSight = 1;
            ring.Attributes.SpellDamage = 5;
            ring.Attributes.WeaponDamage = 5;
            DropItem(ring);
            ring.Location = new Point3D(140, 60, 0);

            Item item = new Bandage(100);
            DropItem(item);
            item.Location = new Point3D(135, 66, 0);
        }
Beispiel #17
0
		public override void InitOutfit()
		{
			WipeLayers();
			if ( Utility.RandomBool() )
				AddItem( new Shoes( Utility.RandomBlueHue() ) );
			else
				AddItem( new Sandals( Utility.RandomBlueHue() ) );

			//New Fall Fashions!

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

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

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

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

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

			Item beard = new MediumLongBeard();
			beard.Hue = 0x47E;
			beard.Movable = false;
			beard.Layer = Layer.FacialHair;
			AddItem(beard);
			
			//End Fashion Statement
			
		}
Beispiel #18
0
        public SpawningClutterBarrel() : base(0xE77)
        {
            Name    = "a barrel";
            Movable = true;
            Weight  = 1000.0;

            TrapPower = 0;
            Locked    = false;

            RequiredSkill = 0;
            LockLevel     = 0;
            MaxLockLevel  = this.RequiredSkill;

/////////////////////////////////////// Dishes

            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new DirtyFrypan());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new DirtyPan());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new DirtyKettle());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new DirtyPot());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new DirtyRoundPot());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new DirtySmallPot());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new DirtySmallRoundPot());
            }

/////////////////////////////////////// Eating Utensils

            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new KnifeLeft());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new KnifeRight());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new PewterMug());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new Plate());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new SpoonLeft());
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new SpoonRight());
            }

/////////////////////////////////////// Supplies

            Item ReagentLoot = Loot.RandomReagent();

            ReagentLoot.Amount = Utility.Random(1, 5);
            DropItem(ReagentLoot);

            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Arrow(Utility.Random(1, 5)));
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Bolt(Utility.Random(1, 5)));
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Bandage(Utility.Random(1, 5)));
            }

            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new IronIngot(Utility.Random(1, 5)));
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Leather(Utility.Random(1, 5)));
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Log(Utility.Random(1, 5)));
            }

            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new CopperWire(Utility.Random(1, 5)));
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Feather(Utility.Random(1, 5)));
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Gears(Utility.Random(1, 5)));
            }

            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new GoldWire(Utility.Random(1, 5)));
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new IronWire(Utility.Random(1, 5)));
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Shaft(Utility.Random(1, 5)));
            }

            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new SilverWire(Utility.Random(1, 5)));
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new SpoolOfThread(Utility.Random(1, 5)));
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Springs(Utility.Random(1, 5)));
            }

/////////////////////////////////////// Tools

            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Hammer());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Lockpick(Utility.Random(1, 5)));
            }
            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new Shovel());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new SmithHammer());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Tongs());
            }

/////////////////////////////////////// Misc

            if (Utility.RandomDouble() < 0.08)
            {
                DropItem(new Rope());
            }

/////////////////////////////////////// Rare Items

            if (Utility.RandomDouble() < 0.01)
            {
                BaseJewel bracelet = new GoldBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 1, 1, 5);
                }

                DropItem(bracelet);
            }

            if (Utility.RandomDouble() < 0.01)
            {
                BaseJewel earrings = new GoldEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 1, 1, 5);
                }

                DropItem(earrings);
            }

            if (Utility.RandomDouble() < 0.01)
            {
                BaseJewel necklace = new GoldNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 1, 1, 5);
                }

                DropItem(necklace);
            }

            if (Utility.RandomDouble() < 0.01)
            {
                BaseJewel ring = new GoldRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 1, 1, 5);
                }

                DropItem(ring);
            }
        }
Beispiel #19
0
		public override void InitOutfit()
		{
			WipeLayers();
		
			if (this.Female)
			{
				
				Item hair = new Item(0x203C);
				Item dress = new PlainDress(0x1);
				//5% chance to drop black dress
				if ( Utility.RandomDouble() < 0.95 )
					dress.LootType = LootType.Newbied;

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

				hair.Layer = Layer.Hair;
				AddItem(hair);
				AddItem(dress);
			}
			else
			{
				Item hair2 = new Item(Utility.RandomList(0x203C,0x203B));
				Item pants = new LongPants(0x1);
				Item shirt = new FancyShirt();
				hair2.Hue = Utility.RandomHairHue();
				hair2.Layer = Layer.Hair;
				AddItem(hair2);
				//5% chance for black clothes
				if ( Utility.RandomDouble() < 0.95 )
					shirt.LootType = LootType.Newbied;
				if ( Utility.RandomDouble() < 0.95 )
					pants.LootType = LootType.Newbied;
				AddItem(pants);
				AddItem(shirt);
			}

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

			Item boots = new Sandals(0x1);
			boots.LootType = LootType.Newbied; //no dropping the black sandals.
			AddItem(boots);			
		}
        public AmazonTreeSettlementTreasureChest() : base(0xE43)
        {
            Name    = "a treasure chest -10-";
            Movable = true;
            Weight  = 1000.0;

            TrapPower = 0;
            Locked    = true;

            RequiredSkill = 10;
            LockLevel     = 10;
            MaxLockLevel  = 15;

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

/////////////////////////////////////// Supplies

            if (Utility.RandomDouble() < 0.10)
            {
                DropItem(new Arrow(Utility.Random(2, 6)));
            }

            if (Utility.RandomDouble() < 0.10)
            {
                DropItem(new Bolt(Utility.Random(2, 6)));
            }

            Item ReagentLoot = Loot.RandomReagent();

            ReagentLoot.Amount = Utility.Random(2, 6);
            DropItem(ReagentLoot);

            if (Utility.RandomDouble() < 0.10)
            {
                DropItem(new Bandage(Utility.Random(2, 6)));
            }

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

            if (Utility.RandomDouble() < 0.10)
            {
                DropItem(new Bottle(Utility.Random(2, 6)));
            }

            if (Utility.RandomDouble() < 0.10)
            {
                DropItem(new Lockpick(Utility.Random(2, 6)));
            }

            Item PotionLoot = Loot.RandomPotion();

            DropItem(PotionLoot);

/////////////////////////////////////// Tools

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

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

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

/////////////////////////////////////// Rare Items

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new DyeTub());
            }

            if (Utility.RandomDouble() < 0.05)
            {
                DropItem(new AmazonianFighterBelt());
            }
            if (Utility.RandomDouble() < 0.05)
            {
                DropItem(new AmazonianFighterBoots());
            }
            if (Utility.RandomDouble() < 0.05)
            {
                DropItem(new AmazonianFighterBustier());
            }
            if (Utility.RandomDouble() < 0.05)
            {
                DropItem(new AmazonianFighterGloves());
            }
            if (Utility.RandomDouble() < 0.05)
            {
                DropItem(new AmazonianFighterHelmet());
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseWeapon weapon = Loot.RandomWeapon(true);
                switch (Utility.Random(21))
                {
                case 0: weapon = new Hatchet(); break;

                case 1: weapon = new Bow(); break;

                case 2: weapon = new Crossbow(); break;

                case 3: weapon = new Club(); break;

                case 4: weapon = new Mace(); break;

                case 5: weapon = new Maul(); break;

                case 6: weapon = new Pitchfork(); break;

                case 7: weapon = new ShortSpear(); break;

                case 8: weapon = new GnarledStaff(); break;

                case 9: weapon = new ShepherdsCrook(); break;

                case 10: weapon = new Cutlass(); break;

                case 11: weapon = new Katana(); break;

                case 12: weapon = new Kryss(); break;

                case 13: weapon = new Scimitar(); break;

                case 14: weapon = new AssassinSpike(); break;

                case 15: weapon = new DiamondMace(); break;

                case 16: weapon = new Leafblade(); break;

                case 17: weapon = new MagicalShortbow(); break;

                case 18: weapon = new RadiantScimitar(); break;

                case 19: weapon = new WildStaff(); break;

                default: weapon = new Dagger(); break;
                }

                BaseRunicTool.ApplyAttributesTo(weapon, 2, 10, 15);
                weapon.DamageLevel     = (WeaponDamageLevel)Utility.Random(2);
                weapon.AccuracyLevel   = (WeaponAccuracyLevel)Utility.Random(2);
                weapon.DurabilityLevel = (WeaponDurabilityLevel)Utility.Random(2);
                weapon.Quality         = WeaponQuality.Regular;

                DropItem(weapon);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseArmor armor = Loot.RandomArmor(true);
                switch (Utility.Random(10))
                {
                case 0: armor = new FemaleLeatherChest(); break;

                case 1: armor = new LeatherBustierArms(); break;

                case 2: armor = new LeatherArms(); break;

                case 3: armor = new LeatherCap(); break;

                case 4: armor = new LeatherGloves(); break;

                case 5: armor = new LeatherGorget(); break;

                case 6: armor = new LeatherLegs(); break;

                case 7: armor = new LeatherShorts(); break;

                case 8: armor = new LeatherSkirt(); break;

                default: armor = new LeatherChest(); break;
                }

                BaseRunicTool.ApplyAttributesTo(armor, 3, 10, 15);
                armor.ProtectionLevel = (ArmorProtectionLevel)Utility.Random(3);
                armor.Durability      = (ArmorDurabilityLevel)Utility.Random(3);
                armor.Quality         = ArmorQuality.Regular;

                DropItem(armor);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseHat hat = Loot.RandomHat(true);
                switch (Utility.Random(5))
                {
                case 0: hat = new BearMask(); break;

                case 1: hat = new DeerMask(); break;

                case 2: hat = new FeatheredHat(); break;

                case 3: hat = new WizardsHat(); break;

                default: hat = new TribalMask(); break;
                }

                BaseRunicTool.ApplyAttributesTo(hat, 3, 10, 15);

                DropItem(hat);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseClothing clothing = Loot.RandomClothing(true);
                BaseRunicTool.ApplyAttributesTo(clothing, 3, 10, 15);

                DropItem(clothing);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseShield shield = new MetalShield();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(shield, 3, 10, 15);
                }

                DropItem(shield);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel bracelet = new GoldBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 3, 10, 15);
                }

                DropItem(bracelet);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel earrings = new GoldEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 3, 10, 15);
                }

                DropItem(earrings);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel necklace = new GoldNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 3, 10, 15);
                }

                DropItem(necklace);
            }

            if (Utility.RandomDouble() < 0.10)
            {
                BaseJewel ring = new GoldRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 3, 10, 15);
                }

                DropItem(ring);
            }
        }
        public AlytharrBeachHouseChest() : base(0xE43)
        {
            Name    = "a treasure chest -40-";
            Movable = true;
            Weight  = 1000.0;

            TrapPower = 0;
            Locked    = true;

            RequiredSkill = 40;
            LockLevel     = 40;
            MaxLockLevel  = 45;

            // Gold
            if (Utility.RandomDouble() < 0.50)
            {
                DropItem(new Gold(Utility.Random(300, 450)));
            }

/////////////////////////////////////// Jewelry

            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Agate());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Beryl());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new ChromeDiopside());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new FireOpal());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new MoonstoneCustom());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Onyx());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Opal());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Pearl());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new TurquoiseCustom());
            }

            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Bloodstone());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Citrine());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Demantoid());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Jasper());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Lolite());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Lupis());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Peridot());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Tsavorite());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Zircon());
            }

            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Amber());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Amethyst());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Andalusite());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Chrysoberyl());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Garnet());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Jade());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Mandarin());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Morganite());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Paraiba());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new TigerEye());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Tourmaline());
            }

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Alexandrite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Ametrine());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Kunzite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Ruby());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Sapphire());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Tanzanite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Topaz());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Zultanite());
            }

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Diamond());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Emerald());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new PinkQuartz());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new StarSapphire());
            }

/////////////////////////////////////// Supplies

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

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

            Item ReagentLoot1 = Loot.RandomReagent();

            ReagentLoot1.Amount = Utility.Random(25, 35);
            DropItem(ReagentLoot1);

            Item ReagentLoot2 = Loot.RandomReagent();

            ReagentLoot2.Amount = Utility.Random(25, 35);
            DropItem(ReagentLoot2);

            Item ReagentLoot3 = Loot.RandomReagent();

            ReagentLoot3.Amount = Utility.Random(25, 35);
            DropItem(ReagentLoot3);

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bandage(Utility.Random(40, 80)));
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Bedroll());
            }

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

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

            Item PotionLoot1 = Loot.RandomPotion();

            DropItem(PotionLoot1);

            Item PotionLoot2 = Loot.RandomPotion();

            DropItem(PotionLoot2);

            Item PotionLoot3 = Loot.RandomPotion();

            DropItem(PotionLoot3);

/////////////////////////////////////// Tools

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new FishingPole());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Shovel());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                DropItem(new Skillet());
            }

/////////////////////////////////////// Rare Items

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new DyeTub());
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseWeapon weapon = Loot.RandomWeapon(true);
                switch (Utility.Random(12))
                {
                case 0: weapon = new OrnateAxe(); break;

                case 1: weapon = new AssassinSpike(); break;

                case 2: weapon = new DiamondMace(); break;

                case 3: weapon = new Leafblade(); break;

                case 4: weapon = new MagicalShortbow(); break;

                case 5: weapon = new RadiantScimitar(); break;

                case 6: weapon = new WildStaff(); break;

                case 7: weapon = new ElvenCompositeLongbow(); break;

                case 8: weapon = new ElvenMachete(); break;

                case 9: weapon = new ElvenSpellblade(); break;

                case 10: weapon = new RuneBlade(); break;

                default: weapon = new WarCleaver(); break;
                }

                BaseRunicTool.ApplyAttributesTo(weapon, 4, 30, 35);

                DropItem(weapon);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseArmor armor = Loot.RandomArmor(true);
                switch (Utility.Random(7))
                {
                case 0: armor = new FemaleLeafChest(); break;

                case 1: armor = new LeafArms(); break;

                case 2: armor = new LeafChest(); break;

                case 3: armor = new LeafGorget(); break;

                case 4: armor = new LeafLegs(); break;

                case 5: armor = new LeafTonlet(); break;

                default: armor = new LeafGloves(); break;
                }

                BaseRunicTool.ApplyAttributesTo(armor, 4, 30, 35);

                DropItem(armor);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseClothing clothing = Loot.RandomClothing(true);
                BaseRunicTool.ApplyAttributesTo(clothing, 4, 22, 25);

                DropItem(clothing);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseJewel bracelet = new GoldBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 5, 5, 10);
                }

                DropItem(bracelet);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseJewel earrings = new GoldEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 5, 5, 10);
                }

                DropItem(earrings);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseJewel necklace = new GoldNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 5, 5, 10);
                }

                DropItem(necklace);
            }

            if (Utility.RandomDouble() < 0.15)
            {
                BaseJewel ring = new GoldRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 5, 5, 10);
                }

                DropItem(ring);
            }
        }
        private void MoveParticipants()
        {
            m_Region = new DuelRegion(this);
            m_Region.Register();

            List<Item> fieldstoremove = new List<Item>();

            IPooledEnumerable ip = Map.GetItemsInBounds(Area2D);

            foreach (Item item in ip)
                if (item != null && item.GetType().IsDefined(typeof(DispellableFieldAttribute), false))
                    fieldstoremove.Add(item);

            ip.Free();

            foreach (Item item in fieldstoremove)
                if(!item.Deleted)
                    item.Delete();

            for(int i = 0; i < Participants.Length; i++)
            {
                Mobile m = Participants[i];

                    if (DuelType is DDDuelType)
                    m.SendLocalizedMessage(1060398, DuelSystem.GoldCost2v2.ToString()); // ~1_AMOUNT~ gold has been withdrawn from your bank box.

                else
                    m.SendLocalizedMessage(1060398, DuelSystem.GoldCost.ToString()); // ~1_AMOUNT~ gold has been withdrawn from your bank box.

                m.Frozen = true;
                m.Hidden = false;
                m.Map = Map;
                m.Hits = m.HitsMax;
                m.Mana = m.ManaMax;
                m.Stam = m.StamMax;

                TransformationSpellHelper.RemoveContext(m, true);
                for(int j = m.StatMods.Count -1; j >= 0; j--)
                {
                    StatMod st = m.StatMods[j];
                    if (st.Name.StartsWith("[Magic]"))
                        m.StatMods.RemoveAt(j);
                }
                if (m.Spell != null && m.Spell.IsCasting)
                    m.Spell.OnCasterHurt();
                Targeting.Target.Cancel(m);
                m.CloseGump(typeof(SummonFamiliarGump));
                List<Item> armthis = new List<Item>();
                MoveMob(m, 1);

                SunnySystem.Undress(m, ItemNotAllowed);

                if (SpellWatch)
                {
                    SpellWatcher sw = new SpellWatcher(m);
                    SpellWatchList.Add(sw);
                }

                if (DuelType is TMFDuelType || DuelType is UMFDuelType)
                {
                    DuelBlockAddon dba = new DuelBlockAddon();
                    if (m == Starter)
                        blockadd0 = dba;
                    else
                        blockadd1 = dba;
                    dba.MoveToWorld(m.Location, m.Map);

                    if (DuelType is UMFDuelType)
                    {
                        armthis.Add(new Spellbook(ulong.MaxValue));
                        if (m.Skills[SkillName.Magery].Value > 80)
                        {
                            NecromancerSpellbook book = new NecromancerSpellbook();
                            book.Content = 0x1FFFF;
                            armthis.Add(book);
                        }
                        GoldRing ring = new GoldRing();
                        ring.Attributes.LowerRegCost = 100;
                        ring.LootType = LootType.Cursed;
                        armthis.Add(ring);
                    }
                }

                if (DuelType is UDFDuelType)
                {
                    armthis.Add(new Bandage(75));

                    if (m.Skills[SkillName.Chivalry].Value > 80)
                    {
                        BookOfChivalry bookch = new BookOfChivalry();
                        bookch.Content = 1023;
                        armthis.Add(bookch);
                    }

                    if (m.Skills[SkillName.Necromancy].Value > 80)
                    {
                        NecromancerSpellbook book = new NecromancerSpellbook();
                        book.Content = 0x1FFFF;
                        armthis.Add(book);
                    }

                    GoldRing ring = new GoldRing();
                    ring.Attributes.LowerRegCost = 100;
                    armthis.Add(ring);

                    if (m.Skills[SkillName.Fencing].Value > 80)
                    {
                        armthis.Add(new BladedStaff());
                        armthis.Add(new DoubleBladedStaff());
                        armthis.Add(new Pike());
                        armthis.Add(new Pitchfork());
                        armthis.Add(new ShortSpear());
                        armthis.Add(new Spear());
                        armthis.Add(new Kryss());
                        armthis.Add(new WarFork());
                    }

                    if (m.Skills[SkillName.Swords].Value > 80)
                    {
                        //armthis.Add(new BoneHarvester());
                        armthis.Add(new Broadsword());
                        //armthis.Add(new Pike());
                        armthis.Add(new CrescentBlade());
                        //armthis.Add(new Cutlass());
                        armthis.Add(new Katana());
                        armthis.Add(new Longsword());
                        armthis.Add(new Scimitar());
                        //armthis.Add(new VikingSword());
                        //armthis.Add(new Bardiche());
                        //armthis.Add(new Halberd());
                        armthis.Add(new BattleAxe());
                        armthis.Add(new Pickaxe());
                        //armthis.Add(new WarAxe());
                    }

                    if (m.Skills[SkillName.Macing].Value > 80)
                    {
                        armthis.Add(new Club());
                        armthis.Add(new HammerPick());
                        armthis.Add(new Mace());
                        armthis.Add(new Maul());
                        armthis.Add(new Scepter());
                        armthis.Add(new WarHammer());
                        armthis.Add(new WarMace());
                    }

                    if (m.Skills[SkillName.Archery].Value > 80)
                    {
                        armthis.Add(new Bolt(50));
                        armthis.Add(new Arrow(50));
                        armthis.Add(new Bow());
                        armthis.Add(new CompositeBow());
                        armthis.Add(new Crossbow());
                        armthis.Add(new HeavyCrossbow());
                        armthis.Add(new RepeatingCrossbow());
                    }

                    if (m.Skills[SkillName.Parry].Value > 80)
                        armthis.Add(new MetalKiteShield());
                }

                if (armthis.Count > 0)
                    SunnySystem.ArmPlayer(m, armthis);
            }

            m_Wall = new DuelWall();
            if (m_Wid != 0)
                m_Wall.ItemID = m_Wid;
            m_Wall.Hue = m_Wue;
            m_Wall.MoveToWorld(Locations[1], Map);

            new DuelTimer(this, 10, TimeSpan.FromSeconds(1.0)).Start();
        }
Beispiel #23
0
        public SpawningClutterJewelryBox() : base(0x9AA)
        {
            Name    = "a jewelry box -50-";
            Hue     = 2417;
            Movable = true;
            Weight  = 1000.0;

            TrapPower = 0;
            Locked    = true;

            RequiredSkill = 50;
            LockLevel     = 50;
            MaxLockLevel  = 75;

/////////////////////////////////////// Jewelry

            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Agate());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Beryl());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new ChromeDiopside());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new FireOpal());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new MoonstoneCustom());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Onyx());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Opal());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new Pearl());
            }
            if (Utility.RandomDouble() < 0.04)
            {
                DropItem(new TurquoiseCustom());
            }

            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Bloodstone());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Citrine());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Demantoid());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Jasper());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Lolite());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Lupis());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Peridot());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Tsavorite());
            }
            if (Utility.RandomDouble() < 0.03)
            {
                DropItem(new Zircon());
            }

            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Amber());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Amethyst());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Andalusite());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Chrysoberyl());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Garnet());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Jade());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Mandarin());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Morganite());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Paraiba());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new TigerEye());
            }
            if (Utility.RandomDouble() < 0.02)
            {
                DropItem(new Tourmaline());
            }

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Alexandrite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Ametrine());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Kunzite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Ruby());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Sapphire());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Tanzanite());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Topaz());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Zultanite());
            }

            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Diamond());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new Emerald());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new PinkQuartz());
            }
            if (Utility.RandomDouble() < 0.01)
            {
                DropItem(new StarSapphire());
            }

/////////////////////////////////////// Rare Items

            if (Utility.RandomDouble() < 0.02)
            {
                BaseJewel bracelet = new GoldBracelet();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(bracelet, 3, 1, 5);
                }

                DropItem(bracelet);
            }

            if (Utility.RandomDouble() < 0.02)
            {
                BaseJewel earrings = new GoldEarrings();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(earrings, 3, 1, 5);
                }

                DropItem(earrings);
            }

            if (Utility.RandomDouble() < 0.02)
            {
                BaseJewel necklace = new GoldNecklace();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(necklace, 3, 1, 5);
                }

                DropItem(necklace);
            }

            if (Utility.RandomDouble() < 0.02)
            {
                BaseJewel ring = new GoldRing();
                if (Core.AOS)
                {
                    BaseRunicTool.ApplyAttributesTo(ring, 3, 1, 5);
                }

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

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

            Fame = 4500;
            Karma = -4500;

            VirtualArmor = 0;

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

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

            switch ( Utility.Random( 2 ) )
            {
                case 0:
                {
                Item scimitar = new Scimitar();
                EquipItem( scimitar );
                break;
                }
                case 1:
                {
                Item cutlass = new Cutlass();
                EquipItem( cutlass );
                break;
                }
            }
        }
Beispiel #25
0
        private static void FillBankbox( Mobile m )
        {
            BankBox bank = m.BankBox;

            if ( bank == null )
                return;

            bank.MaxItems = int.MaxValue;

            // The new AOS bankboxes don't have powerscrolls, they are automatically 'applied':

            for ( int i = 0; i < PowerScroll.Skills.Length; ++i )
                m.Skills[PowerScroll.Skills[i]].Cap = 120.0;

            m.StatCap = 250;

            Container cont;
            Container cont2;

            // Begin box of money
            cont = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Hue = 0x489;

            PlaceItemIn( cont, 17, 52, new BankCheck( 1000000 ) );
            PlaceItemIn( cont, 28, 52, new BankCheck( 1000000 ) );

            PlaceItemIn( cont, 17, 91, new Factions.Silver( 9000 ) );
            PlaceItemIn( cont, 34, 91, new Gold( 60000 ) );

            PlaceItemIn( bank, 38, 142, cont );
            // End box of money

            // Begin box of Magery Items
            cont = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Name = "Magery Items";
            cont.Hue = 1195;

            // Begin bag of spell casting stuff
            cont2 = new Backpack();
            cont2.Hue = 0x480;
            cont2.Name = "Spell Casting Stuff";

            PlaceItemIn( cont2, 45, 107, new Spellbook( UInt64.MaxValue ) );
            PlaceItemIn( cont2, 64, 107, new NecromancerSpellbook( (UInt64) 0xFFFF ) );
            PlaceItemIn( cont2, 83, 107, new BookOfChivalry( (UInt64) 0x3FF ) );
            PlaceItemIn( cont2, 102, 107, new BookOfBushido() ); //Default ctor = full
            PlaceItemIn( cont2, 121, 107, new BookOfNinjitsu() ); //Default ctor = full
            PlaceItemIn( cont2, 102, 149, new SpellweavingSpellbook( (UInt64) 0xFFFF ) );
            PlaceItemIn( cont2, 121, 149, new MysticismSpellbook( (UInt64) 0xFFFF ) );

            Runebook runebook = new Runebook( 20 );
            runebook.CurCharges = runebook.MaxCharges;
            PlaceItemIn( cont2, 141, 107, runebook );

            Item toHue = new BagOfReagents( 5000 );
            toHue.Hue = 0x2D;
            PlaceItemIn( cont2, 45, 128, toHue );

            toHue = new BagOfNecroReagents( 3000 );
            toHue.Hue = 0x488;
            PlaceItemIn( cont2, 64, 128, toHue );

            toHue = new BagOfMysticReagents( 3000 );
            toHue.Hue = 0x48F;
            PlaceItemIn( cont2, 141, 128, toHue );

            for ( int i = 0; i < 6; ++i )
                PlaceItemIn( cont2, 45 + ( i * 10 ), 74, new RecallRune() );

            PlaceItemIn( cont, 47, 91, cont2 );
            // End bag of spell casting stuff

            // Begin bag of potion kegs
            cont2 = new Backpack();
            cont2.Name = "Various Potion Kegs";

            PlaceItemIn( cont2, 45, 149, MakePotionKeg( PotionEffect.CureGreater, 0x2D ) );
            PlaceItemIn( cont2, 69, 149, MakePotionKeg( PotionEffect.HealGreater, 0x499 ) );
            PlaceItemIn( cont2, 93, 149, MakePotionKeg( PotionEffect.PoisonDeadly, 0x46 ) );
            PlaceItemIn( cont2, 117, 149, MakePotionKeg( PotionEffect.RefreshGreater, 0x21 ) );
            PlaceItemIn( cont2, 141, 149, MakePotionKeg( PotionEffect.ExplosionGreater, 0x74 ) );

            PlaceItemIn( cont2, 93, 82, new Bottle( 1000 ) );

            PlaceItemIn( cont, 78, 91, cont2 );
            // End bag of potion kegs

            GoldRing ring = new GoldRing();
            ring.Name = "Ring Of Arcane Tactics";
            ring.Attributes.CastRecovery = 3;
            ring.Attributes.CastSpeed = 1;
            PlaceItemIn( cont, 109, 90, ring );

            GoldBracelet bracelet = new GoldBracelet();
            bracelet.Name = "Farmer's Band Of Mastery";
            bracelet.Attributes.CastRecovery = 3;
            bracelet.Attributes.CastSpeed = 1;
            PlaceItemIn( cont, 139, 95, bracelet );

            PlaceItemIn( bank, 63, 142, cont );
            // End box of Magery Items

            // Begin bag of ethereals
            cont = new Backpack();
            cont.Hue = 0x490;
            cont.Name = "Bag Of Ethy's!";

            cont.DropItem( new EtherealHorse() );
            cont.DropItem( new EtherealOstard() );
            cont.DropItem( new EtherealLlama() );
            cont.DropItem( new EtherealKirin() );
            cont.DropItem( new EtherealUnicorn() );
            cont.DropItem( new EtherealRidgeback() );
            cont.DropItem( new EtherealSwampDragon() );
            cont.DropItem( new EtherealBeetle() );

            PlaceItemIn( bank, 43, 124, cont );
            // End bag of ethereals

            // Begin box of Artifacts
            cont = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Hue = 1170;
            cont.Name = "Artifacts";

            // Begin bag of minor artifacts
            cont2 = new Bag();
            cont2.Hue = 1167;
            cont2.Name = "Minor Artifacts";

            cont2.DropItem( new LunaLance() );
            cont2.DropItem( new VioletCourage() );
            cont2.DropItem( new CavortingClub() );
            cont2.DropItem( new CaptainQuacklebushsCutlass() );
            cont2.DropItem( new NightsKiss() );
            cont2.DropItem( new ShipModelOfTheHMSCape() );
            cont2.DropItem( new AdmiralsHeartyRum() );
            cont2.DropItem( new CandelabraOfSouls() );
            cont2.DropItem( new IolosLute() );
            cont2.DropItem( new GwennosHarp() );
            cont2.DropItem( new ArcticDeathDealer() );
            cont2.DropItem( new EnchantedTitanLegBone() );
            cont2.DropItem( new NoxRangersHeavyCrossbow() );
            cont2.DropItem( new BlazeOfDeath() );
            cont2.DropItem( new DreadPirateHat() );
            cont2.DropItem( new BurglarsBandana() );
            cont2.DropItem( new GoldBricks() );
            cont2.DropItem( new AlchemistsBauble() );
            cont2.DropItem( new PhillipsWoodenSteed() );
            cont2.DropItem( new PolarBearMask() );
            cont2.DropItem( new BowOfTheJukaKing() );
            cont2.DropItem( new GlovesOfThePugilist() );
            cont2.DropItem( new OrcishVisage() );
            cont2.DropItem( new StaffOfPower() );
            cont2.DropItem( new ShieldOfInvulnerability() );
            cont2.DropItem( new HeartOfTheLion() );
            cont2.DropItem( new ColdBlood() );
            cont2.DropItem( new GhostShipAnchor() );
            cont2.DropItem( new SeahorseStatuette() );
            cont2.DropItem( new WrathOfTheDryad() );
            cont2.DropItem( new PixieSwatter() );

            PlaceItemIn( cont, 17, 83, cont2 );
            // End bag of minor artifacts

            // Begin Bag of Major Artifacts
            cont2 = new Bag();
            cont2.Hue = 1266;
            cont2.Name = "Major Artifacts";

            cont2.DropItem( new GauntletsOfNobility() );
            cont2.DropItem( new MidnightBracers() );
            cont2.DropItem( new VoiceOfTheFallenKing() );
            cont2.DropItem( new OrnateCrownOfTheHarrower() );
            cont2.DropItem( new HelmOfInsight() );
            cont2.DropItem( new HolyKnightsBreastplate() );
            cont2.DropItem( new ArmorOfFortune() );
            cont2.DropItem( new TunicOfFire() );
            cont2.DropItem( new LeggingsOfBane() );
            cont2.DropItem( new ArcaneShield() );
            cont2.DropItem( new Aegis() );
            cont2.DropItem( new RingOfTheVile() );
            cont2.DropItem( new BraceletOfHealth() );
            cont2.DropItem( new RingOfTheElements() );
            cont2.DropItem( new OrnamentOfTheMagician() );
            cont2.DropItem( new DivineCountenance() );
            cont2.DropItem( new JackalsCollar() );
            cont2.DropItem( new HuntersHeaddress() );
            cont2.DropItem( new HatOfTheMagi() );
            cont2.DropItem( new ShadowDancerLeggings() );
            cont2.DropItem( new SpiritOfTheTotem() );
            cont2.DropItem( new BladeOfInsanity() );
            cont2.DropItem( new AxeOfTheHeavens() );
            cont2.DropItem( new TheBeserkersMaul() );
            cont2.DropItem( new Frostbringer() );
            cont2.DropItem( new BreathOfTheDead() );
            cont2.DropItem( new TheDragonSlayer() );
            cont2.DropItem( new BoneCrusher() );
            cont2.DropItem( new StaffOfTheMagi() );
            cont2.DropItem( new SerpentsFang() );
            cont2.DropItem( new LegacyOfTheDreadLord() );
            cont2.DropItem( new TheTaskmaster() );
            cont2.DropItem( new TheDryadBow() );
            cont2.DropItem( new TitansHammer() );
            cont2.DropItem( new InquisitorsResolution() );
            cont2.DropItem( new BladeOfTheRighteous() );
            cont2.DropItem( new ZyronicClaw() );

            PlaceItemIn( cont, 90, 83, cont2 );
            // End Bag of Major Artifacts

            // Begin bag of Tokuno minor artifacts
            cont2 = new Bag();
            cont2.Hue = 1281;
            cont2.Name = "Tokuno Minor Artifacts";

            cont2.DropItem( new PeasantsBokuto() );
            cont2.DropItem( new DragonNunchaku() );
            cont2.DropItem( new TheDestroyer() );
            cont2.DropItem( new HanzosBow() );
            cont2.DropItem( new Exiler() );
            cont2.DropItem( new PilferedDancerFans() );
            cont2.DropItem( new DemonForks() );
            cont2.DropItem( new BlackLotusHood() );
            cont2.DropItem( new DaimyosHelm() );
            cont2.DropItem( new ArmsOfTacticalExcellence() );
            cont2.DropItem( new AncientFarmersKasa() );
            cont2.DropItem( new GlovesOfTheSun() );
            cont2.DropItem( new LegsOfStability() );
            cont2.DropItem( new AncientSamuraiDo() );
            cont2.DropItem( new PigmentsOfTokuno() );
            cont2.DropItem( new FluteOfRenewal() );
            cont2.DropItem( new AncientUrn() );
            cont2.DropItem( new HonorableSwords() );
            cont2.DropItem( new ChestOfHeirlooms() );
            cont2.DropItem( new TomeOfEnlightenment() );

            PlaceItemIn( cont, 53, 83, cont2 );
            // End bag of Tokuno minor artifacts

            // Begin bag of Tokuno major artifacts
            cont2 = new Bag();
            cont2.Hue = 1281;
            cont2.Name = "Tokuno Major Artifacts";

            cont2.DropItem( new DarkenedSky() );
            cont2.DropItem( new KasaOfRajin() );
            cont2.DropItem( new RuneBeetleCarapace() );
            cont2.DropItem( new Stormgrip() );
            cont2.DropItem( new SwordOfStampede() );
            cont2.DropItem( new SwordsOfProsperity() );
            cont2.DropItem( new TheHorselord() );
            cont2.DropItem( new TomeOfLostKnowledge() );
            cont2.DropItem( new WindsEdge() );
            cont2.DropItem( new PigmentsOfTokunoMajor( PigmentsType.ParagonGold, 50 ) );
            cont2.DropItem( new PigmentsOfTokunoMajor( PigmentsType.VioletCouragePurple, 50 ) );
            cont2.DropItem( new PigmentsOfTokunoMajor( PigmentsType.InvulnerabilityBlue, 50 ) );
            cont2.DropItem( new PigmentsOfTokunoMajor( PigmentsType.LunaWhite, 50 ) );
            cont2.DropItem( new PigmentsOfTokunoMajor( PigmentsType.DryadGreen, 50 ) );
            cont2.DropItem( new PigmentsOfTokunoMajor( PigmentsType.ShadowDancerBlack, 50 ) );
            cont2.DropItem( new PigmentsOfTokunoMajor( PigmentsType.BerserkerRed, 50 ) );
            cont2.DropItem( new PigmentsOfTokunoMajor( PigmentsType.NoxGreen, 50 ) );
            cont2.DropItem( new PigmentsOfTokunoMajor( PigmentsType.RumRed, 50 ) );
            cont2.DropItem( new PigmentsOfTokunoMajor( PigmentsType.FireOrange, 50 ) );

            PlaceItemIn( cont, 127, 83, cont2 );
            // End bag of Tokuno major artifacts

            // Begin bag of ML Minor artifacts
            cont2 = new Bag();
            cont2.Hue = 1167;
            cont2.Name = "Minor Artifacts";

            cont2.DropItem( new AegisOfGrace() );
            cont2.DropItem( new BladeDance() );
            cont2.DropItem( new BloodwoodSpirit() );
            cont2.DropItem( new Bonesmasher() );
            cont2.DropItem( new Boomstick() );
            cont2.DropItem( new BrightsightLenses() );
            cont2.DropItem( new FeyLeggings() );
            cont2.DropItem( new FleshRipper() );
            cont2.DropItem( new HelmOfSwiftness() );
            cont2.DropItem( new PadsOfTheCuSidhe() );
            cont2.DropItem( new QuiverOfRage() );
            cont2.DropItem( new QuiverOfTheElements() );
            cont2.DropItem( new RaedsGlory() );
            cont2.DropItem( new RighteousAnger() );
            cont2.DropItem( new RobeOfTheEclipse() );
            cont2.DropItem( new RobeOfTheEquinox() );
            cont2.DropItem( new SoulSeeker() );
            cont2.DropItem( new TalonBite() );
            cont2.DropItem( new TotemOfTheVoid() );
            cont2.DropItem( new WildfireBow() );
            cont2.DropItem( new Windsong() );

            PlaceItemIn( cont, 140, 83, cont2 );
            // End bag of ML Minor artifacts

            PlaceItemIn( bank, 63, 106, cont );
            // End box of Artifacts

            // Begin box of General Resources
            cont = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Hue = 1193;
            cont.Name = "Genereal Resources";

            // Begin bag of raw materials
            cont2 = new Bag();
            cont2.Name = "Raw Materials Bag";

            PlaceItemIn( cont2, 92, 60, new BarbedLeather( 5000 ) );
            PlaceItemIn( cont2, 92, 68, new HornedLeather( 5000 ) );
            PlaceItemIn( cont2, 92, 76, new SpinedLeather( 5000 ) );
            PlaceItemIn( cont2, 92, 84, new Leather( 5000 ) );

            PlaceItemIn( cont2, 30, 118, new Cloth( 5000 ) );
            PlaceItemIn( cont2, 30, 84, new Board( 5000 ) );
            PlaceItemIn( cont2, 57, 80, new BlankScroll( 500 ) );
            PlaceItemIn( cont2, 57, 80, new Bone( 100 ) );

            PlaceItemIn( cont2, 30, 35, new DullCopperIngot( 5000 ) );
            PlaceItemIn( cont2, 37, 35, new ShadowIronIngot( 5000 ) );
            PlaceItemIn( cont2, 44, 35, new CopperIngot( 5000 ) );
            PlaceItemIn( cont2, 51, 35, new BronzeIngot( 5000 ) );
            PlaceItemIn( cont2, 58, 35, new GoldIngot( 5000 ) );
            PlaceItemIn( cont2, 65, 35, new AgapiteIngot( 5000 ) );
            PlaceItemIn( cont2, 72, 35, new VeriteIngot( 5000 ) );
            PlaceItemIn( cont2, 79, 35, new ValoriteIngot( 5000 ) );
            PlaceItemIn( cont2, 86, 35, new IronIngot( 5000 ) );

            PlaceItemIn( cont2, 30, 59, new RedScales( 5000 ) );
            PlaceItemIn( cont2, 36, 59, new YellowScales( 5000 ) );
            PlaceItemIn( cont2, 42, 59, new BlackScales( 5000 ) );
            PlaceItemIn( cont2, 48, 59, new GreenScales( 5000 ) );
            PlaceItemIn( cont2, 54, 59, new WhiteScales( 5000 ) );
            PlaceItemIn( cont2, 60, 59, new BlueScales( 5000 ) );

            PlaceItemIn( cont, 40, 93, cont2 );
            // End bag of raw materials

            // Begin bag of tools
            cont2 = new Bag();
            cont2.Name = "Tool Bag";

            cont2.DropItem( new TinkerTools( 30000 ) );
            cont2.DropItem( new HousePlacementTool() );
            cont2.DropItem( new DovetailSaw( 30000 ) );
            cont2.DropItem( new Scissors() );
            cont2.DropItem( new MortarPestle( 30000 ) );
            cont2.DropItem( new ScribesPen( 30000 ) );
            cont2.DropItem( new SmithHammer( 30000 ) );
            cont2.DropItem( new TwoHandedAxe() );
            cont2.DropItem( new FletcherTools( 30000 ) );
            cont2.DropItem( new SewingKit( 30000 ) );
            cont2.DropItem( new Clippers( 30000 ) );

            PlaceItemIn( cont, 90, 93, cont2 );
            // End bag of tools

            // Begin bag of runic tools
            cont2 = new Backpack();
            cont2.Name = "Runic Tool Bag";

            PlaceItemIn( cont2, 54, 74, new RunicHammer( CraftResource.DullCopper, 30000 ) );
            PlaceItemIn( cont2, 64, 74, new RunicHammer( CraftResource.ShadowIron, 30000 ) );
            PlaceItemIn( cont2, 74, 74, new RunicHammer( CraftResource.Copper, 30000 ) );
            PlaceItemIn( cont2, 84, 74, new RunicHammer( CraftResource.Bronze, 30000 ) );
            PlaceItemIn( cont2, 94, 74, new RunicHammer( CraftResource.Gold, 30000 ) );
            PlaceItemIn( cont2, 104, 74, new RunicHammer( CraftResource.Agapite, 30000 ) );
            PlaceItemIn( cont2, 114, 74, new RunicHammer( CraftResource.Verite, 30000 ) );
            PlaceItemIn( cont2, 124, 74, new RunicHammer( CraftResource.Valorite, 30000 ) );

            PlaceItemIn( cont2, 54, 90, new RunicSewingKit( CraftResource.SpinedLeather, 30000 ) );
            PlaceItemIn( cont2, 64, 90, new RunicSewingKit( CraftResource.HornedLeather, 30000 ) );
            PlaceItemIn( cont2, 74, 90, new RunicSewingKit( CraftResource.BarbedLeather, 30000 ) );

            PlaceItemIn( cont2, 54, 107, new RunicFletchersTools( CraftResource.Oak, 30000 ) );
            PlaceItemIn( cont2, 69, 107, new RunicFletchersTools( CraftResource.Ash, 30000 ) );
            PlaceItemIn( cont2, 83, 107, new RunicFletchersTools( CraftResource.Yew, 30000 ) );
            PlaceItemIn( cont2, 97, 107, new RunicFletchersTools( CraftResource.Heartwood, 30000 ) );

            PlaceItemIn( cont2, 93, 90, new RunicDovetailSaw( CraftResource.Oak, 30000 ) );
            PlaceItemIn( cont2, 102, 90, new RunicDovetailSaw( CraftResource.Ash, 30000 ) );
            PlaceItemIn( cont2, 112, 90, new RunicDovetailSaw( CraftResource.Yew, 30000 ) );
            PlaceItemIn( cont2, 122, 90, new RunicDovetailSaw( CraftResource.Heartwood, 30000 ) );

            PlaceItemIn( cont, 65, 67, cont2 );
            // End bag of runic tools

            // Begin bag of recipes
            cont2 = new Bag();
            cont2.Name = "Bag of Recipes";
            cont2.Hue = 2301;

            for ( int i = 0; i <= 92; i++ )
                cont2.DropItem( new RecipeScroll( i ) );

            PlaceItemIn( cont, 115, 93, cont2 );
            // End bag of recipes

            // Begin bag of archery ammo
            cont2 = new Bag();
            cont2.Name = "Bag Of Archery Ammo";

            PlaceItemIn( cont2, 48, 76, new Arrow( 5000 ) );
            PlaceItemIn( cont2, 72, 76, new Bolt( 5000 ) );

            PlaceItemIn( cont, 65, 93, cont2 );
            // End bag of archery ammo

            // Begin bag of Wood
            cont2 = new Bag();
            cont2.Hue = 1321;
            cont2.Name = "Bag of Wood";

            cont2.DropItem( new AshBoard( 500 ) );
            cont2.DropItem( new YewBoard( 500 ) );
            cont2.DropItem( new OakBoard( 500 ) );
            cont2.DropItem( new HeartwoodBoard( 500 ) );
            cont2.DropItem( new BloodwoodBoard( 500 ) );
            cont2.DropItem( new FrostwoodBoard( 500 ) );

            PlaceItemIn( cont, 139, 93, cont2 );
            // End bag of Wood

            // Begin Bag of Imbuing Materials
            cont2 = new Bag();
            cont2.Hue = 0x4B;
            cont2.Name = "Bag of Imbuing Materials";

            foreach ( ImbuingResource resource in Enum.GetValues( typeof( ImbuingResource ) ) )
            {
                try
                {
                    Type type = ScriptCompiler.FindTypeByFullName( String.Format( "Server.Items.{0}", resource.ToString() ) );

                    Item item = (Item) Activator.CreateInstance( type );
                    item.Amount = 1000;

                    cont2.DropItem( item );
                }
                catch
                {
                }
            }

            PlaceItemIn( cont, 16, 67, cont2 );
            // End Bag of Imbuing Materials

            // Begin Bag of Elven Materials
            cont2 = new Bag();
            cont2.Hue = 1195;
            cont2.Name = "Bag of Elven Materials";

            cont2.DropItem( new BarkFragment( 200 ) );
            cont2.DropItem( new Blight( 200 ) );
            cont2.DropItem( new BlueDiamond( 200 ) );
            cont2.DropItem( new BrilliantAmber( 200 ) );
            cont2.DropItem( new CapturedEssence( 200 ) );
            cont2.DropItem( new Corruption( 200 ) );
            cont2.DropItem( new DarkSapphire( 200 ) );
            cont2.DropItem( new DiseasedBark( 200 ) );
            cont2.DropItem( new DreadHornMane( 200 ) );
            cont2.DropItem( new EcruCitrine( 200 ) );
            cont2.DropItem( new EnchantedSwitch( 200 ) );
            cont2.DropItem( new EyeOfTheTravesty( 200 ) );
            cont2.DropItem( new FireRuby( 200 ) );
            cont2.DropItem( new GrizzledBones( 200 ) );
            cont2.DropItem( new HollowPrism( 200 ) );
            cont2.DropItem( new JeweledFiligree( 200 ) );
            cont2.DropItem( new LardOfParoxysmus( 200 ) );
            cont2.DropItem( new LuminescentFungi( 200 ) );
            cont2.DropItem( new Muculent( 200 ) );
            cont2.DropItem( new ParasiticPlant( 200 ) );
            cont2.DropItem( new PerfectEmerald( 200 ) );
            cont2.DropItem( new PristineDreadHorn( 200 ) );
            cont2.DropItem( new Putrefaction( 200 ) );
            cont2.DropItem( new RunedPrism( 200 ) );
            cont2.DropItem( new Scourge( 200 ) );
            cont2.DropItem( new SwitchItem( 200 ) );
            cont2.DropItem( new Taint( 200 ) );
            cont2.DropItem( new Turquoise( 200 ) );
            cont2.DropItem( new WhitePearl( 200 ) );

            PlaceItemIn( cont, 40, 67, cont2 );
            // End Bag of Elven Materials

            PlaceItemIn( bank, 88, 142, cont );
            // End box of General Resources

            // Begin box of Armor Set Pieces
            cont = new WoodenBox();
            cont.ItemID = 0xE7D;
            cont.Hue = 1194;
            cont.Name = "Armor Set Pieces";

            // Begin Bag of Juggernaut Set
            cont2 = new Bag();
            cont2.Hue = 1177;
            cont2.Name = "Juggernaut Set";

            cont2.DropItem( new MalekisHonor() );
            cont2.DropItem( new Evocaricus() );

            PlaceItemIn( cont, 17, 63, cont2 );
            // End Bag of Juggernaut Set

            // Begin Bag of Hunter Set Armor
            cont2 = new Bag();
            cont2.Hue = 1177;
            cont2.Name = "Hunter Set Armor";

            cont2.DropItem( new HunterGloves() );
            cont2.DropItem( new HunterLeggings() );
            cont2.DropItem( new HunterSleeves() );
            cont2.DropItem( new HunterTunic() );

            PlaceItemIn( cont, 40, 63, cont2 );
            // End Bag of Hunter Set Armor

            // Begin Bag of Paladin Set Armor
            cont2 = new Bag();
            cont2.Hue = 1177;
            cont2.Name = "Paladin Set Armor";

            cont2.DropItem( new PlateOfHonorArms() );
            cont2.DropItem( new PlateOfHonorChest() );
            cont2.DropItem( new PlateOfHonorGloves() );
            cont2.DropItem( new PlateOfHonorGorget() );
            cont2.DropItem( new PlateOfHonorHelm() );
            cont2.DropItem( new PlateOfHonorLegs() );

            PlaceItemIn( cont, 65, 63, cont2 );
            // End Bag of Paladin Set Armor

            // Begin Bag of Necromancer Set Armor
            cont2 = new Bag();
            cont2.Hue = 1177;
            cont2.Name = "Necromancer Set Armor";

            cont2.DropItem( new DeathsEssenceGloves() );
            cont2.DropItem( new DeathsEssenceHelm() );
            cont2.DropItem( new DeathsEssenceLeggings() );
            cont2.DropItem( new DeathsEssenceSleeves() );
            cont2.DropItem( new DeathsEssenceTunic() );

            PlaceItemIn( cont, 90, 63, cont2 );
            // End Bag of Necromancer Set Armor

            // Begin Bag of Acolyte Set Armor
            cont2 = new Bag();
            cont2.Hue = 1177;
            cont2.Name = "Acolyte Set Armor";

            cont2.DropItem( new AcolyteGloves() );
            cont2.DropItem( new AcolyteLeggings() );
            cont2.DropItem( new AcolyteSleeves() );
            cont2.DropItem( new AcolyteTunic() );

            PlaceItemIn( cont, 115, 63, cont2 );
            // End Bag of Acolyte Set Armor

            // Begin Bag of Marksman Set
            cont2 = new Bag();
            cont2.Hue = 1177;
            cont2.Name = "Marksman Set";

            cont2.DropItem( new Feathernock() );
            cont2.DropItem( new Swiftflight() );

            PlaceItemIn( cont, 139, 63, cont2 );
            // End Bag of Marksman Set

            // Begin Bag of Monstrous Interred Grizzle Set Armor
            cont2 = new Bag();
            cont2.Hue = 1177;
            cont2.Name = "Monstrous Interred Grizzle Set Armor";

            cont2.DropItem( new GauntletsOfTheGrizzle() );
            cont2.DropItem( new GreavesOfTheGrizzle() );
            cont2.DropItem( new SkullHelmOfTheGrizzle() );
            cont2.DropItem( new TunicOfTheGrizzle() );
            cont2.DropItem( new VambracesOfTheGrizzle() );

            PlaceItemIn( cont, 17, 89, cont2 );
            // End Bag of Monstrous Interred Grizzle Set Armor

            // Begin Bag of Warrior Set Armor
            cont2 = new Bag();
            cont2.Hue = 1177;
            cont2.Name = "Warrior Set Armor";

            cont2.DropItem( new DarkwoodChest() );
            cont2.DropItem( new DarkwoodCrown() );
            cont2.DropItem( new DarkwoodGauntlets() );
            cont2.DropItem( new DarkwoodGorget() );
            cont2.DropItem( new DarkwoodPauldrons() );
            cont2.DropItem( new DarkwoodLeggings() );

            PlaceItemIn( cont, 40, 89, cont2 );
            // End Bag of Warrior Set Armor

            // Begin Bag of Mage Set Armor
            cont2 = new Bag();
            cont2.Hue = 1177;
            cont2.Name = "Mage Set Armor";

            cont2.DropItem( new LeafweaveGloves() );
            cont2.DropItem( new LeafweaveLeggings() );
            cont2.DropItem( new LeafweaveSleeves() );
            cont2.DropItem( new LeafweaveTunic() );

            PlaceItemIn( cont, 65, 89, cont2 );
            // End Bag of Mage Set Armor

            // Begin Bag of Assassin Set Armor
            cont2 = new Bag();
            cont2.Hue = 1177;
            cont2.Name = "Assassin Set Armor";

            cont2.DropItem( new AssassinGloves() );
            cont2.DropItem( new AssassinLeggings() );
            cont2.DropItem( new AssassinSleeves() );
            cont2.DropItem( new AssassinTunic() );

            PlaceItemIn( cont, 90, 89, cont2 );
            // End Bag of Assassin Set Armor

            // Begin Bag of Myrmidon Set Armor
            cont2 = new Bag();
            cont2.Hue = 1177;
            cont2.Name = "Myrmidon Set Armor";

            cont2.DropItem( new MyrmidonArms() );
            cont2.DropItem( new MyrmidonChest() );
            cont2.DropItem( new MyrmidonGloves() );
            cont2.DropItem( new MyrmidonGorget() );
            cont2.DropItem( new MyrmidonHelm() );
            cont2.DropItem( new MyrmidonLegs() );

            PlaceItemIn( cont, 115, 89, cont2 );
            // End Bag of Myrmidon Set Armor

            PlaceItemIn( bank, 113, 142, cont );
            // End box of Armor Set Pieces

            PlaceItemIn( bank, 118, 111, new ChargerOfTheFallen() );
        }
Beispiel #26
0
        public Mordrid()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = ("Mordrid");
            Body = 184;
            Hue = 0;

            SetStr(800, 950);
            SetDex(91, 115);
            SetInt(300, 320);

            SetHits(2820, 3225);

            SetDamage(20, 22);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 0, 1);
            SetResistance(ResistanceType.Fire, 0, 1);
            SetResistance(ResistanceType.Poison, 0, 1);
            SetResistance(ResistanceType.Energy, 0, 1);
            SetResistance(ResistanceType.Cold, 0, 1);

            SetSkill(SkillName.EvalInt, 135.0, 100.0);
            SetSkill(SkillName.Tactics, 125.0, 130.0);
            SetSkill(SkillName.MagicResist, 75.0, 97.5);
            SetSkill(SkillName.Wrestling, 120.0, 135.0);
            SetSkill(SkillName.Meditation, 120.0);
            SetSkill(SkillName.Focus, 120.0);
            SetSkill(SkillName.Magery, 160.0, 180);

            Fame = 2500;
            Karma = -2500;

            VirtualArmor = 70;

            int hairHue = 0;

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

            AddItem(new Server.Items.HoodedShroudOfShadows(1109));
            AddItem(new Server.Items.Sandals(1157));
            AddItem(new Server.Items.FurCape(1109));

            GoldNecklace goldnecklace = new GoldNecklace();
            goldnecklace.Hue = 1157;
            goldnecklace.Movable = false;
            AddItem(goldnecklace);

            GoldRing goldring = new GoldRing();
            goldring.Hue = 1157;
            goldring.Movable = false;
            AddItem(goldring);

            Backpack backpack = new Backpack();
            backpack.Hue = 1109;
            backpack.Movable = false;
            AddItem(backpack);

            ME me = new ME();
            me.Hue = 1154;
            me.Movable = false;
            AddItem(me);

        }
Beispiel #27
0
        public override void InitOutfit()
		{
//			base.InitOutfit();

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

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

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

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

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

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

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

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

        }        
		public AuroraSkycaller():base( AIType.AI_Mage, FightMode.Weakest, 10, 1, 0.15, 0.2 )
		{
			Body = 0x191;
			Hue = 0x3F6;
			Name = "Aurora Skycaller";
			Kills = 10;
			ShortTermMurders = 10;

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

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

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

			Fame = 25000;
			Karma = -25000;

			VirtualArmor = 5;

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

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

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

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

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

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

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

			PackGold( 3200, 4000 );
			PackArmor( 0, 5 );
			PackWeapon( 0, 5 );
			PackArmor( 0, 5 );
			PackWeapon( 0, 5 );
			PackArmor( 0, 5 );
			PackWeapon( 0, 5 );
			PackArmor( 0, 5 );
			PackWeapon( 0, 5 );
			PackArmor( 0, 5 );
			PackWeapon( 0, 5 );
		}
Beispiel #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 ) ); 
		}
Beispiel #30
0
		public override void InitOutfit()
		{
			WipeLayers();
			AddItem( new Sandals() );

			// New Fall Fashions!

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

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

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

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

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

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

			//  End New Additions
			
		}
        public override void OnSpeech(SpeechEventArgs e)
        {
            #region Here is the list of Random Words you can use
            string dat_Facet = TalkingNPCsXMLReader.RandomName("dat_Facet");
            string dat_TownRegion = TalkingNPCsXMLReader.RandomName("dat_TownRegion");
            string dat_DungeonRegion = TalkingNPCsXMLReader.RandomName("dat_DungeonRegion");
            string dat_NoHousingRegion = TalkingNPCsXMLReader.RandomName("dat_NoHousingRegion");
            string dat_Other = TalkingNPCsXMLReader.RandomName("dat_Other");
            string dat_Shrine = TalkingNPCsXMLReader.RandomName("dat_Shrine");
            string dat_article1 = TalkingNPCsXMLReader.RandomName("dat_article");
            string dat_article2 = TalkingNPCsXMLReader.RandomName("dat_article");
            string dat_noun1 = TalkingNPCsXMLReader.RandomName("dat_noun");
            string dat_noun2 = TalkingNPCsXMLReader.RandomName("dat_noun");
            string dat_noun3 = TalkingNPCsXMLReader.RandomName("dat_noun");
            string dat_noun4 = TalkingNPCsXMLReader.RandomName("dat_noun");
            string dat_verb1 = TalkingNPCsXMLReader.RandomName("dat_verb");
            string dat_verb2 = TalkingNPCsXMLReader.RandomName("dat_verb");
            string dat_verbing1 = TalkingNPCsXMLReader.RandomName("dat_verbing");
            string dat_verbing2 = TalkingNPCsXMLReader.RandomName("dat_verbing");
            string dat_verb3rd1 = TalkingNPCsXMLReader.RandomName("dat_verb3rd");
            string dat_verb3rd2 = TalkingNPCsXMLReader.RandomName("dat_verb3rd");
            string dat_verbed1 = TalkingNPCsXMLReader.RandomName("dat_verbed");
            string dat_verbed2 = TalkingNPCsXMLReader.RandomName("dat_verbed");
            string dat_preposition1 = TalkingNPCsXMLReader.RandomName("dat_preposition");
            string dat_preposition2 = TalkingNPCsXMLReader.RandomName("dat_preposition");
            string dat_adj1 = TalkingNPCsXMLReader.RandomName("dat_adj");
            string dat_adj2 = TalkingNPCsXMLReader.RandomName("dat_adj");
            string dat_Greeting = TalkingNPCsXMLReader.RandomName("dat_Greeting");
            string dat_Language1 = TalkingNPCsXMLReader.RandomName("dat_Language");
            string dat_Language2 = TalkingNPCsXMLReader.RandomName("dat_Language");
            string dat_Language3 = TalkingNPCsXMLReader.RandomName("dat_Language");
            string dat_Armor = TalkingNPCsXMLReader.RandomName("dat_Armor");
            string dat_Creature1 = TalkingNPCsXMLReader.RandomName("dat_Creature");
            string dat_Creature2 = TalkingNPCsXMLReader.RandomName("dat_Creature");
            string dat_Room1 = TalkingNPCsXMLReader.RandomName("dat_Room");
            string dat_Room2 = TalkingNPCsXMLReader.RandomName("dat_Room");
            string dat_Furniture1 = TalkingNPCsXMLReader.RandomName("dat_Furniture");
            string dat_Furniture2 = TalkingNPCsXMLReader.RandomName("dat_Furniture");
            string dat_Liquid1 = TalkingNPCsXMLReader.RandomName("dat_Liquid");
            string dat_Number1 = TalkingNPCsXMLReader.RandomName("dat_Number");
            string dat_PlayingCards = TalkingNPCsXMLReader.RandomName("dat_PlayingCards");
            string dat_MinocShop = TalkingNPCsXMLReader.RandomName("dat_MinocShop");
            string dat_MinocShopQuestItem = TalkingNPCsXMLReader.RandomName("dat_MinocShopQuestItem");
            #endregion

            string playername = e.Mobile.Name;
            string speech = e.Speech.ToLower();

            #region Player says "Hi"
            for (int i = 0; i < Greetings.Length; i++)
                if (speech == Greetings[i])
                {
                    switch (Utility.Random(4))  //picks one of the following
                    {
                        case 0:
                            { Say(String.Format("{0} {1}, do you want to play your favorite game?", dat_Greeting, playername, dat_verb1, dat_Creature1)); break; }
                        case 1:
                            { Say(String.Format("Would you like some {0} cookies?", dat_adj1)); break; }
                        case 2:
                            { Say(String.Format("I use a thimble to help sew that {0} coat.", dat_adj1)); break; }
                        case 3:
                            { Say(String.Format("May I sew up that {0} hole in your sock?", dat_adj1)); break; }
                    }
                }
            #endregion

            #region Play says "Yes" or some other response
            for (int i = 0; i < Response.Length; i++)
                if (speech == Response[i])
                {
                    if (m_ItemHasBeenReturned == true)
                    {
                        switch (Utility.Random(4))  //picks one of the following
                        {
                            case 0:
                                {
                                    Say(String.Format("{0} hide your eyes, while I hide the {1} thimble.  Then bring it to me.", playername, dat_adj1));
                                    break;
                                }
                            case 1:
                                {
                                    dat_article1 = char.ToUpper(dat_article1[0]) + dat_article1.Substring(1);
                                    Say(String.Format("{0} somewhere around here I have a {1} thimble.", playername, dat_adj1));
                                    break;
                                }
                            case 2:
                                {
                                    dat_article1 = char.ToUpper(dat_article1[0]) + dat_article1.Substring(1);
                                    Say(String.Format("Hot or Cold, find the hidden {0} thimble.", dat_adj1));
                                    break;
                                }
                            case 3:
                                {
                                    dat_article1 = char.ToUpper(dat_article1[0]) + dat_article1.Substring(1);
                                    Say(String.Format("Be a good {0} and find my {1} thimble.", dat_Creature1, dat_adj1));
                                    break;
                                }
                        }


                        //Choose Item Location
                        int x = Location.X + Utility.RandomMinMax(-5, 5);
                        int y = Location.Y + Utility.RandomMinMax(-5, 5);
                        int z = Map.GetAverageZ(x, y);

                        if (Map.CanFit(x, y, Location.Z, 1))
                        {
                            Item item = new GoldRing();
                            item.Name = "Thimble";
                            item.MoveToWorld(new Point3D(x, y, Location.Z), Map);
                            m_ItemHasBeenReturned = false;
                            GrandmaItemTimer t = new GrandmaItemTimer();
                            t.Start();
                        }
                        else if (Map.CanFit(x, y, z, 1))
                        {
                            Item item = new GoldRing();
                            item.Name = "Thimble";
                            item.MoveToWorld(new Point3D(x, y, z), Map);
                            m_ItemHasBeenReturned = false;
                            GrandmaItemTimer t = new GrandmaItemTimer();
                            t.Start();
                        }
                    }
                    else
                    {
                        Say(String.Format("A thimble, {0} or {1}.  Hurry any thimble will due!", dat_adj1, dat_adj2));
                    }
                }
            #endregion
        }
Beispiel #32
0
		public override void InitOutfit()
		{
			WipeLayers();

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

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

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

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

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

			Item boots = new Sandals(0x1);
			AddItem(boots);
		}
        public NewPlayerPackage()
        {
            Name     = "New Player Welcome Package";
            Hue      = 1281;
            LootType = LootType.Newbied;


            /*
             * Spellbook book1 = new Spellbook();
             * book1.Content = ulong.MaxValue;
             * DropItem(book1);
             * book1.Location = new Point3D(16, 83, 0);
             *
             * BookOfChivalry book2 = new BookOfChivalry();
             * book2.Content = 1023;//all spells
             * DropItem(book2);
             * book2.Location = new Point3D(33, 83, 0);
             *
             * NecromancerSpellbook book3 = new NecromancerSpellbook();
             * book3.Content = 0x1FFFF;
             * DropItem(book3);
             * book3.Location = new Point3D(49, 83, 0);
             */

            BaseArmor armor = new LeatherChest();

            armor.Hue      = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.LowerManaCost        = 2;
            armor.Attributes.LowerRegCost         = 5;
            armor.Attributes.Luck      = 10;
            armor.Attributes.BonusMana = 3;
            armor.Attributes.RegenMana = 1;
            armor.ColdBonus            = 1;
            armor.EnergyBonus          = 1;
            armor.FireBonus            = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(61, 74, 0);

            armor          = new LeatherLegs();
            armor.Hue      = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.RegenHits            = 1;
            armor.Attributes.BonusHits            = 3;
            armor.Attributes.LowerManaCost        = 2;
            armor.Attributes.LowerRegCost         = 5;
            armor.Attributes.Luck = 10;
            armor.ColdBonus       = 1;
            armor.EnergyBonus     = 1;
            armor.FireBonus       = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(71, 78, 0);

            armor          = new LeatherArms();
            armor.Hue      = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.LowerManaCost        = 2;
            armor.Attributes.LowerRegCost         = 5;
            armor.Attributes.Luck      = 10;
            armor.Attributes.BonusStam = 3;
            armor.Attributes.RegenStam = 1;
            armor.ColdBonus            = 1;
            armor.EnergyBonus          = 1;
            armor.FireBonus            = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(94, 84, 0);

            armor          = new LeatherGloves();
            armor.Hue      = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.LowerManaCost        = 2;
            armor.Attributes.LowerRegCost         = 5;
            armor.Attributes.Luck     = 10;
            armor.Attributes.BonusStr = 2;
            armor.ColdBonus           = 1;
            armor.EnergyBonus         = 1;
            armor.FireBonus           = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(108, 85, 0);

            armor          = new LeatherGorget();
            armor.Hue      = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.LowerManaCost        = 2;
            armor.Attributes.LowerRegCost         = 5;
            armor.Attributes.BonusInt             = 2;
            armor.Attributes.Luck = 10;
            armor.ColdBonus       = 1;
            armor.EnergyBonus     = 1;
            armor.FireBonus       = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(122, 79, 0);

            armor          = new LeatherCap();
            armor.Hue      = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.BonusDex             = 2;
            armor.Attributes.LowerManaCost        = 2;
            armor.Attributes.LowerRegCost         = 5;
            armor.Attributes.Luck = 10;
            armor.ColdBonus       = 1;
            armor.EnergyBonus     = 1;
            armor.FireBonus       = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(115, 88, 0);

            armor          = new MetalShield();
            armor.Hue      = 537;
            armor.LootType = LootType.Newbied;
            armor.ArmorAttributes.DurabilityBonus = 20;
            armor.Attributes.AttackChance         = 5;
            armor.Attributes.DefendChance         = 5;
            armor.Attributes.SpellChanneling      = 1;
            armor.Attributes.Luck = 10;
            armor.ColdBonus       = 1;
            armor.EnergyBonus     = 1;
            armor.FireBonus       = 1;
            //armor.ArmorRatingBonus = 2;
            armor.PoisonBonus = 1;
            DropItem(armor);
            armor.Location = new Point3D(132, 85, 0);

            BaseJewel ring = new GoldRing();

            ring.LootType = LootType.Newbied;
            ring.Attributes.NightSight   = 1;
            ring.Attributes.SpellDamage  = 5;
            ring.Attributes.WeaponDamage = 5;
            DropItem(ring);
            ring.Location = new Point3D(140, 60, 0);

            Item item = new Bandage(100);

            DropItem(item);
            item.Location = new Point3D(135, 66, 0);
        }
		public AidonCopy():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.15, 0.2 )
		{
			Body = 400;
			Hue = 0x3F6;
			Name = "Aidon the Archwizard";
			Kills = 10;
			ShortTermMurders = 10;

			SetStr( 356, 396 );
			SetDex( 125, 135 );
			SetInt( 830, 953 );

			SetDamage( 15, 20 );

			SetSkill( SkillName.Wrestling, 91.3, 97.8 );
			SetSkill( SkillName.Tactics, 91.5, 97.0 );
			SetSkill( SkillName.MagicResist, 140.6, 156.8);
			SetSkill( SkillName.Magery, 96.7, 99.8 );
			SetSkill( SkillName.EvalInt, 75.1, 80.1 );
			SetSkill( SkillName.Meditation, 61.1, 68.1 );

			Fame = 17500;
			Karma = -17500;

			VirtualArmor = 15;

			Item Robe = new Robe();
			Robe.Hue=2112;
			EquipItem( Robe );

                        Item SavageMask = new SavageMask();
			SavageMask.Movable=false;
			SavageMask.Hue=1175;
			EquipItem( SavageMask );

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

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

			Item hair = new Item( 0x203B);
			hair.Hue = 1072;
			hair.Layer = Layer.Hair;
			AddItem( hair );

			Item beard = new Item( 0x203E);
			beard.Hue = 1072;
			beard.Layer = Layer.FacialHair;
			AddItem( beard );

			switch ( Utility.Random( 10 ) )
			{
				case 0: PackItem( new GreaterAgilityPotion() ); break;
				case 1: PackItem( new GreaterExplosionPotion() ); break;
				case 2: PackItem( new GreaterCurePotion() ); break;
				case 3: PackItem( new GreaterHealPotion() ); break;
				case 4: PackItem( new NightSightPotion() ); break;
				case 5: PackItem( new GreaterPoisonPotion() ); break;
				case 6: PackItem( new TotalRefreshPotion() ); break;
				case 7: PackItem( new GreaterStrengthPotion() ); break;
			}

			switch ( Utility.Random( 20 ) )
			{
				case 0: PackWeapon( 2, 5 ); break;
				case 1: PackArmor( 2, 5 ); break;
			}

			switch ( Utility.Random( 10 ) )
			{
				case 0: PackWeapon( 0, 5 ); break;
				case 1: PackArmor( 0, 5 ); break;
			}

			switch ( Utility.Random( 5 ) )
			{
				case 0: PackWeapon( 0, 5 ); break;
				case 1: PackArmor( 0, 5 ); break;
			}

			switch ( Utility.Random( 2 ) )
			{
				case 0: PackWeapon( 0, 5 ); break;
				case 1: PackArmor( 0, 5 ); break;
			}

			switch ( Utility.Random( 5 ) )
			{
				case 0: PackReg( 11 ); break;
				case 1: PackScroll( 4, 8 ); break;
				case 2: PackScroll( 6, 7 ); break;
				case 3: PackReg( 12 ); break;
				case 4: PackReg( 10 ); break;
			}

			PackGold( 500, 1000 );

		}
Beispiel #35
0
        public Talon()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Title = "Student of the arts";
            Name = "Talon";
            Body = 400;
            Hue = 33770;

            Blessed = true;

            SetStr(900, 1100);
            SetDex(291, 315);
            SetInt(600, 720);

            SetHits(1520, 1725);

            SetDamage(10, 15);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 0, 1);
            SetResistance(ResistanceType.Fire, 0, 1);
            SetResistance(ResistanceType.Poison, 0, 1);
            SetResistance(ResistanceType.Energy, 0, 1);

            SetSkill(SkillName.EvalInt, 85.0, 100.0);
            SetSkill(SkillName.Tactics, 75.1, 100.0);
            SetSkill(SkillName.MagicResist, 75.0, 97.5);
            SetSkill(SkillName.Wrestling, 20.2, 60.0);
            SetSkill(SkillName.Meditation, 120.0);
            SetSkill(SkillName.Focus, 120.0);
            SetSkill(SkillName.Magery, 140.0, 150.0);

            Fame = 2500;
            Karma = -2500;

            VirtualArmor = 50;

            int hairHue = 0;
            Blessed = true;

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

            AddItem(new Server.Items.HoodedShroudOfShadows(0));
            AddItem(new Server.Items.Sandals(0));

            GoldNecklace goldnecklace = new GoldNecklace();
            goldnecklace.Hue = 0;
            goldnecklace.Movable = false;
            AddItem(goldnecklace);

            GoldRing goldring = new GoldRing();
            goldring.Hue = 0;
            goldring.Movable = false;
            AddItem(goldring);

            Backpack backpack = new Backpack();
            backpack.Hue = 1150;
            backpack.Movable = false;
            AddItem(backpack);

        }
        public static Item GetItem(int productNumber)
		{
			Item item = null;

			switch (productNumber)
			{
				case 16133:
					item = new EtherealHorse();
					break;
				case 16134:
					item = new EtherealLlama();
					break;
				case 16135:
					item = new EtherealOstard();
					break;
				case 16136:
					item = new KillBook();
					break;
				case 16137:
					item = new Bag();
					((Bag)item).DropItem(new SpidersSilk(50000));
					((Bag)item).DropItem(new Nightshade(50000));
					((Bag)item).DropItem(new Bloodmoss(50000));
					((Bag)item).DropItem(new MandrakeRoot(50000));
					((Bag)item).DropItem(new Ginseng(50000));
					((Bag)item).DropItem(new Garlic(50000));
					((Bag)item).DropItem(new BlackPearl(50000));
					((Bag)item).DropItem(new SulfurousAsh(50000));
					break;
				case 16138:
					item = new SpecialDonateDye();
					break;
				case 16141:
					item = new Sandals();
                                        item.Name = "magic threads";
					item.Hue = 5;
					item.LootType = LootType.Blessed;
					break;
				case 16142:
					item = new Sandals();
                                        item.Name = "magic threads";
					item.Hue = 110;
					item.LootType = LootType.Blessed;
					break;
				case 16139:
					item = new Sandals();
                                        item.Name = "magic threads";
					item.Hue = 90;
					item.LootType = LootType.Blessed;
					break;
				case 16140:
					item = new Sandals();
                                        item.Name = "magic threads";
					item.Hue = 70;
					item.LootType = LootType.Blessed;
					break;
				case 16143:
					item = new HoodedShroudOfShadows();
					item.Name = "a rare agapite shroud";
					item.Hue = 2425;
					item.LootType = LootType.Blessed;
                                        break;
				case 16144:
					item = new ValoriteDonationBox();
					break;
				case 16145:
					item = new SilverDonationBox();
					break;
				case 16146:
					item = new GoldenDonationBox();
					break;
				case 16147:
					item = new SurvivalPack();
					break;
				case 16148:
					item = new EtherealSkeletal();
					break;
				case 16149:
					item = new WeddingDeed();
					break;
				case 16150:
					item = new DonationSandals();
					break;
				case 16151:
					item = new DonationBandana();
					break;
				case 16152:
					item = new MembershipTicket();
					((MembershipTicket)item).MemberShipTime = TimeSpan.FromDays(30);
					break;
				case 16153:
					item = new MembershipTicket();
					((MembershipTicket)item).MemberShipTime = TimeSpan.FromDays(90);
					break;
				case 16154:
					item = new MembershipTicket();
					((MembershipTicket)item).MemberShipTime = TimeSpan.FromDays(180);
					break;
				case 16155:
					item = new MembershipTicket();
					((MembershipTicket)item).MemberShipTime = TimeSpan.FromDays(360);
					break;
				case 16156:
					item = new SexChangeDeed();
					item.LootType = LootType.Blessed;
                                        break;
				case 16157:
					item = new Item(5360);
					item.Name = "a Character Transfer Ticket";
                                        item.Hue = 1266;
					item.LootType = LootType.Blessed;
					break;
				case 16158:
					item = new LayerSashDeed();
                                        item.LootType = LootType.Blessed;
                                        break;
				case 16159:
					item = new EtherealUnicorn();
					break;
				case 16160:
					item = new AOSHouseDeed7x12();
					break;
				case 16161:
					item = new AOSHouseDeed12x7();
					break;
				case 16162:
					item = new AOSHouseDeed15x12();
					break;
				case 16163:
					item = new AOSHouseDeed12x15();
					break;
				case 16164:
					item = new AOSHouseDeed18x18();
					break;
				case 16165:
					item = new DonationSkillBall( 1 );
					break;
				case 16166:
					item = new DonationSkillBall( 5 );
					break;
				case 16167:
					item = new DonationSkillBall( 10 );
					break;
				case 16168:
					item = new DonationSkillBall( 25 );
					break;
				case 16169:
					item = new DonationSkillBall( 50 );
					break;
				case 16170:
					item = new Bag();
					((Bag)item).DropItem(new IronIngot(50000));
					break;
				case 16171:
					item = new Bag();
					((Bag)item).DropItem(new Board(50000));
					break;
				case 16172:
					item = new PetBondDeed();
					break;
                                case 16184:
					item = new PotionBundle();
					break;
                                case 16185:
					item = null;//new PotionBundleAoS();
					break;
                                case 16186:
					item = new ApagiteDonationBox();
					break;
                                case 16187:
					item = new VeriteDonationBox();
					break;
                                case 16188:
					item = new SerpentCrest();
					break;
                                case 16189:
					item = new IronMaiden();
					break;
                                case 16190:
					item = new Guillotine();
					break;
                                case 16191:
					item = new BigMushroom1();
					break;
                                case 16192:
					item = new BigMushroom2();
					break;
                                case 16193:
					item = new BigMushroom3();
					break;
                                case 16194:
					item = new BigMushroom4();
					break;
                                case 16195:
					item = new LillyPad1();
					break;
                                case 16196:
					item = new LillyPad2();
					break;
                                case 16197:
					item = new LillyPad3();
					break;
                                case 16198:
					item = new DonationDecorArmor1();
					break;
                                case 16199:
					item = new DonationDecorArmor2();
					break;
                                case 16200:
					item = new DonationDecorArmor3();
					break;
                                case 16201:
					item = new DonationDecorArmor4();
					break;
                                case 16242:
					item = new CastleDeed();
					item.LootType = LootType.Blessed;
					break;
                                case 16243:
					item = new KeepDeed();
					item.LootType = LootType.Blessed;
					break;
                                case 16244:
					item = new BlackHairDye();
					item.LootType = LootType.Blessed;
					break;
                                case 16245:
					item = new SpecialDonateDyeBeard();
					item.LootType = LootType.Blessed;
					break;
                                case 16246:
					item = new KillDeed();
					item.LootType = LootType.Blessed;
					break;
                                case 16247:
					item = new SkinToneDeed();
					item.LootType = LootType.Blessed;
					break;
                                case 16248:
					item = new EtherealMountDeed();
					item.LootType = LootType.Blessed;
					break;
                               case 16249:
					item = new Item(5360);
                                        item.Hue = 1266;
					item.Name = "a house teleporter ticket";
					item.LootType = LootType.Blessed;
					break;
                                case 16250:
					item = new Item(5360);
                                        item.Hue = 1266;
					item.Name = "a water house spot ticket";
					item.LootType = LootType.Blessed;
					break;
                                case 16251:
					item = new ElevenBox();
					break;
                                case 16252:
					item = new ElvenRobe();
					break;
                                case 16253:
					item = new RaffleTicket();
					break;
					case 16267:
							item = new PoisongreenDonationBox();
							break;
					case 16268:
							item = new SoulStone();
							break;
					case 16269:
							item = new SoulStoneFragment();
							break;
					case 16270:
							item = new BoneTable();
							break;
					case 16271:
							item = new BoneThrone();
							break;
					case 16272:
							item = new OneMillionBankCheckDeed();
							break;
					case 16273:
							item = new DarkblueDonationBox();
							break;
					case 16274:
					////////item = new xxx();
							break;
					case 16275:
							item = new ShadowDonationBox();
							break;
					case 16292 :
							item = new FishTankAddonDeed();
							break;
					case 16294 :
							item = new AncientBedAddonDeed();
							break;
					case 16296 :
							item = new HeroKnightShield();
							break;
					case 16297 :
							item = new StoneSculpture();
							break;
					case 16298 :
							item = new AncientFruitBowl();
							break;
					case 16299 :
							item = new AncientRobe();
							item.LootType = LootType.Blessed;
							break;
					case 16300 :
							item = new AncientShoes();
							item.LootType = LootType.Blessed;
							break;
					case 16301 :
							item = new AncientCoat();
							item.LootType = LootType.Blessed;
							break;
					case 16302 :
							item = new GardenDonationBox();
							break;
					case 16303 :
							item = new DungeonDonationBox();
							break;
					case 16304 :
							item = new UltimateDecorationDonationBox();
							break;
					case 16305 :
							item = new ChristmasDonationBox();
							break;
					case 16306 :
							item = new MetalHueBundleTicket();
							break;
					case 16307 :
							item = new SpecialHueBundleTicket();
							break;
					case 16308 :
							item = new SevenGMBag();
							break;
					case 16311 :
							item = new PokerLowRollerTicket();
							break;
					case 16312 :
							item = new PokerHighRollerTicket();
							break;
					case 16313 :
							item = new MoongateLibraryDeed();
							break;
					case 16314 :
							item = new DisplayCaseAddonDeed();
							break;
					case 16315:
					item = new TamerDonationBox();
					break;
                                case 16316:
					item = new SeedBox();
					break;
                                case 16317:
					item = new DarkRedDonationBox();
					break;
                                case 16318:
					item = new DarkGreenDonationBox();
					break;
                                case 16319:
					item = new FireDonationBox();
					break;
                                case 16320:
					item = new PinkDonationBox();
					break;
                                case 16321:
					item = new DarkBrownDonationBox();
					break;
                                case 16322:
					item = new OliveDonationBox();
					break;
                                case 16323:
					item = new HiryuTicket();
					break;
                                case 16324:
				////////item = new xxx();
					break;
                                case 16325:
					item = new ExtremeHueBundleTicket();
					break;
                                case 16326:
					item = new TribalMask();
                                        item.Name = "Mask of the Fire God";
					item.Hue = 1359;
					item.LootType = LootType.Blessed;
					break;
                                case 16327:
					item = new TribalMask();
                                        item.Name = "Mask of Velvet Purity";
					item.Hue = 1374;
					item.LootType = LootType.Blessed;
					break;
                                case 16328:
					item = new TribalMask();
                                        item.Name = "Mask of the Farseer";
					item.Hue = 1267;
					item.LootType = LootType.Blessed;
					break;
                                case 16329:
					item = new TribalMask();
                                        item.Name = "Mask of the Venom King";
					item.Hue = 1196;
					item.LootType = LootType.Blessed;
					break;
                                case 16330:
					item = new ShroudOfIllusions();
                                        item.Name = "Shroud of the Morphling Lord";
					item.Hue = 1154;
					item.LootType = LootType.Blessed;
					break;
                                case 16331:
					item = new EtherealWarSteed();
					break;
                                case 16332:
					item = new EtherealDragonSteed();
					break;
// NEW DONATIONS ITEM 20-11-08 ---------------------------------------------------------
                                	 case 16333:
					item = new TribalMask();
                                        item.Name = "Mask of the Scoundrel";
					item.Hue = 920;
					item.LootType = LootType.Blessed;
					break;

                                	 case 16334:
					item = new TribalMask();
                                        item.Name = "Mask of the Harrower";
					item.Hue = 1194;
					item.LootType = LootType.Blessed;
					break;

                               	  	 case 16335:
					item = new TribalMask();
                                        item.Name = "Mask of the Tree Lord";
					item.Hue = 1445;
					item.LootType = LootType.Blessed;
					break;

                               		 case 16336:
					item = new TribalMask();
                                        item.Name = "Mask of the Rich";
					item.Hue = 2213;
					item.LootType = LootType.Blessed;
					break;

                                	 case 16337:
					item = new TribalMask();
                                        item.Name = "Mask of the Unknown";
					item.Hue = 2055;
					item.LootType = LootType.Blessed;
					break;

                               		 case 16338:
					item = new Shoes();
                                        item.Name = "I support the shard";
					item.Hue = 1166;
					item.LootType = LootType.Blessed;
					break;

                               		 case 16339:
					item = new Shoes();
                                        item.Name = "I support the shard";
					item.Hue = 1260;
					item.LootType = LootType.Blessed;
					break;

                               		 case 16340:
					item = new Shoes();
                                        item.Name = "I support the shard";
					item.Hue = 1153;
					item.LootType = LootType.Blessed;
					break;

                                	case 16341:
					item = new Shoes();
                                        item.Name = "I support the shard";
					item.Hue = 1177;
					item.LootType = LootType.Blessed;
					break;

					  case 16342:
					item = new Shoes();
                                        item.Name = "I support the shard";
					item.Hue = 1266;
					item.LootType = LootType.Blessed;
					break;

					  case 16343:
					item = new RoyalCloak();
					item.LootType = LootType.Blessed;
					break;

					  case 16344:
					item = new OrangeDonationBox();
					break;
//// New items Feb - 2009 ////   //// New items Feb - 2009 ////   //// New items Feb - 2009 ////

 					 case 16345:
					item = new GoldRing();
                                        item.Name = "a 603-carat diamond";
					item.Hue = 2067;
					item.LootType = LootType.Blessed;
					break;

					  case 16346:
					item = new FireGlasses();
					item.LootType = LootType.Blessed;
					break;

					  case 16347:
					item = new ShroudOfmysterious();
					item.LootType = LootType.Blessed;
					break;

					  case 16348:
					item = new HoodedShroudOfShadows();
					item.Hue = 2055;
					item.LootType = LootType.Blessed;
					break;

					  case 16349:
					item = new HoodedShroudOfShadows();
					item.Hue = 2054;
					item.LootType = LootType.Blessed;
					break;

					  case 16350:
					item = new HoodedShroudOfShadows();
					item.Hue = 2053;
					item.LootType = LootType.Blessed;
					break;


                              		  case 16354:
					item = new TribalMask();
                                        item.Name = "a tribal mask to be renamed.";
					item.Hue = 37;
					item.LootType = LootType.Blessed;
					break;


                            		  case 16355:
					item = new TribalMask();
                                        item.Name = "a tribal mask to be renamed.";
					item.Hue = 9;
					item.LootType = LootType.Blessed;
					break;


                            		  case 16356:
					item = new TribalMask();
                                        item.Name = "a tribal mask to be renamed.";
					item.Hue = 39;
					item.LootType = LootType.Blessed;
					break;


                            		  case 16357:
					item = new TribalMask();
                                        item.Name = "a tribal mask to be renamed.";
					item.Hue = 92;
					item.LootType = LootType.Blessed;
					break;


                            		  case 16358:
					item = new BronzeStatueMaker();
					item.LootType = LootType.Blessed;
					break;

                            		  case 16359:
					item = new JadeStatueMaker();
					item.LootType = LootType.Blessed;

					break;

                            		  case 16360:
					item = new MarbleStatueMaker();
					item.LootType = LootType.Blessed;
					break;


                            		  case 16361:
					item = new GoldStatueMaker();
					item.LootType = LootType.Blessed;
					break;


                            		  case 16362:
					item = new BloodstoneStatueMaker();
					item.LootType = LootType.Blessed;
					break;


                            		  case 16363:
					item = new AlabasterStatueMaker();
					item.LootType = LootType.Blessed;
					break;

                            		  case 16364:
					item = new EtherealKirin();
					item.LootType = LootType.Blessed;
					break;


                            		  case 16365:
					item = new GMSafeTradeTicket();
					item.LootType = LootType.Blessed;
					break;


                            		  case 16366:
					item = new TheDarkSoldiers();
					break;


                            		  case 16367:
					item = new TheDarkLords();
					break;

                            		  case 16368:
					item = new TheDarkKnightsBundle();
					break;

					case 16373:
					item = new Bag();
					((Bag)item).DropItem(new Bottle(10000));
					break;


					case 16374:
					item = new Bag();
					((Bag)item).DropItem(new BarbedLeather(5000));
					break;


					case 16375:
					item = new Bag();
					((Bag)item).DropItem(new SpinedLeather(5000));
					break;


					case 16376:
					item = new Bag();
					((Bag)item).DropItem(new HornedLeather(5000));
					break;


					case 16377:
					item = new CheapEvoPointsDeed();
					item.LootType = LootType.Blessed;
					break;

					case 16378:
					item = new TitleChangeDeed();
					item.LootType = LootType.Blessed;
					break;

					case 16379:
					item = new OceanBlueDonationBundle();
					break;

					case 16390:
					item = new SkyBlueDonationBundle();
					break;

					case 16381:
					item = new LayeredSpellbookTicket();
					break;

					case 16391:
					item = new TeleporterDonationDeed();
					break;


				case 16392:
				item = new EtherealWarSteed();
				item.Name = "a donation ethereal mount";
				item.Hue = 1150;
				item.LootType = LootType.Blessed;
				break;

				case 16393:
				item = new EtherealWarSteed();
				item.Name = "a donation ethereal mount";
				item.Hue = 1167;
				item.LootType = LootType.Blessed;
				break;

				case 16394:
				item = new EtherealWarSteed();
				item.Name = "a donation ethereal mount";
				item.Hue = 38;
				item.LootType = LootType.Blessed;
				break;

				case 16395:
				item = new EtherealWarSteed();
				item.Name = "a donation ethereal mount";
				item.Hue = 1160;
				item.LootType = LootType.Blessed;
				break;

				case 16396:
				item = new EtherealWarSteed();
				item.Name = "a donation ethereal mount";
				item.Hue = 1161;
				item.LootType = LootType.Blessed;
				break;

				case 16397:
				item = new EtherealWarSteed();
				item.Name = "a donation ethereal mount";
				item.Hue = 1140;
				item.LootType = LootType.Blessed;
				break;

                              	case 16398:
				item = new TribalMask();
                                item.Name = "a tribal mask to be renamed.";
				item.Hue = 1167;
				item.LootType = LootType.Blessed;
				break;

                              	case 16399:
				item = new TribalMask();
                                item.Name = "a tribal mask to be renamed.";
				item.Hue = 1160;
				item.LootType = LootType.Blessed;
				break;

                              	case 16400:
				item = new TribalMask();
                                item.Name = "a tribal mask to be renamed.";
				item.Hue = 1161;
				item.LootType = LootType.Blessed;
				break;

                              	case 16401:
				item = new TribalMask();
                                item.Name = "a tribal mask to be renamed.";
				item.Hue = 1172;
				item.LootType = LootType.Blessed;
				break;

                              	case 16402:
				item = new TribalMask();
                                item.Name = "a tribal mask to be renamed.";
				item.Hue = 1165;
				item.LootType = LootType.Blessed;
				break;

                              	case 16403:
				item = new TribalMask();
                                item.Name = "a tribal mask to be renamed.";
				item.Hue = 1140;
				item.LootType = LootType.Blessed;
				break;


                              	case 16404:
				item = new DonationDeed();
                                item.Name = "a supporting deed.";
				item.Hue = 1161;
				item.LootType = LootType.Blessed;
				break;


                              	case 16405:
				item = new CTFDonationTicket();
                                item.Name = "a ctf ticket.";
				item.Hue = 1110;
				item.LootType = LootType.Blessed;
				break;

                              	case 16406:
				item = new UHSSkinDeed();
                                item.Name = "a uhs skin deed.";
				item.Hue = 1110;
				item.LootType = LootType.Blessed;
				break;

                              	case 16407:
				item = new BlackBeardHairDye();
                                item.Name = "a black beard hair dye.";
				item.Hue = 1175;
				item.LootType = LootType.Blessed;
				break;








                                default:
					item = null;
					break;
			}

			return item;
		}