예제 #1
0
        public RalphSantasElf()
        {
            Name    = "Ralph";
            Title   = "Santa's Helper";
            Body    = 400;
            Hue     = 1002;
            Blessed = true;



            this.HairItemID = 0x203D;
            this.HairHue    = 0x3EA;



            Item Doublet = new Doublet();

            Doublet.Hue  = 1367;
            Doublet.Name = "Elf Vest";
            AddItem(Doublet);

            Item FancyShirt = new FancyShirt();

            FancyShirt.Hue  = 1368;
            FancyShirt.Name = "Elf Shirt";
            AddItem(FancyShirt);

            Item LongPants = new LongPants();

            LongPants.Hue  = 1368;
            LongPants.Name = "Elf Pants";
            AddItem(LongPants);

            Item JesterShoes = new JesterShoes(0x7819);

            JesterShoes.Hue  = 32;
            JesterShoes.Name = "Elf Shoes";
            AddItem(JesterShoes);

            Item HalfApron = new HalfApron();

            HalfApron.Hue  = 33;
            HalfApron.Name = "Elf Apron";
            AddItem(HalfApron);

            Item JesterHat = new JesterHat();

            JesterHat.Hue  = 2996;
            JesterHat.Name = "Elf Hat";
            AddItem(JesterHat);


            ShepherdsCrook weapon = new  ShepherdsCrook();

            weapon.Hue     = 32;
            weapon.Movable = false;
            AddItem(weapon);
        }
