예제 #1
0
        public override void InitOutfit()
        {
            WipeLayers();

            switch (Utility.Random(2))
            {
            case 0: AddItem(new SkullCap(Utility.RandomRedHue())); break;

            case 1: AddItem(new TricorneHat(Utility.RandomRedHue())); break;
            }


            if (Utility.RandomBool())
            {
                Item shirt = new Shirt(Utility.RandomRedHue());
                AddItem(shirt);
            }

            Item sash  = new BodySash(0x85);
            Item hair  = new Item(Utility.RandomList(0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2049, 0x204A));
            Item pants = new LongPants(Utility.RandomRedHue());
            Item boots = new Boots(Utility.RandomRedHue());

            hair.Hue     = Utility.RandomHairHue();
            hair.Layer   = Layer.Hair;
            hair.Movable = false;

            Item sword;

            if (Utility.RandomBool())
            {
                sword = new Scimitar();
            }
            else
            {
                sword = new Cutlass();
            }

            AddItem(hair);
            AddItem(sash);
            AddItem(pants);
            AddItem(boots);
            AddItem(sword);
            sword.Movable = false;

            if (!this.Female)
            {
                Item beard = new Item(Utility.RandomList(0x203E, 0x203F, 0x2040, 0x2041, 0x204B, 0x204C, 0x204D));
                beard.Hue     = hair.Hue;
                beard.Layer   = Layer.FacialHair;
                beard.Movable = false;
                AddItem(beard);
            }
        }
예제 #2
0
        public override void InitOutfit()
        {
            WipeLayers();

            // black captain's hat
            TricorneHat hat = CaptainsHat();

            hat.LootType = LootType.Newbied;
            AddItem(hat);

            if (Utility.RandomBool())
            {
                Item shirt = new Shirt(Utility.RandomRedHue());
                AddItem(shirt);
            }

            Item sash  = new BodySash(0x85);
            Item hair  = new Item(Utility.RandomList(0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2049, 0x204A));
            Item pants = new LongPants(Utility.RandomRedHue());
            Item boots = new Boots(Utility.RandomRedHue());

            hair.Hue     = Utility.RandomHairHue();
            hair.Layer   = Layer.Hair;
            hair.Movable = false;

            Item sword;

            if (Utility.RandomBool())
            {
                sword = new Scimitar();
            }
            else
            {
                sword = new Cutlass();
            }

            sword.LootType = LootType.Newbied;

            AddItem(hair);
            AddItem(sash);
            AddItem(pants);
            AddItem(boots);
            AddItem(sword);

            if (!this.Female)
            {
                Item beard = new Item(Utility.RandomList(0x203E, 0x203F, 0x2040, 0x2041, 0x204B, 0x204C, 0x204D));
                beard.Hue     = hair.Hue;
                beard.Layer   = Layer.FacialHair;
                beard.Movable = false;
                AddItem(beard);
            }
        }
예제 #3
0
파일: Noble.cs 프로젝트: proxeeus/UORebirth
        public override void InitOutfit()
        {
            Item item = null;

            if (!Female)
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = AddRandomFacialHair(item.Hue);
                item     = new FancyShirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item     = new LongPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item     = new Cloak();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item     = new BodySash();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item = Utility.RandomBool() ? (Item) new Boots() : (Item) new ThighBoots();
                AddItem(item);
                item = new Longsword();
                AddItem(item);
                PackGold(100, 150);
            }
            else
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = new FancyDress();
                item.Hue = Utility.RandomNeutralHue();
                AddItem(item);
                item     = new Cloak();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item     = new BodySash();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item = Utility.RandomBool() ? (Item) new Boots() : (Item) new ThighBoots();
                AddItem(item);
                item = new Longsword();
                AddItem(item);
                PackGold(100, 150);
            }
        }
예제 #4
0
            public InternalSellInfo()
            {
                Add(typeof(BoltOfCloth), BoltOfCloth.GetSBSellValue());

                Add(typeof(Scissors), Scissors.GetSBSellValue());
                Add(typeof(SewingKit), SewingKit.GetSBSellValue());
                Add(typeof(Dyes), Dyes.GetSBSellValue());
                Add(typeof(DyeTub), DyeTub.GetSBSellValue());

                Add(typeof(SkullCap), SkullCap.GetSBSellValue());
                Add(typeof(Bandana), Bandana.GetSBSellValue());
                Add(typeof(FloppyHat), FloppyHat.GetSBSellValue());
                Add(typeof(Cap), Cap.GetSBSellValue());
                Add(typeof(WideBrimHat), WideBrimHat.GetSBSellValue());
                Add(typeof(TallStrawHat), TallStrawHat.GetSBSellValue());
                Add(typeof(Bonnet), Bonnet.GetSBSellValue());
                Add(typeof(FeatheredHat), FeatheredHat.GetSBSellValue());
                Add(typeof(TricorneHat), TricorneHat.GetSBSellValue());
                Add(typeof(JesterHat), JesterHat.GetSBSellValue());
                Add(typeof(WizardsHat), WizardsHat.GetSBSellValue());

                Add(typeof(Doublet), Doublet.GetSBSellValue());
                Add(typeof(Shirt), Shirt.GetSBSellValue());
                Add(typeof(FancyShirt), FancyShirt.GetSBSellValue());
                Add(typeof(Tunic), Tunic.GetSBSellValue());
                Add(typeof(Surcoat), Surcoat.GetSBSellValue());
                Add(typeof(JesterSuit), JesterSuit.GetSBSellValue());
                Add(typeof(PlainDress), PlainDress.GetSBSellValue());
                Add(typeof(FancyDress), FancyDress.GetSBSellValue());
                Add(typeof(Robe), Robe.GetSBSellValue());

                Add(typeof(ShortPants), ShortPants.GetSBSellValue());
                Add(typeof(LongPants), LongPants.GetSBSellValue());
                Add(typeof(Kilt), Kilt.GetSBSellValue());
                Add(typeof(Skirt), Skirt.GetSBSellValue());

                Add(typeof(Cloak), Cloak.GetSBSellValue());
                Add(typeof(BodySash), BodySash.GetSBSellValue());
                Add(typeof(HalfApron), HalfApron.GetSBSellValue());
                Add(typeof(FullApron), FullApron.GetSBSellValue());

                Add(typeof(Sandals), Sandals.GetSBSellValue());
                Add(typeof(Shoes), Shoes.GetSBSellValue());
                Add(typeof(Boots), Boots.GetSBSellValue());
                Add(typeof(ThighBoots), ThighBoots.GetSBSellValue());
            }
예제 #5
0
		private void Dress()
		{
			AddItem(new FancyShirt(0));

			Item pants = new LongPants();
			pants.Hue = 1;
			AddItem(pants);

			Item shoes = new Shoes();
			shoes.Hue = 1;
			AddItem(shoes);

			Item sash = new BodySash();
			sash.Hue = 1;
			AddItem(sash);

			Utility.AssignRandomHair(this);
		}
