public override void InitOutfit()
        {
            WipeLayers();
            Item hair = new LongHair();

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

            Item Necklace = new GoldNecklace();

            Necklace.LootType = LootType.Newbied;
            Necklace.Hue      = 2006;        // basilisk hue
            AddItem(Necklace);

            // NEVER drop one of these! - (never runs out of poison)
            BasilisksFang fang = new BasilisksFang();

            fang.Quality  = WeaponQuality.Exceptional;
            fang.LootType = LootType.Newbied;
            if (Utility.RandomBool())
            {
                fang.Poison = Poison.Regular;
            }
            else
            {
                fang.Poison = Poison.Lesser;
            }
            fang.PoisonCharges = 30;
            fang.Movable       = false;
            AddItem(fang);

            AddItem(new BoneArms());
            AddItem(new BoneLegs());

            // all savages wear a mask, but won't drop this one
            //	see OnBeforeDeath for the mask they do drop
            SavageMask mask = new SavageMask();

            mask.LootType = LootType.Newbied;
            AddItem(mask);
        }
Exemple #2
0
        public virtual Item AddRandomHair()
        {
            Item hair = null;

            switch (Utility.Random(8))
            {
            case 0: AddItem(hair = new Afro()); break;

            case 1: AddItem(hair = new KrisnaHair()); break;

            case 2: AddItem(hair = new PageboyHair()); break;

            case 3: AddItem(hair = new PonyTail()); break;

            case 4: AddItem(hair = new ReceedingHair()); break;

            case 5: AddItem(hair = new TwoPigTails()); break;

            case 6: AddItem(hair = new ShortHair()); break;

            case 7: AddItem(hair = new LongHair()); break;
            }
            return(hair);
        }
        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;
            }
            }
        }
        public OrogElite() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.2, 0.4)
        {
            Name      = NameList.RandomName("orc");
            Title     = "the Battlemaster";
            SpeechHue = Utility.RandomDyedHue();
            Hue       = 0x455;
            Body      = 0x190;
            Level     = 15;
            NameHue   = 2545;

            new Horngoth().Rider = this;

            LongHair hair = new LongHair();

            hair.Movable = false;
            hair.Hue     = 0x3CE;
            AddItem(hair);
            OrcFace face = new OrcFace();

            face.Movable = false;
            face.Hue     = 0x455;
            AddItem(face);
            PlateChest chest = new PlateChest();

            chest.Hue     = 0x9F1;
            chest.Name    = "Orog Armor";
            chest.Movable = false;
            AddItem(chest);
            PlateArms arms = new PlateArms();

            arms.Hue     = 0x9F1;
            arms.Name    = "Orog Armor";
            arms.Movable = false;
            AddItem(arms);
            PlateGloves gloves = new PlateGloves();

            gloves.Hue     = 0x9F1;
            gloves.Name    = "Orog Armor";
            gloves.Movable = false;
            AddItem(gloves);
            PlateLegs legs = new PlateLegs();

            legs.Hue     = 0x9F1;
            legs.Name    = "Orog Armor";
            legs.Movable = false;
            AddItem(legs);

            Cloak cloak = new Cloak();

            cloak.Hue     = 0xA42;
            cloak.Movable = false;
            AddItem(cloak);
            HeaterShield shield = new HeaterShield();

            shield.Hue     = 0xA42;
            shield.Name    = "Orog Shield";
            shield.Movable = false;
            AddItem(shield);

            PackGold(10, 17);

            SetSkill(SkillName.MagicResist, 80.0, 99.5);
            SetSkill(SkillName.Swords, 100.0, 113.5);
            SetSkill(SkillName.Tactics, 85.0, 97.5);
            SetSkill(SkillName.Wrestling, 65.0, 77.5);
            SetSkill(SkillName.Macing, 100.0, 110.5);

            SetResistance(ResistanceType.Physical, 10, 25);
            SetResistance(ResistanceType.Fire, 10, 25);
            SetResistance(ResistanceType.Energy, 10, 25);
            SetResistance(ResistanceType.Cold, 10, 25);
            SetResistance(ResistanceType.Poison, 20, 30);

            SetStr(416, 570);
            SetDex(151, 215);
            SetInt(141, 165);
            SetHits(580, 633);
            SetDamage(10, 12);

            Karma = -9500;
            Fame  = 10000;

            switch (Utility.Random(4))
            {
            case 0:
                OrogScimitar scimitar = new OrogScimitar();
                scimitar.Movable = false;
                AddItem(scimitar);
                break;

            case 1:
                OrogKryss kryss = new OrogKryss();
                kryss.Movable = false;
                AddItem(kryss);
                break;

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

            case 3:
                OrogVikingSword vsword = new OrogVikingSword();
                vsword.Movable = false;
                AddItem(vsword);
                break;
            }
        }