예제 #2
0
            public InternalBuyInfo()
            {
                Add(new GenericBuyInfo("Bolt of Cloth", typeof(BoltOfCloth), BoltOfCloth.GetSBPurchaseValue(), 50, 0xf95, 0));

                Add(new GenericBuyInfo("Scissors", typeof(Scissors), Scissors.GetSBPurchaseValue(), 25, 0xF9F, 0));
                Add(new GenericBuyInfo("Sewing Kit", typeof(SewingKit), SewingKit.GetSBPurchaseValue(), 50, 0xF9D, 0));
                Add(new GenericBuyInfo("Dyes", typeof(Dyes), Dyes.GetSBPurchaseValue(), 25, 0xFA9, 0));
                Add(new GenericBuyInfo("Dye Tub", typeof(DyeTub), DyeTub.GetSBPurchaseValue(), 25, 0xFAB, 0));

                //Hats
                Add(new GenericBuyInfo("Skull Cap", typeof(SkullCap), SkullCap.GetSBPurchaseValue(), 25, 0x1544, 0));
                Add(new GenericBuyInfo("Bandana", typeof(Bandana), Bandana.GetSBPurchaseValue(), 25, 0x1540, 0));
                Add(new GenericBuyInfo("Floppy Hat", typeof(FloppyHat), FloppyHat.GetSBPurchaseValue(), 25, 0x1713, 0));
                Add(new GenericBuyInfo("Cap", typeof(Cap), Cap.GetSBPurchaseValue(), 25, 0x1715, 0));
                Add(new GenericBuyInfo("Wide Brim Hat", typeof(WideBrimHat), WideBrimHat.GetSBPurchaseValue(), 25, 0x1714, 0));
                Add(new GenericBuyInfo("Tall Straw Hat", typeof(TallStrawHat), TallStrawHat.GetSBPurchaseValue(), 25, 0x1716, 0));
                Add(new GenericBuyInfo("Bonnet", typeof(Bonnet), Bonnet.GetSBPurchaseValue(), 25, 0x1719, 0));
                Add(new GenericBuyInfo("Feathered Hat", typeof(FeatheredHat), FeatheredHat.GetSBPurchaseValue(), 25, 0x171A, 0));
                Add(new GenericBuyInfo("Tricorne Hat", typeof(TricorneHat), TricorneHat.GetSBPurchaseValue(), 25, 0x171B, 0));
                Add(new GenericBuyInfo("Jester Hat", typeof(JesterHat), JesterHat.GetSBPurchaseValue(), 25, 0x171C, 0));
                Add(new GenericBuyInfo("Wizards Hat", typeof(WizardsHat), WizardsHat.GetSBPurchaseValue(), 25, 0x1718, 0));

                //Shirts
                Add(new GenericBuyInfo("Doublet", typeof(Doublet), Doublet.GetSBPurchaseValue(), 25, 0x1F7B, 0));
                Add(new GenericBuyInfo("Shirt", typeof(Shirt), Shirt.GetSBPurchaseValue(), 25, 0x1517, 0));
                Add(new GenericBuyInfo("Fancy Shirt", typeof(FancyShirt), FancyShirt.GetSBPurchaseValue(), 25, 0x1EFD, 0));
                Add(new GenericBuyInfo("Tunic", typeof(Tunic), Tunic.GetSBPurchaseValue(), 25, 0x1FA1, 0));
                Add(new GenericBuyInfo("Surcoat", typeof(Surcoat), Surcoat.GetSBPurchaseValue(), 25, 0x1FFD, 0));
                Add(new GenericBuyInfo("Jester Suit", typeof(JesterSuit), JesterSuit.GetSBPurchaseValue(), 25, 0x1F9F, 0));
                Add(new GenericBuyInfo("Plain Dress", typeof(PlainDress), PlainDress.GetSBPurchaseValue(), 25, 0x1F01, 0));
                Add(new GenericBuyInfo("Fancy Dress", typeof(FancyDress), FancyDress.GetSBPurchaseValue(), 25, 0x1EFF, 0));
                Add(new GenericBuyInfo("Robe", typeof(Robe), Robe.GetSBPurchaseValue(), 25, 0x1F03, 0));

                //Pants
                Add(new GenericBuyInfo("Short Pants", typeof(ShortPants), ShortPants.GetSBPurchaseValue(), 25, 0x152E, 0));
                Add(new GenericBuyInfo("Long Pants", typeof(LongPants), LongPants.GetSBPurchaseValue(), 25, 0x1539, 0));
                Add(new GenericBuyInfo("Kilt", typeof(Kilt), Kilt.GetSBPurchaseValue(), 25, 0x1537, 0));
                Add(new GenericBuyInfo("Skirt", typeof(Skirt), Skirt.GetSBPurchaseValue(), 25, 0x1516, 0));

                Add(new GenericBuyInfo("Cloak", typeof(Cloak), Cloak.GetSBPurchaseValue(), 25, 0x1515, 0));
                Add(new GenericBuyInfo("Body Sash", typeof(BodySash), BodySash.GetSBPurchaseValue(), 25, 0x1541, 0));
                Add(new GenericBuyInfo("Half Apron", typeof(HalfApron), HalfApron.GetSBPurchaseValue(), 25, 0x153b, 0));
                Add(new GenericBuyInfo("Full Apron", typeof(FullApron), FullApron.GetSBPurchaseValue(), 25, 0x153d, 0));

                //Shoes
                Add(new GenericBuyInfo("Sandals", typeof(Sandals), Sandals.GetSBPurchaseValue(), 25, 0x170D, 0));
                Add(new GenericBuyInfo("Shoes", typeof(Shoes), Shoes.GetSBPurchaseValue(), 25, 0x170F, 0));
                Add(new GenericBuyInfo("Boots", typeof(Boots), Boots.GetSBPurchaseValue(), 25, 0x170B, 0));
                Add(new GenericBuyInfo("Thigh Boots", typeof(ThighBoots), ThighBoots.GetSBPurchaseValue(), 25, 0x1711, 0));

                //TEST: FIX
                //Add( new GenericBuyInfo( typeof( SpoolOfThread ), 18, 20, 0xFA0, 0 ) );
                //Add( new GenericBuyInfo( typeof( Flax ), 156, 20, 0x1A9C, 0 ) );
                //Add( new GenericBuyInfo( typeof( Cotton ), 156, 20, 0xDF9, 0 ) );
                //Add( new GenericBuyInfo( typeof( Wool ), 78, 20, 0xDF8, 0 ) );
            }