예제 #6
0
        public override void InitOutfit()
        {
            Item item = null;

            int hairHue = Utility.RandomHairHue();

            Utility.AssignRandomHair(this, hairHue);

            if (Female)
            {
                item = new FancyDress();
                AddItem(item);
                item.Hue = Utility.RandomNeutralHue();
            }
            else
            {
                Utility.AssignRandomFacialHair(this, hairHue);

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

                item = new LongPants();
                AddItem(item);
                item.Hue = Utility.RandomNondyedHue();
            }

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

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

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

            item = new Longsword();
            AddItem(item);

            AddLoot(LootPack.FilthyRich);
        }
예제 #7
0
		public DreadLordCaptain() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.1, 0.1 )
		{
			SpeechHue = Utility.RandomDyedHue();

			Hue = Utility.RandomSkinHue();

			Body = 0x190;
			Name = "Dread Lord Captain";

			SetStr( 400 );
			SetDex( 200, 250 );
			SetInt( 200, 250 );
			SetHits( 350, 400 );
			SetStam( 200, 250 );
			SetMana( 200, 250 );
			SetDamage( 10, 20 );

			SetSkill( SkillName.Parry, 85.0, 98.0 );
			SetSkill( SkillName.Wrestling, 67.0, 90.0 );
			SetSkill( SkillName.Magery, 90.0, 100.0 );
			SetSkill( SkillName.Poisoning, 90.0, 100.0 );
			SetSkill( SkillName.MagicResist, 65.0, 88.0 );
			SetSkill( SkillName.Swords, 90.0, 95.0 );
			SetSkill( SkillName.Tactics, 90.0, 98.0 );

			Fame = 7500;
			Karma = -10000;

			VirtualArmor = 40;

			Item temp;
			temp = new PlateGloves();
			temp.Movable = false;
			AddItem( temp );
			temp = new PlateHelm();
			temp.Movable = false;
			AddItem( temp );
			temp = new PlateArms();
			temp.Movable = false;
			AddItem( temp );
			temp = new PlateGorget();
			temp.Movable = false;
			AddItem( temp );
			temp = new PlateLegs();
			temp.Movable = false;
			AddItem( temp );
			temp = new PlateChest();
			temp.Movable = false;
			AddItem( temp );
			temp = new VikingSword();
			temp.Movable = false;
			AddItem( temp );
			temp = new Cloak();
			temp.Hue = 0x0493;
			temp.Movable = true;
			AddItem( temp );
			temp = new BodySash();
			temp.Hue = 0x0493;
			temp.Movable = true;
			AddItem( temp );
			temp = new HalfApron();
			temp.Hue = 0x1;
			temp.Movable = false;
			AddItem( temp );

			Item hair = new Item( Utility.RandomList( 0x203B, 0x2049, 0x2048, 0x204A ) );
			hair.Hue = Utility.RandomNondyedHue();
			hair.Layer = Layer.Hair;
			hair.Movable = false;
			AddItem( hair );
			//PackGold(800, 1200);
			PackGem( 4 );
		}
예제 #8
0
        public EvilMinionone() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "The Evil Minion";
            Body        = 400;
            Hue         = 33770;
            BaseSoundID = 343;

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

            SetHits(478, 595);

            SetDamage(40, 120);

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

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

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

            Fame  = 1500;
            Karma = -50000;

            VirtualArmor = 40;

            JesterHat hat = new JesterHat();

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

            ElvenPants legs = new ElvenPants();

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

            FancyShirt chest = new FancyShirt();

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

            LeatherGloves gloves = new LeatherGloves();

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

            ElvenBoots boots = new ElvenBoots();

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


            BodySash bodysash = new BodySash();

            bodysash.Hue     = 64;
            bodysash.Movable = false;
            AddItem(bodysash);

            HalfApron halfapron = new HalfApron();

            halfapron.Hue     = 64;
            halfapron.Movable = false;
            AddItem(halfapron);

            Cloak cloak = new Cloak();

            cloak.Hue     = 64;
            cloak.Movable = false;
            AddItem(cloak);

            PackGold(6000, 10000);
        }