Exemple #5
0
        public ElvenBladeMaster() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.2, 0.4)
        {
            Name      = NameList.RandomName("elfmale");
            Title     = "the Blade Master";
            SpeechHue = Utility.RandomDyedHue();
            Hue       = 349;
            Body      = 0x190;
            Level     = 10;
            NameHue   = 2454;

            new Horse().Rider = this;

            LongHair hair = new LongHair(Utility.RandomNeutralHue());

            hair.Movable = false;
            AddItem(hair);
            ChainChest chest = new ChainChest();

            chest.Hue     = 0x9C4;
            chest.Movable = false;
            AddItem(chest);
            RingmailArms arms = new RingmailArms();

            arms.Hue     = 0x9C4;
            arms.Movable = false;
            AddItem(arms);
            RingmailGloves gloves = new RingmailGloves();

            gloves.Hue     = 0x9C4;
            gloves.Movable = false;
            AddItem(gloves);
            ChainLegs legs = new ChainLegs();

            legs.Hue     = 0x9C4;
            legs.Movable = false;
            AddItem(legs);
            Cloak cloak = new Cloak();

            cloak.Hue     = 0xA17;
            cloak.Movable = false;
            AddItem(cloak);
            OrderShield shield = new OrderShield();

            shield.Hue     = 0x9C4;
            shield.Movable = false;
            AddItem(shield);
            Boots boots = new Boots();

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

            PackGold(10, 17);

            SetSkill(SkillName.MagicResist, 80.0, 99.5);
            SetSkill(SkillName.Swords, 90.0, 102.5);
            SetSkill(SkillName.Tactics, 85.0, 97.5);
            SetSkill(SkillName.Wrestling, 65.0, 77.5);

            SetResistance(ResistanceType.Physical, 10, 25);
            SetResistance(ResistanceType.Fire, 10, 25);
            SetResistance(ResistanceType.Energy, 10, 25);
            SetResistance(ResistanceType.Cold, 10, 25);
            SetResistance(ResistanceType.Poison, 20, 30);

            SetStr(316, 370);
            SetDex(351, 415);
            SetInt(141, 165);
            SetHits(420, 483);
            SetDamage(11, 17);

            Karma = 5000;
            Fame  = 5000;

            switch (Utility.Random(4))
            {
            case 0: Scimitar scim = new Scimitar();
                scim.Movable = false;
                AddItem(scim);
                break;

            case 1: Longsword lsword = new Longsword();
                lsword.Movable = false;
                AddItem(lsword);
                break;

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

            case 3: Cutlass cl = new Cutlass();
                cl.Movable = false;
                AddItem(cl);
                break;
            }
        }
Exemple #6
0
        public ElvenFighter() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.2, 0.4)
        {
            Name      = NameList.RandomName("elfmale");
            Title     = "the Fighter";
            SpeechHue = Utility.RandomDyedHue();
            Hue       = 349;
            Body      = 0x190;
            Level     = 7;
            NameHue   = 2454;

            LongHair hair = new LongHair(Utility.RandomNeutralHue());

            hair.Movable = false;
            AddItem(hair);
            ChainChest chest = new ChainChest();

            chest.Hue     = 0x9FF;
            chest.Movable = false;
            AddItem(chest);
            RingmailArms arms = new RingmailArms();

            arms.Hue     = 0x9FF;
            arms.Movable = false;
            AddItem(arms);
            RingmailGloves gloves = new RingmailGloves();

            gloves.Hue     = 0x9FF;
            gloves.Movable = false;
            AddItem(gloves);
            ChainLegs legs = new ChainLegs();

            legs.Hue     = 0x9FF;
            legs.Movable = false;
            AddItem(legs);
            Cloak cloak = new Cloak();

            cloak.Hue     = 0x9C4;
            cloak.Movable = false;
            AddItem(cloak);
            WoodenKiteShield shield = new WoodenKiteShield();

            shield.Hue     = 0x9FF;
            shield.Movable = false;
            AddItem(shield);
            Boots boots = new Boots();

            boots.Hue     = 0x9C4;
            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);

            SetStr(90, 110);
            SetDex(161, 125);
            SetInt(61, 85);
            SetHits(130, 160);
            SetDamage(10, 16);

            Karma = 2000;
            Fame  = 1000;

            switch (Utility.Random(4))
            {
            case 0: Scimitar scim = new Scimitar();
                scim.Movable = false;
                AddItem(scim);
                break;

            case 1: Longsword lsword = new Longsword();
                lsword.Movable = false;
                AddItem(lsword);
                break;

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

            case 3: Cutlass cl = new Cutlass();
                cl.Movable = false;
                AddItem(cl);
                break;
            }
        }
        public override void InitOutfit()
        {
            WipeLayers();

            if (Core.UOAI || Core.UOAR)
            {
                AddItem(new Sandals());

                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);
            }
            else
            {
                if (Blackthorns_Revenge == false)
                {                                              // not Todd's graphics, so we need to dress
                    AddItem(new Robe(Utility.RandomRedHue())); // TODO: Proper hue

                    // Don't think we should drop the sandals .. stratics is unclear when it comes to clothes.
                    // http://web.archive.org/web/20020207054748/uo.stratics.com/hunters/evilmage.shtml
                    //  Red Robe: 0 to 50 Gold, Scrolls (circles 1-7), Reagents

                    /*Sandals shoes = new Sandals();
                     * if (Core.UOSP || Core.UOMO)
                     *      shoes.LootType = LootType.Newbied;
                     * AddItem(shoes);*/


                    /* Publish 4
                     * Shopkeeper Changes
                     * NPC shopkeepers will no longer have colored sandals. Evil NPC Mages will carry these items.
                     */
                    if (Core.Publish >= 4)
                    {
                        // http://forums.uosecondage.com/viewtopic.php?f=8&t=22266
                        // runuo.com/community/threads/evil-mage-hues.91540/
                        if (0.18 >= Utility.RandomDouble())
                        {
                            AddItem(new Shoes(Utility.RandomRedHue()));
                        }
                        else
                        {
                            AddItem(new Sandals(Utility.RandomRedHue()));
                        }
                    }
                    else
                    {
                        AddItem(new Sandals());
                    }
                }

                Item hair = null;
                switch (Utility.Random(4))
                {
                case 0:                         //  bald
                    break;

                case 1:
                    hair = new ShortHair();
                    break;

                case 2:
                    hair = new LongHair();
                    break;

                case 3:
                    hair = new ReceedingHair();
                    break;
                }

                if (hair != null)
                {
                    hair.Hue     = Utility.RandomHairHue();
                    hair.Layer   = Layer.Hair;
                    hair.Movable = false;
                    AddItem(hair);
                }

                Item beard = null;
                switch (Utility.Random(4))
                {
                case 0:                         //  clean shaven
                    break;

                case 1:
                    beard = new LongBeard();
                    break;

                case 2:
                    beard = new ShortBeard();
                    break;

                case 3:
                    beard = new MediumLongBeard();
                    break;

                case 4:
                    beard = new MediumShortBeard();
                    break;
                }

                if (beard != null)
                {
                    beard.Hue     = (hair != null) ? hair.Hue : Utility.RandomHairHue();                 // do the drapes match the carpet?
                    beard.Movable = false;
                    beard.Layer   = Layer.FacialHair;
                    AddItem(beard);
                }
            }
        }