예제 #3
0
        public Santa()
        {
            Name  = "SantaClaus";
            Title = "Quest Giver";

            Body     = 400;
            Hue      = 1002;
            CantWalk = true;
            Blessed  = true;



            Item longpants;

            longpants     = new LongPants();
            longpants.Hue = 1109;
            AddItem(longpants);


            Item tunic;

            tunic     = new Tunic();
            tunic.Hue = 33;
            AddItem(tunic);


            Item leatherninjabelt;

            leatherninjabelt     = new LeatherNinjaBelt();
            leatherninjabelt.Hue = 1109;
            AddItem(leatherninjabelt);


            FacialHairItemID = 0x204C;
            FacialHairHue    = 1153;

            Item JesterHat;

            JesterHat     = new JesterHat();
            JesterHat.Hue = 33;
            AddItem(JesterHat);



            HairItemID = 0x203C;
            HairHue    = 1153;

            Item boots;

            boots     = new Boots();
            boots.Hue = 1109;
            AddItem(boots);
        }
예제 #4
0
        public HolidayBaker()
        {
            Name  = "Tilly";
            Title = "Quest Giver";

            Body     = 401;
            Hue      = 1002;
            CantWalk = true;
            Blessed  = true;

            Item skirt;

            skirt     = new Skirt();
            skirt.Hue = 1368;
            AddItem(skirt);


            Item shirt;

            shirt     = new Shirt();
            skirt.Hue = 1368;
            AddItem(shirt);


            Item shoes;

            shoes     = new Shoes();
            shoes.Hue = 1368;
            AddItem(shoes);


            Item JesterHat;

            JesterHat     = new JesterHat();
            JesterHat.Hue = 1368;
            AddItem(JesterHat);


            Item FullApron;

            FullApron     = new FullApron();
            FullApron.Hue = 1368;
            AddItem(FullApron);

            Item LongHair = new LongHair(8252);

            LongHair.Movable = false;
            LongHair.Hue     = 1153;
            AddItem(LongHair);
        }
예제 #5
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());
            }
예제 #6
0
        private void CreateClassic()
        {
            m_MoveSound      = 1055;
            m_CaptureSound   = 1068;
            m_DeathSound     = 0;
            m_CheckSound     = 1086;
            m_CheckMateSound = 1088;

            m_Piece.Female    = false;
            m_Piece.BodyValue = 0x190;

            if (m_BChessboard.OverrideMinorHue)
            {
                m_Piece.Hue = Hue;
            }
            else
            {
                m_Piece.Hue = m_BChessboard.SkinHue;
            }
            m_Piece.AddItem(new ShortHair(m_BChessboard.OverrideMinorHue ? Hue : m_BChessboard.HairHue));

            Item item = null;

            item = new Boots(MinorHue);
            m_Piece.AddItem(item);

            item = new LongPants(Hue);
            m_Piece.AddItem(item);

            item = new FancyShirt(Hue);
            m_Piece.AddItem(item);

            item = new Doublet(MinorHue);
            m_Piece.AddItem(item);

            item = new Cloak(MinorHue);
            m_Piece.AddItem(item);

            item = new JesterHat(MinorHue);
            m_Piece.AddItem(item);

            item     = new Scepter();
            item.Hue = MinorHue;
            m_Piece.AddItem(item);
        }
예제 #7
0
        public DummySuper() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // A Dummy Super Mage
            int iHue = 20 + Team * 40;