예제 #9
0
        public DupresChampion() : base(AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
        {
            Name   = NameList.RandomName("male");
            Title  = "the Champion";
            Body   = 0x190;
            Hue    = Utility.RandomSkinHue();
            Female = false;

            SetStr(190, 200);
            SetDex(50, 75);
            SetInt(150, 250);
            SetHits(3900, 4100);
            SetDamage(22, 28);

            SetDamageType(ResistanceType.Physical, 100);

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

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

            Item cutlass = new Cutlass();

            cutlass.LootType = LootType.Blessed;
            SetWearable(cutlass);

            Item ph = new PlateHelm();

            ph.LootType = LootType.Blessed;
            ph.Hue      = 0x8A5; // gold
            SetWearable(ph);

            Item pa = new PlateArms();

            pa.LootType = LootType.Blessed;
            pa.Hue      = 0x8A5; // gold
            SetWearable(pa);

            Item pg = new PlateGorget();

            pg.LootType = LootType.Blessed;
            pg.Hue      = 0x8A5; // gold
            SetWearable(pg);

            Item pgl = new PlateGloves();

            pgl.LootType = LootType.Blessed;
            pgl.Hue      = 0x8A5; // gold
            SetWearable(pgl);

            Item pl = new PlateLegs();

            pl.LootType = LootType.Blessed;
            pl.Hue      = 0x8A5; // gold
            SetWearable(pl);

            Item pc = new PlateChest();

            pc.LootType = LootType.Blessed;
            pc.Hue      = 0x8A5; // gold
            SetWearable(pc);

            Item mks = new MetalKiteShield();

            mks.LootType = LootType.Blessed;
            mks.Hue      = 0x776;
            SetWearable(mks);

            Item bs = new BodySash(0x486); // dark purple

            bs.LootType = LootType.Blessed;
            SetWearable(bs);

            Item cloak = new Cloak(0x486); // dark purple

            cloak.LootType = LootType.Blessed;
            SetWearable(cloak);

            PackGold(400, 600);
        }
예제 #10
0
        public WoodElfEliteWarrior() : base(AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body = 0x190;
            Name = NameList.RandomName("male");
            Hue  = 0x597;

            SetStr(60, 80);
            SetDex(81, 95);
            SetInt(70, 100);

            SetHits(80, 100);
            SetStam(81, 95);

            SetDamage(10, 30);

            SetSkill(SkillName.Swords, 60.0, 100.0);               //we dont need to give him uberskillz
            SetSkill(SkillName.Tactics, 50.0, 100.0);
            SetSkill(SkillName.MagicResist, 15.0, 38.0);
            SetSkill(SkillName.Wrestling, 25.0, 40.0);

            Fame  = 0;
            Karma = Utility.RandomMinMax(-2500, -5000);

            VirtualArmor = 18;

            //AddItem(Server.Items.Hair.GetRandomHair(Female));
            AddItem(new Sandals(Utility.RandomNeutralHue()));
            AddItem(new VikingSword());
            AddItem(new WoodenShield());
            AddItem(new Goatee(Serial.NewItem));
            AddItem(new MetalKiteShield());
            StuddedChest che = new StuddedChest();

            che.Hue = 0x045e;

            StuddedGloves glo = new StuddedGloves();

            glo.Hue = 0x045e;

            StuddedLegs leg = new StuddedLegs();

            leg.Hue = 0x0599;

            StuddedArms arm = new StuddedArms();

            arm.Hue = 0x0599;

            StuddedGorget gor = new StuddedGorget();

            gor.Hue = 0x045e;

            BodySash sas = new BodySash();

            sas.Hue = 0x0599;

            Cloak cape = new Cloak();

            cape.Hue = 0x045e;

            AddItem(cape);
            AddItem(gor);
            AddItem(sas);
            AddItem(arm);
            AddItem(glo);
            AddItem(leg);
            AddItem(che);
        }
예제 #11
0
        public HumanGuard() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.2, 0.4)
        {
            Title     = "the Guard";
            SpeechHue = Utility.RandomDyedHue();
            Hue       = Utility.RandomSkinHue();
            Body      = 0x190;
            Level     = 8;

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Name = NameList.RandomName("female");
            }
            else
            {
                Body = 0x190;
                Name = NameList.RandomName("male");
            }

            Fame  = 1000;
            Karma = 5000;

            RingmailArms arms = new RingmailArms();

            arms.Hue     = 0xA13;
            arms.Movable = false;
            AddItem(arms);
            ChainChest chest = new ChainChest();

            chest.Hue     = 0xA0B;
            chest.Movable = false;
            AddItem(chest);
            ChainLegs legs = new ChainLegs();

            legs.Hue     = 0xA13;
            legs.Movable = false;
            AddItem(legs);
            RingmailGloves gloves = new RingmailGloves();

            gloves.Hue     = 0xA13;
            gloves.Movable = false;
            AddItem(gloves);
            MetalShield shield = new MetalShield();

            shield.Hue     = 0xA0B;
            shield.Movable = false;
            AddItem(shield);

            Cloak cloak = new Cloak();

            cloak.Hue     = 0x95D;
            cloak.Movable = false;
            AddItem(cloak);
            BodySash sash = new BodySash();

            sash.Hue     = 0x95D;
            sash.Movable = false;
            AddItem(sash);
            Boots boots = new Boots();

            boots.Hue     = 0x95D;
            boots.Movable = false;
            AddItem(boots);

            PackGold(6, 8);

            SetSkill(SkillName.MagicResist, 50.0, 61.5);
            SetSkill(SkillName.Swords, 70.0, 90.5);
            SetSkill(SkillName.Tactics, 65.0, 87.5);
            SetSkill(SkillName.Wrestling, 25.0, 47.5);
            SetSkill(SkillName.Macing, 70.0, 90.7);

            SetStr(130, 150);
            SetDex(98, 115);
            SetInt(61, 85);
            SetHits(145, 168);
            SetDamage(9, 16);

            switch (Utility.Random(7))
            {
            case 0: WarMace wmace = new WarMace();
                wmace.Movable = false;
                AddItem(wmace);
                break;

            case 1: Bardiche bd = new Bardiche();
                bd.Movable = false;
                AddItem(bd);
                break;

            case 2: Broadsword bsword = new Broadsword();
                bsword.Movable = false;
                AddItem(bsword);
                break;

            case 3: Pike pike = new Pike();
                pike.Movable = false;
                AddItem(pike);
                break;

            case 4: Halberd hbrd = new Halberd();
                hbrd.Movable = false;
                AddItem(hbrd);
                break;

            case 5: Maul maul = new Maul();
                maul.Movable = false;
                AddItem(maul);
                break;

            case 6: VikingSword vsword = new VikingSword();
                vsword.Movable = false;
                AddItem(vsword);
                break;
            }

            AddItem(Server.Items.Hair.GetRandomHair(Female));
        }
예제 #12
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));
        }
예제 #13
0
        public ForgottenOneArcher() : base(AIType.AI_Melee, FightMode.Good, 10, 1, 0.2, 0.4)
        {
            Title  = "a ForgottenOne Archer";
            Name   = NameList.RandomName("male");
            Body   = 0x191;
            Hue    = 33805;
            Female = false;

            SetStr(1025, 1425);
            SetDex(81, 148);
            SetInt(475, 675);

            Fame  = -1000;
            Karma = -1000;

            SetHits(1000, 2000);

            SetDamage(24, 33);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 60, 85);
            SetResistance(ResistanceType.Fire, 65, 90);
            SetResistance(ResistanceType.Cold, 40, 55);
            SetResistance(ResistanceType.Poison, 40, 60);
            SetResistance(ResistanceType.Energy, 50, 75);

            SetSkill(SkillName.Archery, 100, 140);
            SetSkill(SkillName.Tactics, 100, 140);
            SetSkill(SkillName.MagicResist, 100, 140);
            SetSkill(SkillName.Tactics, 100, 140);
            SetSkill(SkillName.Wrestling, 100, 140);
            SetSkill(SkillName.Swords, 100, 140);
            SetSkill(SkillName.Magery, 100, 140);
            SetSkill(SkillName.Focus, 100, 140);

            VirtualArmor = 80;

            HeavyCrossbow heavycrossbow = new HeavyCrossbow();

            heavycrossbow.Movable = false;
            AddItem(heavycrossbow);
            //AddItem(new Bolt(100));

            HumilityCloak cloak = new HumilityCloak();

            cloak.Movable = false;
            AddItem(cloak);

            SpiritualityHelm spiritualityhelm = new SpiritualityHelm();

            spiritualityhelm.Movable = false;
            AddItem(spiritualityhelm);

            HonestyGorget honestygorget = new HonestyGorget();

            honestygorget.Movable = false;
            AddItem(honestygorget);

            JusticeBreastplate justicebreastplate = new JusticeBreastplate();

            justicebreastplate.Movable = false;
            AddItem(justicebreastplate);

            BodySash bodysash = new BodySash();

            bodysash.Movable = false;
            bodysash.Name    = "ForgottenOne";
            AddItem(bodysash);

            CompassionArms compassionarms = new CompassionArms();

            compassionarms.Movable = false;
            AddItem(compassionarms);

            ValorGauntlets valorgauntlets = new ValorGauntlets();

            valorgauntlets.Movable = false;
            AddItem(valorgauntlets);

            HonorLegs honorlegs = new HonorLegs();

            honorlegs.Movable = false;
            AddItem(honorlegs);

            SacrificeSollerets sacrificesollerets = new SacrificeSollerets();

            sacrificesollerets.Movable = false;
            AddItem(sacrificesollerets);

//          PlateChest chest = new PlateChest();
//			chest.Movable = false;
//			chest.Hue = 137;
//          AddItem(chest);

            VampiriacSteed vampiriacsteed = new VampiriacSteed();

            vampiriacsteed.Hue = 2412;
            //horse.Hits = 200;
            //horse.Karma = 500;
            vampiriacsteed.Rider = this;

            //new VampiriacSteed().Rider = this;
            heavycrossbow.Hue      = 2412;
            cloak.Hue              = 2412;
            spiritualityhelm.Hue   = 137;
            honestygorget.Hue      = 137;
            justicebreastplate.Hue = 137;
            bodysash.Hue           = 2412;
            compassionarms.Hue     = 137;
            valorgauntlets.Hue     = 137;
            honorlegs.Hue          = 137;
            sacrificesollerets.Hue = 137;
        }