Exemple #8
0
        public override void InitOutfit()
        {
            WipeLayers();

            if (Core.UOAI || Core.UOAR)
            {
                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);
            }
            else
            {
                if (Blackthorns_Revenge == false)
                {                       // not Todd's graphocs, so we dress
                                        // evil mage lord colors 1106 1109
                    AddItem(new Robe(Utility.Random(1106, 4)));

                    // Don't think we should drop the sandals .. stratics is unclear when it comes to clothes.
                    // http://web.archive.org/web/20020414131123/uo.stratics.com/hunters/evilmagelord.shtml
                    // Blue Robe: 200 to 250 Gold, Gems, Scrolls (circles 4-7), Reagents

                    /*Sandals shoes = new Sandals();
                     * if (Core.UOSP || Core.UOMO)
                     *      shoes.LootType = LootType.Newbied;
                     * AddItem(shoes);*/

                    /* Publish 8
                     * Shopkeeper Changes
                     * NPC shopkeepers will no longer have colored sandals. Evil NPC Mages will carry these items.
                     */
                    if (Core.Publish >= 4)
                    {
                        // http://forums.uosecondage.com/viewtopic.php?f=8&t=22266
                        // runuo.com/community/threads/evil-mage-hues.91540/
                        if (0.20 >= Utility.RandomDouble())
                        {
                            AddItem(new Shoes(Utility.RandomBlueHue()));
                        }
                        else
                        {
                            AddItem(new Sandals(Utility.RandomBlueHue()));
                        }
                    }
                    else
                    {
                        AddItem(new Sandals());
                    }
                }

                Item hair = null;
                switch (Utility.Random(4))
                {
                case 0:                         //  bald
                    break;

                case 1:
                    hair = new ShortHair();
                    break;

                case 2:
                    hair = new LongHair();
                    break;

                case 3:
                    hair = new ReceedingHair();
                    break;
                }

                if (hair != null)
                {
                    hair.Hue     = Utility.RandomHairHue();
                    hair.Layer   = Layer.Hair;
                    hair.Movable = false;
                    AddItem(hair);
                }

                Item beard = null;
                switch (Utility.Random(4))
                {
                case 0:                         //  clean shaven
                    break;

                case 1:
                    beard = new LongBeard();
                    break;

                case 2:
                    beard = new ShortBeard();
                    break;

                case 3:
                    beard = new MediumLongBeard();
                    break;

                case 4:
                    beard = new MediumShortBeard();
                    break;
                }

                if (beard != null)
                {
                    beard.Hue     = (hair != null) ? hair.Hue : Utility.RandomHairHue();                 // do the drapes match the carpet?
                    beard.Movable = false;
                    beard.Layer   = Layer.FacialHair;
                    AddItem(beard);
                }
            }
        }