//			int jHue = 25 + Team * 40;

            // Skills and Stats
            this.InitStats(125, 125, 125);
            this.Skills[SkillName.Magery].Base     = 120;
            this.Skills[SkillName.EvalInt].Base    = 120;
            this.Skills[SkillName.Anatomy].Base    = 120;
            this.Skills[SkillName.Wrestling].Base  = 120;
            this.Skills[SkillName.Meditation].Base = 120;
            this.Skills[SkillName.Poisoning].Base  = 100;
            this.Skills[SkillName.Inscribe].Base   = 100;

            // Name
            this.Name = "Super Mage";

            // Equip
            Spellbook book = new Spellbook();

            book.Movable  = false;
            book.LootType = LootType.Newbied;
            book.Content  = 0xFFFFFFFFFFFFFFFF;
            AddItem(book);

            LeatherArms lea = new LeatherArms();

            lea.Movable  = false;
            lea.LootType = LootType.Newbied;
            lea.Crafter  = this;
            lea.Quality  = ArmorQuality.Regular;
            AddItem(lea);

            LeatherChest lec = new LeatherChest();

            lec.Movable  = false;
            lec.LootType = LootType.Newbied;
            lec.Crafter  = this;
            lec.Quality  = ArmorQuality.Regular;
            AddItem(lec);

            LeatherGorget leg = new LeatherGorget();

            leg.Movable  = false;
            leg.LootType = LootType.Newbied;
            leg.Crafter  = this;
            leg.Quality  = ArmorQuality.Regular;
            AddItem(leg);

            LeatherLegs lel = new LeatherLegs();

            lel.Movable  = false;
            lel.LootType = LootType.Newbied;
            lel.Crafter  = this;
            lel.Quality  = ArmorQuality.Regular;
            AddItem(lel);

            Sandals snd = new Sandals();

            snd.Hue      = iHue;
            snd.LootType = LootType.Newbied;
            AddItem(snd);

            JesterHat jhat = new JesterHat();

            jhat.Hue = iHue;
            AddItem(jhat);

            Doublet dblt = new Doublet();

            dblt.Hue = iHue;
            AddItem(dblt);

            // Spells
            AddSpellAttack(typeof(Spells.First.MagicArrowSpell));
            AddSpellAttack(typeof(Spells.First.WeakenSpell));
            AddSpellAttack(typeof(Spells.Third.FireballSpell));
            AddSpellDefense(typeof(Spells.Third.WallOfStoneSpell));
            AddSpellDefense(typeof(Spells.First.HealSpell));
        }
예제 #8
0
        public DummySuper()
            : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // A Dummy Super Mage
            int iHue = 20 + Team * 40;
            int jHue = 25 + Team * 40;

            // Skills and Stats
            InitStats(125, 125, 125);
            Skills[SkillName.Magery].Base     = 120;
            Skills[SkillName.EvalInt].Base    = 120;
            Skills[SkillName.Anatomy].Base    = 120;
            Skills[SkillName.Wrestling].Base  = 120;
            Skills[SkillName.Meditation].Base = 120;
            Skills[SkillName.Poisoning].Base  = 100;
            Skills[SkillName.Inscribe].Base   = 100;

            // Name
            Name = "Super Mage";

            // Equip
            Spellbook book = new Spellbook
            {
                Movable  = false,
                LootType = LootType.Newbied,
                Content  = 0xFFFFFFFFFFFFFFFF
            };

            AddItem(book);

            LeatherArms lea = new LeatherArms
            {
                Movable  = false,
                LootType = LootType.Newbied,
                Crafter  = this,
                Quality  = ItemQuality.Normal
            };

            AddItem(lea);

            LeatherChest lec = new LeatherChest
            {
                Movable  = false,
                LootType = LootType.Newbied,
                Crafter  = this,
                Quality  = ItemQuality.Normal
            };

            AddItem(lec);

            LeatherGorget leg = new LeatherGorget
            {
                Movable  = false,
                LootType = LootType.Newbied,
                Crafter  = this,
                Quality  = ItemQuality.Normal
            };

            AddItem(leg);

            LeatherLegs lel = new LeatherLegs
            {
                Movable  = false,
                LootType = LootType.Newbied,
                Crafter  = this,
                Quality  = ItemQuality.Normal
            };

            AddItem(lel);

            Sandals snd = new Sandals
            {
                Hue      = iHue,
                LootType = LootType.Newbied
            };

            AddItem(snd);

            JesterHat jhat = new JesterHat
            {
                Hue = iHue
            };

            AddItem(jhat);

            Doublet dblt = new Doublet
            {
                Hue = iHue
            };

            AddItem(dblt);

            // Spells
            AddSpellAttack(typeof(Spells.First.MagicArrowSpell));
            AddSpellAttack(typeof(Spells.First.WeakenSpell));
            AddSpellAttack(typeof(Spells.Third.FireballSpell));
            AddSpellDefense(typeof(Spells.Third.WallOfStoneSpell));
            AddSpellDefense(typeof(Spells.First.HealSpell));
        }