예제 #14
0
        public DupresSquire() : base(AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
        {
            Name   = NameList.RandomName("male");
            Title  = "The Squire";
            Body   = 0x190;
            Hue    = Utility.RandomSkinHue();
            Female = false;

            SetStr(190, 200);
            SetDex(50, 75);
            SetInt(150, 250);
            SetHits(3900, 4100);
            SetDamage(22, 28);

            SetDamageType(ResistanceType.Physical, 100);

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

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

            VirtualArmor = 70;

            Item vikingsword = new VikingSword();

            vikingsword.LootType = LootType.Blessed;
            SetWearable(vikingsword);

            Item cc = new ChainChest();

            cc.LootType = LootType.Blessed;
            SetWearable(cc);

            Item cl = new ChainLegs();

            cl.LootType = LootType.Blessed;
            SetWearable(cl);

            Item ch = new CloseHelm();

            ch.LootType = LootType.Blessed;
            SetWearable(ch);

            Item boots = new Boots(1);

            boots.LootType = LootType.Blessed;
            SetWearable(boots);

            Item pgl = new PlateGloves();

            pgl.LootType = LootType.Blessed;
            SetWearable(pgl);

            Item mks = new MetalKiteShield();

            mks.LootType = LootType.Blessed;
            mks.Hue      = 0x776;
            SetWearable(mks);

            Item bs = new BodySash(0x794); // dark purple

            bs.LootType = LootType.Blessed;
            SetWearable(bs);

            PackGold(400, 600);
        }
예제 #15
0
        public static Item RandomIOB()
        {
            switch (Utility.Random(7))
            {
            case 0:     // Undead - GUL
            {
                if (Utility.RandomBool())
                {
                    return(new BloodDrenchedBandana());
                }
                else
                {
                    BodySash sash = new BodySash();
                    sash.Hue          = 0x66C;
                    sash.IOBAlignment = IOBAlignment.Council;
                    sash.Name         = "blood drenched sash";
                    sash.Dyable       = false;
                    sash.Scissorable  = false;
                    return(sash);
                }
            }

            case 1:     // Undead - UND
            {
                Sandals sandals = new Sandals();
                if (Utility.RandomBool())
                {
                    sandals.Hue = 0x66C;
                }
                else
                {
                    sandals.Hue = 0x1;
                }
                sandals.IOBAlignment = IOBAlignment.Undead;
                sandals.Name         = "sandals of the walking dead";
                sandals.Dyable       = false;
                sandals.Scissorable  = false;
                return(sandals);
            }

            case 2:     // Orcish
            {
                if (Utility.RandomBool())
                {       // green mask (brute color)
                    if (Utility.RandomBool())
                    {
                        return(new OrcishKinMask());
                    }
                    else
                    {                                   // old style mask (orc colored)
                        OrcishKinMask mask = new OrcishKinMask();
                        mask.Hue = 0;
                        return(mask);
                    }
                }
                else
                {
                    return(new OrcishKinHelm());
                }
            }

            case 3:     //Savage
            {
                if (Utility.RandomBool())
                {
                    if (Utility.RandomBool())
                    {
                        BearMask mask = new BearMask();
                        mask.IOBAlignment = IOBAlignment.Savage;
                        mask.Name         = "bear mask of savage kin";
                        mask.Dyable       = false;
                        return(mask);
                    }
                    else
                    {
                        DeerMask mask = new DeerMask();
                        mask.IOBAlignment = IOBAlignment.Savage;
                        mask.Name         = "deer mask of savage kin";
                        mask.Dyable       = false;
                        return(mask);
                    }
                }
                else
                {
                    SavageMask mask = new SavageMask();
                    mask.IOBAlignment = IOBAlignment.Savage;
                    mask.Name         = "tribal mask of savage kin";
                    mask.Dyable       = false;
                    return(mask);
                }
            }

            case 4:     // Pirates
            {
                if (Utility.RandomBool())
                {
                    if (Utility.RandomBool())
                    {
                        SkullCap skullcap = new SkullCap();
                        skullcap.IOBAlignment = IOBAlignment.Pirate;
                        skullcap.Name         = "a pirate skullcap";
                        skullcap.Hue          = 0x66C;
                        skullcap.Dyable       = false;
                        skullcap.Scissorable  = false;
                        return(skullcap);
                    }
                    else
                    {
                        Boots boots = new Boots();
                        boots.IOBAlignment = IOBAlignment.Pirate;
                        boots.Name         = "pirate kin boots";
                        boots.Hue          = 0x66c;
                        boots.Dyable       = false;
                        boots.Scissorable  = false;
                        return(boots);
                    }
                }
                else
                {
                    return(new PirateHat());
                }
            }

            case 5:     // Brigands
            {
                if (Utility.RandomBool())
                {
                    return(new BrigandKinBandana());
                }
                else
                {
                    return(new BrigandKinBoots());
                }
            }

            case 6:                     // Good
            {
                switch (Utility.Random(4))
                {
                case 0:
                    Boots boots = new Boots(0x5E4);
                    boots.IOBAlignment = IOBAlignment.Good;
                    boots.Name         = "Britannian Militia";
                    boots.Dyable       = false;
                    return(boots);

                case 1: Cloak cloak = new Cloak(Utility.RandomSpecialVioletHue());
                    cloak.IOBAlignment = IOBAlignment.Good;
                    cloak.Name         = "Britannian Militia";
                    cloak.Dyable       = false;
                    cloak.Scissorable  = false;
                    return(cloak);

                case 2: Surcoat surcoat = new Surcoat(Utility.RandomSpecialVioletHue());
                    surcoat.IOBAlignment = IOBAlignment.Good;
                    surcoat.Name         = "Britannian Militia";
                    surcoat.Dyable       = false;
                    surcoat.Scissorable  = false;
                    return(surcoat);

                case 3: BodySash bodySash = new BodySash(Utility.RandomSpecialRedHue());
                    bodySash.IOBAlignment = IOBAlignment.Good;
                    bodySash.Name         = "Britannian Militia";
                    bodySash.Dyable       = false;
                    bodySash.Scissorable  = false;
                    return(bodySash);
                }
                break;
            }
            }
            return(null);
        }
예제 #16
0
		public DreadLord() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.1, 0.1 )
		{
			SpeechHue = 0;

			Hue = Utility.RandomSkinHue();
			Body = 0x190;
			Name = "Dread Lord";

			SetStr( 200, 250 );
			SetDex( 100, 150 );
			SetInt( 71, 85 );
			SetHits( 200, 250 );
			SetDex( 100, 150 );
			SetInt( 71, 85 );
			SetDamage( 10, 20 );

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

			Fame = 6000;
			Karma = -10000;
			VirtualArmor = 30;

			Item temp;
			temp = new PlateGloves();
			temp.Movable = false;
			AddItem( temp );
			temp = new PlateHelm();
			temp.Movable = false;
			AddItem( temp );
			temp = new PlateArms();
			temp.Movable = false;
			AddItem( temp );
			temp = new PlateGorget();
			temp.Movable = false;
			AddItem( temp );
			temp = new PlateLegs();
			temp.Movable = false;
			AddItem( temp );
			temp = new PlateChest();
			temp.Movable = false;
			AddItem( temp );
			temp = new VikingSword();
			temp.Movable = false;
			AddItem( temp );
			temp = new Cloak();
			temp.Hue = 0x0020;
			temp.Movable = true;
			AddItem( temp );
			temp = new BodySash();
			temp.Hue = 0x0020;
			temp.Movable = true;
			AddItem( temp );
			temp = new HalfApron();
			temp.Hue = 0x0020;
			temp.Movable = false;
			AddItem( temp );

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

            Spellbook book = new Spellbook();
            book.Content = ulong.MaxValue;
            book.LootType = LootType.Regular;
            AddItem(book);
		}
