Beispiel #1
0
        public override void InitOutfit()
        {
            WipeLayers();
            AddItem(new Sandals());

            // New Fall Fashions!

            Item EvilMageRobe = new Robe();

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

            Item BDB = new BloodDrenchedBandana();

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

            Item Cloak = new Cloak();

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

            Item Bracelet = new GoldBracelet();

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

            Item Ring = new GoldRing();

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

            Item hair = new LongHair();

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

            Item beard = new Goatee();

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

            //  End New Additions
        }
Beispiel #2
0
        public LordGuardian()
            : base(AIType.AI_Hybrid, FightMode.All | FightMode.Weakest, 10, 1, 0.15, 0.25)
        {
            BardImmune       = true;
            FightStyle       = FightStyle.Melee | FightStyle.Magic | FightStyle.Smart | FightStyle.Bless | FightStyle.Curse;
            UsesHumanWeapons = false;
            UsesBandages     = true;
            UsesPotions      = true;
            CanRun           = true;
            CanReveal        = true;      // magic and smart

            SpeechHue    = Utility.RandomDyedHue();
            Name         = "Lord Guardian";
            Female       = false;
            Body         = 0x190;
            Hue          = 0x83F4;
            IOBAlignment = IOBAlignment.Council;
            ControlSlots = 6;

            PackItem(new Bandage(Utility.RandomMinMax(1, 15)));

            BloodDrenchedBandana bandana = new BloodDrenchedBandana();

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

            Kilt kilt = new Kilt(0x1);               //black kilt

            if (Utility.RandomDouble() <= 0.93)
            {
                kilt.LootType = LootType.Newbied;
            }
            AddItem(kilt);

            Sandals sandals = new Sandals(0x66C);

            if (Utility.RandomDouble() <= 0.93)
            {
                sandals.LootType = LootType.Newbied;
            }
            AddItem(sandals);

            SilverRing ring = new SilverRing();

            ring.Name = "To my darling Adam";
            if (Utility.RandomDouble() < 0.95)
            {
                ring.LootType = LootType.Newbied;
            }
            AddItem(ring);

            ChainChest tunic = new ChainChest();

            tunic.Resource = CraftResource.Gold;
            AddItem(tunic);

            ChainLegs legs = new ChainLegs();

            legs.Resource = CraftResource.Gold;
            AddItem(legs);

            RingmailArms arms = new RingmailArms();

            arms.Resource = CraftResource.Gold;
            AddItem(arms);

            GuardianKatana sword = new GuardianKatana();

            sword.Quality  = WeaponQuality.Exceptional;
            sword.LootType = LootType.Newbied;
            if (Utility.RandomBool())
            {
                sword.Poison = Poison.Deadly;
            }
            else
            {
                sword.Poison = Poison.Greater;
            }
            sword.PoisonCharges = 30;
            AddItem(sword);

            PonyTail hair = new PonyTail();

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

            SetStr(375, 400);
            SetDex(100, 125);
            SetInt(150, 175);

            SetDamage(8, 10);

            SetSkill(SkillName.EvalInt, 100.0, 110.0);
            SetSkill(SkillName.Magery, 100.0, 110.0);
            SetSkill(SkillName.Swords, 100.0, 125.0);
            SetSkill(SkillName.Tactics, 100.0, 125.0);
            SetSkill(SkillName.Anatomy, 100.0, 125.0);
            SetSkill(SkillName.Poisoning, 60.0, 82.5);
            SetSkill(SkillName.MagicResist, 83.5, 92.5);

            Fame  = 5000;
            Karma = -5000;

            VirtualArmor = 40;

            m_NextSpeechTime = DateTime.Now;

            PackItem(new Bandage(Utility.RandomMinMax(VirtualArmor, VirtualArmor * 2)));
            PackStrongPotions(6, 12);
            PackItem(new Pouch());
        }
Beispiel #3
0
        public LadyGuardian()
            : base(AIType.AI_BaseHybrid, FightMode.All | FightMode.Weakest, 10, 1, 0.15, 0.25)             //0.2, 0.4
        {
            BardImmune       = true;
            FightStyle       = FightStyle.Magic | FightStyle.Smart | FightStyle.Bless | FightStyle.Curse;
            UsesHumanWeapons = false;
            UsesBandages     = true;
            UsesPotions      = true;
            CanRun           = true;
            CanReveal        = true;      // magic and smart

            Name         = "Lady Guardian";
            Body         = 0x191;
            Hue          = 0x83F4;
            Female       = true;
            IOBAlignment = IOBAlignment.Council;
            ControlSlots = 6;

            BloodDrenchedBandana bandana = new BloodDrenchedBandana();

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

            AddItem(new Kilt(0x14C));
            AddItem(new LongHair(0x14F));

            Shirt shirt = new Shirt(0x1);             //black shirt

            if (Utility.RandomDouble() <= 0.93)
            {
                shirt.LootType = LootType.Newbied;
            }
            AddItem(shirt);

            Sandals sandals = new Sandals(0x66C);

            if (Utility.RandomDouble() <= 0.93)
            {
                sandals.LootType = LootType.Newbied;
            }
            AddItem(sandals);

            SilverRing ring = new SilverRing();

            ring.Name = "For my lovely Jade";
            if (Utility.RandomDouble() < 0.95)
            {
                ring.LootType = LootType.Newbied;
            }
            AddItem(ring);

            SetStr(375, 400);
            SetDex(100, 125);
            SetInt(150, 175);

            SetHits(250, 303);
            SetDamage(11, 13);

            SetSkill(SkillName.EvalInt, 100.0, 110.0);
            SetSkill(SkillName.Magery, 100.0, 110.0);
            SetSkill(SkillName.MagicResist, 100.0, 110.0);
            SetSkill(SkillName.Meditation, 100.0, 110.0);
            SetSkill(SkillName.Tactics, 85.0, 100.0);
            SetSkill(SkillName.Wrestling, 100.0, 110.0);
            SetSkill(SkillName.Poisoning, 100.1, 101.0);

            Fame  = 5000;
            Karma = -5000;

            VirtualArmor = 16;

            m_NextSpeechTime = DateTime.Now;

            PackItem(new Bandage(Utility.RandomMinMax(VirtualArmor, VirtualArmor * 2)));
            PackStrongPotions(6, 12);
            PackItem(new Pouch());
        }
        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);
                }
            }
        }