예제 #9
0
        public override void OnDamagedBySpell(Mobile from)
        {
            if (Combatant == null)
            {
                return;
            }

            if (Body == 58)
            {
                Say("I will steal your Body and now your Soul...");
            }

            if (Body != from.Body)
            {
                BoltEffect(0);

                Body = from.Body;
                Hue  = from.Hue;
                Name = from.Name;

                Fame  = from.Fame;
                Karma = (0 - from.Karma);
                Title = from.Title;

                Str = from.Str;
                Int = from.Int;
                Dex = from.Dex;

                Hits = from.Hits;

                Dex  = from.Dex;
                Mana = from.Mana;
                Stam = from.Stam;

                Female = from.Female;

                VirtualArmor = (from.VirtualArmor);

                Item hair = new Item(Utility.RandomList(8265));
                hair.Hue     = 1153;
                hair.Layer   = Layer.Hair;
                hair.Movable = false;
                AddItem(hair);

                JesterHat hat = new JesterHat();
                hat.Hue     = 1175;
                hat.Movable = false;
                AddItem(hat);

                DeathRobe robe = new DeathRobe();
                robe.Hue     = 1175;
                robe.Movable = false;
                AddItem(robe);

                Sandals sandals = new Sandals();
                sandals.Hue     = 1;
                sandals.Movable = false;
                AddItem(sandals);

                Spellbook book = new Spellbook(UInt64.MaxValue);
                book.Hue     = 1175;
                book.Movable = false;
                AddItem(book);

                BoltEffect(0);
            }
            switch (Utility.Random(6))
            {
            case 0: Say("You can not win with magic..."); break;

            case 1: Say("Your image is weak as is your mind..."); break;

            case 2: Say("It feels good to wear your skin..."); break;

            case 3: Say("I'll take over your life as soon as I end it..."); break;

            case 4: Say("Don't you like having a twin..."); break;

            case 5: Say("You lack the skills to defeat me..."); break;
            }
            from.BoltEffect(0);
            from.Damage(Utility.Random(20, 40));
            Hits += (Utility.Random(20, 40));
        }
예제 #10
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);
        }
예제 #11
0
        public FamousPiratesSuper()
            : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // A FamousPirates Super Mage
            int Hue = 2075;

            // Skills and Stats
            this.InitStats(250, 250, 250);
            this.Skills[SkillName.Magery].Base     = 150;
            this.Skills[SkillName.EvalInt].Base    = 150;
            this.Skills[SkillName.Anatomy].Base    = 150;
            this.Skills[SkillName.Wrestling].Base  = 150;
            this.Skills[SkillName.Meditation].Base = 150;
            this.Skills[SkillName.Poisoning].Base  = 100;
            this.Skills[SkillName.Inscribe].Base   = 100;

            // Name
            this.Name = "Captain Jack Sparrow";

            // Equip
            Spellbook book = FullSpellbook();

            AddItem(book);

            LeatherArms lea = new LeatherArms();

            lea.Movable  = false;
            lea.LootType = LootType.Regular;
            lea.Crafter  = this;
            lea.Quality  = ArmorQuality.Exceptional;
            AddItem(lea);

            LeatherChest lec = new LeatherChest();

            lec.Movable  = false;
            lec.LootType = LootType.Regular;
            lec.Crafter  = this;
            lec.Quality  = ArmorQuality.Exceptional;
            AddItem(lec);

            LeatherGorget leg = new LeatherGorget();

            leg.Movable  = false;
            leg.LootType = LootType.Regular;
            leg.Crafter  = this;
            leg.Quality  = ArmorQuality.Exceptional;
            AddItem(leg);

            LeatherLegs lel = new LeatherLegs();

            lel.Movable  = false;
            lel.LootType = LootType.Regular;
            lel.Crafter  = this;
            lel.Quality  = ArmorQuality.Exceptional;
            AddItem(lel);

            Boots snd = new Boots();

            snd.Movable  = false;
            snd.Hue      = Hue;
            snd.LootType = LootType.Regular;
            AddItem(snd);

            JesterHat jhat = new JesterHat();

            jhat.Movable = false;
            jhat.Hue     = Hue;
            AddItem(jhat);

            Doublet dblt = new Doublet();

            dblt.Movable = false;
            dblt.Hue     = Hue;
            AddItem(dblt);

            // Spells
            AddSpellAttack(typeof(Spells.First.MagicArrowSpell));
            AddSpellAttack(typeof(Spells.First.WeakenSpell));
            AddSpellAttack(typeof(Spells.Sixth.ExplosionSpell));
            AddSpellDefense(typeof(Spells.Third.WallOfStoneSpell));
            AddSpellDefense(typeof(Spells.Fourth.GreaterHealSpell));
        }