예제 #17
0
        public ArcherGuard(Mobile target) : base(target)
        {
            Summoned = true;

            InitStats(1000, 1000, 1000);

            SpeechHue = 0;

            Hue = Utility.RandomSkinHue();

            #region Armor
            for (int i = 0; i < m_GuardArmor.Length; ++i)
            {
                m_GuardArmor[i].Resource = GuardTheme;
                AddItem(m_GuardArmor[i]);
                m_GuardArmor[i].Movable = false;
            }
            #endregion

            #region Cloth
            BaseClothing bC = null;

            switch (Utility.Random(3))
            {
            case 0:
                bC = new Doublet();
                break;

            case 1:
                bC = new Tunic();
                break;

            case 2:
                bC       = new BodySash();
                bC.Layer = Layer.Earrings;
                break;
            }

            if (bC != null)
            {
                bC.Resource = GuardTheme;
                AddItem(bC);
                bC.Movable = false;
            }
            #endregion

            #region Male/Female
            if (Female = Utility.RandomBool())
            {
                Body = 0x191;
                if (string.IsNullOrEmpty(Name))
                {
                    Name  = NameList.RandomName("female");
                    Title = "the guard";
                }

                FemalePlateChest ar = new FemalePlateChest();
                ar.Resource = GuardTheme;
                AddItem(ar);
                ar.Movable = false;
            }
            else
            {
                Body = 0x190;
                if (string.IsNullOrEmpty(Name))
                {
                    Name  = NameList.RandomName("male");
                    Title = "the guard";
                }

                PlateChest ar = new PlateChest();
                ar.Resource = GuardTheme;
                AddItem(ar);
                ar.Movable = false;
            }
            #endregion

            Utility.AssignRandomHair(this);

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

            Container pack = new Backpack();
            pack.Movable = false;
            pack.DropItem(new Gold(10, 25));
            AddItem(pack);

            #region Weapon
            BaseWeapon weapon;
            Item       ammo;

            switch (Utility.Random(3))
            {
            case 1:
                weapon = new Bow();
                ammo   = new Arrow(250);
                break;

            case 2:
                weapon = new Crossbow();
                ammo   = new Bolt(250);
                break;

            case 3:
                weapon = new HeavyCrossbow();
                ammo   = new Bolt(250);
                break;

            default:
                weapon = new Bow();
                ammo   = new Arrow(250);
                break;
            }

            weapon.Crafter   = this;
            weapon.Resource  = GuardTheme;
            weapon.Quality   = WeaponQuality.Exceptional;
            weapon.Speed     = 1;
            weapon.MinDamage = 10000;
            weapon.MaxDamage = 10000;
            AddItem(weapon);
            weapon.Movable = false;

            AddItem(ammo);
            ammo.LootType = LootType.Blessed;
            #endregion

            Skills[SkillName.Anatomy].Base      = 120.0;
            Skills[SkillName.Tactics].Base      = 125.0;
            Skills[SkillName.Archery].Base      = 100.0;
            Skills[SkillName.MagicResist].Base  = 120.0;
            Skills[SkillName.DetectHidden].Base = 100.0;

            if (Utility.RandomDouble() <= 0.1)
            {
                new Horse().Rider = this;
            }

            NextCombatTime = DateTime.Now + TimeSpan.FromSeconds(1.0);
            Focus          = target;
        }
예제 #18
0
        public Pirate2() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.4)
        {
            Name = "Pirate";

            if (Female = Utility.RandomBool())
            {
                Body = 186;
            }
            else
            {
                Body = 185;
            }

            SetStr(578, 620);
            SetDex(450, 500);
            SetInt(200, 300);

            SetHits(100, 150);
            SetDamage(30, 45);

            SetDamageType(ResistanceType.Physical, 100);

            SetSkill(SkillName.Fencing, 72.5, 100.0);
            SetSkill(SkillName.Healing, 60.3, 100.0);
            SetSkill(SkillName.Macing, 72.5, 100.0);
            SetSkill(SkillName.Poisoning, 60.0, 100.5);
            SetSkill(SkillName.MagicResist, 72.5, 100.0);
            SetSkill(SkillName.Swords, 72.5, 100.0);
            SetSkill(SkillName.Tactics, 72.5, 100.0);

            Fame  = 1000;
            Karma = -1000;

            CanSwim = true;

            Tamable      = false;
            ControlSlots = 1;
            MinTameSkill = 99.1;

            PackItem(new Gold(650, 1500));
            //PackItem( new Musket2() );

            new Horse().Rider = this;

            switch (Utility.Random(5))
            {
            case 0: PackItem(new SOS());
                break;

            case 1: PackItem(new SpecialFishingNet());
                break;
            }

            Item LongPants = new LongPants();

            LongPants.Movable = false;
            AddItem(LongPants);
            LongPants.Hue = 1;

            Item LeatherGloves = new LeatherGloves();

            LeatherGloves.Hue     = 1;
            LeatherGloves.Movable = false;
            AddItem(LeatherGloves);

            Item FancyShirt = new FancyShirt();

            FancyShirt.Hue     = 43;
            FancyShirt.Movable = false;
            AddItem(FancyShirt);

            Item BodySash = new BodySash();

            BodySash.Hue     = 1;
            BodySash.Movable = false;
            AddItem(BodySash);

            Item TricorneHat = new TricorneHat();

            TricorneHat.Hue     = 1;
            TricorneHat.Movable = false;
            AddItem(TricorneHat);

            Item ThighBoots = new ThighBoots();

            ThighBoots.Hue     = 1;
            ThighBoots.Movable = false;
            AddItem(ThighBoots);

            /*Item Musket2 = new Musket2();
             * Musket2.LootType = LootType.Blessed;
             * Musket2.Movable = false;
             * AddItem( Musket2 );
             *
             * switch ( Utility.Random( 1 ))
             * {
             *      case 0: PackItem( new ClothingBlessDeed() );
             *      break;
             *      }*/
        }
예제 #19
0
        public EvilSanta() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = " The Evil Santa";
            Title       = "of Chaos";
            Body        = 400;
            Hue         = 33770;
            BaseSoundID = 343;

            SetStr(500, 625);
            SetDex(300, 550);
            SetInt(1000, 2000);

            SetHits(10000);
            SetStam(500, 700);

            SetDamage(50, 120);

            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.MagicResist, 100.0);
            SetSkill(SkillName.Tactics, 97.6, 100.0);
            SetSkill(SkillName.Wrestling, 97.6, 100.0);


            Fame  = 22500;
            Karma = -22500;

            VirtualArmor = 70;



            FacialHairItemID = 8267;
            FacialHairHue    = 1153;

            LongPants legs = new LongPants();

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

            FancyShirt chest = new FancyShirt();

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

            LeatherGloves gloves = new LeatherGloves();

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

            ElvenBoots boots = new ElvenBoots();

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

            Item hair = new Item(Utility.RandomList(8252));

            hair.Hue     = 1153;
            hair.Layer   = Layer.Hair;
            hair.Movable = false;
            AddItem(hair);

            BodySash bodysash = new BodySash();

            bodysash.Hue     = 1153;
            bodysash.Movable = false;
            AddItem(bodysash);

            HalfApron halfapron = new HalfApron();

            halfapron.Hue     = 1153;
            halfapron.Movable = false;
            AddItem(halfapron);

            Cloak cloak = new Cloak();

            cloak.Hue     = 1153;
            cloak.Movable = false;
            AddItem(cloak);

            PackGold(6000, 10000);
        }
예제 #20
0
        public DryadFamiliar() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "a dryad";
            Body        = 401;
            Hue         = 33770;
            BaseSoundID = 0x4B0;

            SetStr(200);
            SetDex(200);
            SetInt(100);

            SetHits(175);
            SetStam(50);

            SetDamage(6, 9);

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

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

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

            VirtualArmor = 45;
            ControlSlots = 2;

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

            Item sash = new BodySash();

            sash.Hue     = Utility.RandomList(1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172);
            sash.Movable = false;
            AddItem(sash);

            Item shoes = new Sandals();

            shoes.Hue     = Utility.RandomList(1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172);
            shoes.Movable = false;
            AddItem(shoes);

            Item skirt = new LeatherSkirt();

            skirt.Hue     = Utility.RandomList(1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172);
            skirt.Movable = false;
            AddItem(skirt);

            Item garland = new FlowerGarland();

            garland.Hue     = Utility.RandomList(1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172);
            garland.Movable = false;
            AddItem(garland);
        }
예제 #21
0
        public Samurai() : base(AIType.AI_Melee, FightMode.Weakest, 10, 1, 0.175, 0.3)
        {
            Name        = "Samurai Assassin";
            Title       = ", Defiance Cult Clan";
            Hue         = 1;
            Body        = 400;
            SpeechHue   = 2305;
            BaseSoundID = 0;
            Team        = 0;
            //new EtherealHorse().Rider = this;

            SetStr(185, 215);
            SetDex(130, 140);
            SetInt(0, 0);

            SetHits(185, 300);

            SetSkill(SkillName.Tactics, 100.7, 100.4);
            SetSkill(SkillName.MagicResist, 191.4, 191.7);
            SetSkill(SkillName.Swords, 110.4, 110.7);
            SetSkill(SkillName.Anatomy, 110.4, 110.7);
            SetSkill(SkillName.Parry, 75.1, 100.1);

            Fame  = 15000;
            Karma = -15000;

            VirtualArmor = 75;

            Item Bokuto = new Bokuto();

            Bokuto.Movable = false;
            Bokuto.Hue     = 1150;
            Bokuto.Name    = "Samurai Bokuto";
            EquipItem(Bokuto);

            Item Buckler = new Buckler();

            Buckler.Movable = false;
            Buckler.Hue     = 1253;
            EquipItem(Buckler);

            Item AncientSamuraiHelm = new AncientSamuraiHelm();

            AncientSamuraiHelm.Movable = false;
            AncientSamuraiHelm.Hue     = 0;
            EquipItem(AncientSamuraiHelm);

            Item StuddedChest = new StuddedChest();

            StuddedChest.Movable = false;
            StuddedChest.Hue     = 1109;
            StuddedChest.Name    = "Samurai Clan";
            EquipItem(StuddedChest);

            Item BoneArms = new BoneArms();

            BoneArms.Movable = false;
            BoneArms.Hue     = 1109;
            EquipItem(BoneArms);

            Item Kamishimo = new Kamishimo();

            Kamishimo.Movable = false;
            Kamishimo.Hue     = 2407;
            EquipItem(Kamishimo);

            Item Sandals = new Sandals();

            Sandals.Movable = false;
            Sandals.Hue     = 1;
            EquipItem(Sandals);

            Item BodySash = new BodySash();

            BodySash.Movable = false;
            BodySash.Hue     = 4;
            BodySash.Name    = "Samurai Clan Member.";
            EquipItem(BodySash);

            Item hair = new Item(0x203D);

            hair.Hue     = 1;
            hair.Layer   = Layer.Hair;
            hair.Movable = false;
            AddItem(hair);

            PackGold(550, 2000);
            PackMagicItems(3, 7);
            PackMagicItems(3, 7);
            PackMagicItems(3, 7);
            PackMagicItems(3, 7);

            switch (Utility.Random(50))
            {
            case 0: PackItem(new Bokuto()); break;
            }
        }
예제 #22
0
        public DungeonGuard() : base(AIType.AI_Melee)
        {
            Name      = NameList.RandomName("male");
            Title     = "the Guard";
            Fame      = 5000;
            Karma     = -5000;
            Hue       = 1175;
            BodyValue = 400;;

            SetStr(150);
            SetDex(100);
            SetInt(200);

            SetHits(1000);

            SetSkill(SkillName.MagicResist, 200.0);
            SetSkill(SkillName.Tactics, 100.0);
            SetSkill(SkillName.Swords, 120.0);
            SetSkill(SkillName.DetectHidden, 100.0, 120.0);

            PlateArms a = new PlateArms();

            a.Hue      = 1109;
            a.LootType = LootType.Blessed;
            AddItem(a);

            Cloak c = new Cloak();

            c.Hue      = 1157;
            c.LootType = LootType.Blessed;
            AddItem(c);

            BodySash b = new BodySash();

            b.Hue      = 1157;
            b.LootType = LootType.Blessed;
            AddItem(b);

            PlateGloves g = new PlateGloves();

            g.Hue      = 1109;
            g.LootType = LootType.Blessed;
            AddItem(g);

            PlateLegs l = new PlateLegs();

            l.Hue      = 1109;
            l.LootType = LootType.Blessed;
            AddItem(l);

            PlateChest t = new PlateChest();

            t.Hue      = 1109;
            t.LootType = LootType.Blessed;
            AddItem(t);

            PlateGorget n = new PlateGorget();

            n.Hue      = 1109;
            n.LootType = LootType.Blessed;
            AddItem(n);

            PlateHelm h = new PlateHelm();

            h.Hue      = 1109;
            h.LootType = LootType.Blessed;
            AddItem(h);

            VikingSword w = new VikingSword();

            w.Hue      = 1109;
            w.Movable  = false;
            w.LootType = LootType.Blessed;
            AddItem(w);

            ChaosShield s = new ChaosShield();

            s.Hue      = 1109;
            s.Movable  = false;
            s.LootType = LootType.Blessed;
            AddItem(s);
        }
예제 #23
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.Trammel));
        }