예제 #12
0
        public EvilElf() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "Evil Elf";
            Body = 400;
            Hue  = 1002;


            SetStr(796, 825);
            SetDex(86, 105);
            SetInt(436, 475);
            SetHits(478, 495);
            SetDamage(20, 30);


            Item longpants;

            longpants     = new LongPants();
            longpants.Hue = 1368;
            AddItem(longpants);
            longpants.LootType = LootType.Newbied;

            Item tunic;

            tunic     = new Tunic();
            tunic.Hue = 1368;
            AddItem(tunic);
            tunic.LootType = LootType.Newbied;


            Item JesterHat;

            JesterHat     = new JesterHat();
            JesterHat.Hue = 1368;
            AddItem(JesterHat);
            JesterHat.LootType = LootType.Newbied;

            Item boots;

            boots     = new Boots();
            boots.Hue = 1109;
            AddItem(boots);
            boots.LootType = LootType.Newbied;


            FacialHairItemID = 0x204B;
            FacialHairHue    = 996;


            HairItemID = 0x203C;
            HairHue    = 996;

            Item leatherninjabelt;

            leatherninjabelt     = new LeatherNinjaBelt();
            leatherninjabelt.Hue = 1109;
            AddItem(leatherninjabelt);
            leatherninjabelt.LootType = LootType.Newbied;

            DoubleAxe weapon = new DoubleAxe();

            weapon.Movable = false;
            AddItem(weapon);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 55, 60);
            SetResistance(ResistanceType.Fire, 61, 71);
            SetResistance(ResistanceType.Cold, 30, 40);
            SetResistance(ResistanceType.Poison, 25, 35);
            SetResistance(ResistanceType.Energy, 35, 45);

            SetSkill(SkillName.MagicResist, 99.2, 100);
            SetSkill(SkillName.Tactics, 97.6, 100);
            SetSkill(SkillName.Wrestling, 90.1, 92.5);
            SetSkill(SkillName.Anatomy, 75.1, 78);



            PackGold(250, 350);
        }