예제 #24
0
        public Hodur() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.1, 0.4)
        {
            Name        = "Set";
            Title       = "Hodur God Of Winter";
            Body        = 400;
            Hue         = 0;
            BaseSoundID = 377;

            AddItem(new ThighBoots(0x51D));

            Item item;

            item     = new BodySash();
            item.Hue = 1152;
            AddItem(item);

            item     = new Cloak();
            item.Hue = 1152;
            AddItem(item);

            PlateArms arms = new PlateArms();

            arms.Hue     = 1151;
            arms.Movable = false;
            AddItem(arms);

            PlateChest chest = new PlateChest();

            chest.Hue     = 1151;
            chest.Movable = false;
            AddItem(chest);

            PlateGloves gloves = new PlateGloves();

            gloves.Hue     = 1151;
            gloves.Movable = false;
            AddItem(gloves);

            PlateGorget gorget = new PlateGorget();

            gorget.Hue     = 1151;
            gorget.Movable = false;
            AddItem(gorget);

            PlateHelm helm = new PlateHelm();

            helm.Hue     = 1151;
            helm.Movable = false;
            AddItem(helm);

            PlateLegs legs = new PlateLegs();

            legs.Hue     = 1151;
            legs.Movable = false;
            AddItem(legs);

            SetStr(1198, 1207);
            SetDex(127, 135);
            SetInt(495, 546);

            SetHits(25000);

            SetDamage(27, 31);

            SetDamageType(ResistanceType.Physical, 80);
            SetDamageType(ResistanceType.Cold, 20);

            SetResistance(ResistanceType.Physical, 78, 89);
            SetResistance(ResistanceType.Fire, 30, 46);
            SetResistance(ResistanceType.Cold, 97, 100);
            SetResistance(ResistanceType.Poison, 71, 80);
            SetResistance(ResistanceType.Energy, 70, 80);

            SetSkill(SkillName.Wrestling, 110.4, 112.3);
            SetSkill(SkillName.Tactics, 114.0, 118.5);
            SetSkill(SkillName.MagicResist, 114.1, 132.0);
            SetSkill(SkillName.Magery, 90.9, 99.8);
            SetSkill(SkillName.EvalInt, 90.7, 98.7);
            SetSkill(SkillName.Meditation, 90.4, 98.8);

            Fame  = 24000;
            Karma = -24000;

            VirtualArmor = 80;

            PackGold(9500, 16500);

            if (Utility.RandomDouble() <= 0.15)
            {
                PackItem(new WeaponBlessDeed());
            }
        }
예제 #25
0
        public DrowAssassin()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            SpeechHue = Utility.RandomDyedHue();
            Title     = "Drow Assasino";
            Hue       = 902;

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Name = NameList.RandomName("female");
            }
            else
            {
                Body = 0x190;
                Name = NameList.RandomName("male");
            }

            SetStr(186, 800);
            SetDex(81, 145);
            SetInt(61, 75);

            SetHits(222, 408);
            SetDamage(33, 48);

            SetSkill(SkillName.Fencing, 86.5, 177.5);
            SetSkill(SkillName.MagicResist, 95.5, 127.5);
            SetSkill(SkillName.Swords, 85.5, 177.5);
            SetSkill(SkillName.Tactics, 85.5, 177.5);
            SetSkill(SkillName.Wrestling, 95.5, 177.5);

            Fame  = 1000;
            Karma = -1000;

            Item bodySash = new BodySash();

            bodySash.Hue = 422;
            AddItem(bodySash);

            Item bandana = new Bandana();

            bandana.Hue = 422;
            AddItem(bandana);

            //AddItem(new Piwafwi());
            AddItem(new Boots());
            //AddItem(new DrowRingmailGloves());
            //AddItem(new DrowChainChest());
            //AddItem(new DrowChainLegs());

            switch (Utility.Random(5))
            {
            case 0: AddItem(new Longsword()); break;

            case 1: AddItem(new Kryss()); break;

            case 2: AddItem(new Katana()); break;

            case 3: AddItem(new Dagger()); break;

            case 4: AddItem(new Spear()); break;
            }

            Item hair = new Item(Utility.RandomList(0x203B, 0x2049, 0x2048, 0x204A));

            hair.Hue     = 1153;
            hair.Layer   = Layer.Hair;
            hair.Movable = false;
            AddItem(hair);

            PackGold(500, 2500);
            PackArmor(2, 5, 0.8);
            PackWeapon(3, 5, 0.8);
            PackSlayer();
        }
예제 #26
0
        public DragonKnightSwordAndShield() : base(AIType.AI_Melee, FightMode.Evil, 10, 1, 0.2, 0.4)
        {
            Title  = "a DragonKnight Swordsman";
            Name   = NameList.RandomName("male");
            Body   = 0x191;
            Hue    = 33805;
            Female = false;

            SetStr(1025, 1425);
            SetDex(81, 148);
            SetInt(475, 675);

            Fame  = 1000;
            Karma = 1000;

            SetHits(1000, 2000);

            SetDamage(24, 33);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 60, 85);
            SetResistance(ResistanceType.Fire, 65, 90);
            SetResistance(ResistanceType.Cold, 40, 55);
            SetResistance(ResistanceType.Poison, 40, 60);
            SetResistance(ResistanceType.Energy, 50, 75);

            SetSkill(SkillName.Archery, 100, 140);
            SetSkill(SkillName.Tactics, 100, 140);
            SetSkill(SkillName.MagicResist, 100, 140);
            SetSkill(SkillName.Tactics, 100, 140);
            SetSkill(SkillName.Wrestling, 100, 140);
            SetSkill(SkillName.Swords, 100, 140);
            SetSkill(SkillName.Magery, 100, 140);
            SetSkill(SkillName.Focus, 100, 140);

            VirtualArmor = 80;

            VikingSword vikingsword = new VikingSword();

            vikingsword.Movable = false;
            AddItem(vikingsword);

            OrderShield ordershield = new OrderShield();

            ordershield.Movable = false;
            AddItem(ordershield);
            //AddItem(new Bolt(100));

            HumilityCloak cloak = new HumilityCloak();

            cloak.Movable = false;
            AddItem(cloak);

            SpiritualityHelm spiritualityhelm = new SpiritualityHelm();

            spiritualityhelm.Movable = false;
            AddItem(spiritualityhelm);

            HonestyGorget honestygorget = new HonestyGorget();

            honestygorget.Movable = false;
            AddItem(honestygorget);

            JusticeBreastplate justicebreastplate = new JusticeBreastplate();

            justicebreastplate.Movable = false;
            AddItem(justicebreastplate);

            BodySash bodysash = new BodySash();

            bodysash.Movable = false;
            bodysash.Name    = "Royal DragonKnight";
            AddItem(bodysash);

            CompassionArms compassionarms = new CompassionArms();

            compassionarms.Movable = false;
            AddItem(compassionarms);

            ValorGauntlets valorgauntlets = new ValorGauntlets();

            valorgauntlets.Movable = false;
            AddItem(valorgauntlets);

            HonorLegs honorlegs = new HonorLegs();

            honorlegs.Movable = false;
            AddItem(honorlegs);

            SacrificeSollerets sacrificesollerets = new SacrificeSollerets();

            sacrificesollerets.Movable = false;
            AddItem(sacrificesollerets);

//          PlateChest chest = new PlateChest();
//			chest.Movable = false;
//			chest.Hue = 137;
//          AddItem(chest);


            VampiriacSteed vampiriacsteed = new VampiriacSteed();

            vampiriacsteed.Hue = 2219;
            //horse.Hits = 200;
            //horse.Karma = 500;
            vampiriacsteed.Rider = this;

            //new VampiriacSteed().Rider = this;
            vikingsword.Hue        = 253;
            ordershield.Hue        = 253;
            cloak.Hue              = 253;
            spiritualityhelm.Hue   = 2406;
            honestygorget.Hue      = 2406;
            justicebreastplate.Hue = 2406;
            bodysash.Hue           = 253;
            compassionarms.Hue     = 2406;
            valorgauntlets.Hue     = 2406;
            honorlegs.Hue          = 2406;
            sacrificesollerets.Hue = 2406;
        }
예제 #27
0
        public DrowArcher()
            : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            SpeechHue = Utility.RandomDyedHue();
            Title     = "Drow Arqueiro";
            Hue       = 902;

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Name = NameList.RandomName("female");
            }
            else
            {
                Body = 0x190;
                Name = NameList.RandomName("male");
            }

            SetStr(146, 180);
            SetDex(101, 130);
            SetInt(116, 140);

            SetHits(222, 508);
            SetDamage(22, 41);

            SetDamageType(ResistanceType.Physical, 50);

            SetResistance(ResistanceType.Physical, 40, 75);
            SetResistance(ResistanceType.Fire, 10, 70);
            SetResistance(ResistanceType.Cold, 10, 70);
            SetResistance(ResistanceType.Poison, 10, 70);
            SetResistance(ResistanceType.Energy, 10, 70);

            SetSkill(SkillName.Anatomy, 60.2, 190.0);
            SetSkill(SkillName.Archery, 80.1, 130.0);
            SetSkill(SkillName.MagicResist, 65.1, 130.0);
            SetSkill(SkillName.Tactics, 50.1, 175.0);
            SetSkill(SkillName.Wrestling, 50.1, 75.0);

            Fame         = 6500;
            Karma        = -6500;
            VirtualArmor = 45;

            Item bodySash = new BodySash();

            bodySash.Hue = 422;
            AddItem(bodySash);

            Item hair = new Item(Utility.RandomList(0x203B, 0x2049, 0x2048, 0x204A));

            hair.Hue     = 1153;
            hair.Layer   = Layer.Hair;
            hair.Movable = false;
            AddItem(hair);

            //AddItem(new Piwafwi());
            //AddItem(new DrowRingmailGloves());
            //AddItem(new DrowChainChest());
            //AddItem(new DrowChainLegs());
            AddItem(new Bow());
            AddItem(new Boots());

            PackArmor(2, 5, 0.8);
            PackWeapon(3, 5, 0.8);
            PackSlayer();
            PackItem(new Arrow(Utility.Random(50, 120)));
            PackGold(750, 1750);
        }
예제 #28
0
        public Rexxar() : base(AIType.AI_Melee, FightMode.Closest)
        {
            Name        = "Rexxar";
            Title       = "The murderer";
            Body        = 400;
            BaseSoundID = 427;
            Hue         = 1175;

            SetStr(200, 400);
            SetDex(100, 150);
            SetInt(46, 70);

            SetHits(9000);

            SetDamage(20, 25);

            SetSkill(SkillName.MagicResist, 125.1, 140.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);
            SetSkill(SkillName.Wrestling, 90.1, 100.0);

            Fame  = 150000;
            Karma = -150000;

            VirtualArmor = 50;

            Bandana bandana = new Bandana();

            bandana.Hue     = 1175;
            bandana.Movable = false;
            AddItem(bandana);

            ChainChest chest = new ChainChest();

            chest.Hue     = 1645;
            chest.Movable = false;
            AddItem(chest);

            PlateArms arms = new PlateArms();

            arms.Hue     = 1645;
            arms.Movable = false;
            AddItem(arms);

            PlateLegs legs = new PlateLegs();

            legs.Hue     = 1645;
            legs.Movable = false;
            AddItem(legs);

            BodySash sash = new BodySash();

            sash.Hue     = 1175;
            sash.Movable = false;
            AddItem(sash);

            DoubleAxe axe = new DoubleAxe();

            axe.Hue     = 1175;
            axe.Movable = false;
            AddItem(axe);
        }
예제 #29
0
        public DupresKnight() : base(AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
        {
            Name  = m_Names[Utility.Random(m_Names.Length)];
            Title = m_Titles[Utility.Random(m_Titles.Length)];
            Body  = 0x190;
            Hue   = Utility.RandomSkinHue();

            SetStr(190, 200);
            SetDex(50, 75);
            SetInt(150, 250);
            SetHits(3900, 4100);
            SetDamage(22, 28);
            SetDamageType(ResistanceType.Physical, 100);

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

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

            VirtualArmor = 70;

            Item longsword = new Longsword();

            longsword.LootType = LootType.Blessed;
            AddItem(longsword);

            Item ph = new PlateHelm();

            ph.LootType = LootType.Blessed;
            AddItem(ph);

            Item pa = new PlateArms();

            pa.LootType = LootType.Blessed;
            AddItem(pa);

            Item pg = new PlateGorget();

            pg.LootType = LootType.Blessed;
            AddItem(pg);

            Item pgl = new PlateGloves();

            pgl.LootType = LootType.Blessed;
            AddItem(pgl);

            Item pl = new PlateLegs();

            pl.LootType = LootType.Blessed;
            AddItem(pl);

            Item pc = new PlateChest();

            pc.LootType = LootType.Blessed;
            AddItem(pc);

            Item mks = new MetalKiteShield();

            mks.LootType = LootType.Blessed;
            mks.Hue      = 0x794;
            AddItem(mks);

            Item bs = new BodySash(0x794); // dark purple

            bs.LootType = LootType.Blessed;
            AddItem(bs);

            PackGold(400, 600);
        }
예제 #30
0
        public DupresKnight()
            : base(AIType.AI_Melee, FightMode.Aggressor, 10, 1, 0.2, 0.4)
        {
            Name   = NameList.RandomName("male");
            Title  = "the Knight";
            Body   = 0x190;
            Hue    = Utility.RandomSkinHue();
            Female = false;

            SetStr(190, 200);
            SetDex(50, 75);
            SetInt(150, 250);
            SetHits(3900, 4100);
            SetDamage(22, 28);

            SetDamageType(ResistanceType.Physical, 100);

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

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

            Item longsword = new Longsword
            {
                LootType = LootType.Blessed
            };

            SetWearable(longsword);

            Item ph = new PlateHelm
            {
                LootType = LootType.Blessed
            };

            SetWearable(ph);

            Item pa = new PlateArms
            {
                LootType = LootType.Blessed
            };

            SetWearable(pa);

            Item pg = new PlateGorget
            {
                LootType = LootType.Blessed
            };

            SetWearable(pg);

            Item pgl = new PlateGloves
            {
                LootType = LootType.Blessed
            };

            SetWearable(pgl);

            Item pl = new PlateLegs
            {
                LootType = LootType.Blessed
            };

            SetWearable(pl);

            Item pc = new PlateChest
            {
                LootType = LootType.Blessed
            };

            SetWearable(pc);

            Item mks = new MetalKiteShield
            {
                LootType = LootType.Blessed,
                Hue      = 0x794
            };

            SetWearable(mks);

            Item bs = new BodySash(0x794)
            {
                LootType = LootType.Blessed
            }; // dark purple

            SetWearable(bs);
        }