예제 #13
0
        public DummySuper() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // A Dummy Super Mage
            var iHue = 20 + Team * 40;
            var jHue = 25 + Team * 40;

            // Skills and Stats
            InitStats(125, 125, 125);
            Skills.Magery.Base     = 120;
            Skills.EvalInt.Base    = 120;
            Skills.Anatomy.Base    = 120;
            Skills.Wrestling.Base  = 120;
            Skills.Meditation.Base = 120;
            Skills.Poisoning.Base  = 100;
            Skills.Inscribe.Base   = 100;

            // Equip
            var book = new Spellbook();

            book.Movable  = false;
            book.LootType = LootType.Newbied;
            book.Content  = 0xFFFFFFFFFFFFFFFF;
            AddItem(book);

            var lea = new LeatherArms();

            lea.Movable  = false;
            lea.LootType = LootType.Newbied;
            lea.Crafter  = this;
            lea.Quality  = ArmorQuality.Regular;
            AddItem(lea);

            var lec = new LeatherChest();

            lec.Movable  = false;
            lec.LootType = LootType.Newbied;
            lec.Crafter  = this;
            lec.Quality  = ArmorQuality.Regular;
            AddItem(lec);

            var leg = new LeatherGorget();

            leg.Movable  = false;
            leg.LootType = LootType.Newbied;
            leg.Crafter  = this;
            leg.Quality  = ArmorQuality.Regular;
            AddItem(leg);

            var lel = new LeatherLegs();

            lel.Movable  = false;
            lel.LootType = LootType.Newbied;
            lel.Crafter  = this;
            lel.Quality  = ArmorQuality.Regular;
            AddItem(lel);

            var snd = new Sandals();

            snd.Hue      = iHue;
            snd.LootType = LootType.Newbied;
            AddItem(snd);

            var jhat = new JesterHat();

            jhat.Hue = iHue;
            AddItem(jhat);

            var dblt = new Doublet();

            dblt.Hue = iHue;
            AddItem(dblt);

            // Spells
            AddSpellAttack(typeof(MagicArrowSpell));
            AddSpellAttack(typeof(WeakenSpell));
            AddSpellAttack(typeof(FireballSpell));
            AddSpellDefense(typeof(WallOfStoneSpell));
            AddSpellDefense(typeof(HealSpell));
        }
예제 #14
0
        public SantaHelper() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "Santa's Evil Little Helper";
            Body        = 400;
            Hue         = 33770;
            BaseSoundID = 343;

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

            SetHits(478, 595);

            SetDamage(40, 120);

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

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

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

            Fame  = -1500;
            Karma = 50000;

            VirtualArmor = 40;

            PackItem(new BowOfChristmas());

            if (1 > Utility.RandomDouble())
            {
                switch (Utility.Random(24))
                {
                case 0: PackItem(new MaceOfWinter());
                    break;

                case 1: PackItem(new ChristmasKatana());
                    break;

                case 2: PackItem(new SantasStaff());
                    break;

                case 3: PackItem(new ArmsOfChristmas());
                    break;

                case 4: PackItem(new ChestOfChristmas());
                    break;

                case 5: PackItem(new GlovesOfChristmas());
                    break;

                case 6: PackItem(new GorgetOfChristmas());
                    break;

                case 7: PackItem(new HelmOfChristmas());
                    break;

                case 8: PackItem(new LegsOfChristmas());
                    break;

                case 9: PackItem(new HelmOfWinter());
                    break;

                case 10: PackItem(new LegsOfWinter());
                    break;

                case 11: PackItem(new FemaleChestOfWinter());
                    break;

                case 12: PackItem(new GlovesOfWinter());
                    break;

                case 13: PackItem(new ArmsOfWinter());
                    break;

                case 14: PackItem(new ChestOfWinter());
                    break;

                case 16: PackItem(new XmasArms());
                    break;

                case 17: PackItem(new XmasChest());
                    break;

                case 18: PackItem(new XmasGloves());
                    break;

                case 19: PackItem(new XmasHelm());
                    break;

                case 20: PackItem(new XmasLegs());
                    break;

                case 21: PackItem(new XmasHalberd());
                    break;

                case 22: PackItem(new SwordOfChristmas());
                    break;

                case 23: PackItem(new BowOfChristmas());
                    break;
                }
            }


            JesterHat hat = new JesterHat();

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

            ElvenPants legs = new ElvenPants();

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

            FancyShirt chest = new FancyShirt();

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

            LeatherGloves gloves = new LeatherGloves();

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

            ElvenBoots boots = new ElvenBoots();

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


            BodySash bodysash = new BodySash();

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

            HalfApron halfapron = new HalfApron();

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

            Cloak cloak = new Cloak();

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

            PackGold(60000, 100000);
        }