예제 #1
0
        public BarbarianWarrior() : base(AIType.AI_SphereMelee, FightMode.Closest, 10, 3, 0.2, 0.4)
        {
            Hue    = Utility.RandomSkinHue();
            Female = Utility.RandomBool();

            Item temp;
            int  hairHue = Utility.RandomHairHue();

            if (Female)
            {
                Body = 0x0191;
                Name = "Barbarian Warrioress";
                SetStr(90, 110);
                SetHits(125, 150);
                SetSkill(SkillName.Parry, 65.0, 90.0);

                AddItem(new PonyTail(hairHue));
                AddItem(new BattleAxe());
                AddItem(new FemaleLeatherChest());
                AddItem(new LeatherLegs());
            }
            else
            {
                Body = 0x0190;
                Name = "barbarian warrior";
                SetStr(150, 200);
                SetHits(150, 200);
                SetSkill(SkillName.Parry, 75.0, 100.0);

                AddItem(new LongHair(hairHue));
                AddItem(new ShortBeard(hairHue));
                AddItem(new DoubleAxe());
                AddItem(new LeatherChest());

                temp         = new Kilt();
                temp.Hue     = 0x01bb;
                temp.Movable = false;
                AddItem(temp);
            }

            temp         = new ThighBoots();
            temp.Hue     = 0x01bb;
            temp.Movable = false;
            AddItem(temp);

            SetDex(81, 95);
            SetInt(20, 30);

            SetStam(81, 95);
            SetDamage(20, 25);

            SetSkill(SkillName.Tactics, 80.0, 95.0);
            SetSkill(SkillName.MagicResist, 20.0, 35.0);

            SetSkill(SkillName.Swords, 100.0);
            SetSkill(SkillName.Wrestling, 80.0, 95.0);
            VirtualArmor = 20;
            Fame         = Utility.RandomMinMax(3500, 5000);
            Karma        = Utility.RandomMinMax(-4000, -6000);
        }
예제 #2
0
파일: TownCrier.cs 프로젝트: ygtkms/ServUO
        public TownCrier()
        {
            m_Instances.Add(this);

            InitStats(100, 100, 25);

            Title = "the town crier";
            Hue   = Utility.RandomSkinHue();

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

            AddItem(new FancyShirt(Utility.RandomBlueHue()));

            Item skirt;

            switch (Utility.Random(2))
            {
            case 0:
                skirt = new Skirt();
                break;

            default:
            case 1:
                skirt = new Kilt();
                break;
            }

            skirt.Hue = Utility.RandomGreenHue();

            AddItem(skirt);

            AddItem(new FeatheredHat(Utility.RandomGreenHue()));

            Item boots;

            switch (Utility.Random(2))
            {
            case 0:
                boots = new Boots();
                break;

            default:
            case 1:
                boots = new ThighBoots();
                break;
            }

            AddItem(boots);

            Utility.AssignRandomHair(this);
        }
예제 #3
0
        public KhaldunSummoner() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 0x190;
            Name  = "Zealot of Khaldun";
            Title = "the Summoner";

            SetStr(50);
            SetDex(50);
            SetInt(100);

            SetHits(400);
            SetMana(2000);

            SetDamage(5, 10);

            SetSkill(SkillName.Wrestling, 90);
            SetSkill(SkillName.Tactics, 100);

            SetSkill(SkillName.MagicResist, 100);

            SetSkill(SkillName.Magery, 100);
            SetSkill(SkillName.EvalInt, 100);
            SetSkill(SkillName.Meditation, 100);

            VirtualArmor = 25;

            Fame  = 10000;
            Karma = -10000;

            LeatherGloves gloves = new LeatherGloves();

            gloves.Hue = 0x66D;
            AddItem(gloves);

            BoneHelm helm = new BoneHelm();

            helm.Hue = 0x835;
            AddItem(helm);

            Necklace necklace = new Necklace();

            necklace.Hue = 0x66D;
            AddItem(necklace);

            Cloak cloak = new Cloak();

            cloak.Hue = 0x66D;
            AddItem(cloak);

            Kilt kilt = new Kilt();

            kilt.Hue = 0x66D;
            AddItem(kilt);

            Sandals sandals = new Sandals();

            sandals.Hue = 0x66D;
            AddItem(sandals);
        }
예제 #4
0
        public KhaldunSummoner() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 0x190;
            Title = "the Summoner";

            SetStr(1254, 1381);
            SetDex(93, 135);
            SetInt(745, 810);

            SetHits(694, 875);

            SetDamage(12, 20);



            SetSkill(SkillName.Wrestling, 90.1, 100.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);
            SetSkill(SkillName.MagicResist, 90.1, 100.0);
            SetSkill(SkillName.Magery, 90.1, 100.0);
            SetSkill(SkillName.EvalInt, 100.0);
            SetSkill(SkillName.Meditation, 120.1, 130.0);

            VirtualArmor = 36;
            Fame         = 10000;
            Karma        = -10000;

            LeatherGloves gloves = new LeatherGloves();

            gloves.Hue        = 0x66D;
            gloves.Identified = true;
            AddItem(Immovable(gloves));

            BoneHelm helm = new BoneHelm();

            helm.Hue        = 0x835;
            helm.Identified = true;
            AddItem(Immovable(helm));

            Necklace necklace = new Necklace();

            necklace.Hue = 0x66D;
            AddItem(Immovable(necklace));

            Cloak cloak = new Cloak();

            cloak.Hue = 0x66D;
            AddItem(Immovable(cloak));

            Kilt kilt = new Kilt();

            kilt.Hue = 0x66D;
            AddItem(Immovable(kilt));

            Sandals sandals = new Sandals();

            sandals.Hue = 0x66D;
            AddItem(Immovable(sandals));
        }
예제 #5
0
        public DummyNox()
            : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // A Dummy Nox or Pure Mage
            int iHue = 20 + Team * 40;
            int jHue = 25 + Team * 40;

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

            // Name
            Name = "Nox Mage";

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

            AddItem(book);

            Kilt kilt = new Kilt
            {
                Hue = jHue
            };

            AddItem(kilt);

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

            AddItem(snd);

            SkullCap skc = new SkullCap
            {
                Hue = iHue
            };

            AddItem(skc);

            // 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));
        }
예제 #6
0
        public CleverAI()
        {
            factory     = new ChatterBotFactory();
            bot1        = factory.Create(ChatterBotType.CLEVERBOT);
            bot1session = bot1.CreateSession();

            InitStats(100, 100, 25);
            Title = "the town blabber";
            Hue   = Utility.RandomSkinHue();

            if (!Core.AOS)
            {
                NameHue = 0x35;
            }

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

            AddItem(new FancyShirt(Utility.RandomBlueHue()));

            Item skirt;

            switch (Utility.Random(2))
            {
            case 0: skirt = new Skirt(); break;

            default:
            case 1: skirt = new Kilt(); break;
            }

            skirt.Hue = Utility.RandomGreenHue();

            AddItem(skirt);

            AddItem(new FeatheredHat(Utility.RandomGreenHue()));

            Item boots;

            switch (Utility.Random(2))
            {
            case 0: boots = new Boots(); break;

            default:
            case 1: boots = new ThighBoots(); break;
            }

            AddItem(boots);

            Utility.AssignRandomHair(this);
        }
예제 #7
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 ) );
            }
예제 #8
0
        public BarbarianShaman() : base(AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            int hairHue = Utility.RandomHairHue();

            Hue = Utility.RandomSkinHue();

            Body = 0x190;
            Name = "Barbarian Shaman";
            AddItem(new LongHair(hairHue));
            AddItem(new ShortBeard(hairHue));
            Item temp;

            temp         = new ThighBoots();
            temp.Hue     = 0x01bb;
            temp.Movable = false;
            AddItem(temp);
            temp         = new Kilt();
            temp.Hue     = 0x01bb;
            temp.Movable = false;
            AddItem(temp);
            temp         = new BodySash();
            temp.Hue     = 0x01bb;
            temp.Movable = false;
            AddItem(temp);
            temp         = new GnarledStaff();
            temp.Movable = false;
            AddItem(temp);

            SetStr(100, 150);
            SetDex(81, 95);
            SetInt(20, 30);
            SetHits(150, 200);
            SetStam(81, 95);
            SetMana(100);

            SetDamage(20, 25);
            SetSkill(SkillName.Magery, 60.0, 75.0);
            SetSkill(SkillName.Parry, 75.0, 100.0);
            SetSkill(SkillName.MagicResist, 40.0, 55.0);
            SetSkill(SkillName.Macing, 100.0);
            SetSkill(SkillName.Tactics, 80.0, 95.0);
            SetSkill(SkillName.Wrestling, 80.0, 95.0);

            Fame  = Utility.RandomMinMax(3500, 5000);
            Karma = Utility.RandomMinMax(-4000, -6000);

            VirtualArmor = 20;

            if (Utility.RandomDouble() <= 0.7)
            {
                Spellbook book = new Spellbook();
                book.Content  = ulong.MaxValue;
                book.LootType = LootType.Regular;
                AddItem(book);
            }
        }
예제 #9
0
        public Stripper() : base(AIType.AI_Melee, FightMode.None, 10, 1, 0.5, 2)
        {
            SpeechHue = Utility.RandomDyedHue();
            InitStats(50, 50, 25);
            //Title = "The Stripper";
            Hue     = Utility.RandomSkinHue();
            Body    = 0x191;
            Name    = "The Stripper";          //NameList.RandomName( "female" );
            Fame    = 100;
            Karma   = 0;
            Blessed = true;
            AddItem(new LongHair(2213));
            // AddItem( new BunsHair( Utility.RandomRedHue() ) );
            AddItem(new Backpack());
            switch (Utility.Random(2))
            {
            case 0: AddItem(new Bonnet(Utility.RandomBlueHue())); break;

            default:
            case 1: AddItem(new FeatheredHat(Utility.RandomBlueHue())); break;
            }
            switch (Utility.Random(2))
            {
            case 0: AddItem(new ThighBoots(Utility.RandomGreenHue())); break;

            default:
            case 1: AddItem(new Sandals(Utility.RandomGreenHue())); break;
            }
            AddItem(new FancyShirt(Utility.RandomBlueHue()));
            AddItem(new Doublet(Utility.RandomBlueHue()));
            AddItem(new Cloak(Utility.RandomGreenHue()));
            Item gloves = new LeatherGloves();

            gloves.Hue = Utility.RandomBlueHue();
            AddItem(gloves);
            AddItem(new ShortPants(Utility.RandomBlueHue()));
            AddItem(new StrippersLingerie());
            Item skirt;

            switch (Utility.Random(2))
            {
            case 0: skirt = new Skirt(); break;

            default:
            case 1: skirt = new Kilt(); break;
            }
            skirt.Hue = Utility.RandomGreenHue();
            AddItem(skirt);
            AddItem(new SilverRing());
            AddItem(new SilverEarrings());
            AddItem(new SilverBracelet());
            AddItem(new SilverNecklace());
        }
예제 #10
0
        public TownCrierb() : base(AIType.AI_Thief, FightMode.None, 10, 1, 0.8, 1.6)
        {
            InitStats(100, 100, 25);

            Title         = "the town crier";
            Name          = NameList.RandomName("female");
            Female        = true;
            Body          = 0x191;
            Hue           = Utility.RandomSkinHue();
            NameHue       = 0x35;
            m_Stone       = null;
            m_StoneActive = false;
            m_Active      = false;
            m_Custom      = false;
            m_Random      = false;
            m_Delay       = new TimeSpan(0, 0, 10);
            this.Blessed  = true;

            AddItem(new FancyShirt(Utility.RandomBlueHue()));

            Item skirt;

            switch (Utility.Random(2))
            {
            case 0: skirt = new Skirt(); break;

            default:
            case 1: skirt = new Kilt(); break;
            }

            skirt.Hue = Utility.RandomGreenHue();

            AddItem(skirt);

            AddItem(new FeatheredHat(Utility.RandomGreenHue()));

            Item boots;

            switch (Utility.Random(2))
            {
            case 0: boots = new Boots(); break;

            default:
            case 1: boots = new ThighBoots(); break;
            }

            AddItem(boots);

            HairItemID = 0x203C;               // Long hair
            HairHue    = 1175;
        }
예제 #11
0
        public DummyNox() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // A Dummy Nox or Pure Mage
            int iHue = 20 + Team * 40;
            int jHue = 25 + Team * 40;

            // Skills and Stats
            this.InitStats(90, 90, 125);
            this.Skills[SkillName.ArtMagique].Base = 120;
            //this.Skills[SkillName.EvalInt].Base = 120;
            this.Skills[SkillName.Inscription].Base    = 100;
            this.Skills[SkillName.Anatomie].Base       = 120;
            this.Skills[SkillName.Concentration].Base  = 120;
            this.Skills[SkillName.Empoisonnement].Base = 100;


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

            // Equip
            Spellbook book = new Spellbook();

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

            Kilt kilt = new Kilt();

            kilt.Hue = jHue;
            AddItem(kilt);

            Sandals snd = new Sandals();

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

            SkullCap skc = new SkullCap();

            skc.Hue = iHue;
            AddItem(skc);

            // Spells
            AddSpellAttack(typeof(Spells.MagicArrowSpell));
            AddSpellAttack(typeof(Spells.WeakenSpell));
            AddSpellAttack(typeof(Spells.FireballSpell));
            AddSpellDefense(typeof(Spells.WallOfStoneSpell));
            AddSpellDefense(typeof(Spells.HealSpell));
        }
예제 #12
0
        public ArmyBaseNox(int Team) : base(Team, AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // An ArmyBase Nox Mage
            int iHue = 20 + Team * 40;
            int jHue = 25 + Team * 40;

            // Skills and Stats
            this.InitStats((75 + Utility.Random(15)), (75 + Utility.Random(15)), (90 + Utility.Random(35)));
            this.Skills[SkillName.Magery].Base     = (90 + Utility.Random(30));
            this.Skills[SkillName.EvalInt].Base    = (90 + Utility.Random(30));
            this.Skills[SkillName.Inscribe].Base   = (80 + Utility.Random(20));
            this.Skills[SkillName.Wrestling].Base  = (90 + Utility.Random(30));
            this.Skills[SkillName.Meditation].Base = (90 + Utility.Random(30));
            this.Skills[SkillName.Poisoning].Base  = (80 + Utility.Random(20));


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

            // Equip
            Spellbook book = new Spellbook();

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

            Kilt kilt = new Kilt();

            kilt.Hue = jHue;
            AddItem(kilt);

            Sandals snd = new Sandals();

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

            SkullCap skc = new SkullCap();

            skc.Hue = iHue;
            AddItem(skc);

            // 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));
        }
예제 #13
0
        public FamousPiratesNox()
            : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // A FamousPirates Nox or Pure Mage
            int Hue = 2075;

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


            // Name
            this.Name = "Davy Jones";

            // Equip
            Spellbook book = FullSpellbook();

            AddItem(book);

            Kilt kilt = new Kilt();

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

            Boots snd = new Boots();

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

            SkullCap skc = new SkullCap();

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

            // 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));
        }
예제 #14
0
        public BarbarianChieftain() : base(AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            int hairHue = Utility.RandomHairHue();

            Name = "Barbarian Chieftain";
            Hue  = Utility.RandomSkinHue();
            Body = 0x190;

            AddItem(new LongHair(hairHue));
            AddItem(new LongBeard(hairHue));

            SetStr(200, 250);
            SetDex(88, 98);
            SetInt(20, 30);

            SetHits(150, 200);
            SetStam(81, 95);

            SetDamage(25, 28);

            SetDamageType(ResistanceType.Physical, 100);

            SetSkill(SkillName.Swords, 100.0);
            SetSkill(SkillName.MagicResist, 20.0, 35.0);
            SetSkill(SkillName.Tactics, 90.0, 100.0);
            SetSkill(SkillName.Wrestling, 90.0, 100.0);
            SetSkill(SkillName.Parry, 85.0, 100.0);
            Fame  = Utility.RandomMinMax(4000, 5500);
            Karma = Utility.RandomMinMax(-4500, -6500);

            VirtualArmor = 20;
            Item temp;

            temp         = new ThighBoots();
            temp.Hue     = 0x01bb;
            temp.Movable = false;
            AddItem(temp);
            temp         = new LeatherChest();
            temp.Movable = false;
            AddItem(temp);
            temp         = new Kilt();
            temp.Hue     = 0x01bb;
            temp.Movable = false;
            AddItem(temp);
            LargeBattleAxe a = new LargeBattleAxe();

            a.DamageLevel = WeaponDamageLevel.Ruin;
            AddItem(a);
        }
예제 #15
0
        public Armond() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 0x190;
            Name  = "Armond";
            Title = "The Dark One";

            SetStr(356, 396);
            SetDex(105, 135);
            SetInt(530, 653);
            SetSkill(SkillName.Wrestling, 91.3, 97.8);
            SetSkill(SkillName.Tactics, 91.5, 99.0);
            SetSkill(SkillName.MagicResist, 90.6, 96.8);
            SetSkill(SkillName.Magery, 91.7, 99.0);
            SetSkill(SkillName.EvalInt, 100.1, 100.1);
            SetSkill(SkillName.Meditation, 121.1, 128.1);

            VirtualArmor = 64;

            new Kirin().Rider = this;

            SetFameLevel(8);
            SetKarmaLevel(-8);

            LeatherGloves gloves = new LeatherGloves();

            gloves.Hue = 1;
            AddItem(gloves);

            HoodedShroudOfShadows shroud = new HoodedShroudOfShadows();

            shroud.Hue = 1157;
            AddItem(shroud);

            Cloak cloak = new Cloak();

            cloak.Hue = 1157;
            AddItem(cloak);

            Kilt kilt = new Kilt();

            kilt.Hue = 1;
            AddItem(kilt);

            Sandals sandals = new Sandals();

            sandals.Hue = 1;
            AddItem(sandals);
        }
예제 #16
0
        public override void InitOutfit()
        {
            AddItem(new FancyShirt(Utility.RandomBlueHue()));

            Item skirt;

            switch (Utility.Random(2))
            {
            case 0:
                skirt = new Skirt();
                break;

            default:
            case 1:
                skirt = new Kilt();
                break;
            }

            skirt.Hue = Utility.RandomGreenHue();

            AddItem(skirt);

            AddItem(new FeatheredHat(Utility.RandomGreenHue()));

            Item boots;

            switch (Utility.Random(2))
            {
            case 0:
                boots = new Boots();
                break;

            default:
            case 1:
                boots = new ThighBoots();
                break;
            }

            AddItem(boots);

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

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

            AddItem(hair);
        }
예제 #17
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());
            }
예제 #18
0
        public DummyNox() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // A Dummy Nox or Pure Mage
            int iHue = 20 + Team * 40;
            int jHue = 25 + Team * 40;

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

            // Equip
            Spellbook book = new Spellbook();

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

            Kilt kilt = new Kilt();

            kilt.Hue = jHue;
            AddItem(kilt);

            Sandals snd = new Sandals();

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

            SkullCap skc = new SkullCap();

            skc.Hue = iHue;
            AddItem(skc);

            // Spells
            AddSpellAttack(typeof(MagicArrowSpell));
            AddSpellAttack(typeof(WeakenSpell));
            AddSpellAttack(typeof(FireballSpell));
            AddSpellDefense(typeof(WallOfStoneSpell));
            AddSpellDefense(typeof(HealSpell));
        }
예제 #19
0
        public TownHerald() : base( )
        {
            NameHue = -1;

            InitStats(100, 100, 25);

            Title = "the town crier";
            Hue   = Utility.RandomSkinColor();

            AddItem(new FancyShirt(Utility.RandomBlueHue()));

            Item skirt;

            switch (Utility.Random(2))
            {
            case 0: skirt = new Skirt(); break;

            default:
            case 1: skirt = new Kilt(); break;
            }

            skirt.Hue = Utility.RandomGreenHue();

            AddItem(skirt);

            AddItem(new FeatheredHat(Utility.RandomGreenHue()));

            Item boots;

            switch (Utility.Random(2))
            {
            case 0: boots = new Boots(); break;

            default:
            case 1: boots = new ThighBoots(); break;
            }

            AddItem(boots);
            AddItem(new LightCitizen(true));

            Utility.AssignRandomHair(this);
        }
예제 #20
0
        public override void InitOutfit()
        {
            WipeLayers();
            AddArcane(new Robe());
            AddArcane(new ThighBoots());
            AddArcane(new LeatherGloves());
            AddArcane(new Cloak());

            // black kilt now drops from the spawner in Wrong only
            Kilt kilt = new Kilt(0x1);

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

            // black shirt now drops from the spawner in Wrong only
            Shirt shirt = new Shirt(0x1);

            shirt.LootType = LootType.Newbied;
            AddItem(shirt);
        }
예제 #21
0
        public KhaldunSummoner()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 0x190;
            Name  = "Zealot of Khaldun";
            Title = "the Summoner";

            SetStr(351, 400);
            SetDex(101, 150);
            SetInt(502, 700);

            SetHits(421, 480);

            SetDamage(5, 15);

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

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

            SetSkill(SkillName.Wrestling, 90.1, 100.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);
            SetSkill(SkillName.MagicResist, 90.1, 100.0);
            SetSkill(SkillName.Magery, 90.1, 100.0);
            SetSkill(SkillName.EvalInt, 100.0);
            SetSkill(SkillName.Meditation, 120.1, 130.0);

            Fame  = 10000;
            Karma = -10000;

            LeatherGloves gloves = new LeatherGloves
            {
                Hue = 0x66D
            };

            AddItem(gloves);

            BoneHelm helm = new BoneHelm
            {
                Hue = 0x835
            };

            AddItem(helm);

            Necklace necklace = new Necklace
            {
                Hue = 0x66D
            };

            AddItem(necklace);

            Cloak cloak = new Cloak
            {
                Hue = 0x66D
            };

            AddItem(cloak);

            Kilt kilt = new Kilt
            {
                Hue = 0x66D
            };

            AddItem(kilt);

            Sandals sandals = new Sandals
            {
                Hue = 0x66D
            };

            AddItem(sandals);
        }
예제 #22
0
        public KhaldunSummoner()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body  = 0x190;
            Name  = "Zealot of Khaldun";
            Title = "the Summoner";

            SetStr(351, 400);
            SetDex(101, 150);
            SetInt(502, 700);

            SetHits(421, 480);

            SetDamage(5, 15);

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

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

            SetSkill(SkillName.Wrestling, 90.1, 100.0);
            SetSkill(SkillName.Tactics, 90.1, 100.0);
            SetSkill(SkillName.MagicResist, 90.1, 100.0);
            SetSkill(SkillName.Magery, 90.1, 100.0);
            SetSkill(SkillName.EvalInt, 100.0);
            SetSkill(SkillName.Meditation, 120.1, 130.0);

            VirtualArmor = 36;
            Fame         = 10000;
            Karma        = -10000;

            var gloves = new LeatherGloves();

            gloves.Hue = 0x66D;
            AddItem(gloves);

            var helm = new BoneHelm();

            helm.Hue = 0x835;
            AddItem(helm);

            var necklace = new Necklace();

            necklace.Hue = 0x66D;
            AddItem(necklace);

            var cloak = new Cloak();

            cloak.Hue = 0x66D;
            AddItem(cloak);

            var kilt = new Kilt();

            kilt.Hue = 0x66D;
            AddItem(kilt);

            var sandals = new Sandals();

            sandals.Hue = 0x66D;
            AddItem(sandals);
        }
예제 #23
0
        public override bool OnBeforeDeath()
        {
            BoneMagi rm = new BoneMagi();

            rm.Team = this.Team;
            rm.MoveToWorld(this.Location, this.Map);

            Effects.SendLocationEffect(Location, Map, 0x3709, 13, 0x3B2, 0);

            Container bag = new Bag();

            switch (Utility.Random(9))
            {
            case 0: bag.DropItem(new Amber()); break;

            case 1: bag.DropItem(new Amethyst()); break;

            case 2: bag.DropItem(new Citrine()); break;

            case 3: bag.DropItem(new Diamond()); break;

            case 4: bag.DropItem(new Emerald()); break;

            case 5: bag.DropItem(new Ruby()); break;

            case 6: bag.DropItem(new Sapphire()); break;

            case 7: bag.DropItem(new StarSapphire()); break;

            case 8: bag.DropItem(new Tourmaline()); break;
            }

            switch (Utility.Random(8))
            {
            case 0: bag.DropItem(new SpidersSilk(3)); break;

            case 1: bag.DropItem(new BlackPearl(3)); break;

            case 2: bag.DropItem(new Bloodmoss(3)); break;

            case 3: bag.DropItem(new Garlic(3)); break;

            case 4: bag.DropItem(new MandrakeRoot(3)); break;

            case 5: bag.DropItem(new Nightshade(3)); break;

            case 6: bag.DropItem(new SulfurousAsh(3)); break;

            case 7: bag.DropItem(new Ginseng(3)); break;
            }

            bag.DropItem(new Gold(1000, 1500));
            rm.AddItem(bag);

            LeatherGloves gloves = new LeatherGloves();

            gloves.Hue = 32;
            AddItem(gloves);

            BoneHelm helm = new BoneHelm();

            helm.Hue      = 0x3A8;
            helm.LootType = LootType.Blessed;
            AddItem(helm);

            Cloak cloak = new Cloak();

            cloak.Hue = 32;
            AddItem(cloak);

            Kilt kilt = new Kilt();

            kilt.Hue = 32;
            AddItem(kilt);

            Sandals sandals = new Sandals();

            sandals.Hue = 32;
            AddItem(sandals);

            this.Delete();

            return(false);
        }
예제 #24
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());
        }
예제 #25
0
        public HumanPaladin() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.2, 0.4)
        {
            Title     = "the Righteous";
            SpeechHue = Utility.RandomDyedHue();
            Hue       = Utility.RandomSkinHue();
            Body      = 0x190;
            Level     = 10;

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Name = NameList.RandomName("female");
                FemalePlateChest fchest = new FemalePlateChest();
                fchest.Hue     = 2122;
                fchest.Movable = false;
                AddItem(fchest);
                Kilt kilt = new Kilt();
                kilt.Movable = false;
                kilt.Hue     = 2971;
                AddItem(kilt);
            }
            else
            {
                Body = 0x190;
                Name = NameList.RandomName("male");
                PlateChest chest = new PlateChest();
                chest.Hue     = 2122;
                chest.Movable = false;
                AddItem(chest);
                Surcoat coat = new Surcoat();
                coat.Hue     = 2971;
                coat.Movable = false;
                AddItem(coat);
                CloseHelm helm = new CloseHelm();
                helm.Hue     = 2122;
                helm.Movable = false;
                AddItem(helm);
            }

            Fame  = 2000;
            Karma = 8000;

            new Nightmare().Rider = this;

            PlateArms arms = new PlateArms();

            arms.Hue     = 2122;
            arms.Movable = false;
            AddItem(arms);
            PlateLegs legs = new PlateLegs();

            legs.Hue     = 2122;
            legs.Movable = false;
            AddItem(legs);
            PlateGorget gorget = new PlateGorget();

            gorget.Hue     = 2122;
            gorget.Movable = false;
            AddItem(gorget);
            PlateGloves gloves = new PlateGloves();

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

            Cloak cloak = new Cloak();

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

            PackGold(10, 17);

            SetSkill(SkillName.MagicResist, 80.0, 90.5);
            SetSkill(SkillName.Swords, 85.0, 101.5);
            SetSkill(SkillName.Tactics, 85.0, 93.5);
            SetSkill(SkillName.Wrestling, 65.0, 72.5);
            SetSkill(SkillName.Fencing, 85.0, 100.5);
            SetSkill(SkillName.Macing, 70.3, 95.5);

            SetStr(316, 440);
            SetDex(161, 223);
            SetInt(141, 165);
            SetHits(380, 433);
            SetDamage(12, 20);

            switch (Utility.Random(8))
            {
            case 0: WarMace wmace = new WarMace();
                wmace.Movable = false;
                wmace.Hue     = 2122;
                AddItem(wmace);

                OrderShield ashield = new OrderShield();
                ashield.Movable = false;
                ashield.Hue     = 2122;
                AddItem(ashield);
                break;

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

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

                OrderShield bshield = new OrderShield();
                bshield.Movable = false;
                bshield.Hue     = 2122;
                AddItem(bshield);
                break;

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

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

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

                OrderShield cshield = new OrderShield();
                cshield.Movable = false;
                cshield.Hue     = 2122;
                AddItem(cshield);
                break;

            case 6: VikingSword vsword = new VikingSword();
                vsword.Movable = false;
                vsword.Hue     = 2122;
                AddItem(vsword);

                OrderShield dshield = new OrderShield();
                dshield.Movable = false;
                dshield.Hue     = 2122;
                AddItem(dshield);
                break;

            case 7: Lance lance = new Lance();
                lance.Movable = false;
                lance.Hue     = 2122;
                AddItem(lance);
                break;
            }

            AddItem(Server.Items.Hair.GetRandomHair(Female));
        }
예제 #26
0
        public IceGolem() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "an ice golem";
            Hue         = 0x480;
            Body        = 0x190;
            BaseSoundID = 268;

            NorseHelm MyHelm = new NorseHelm( );

            MyHelm.Hue       = 0x4F2;
            MyHelm.ColdBonus = 20;
            MyHelm.Name      = "ice helm";
            AddItem(MyHelm);

            VikingSword MySword = new VikingSword( );

            MySword.Hue = 0x4F2;
            MySword.AosElementDamages.Cold = 50;
            MySword.Name = "ice sword";
            AddItem(MySword);

            HeaterShield MyShield = new HeaterShield( );

            MyShield.Hue       = 0x4F2;
            MyShield.ColdBonus = 5;
            MyShield.Name      = "ice shield";
            AddItem(MyShield);

            Kilt MyKilt = new Kilt( );

            MyKilt.Hue      = 0x4F2;
            MyKilt.LootType = LootType.Blessed;
            AddItem(MyKilt);

            SetStr(386, 400);
            SetDex(151, 165);
            SetInt(161, 175);

            SetHits(300, 400);

            SetDamage(8, 10);

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

            SetResistance(ResistanceType.Physical, 35, 45);
            SetResistance(ResistanceType.Fire, 5, 10);
            SetResistance(ResistanceType.Cold, 100);
            SetResistance(ResistanceType.Poison, 100);
            SetResistance(ResistanceType.Energy, 20, 30);

            SetSkill(SkillName.DetectHidden, 80.0);
            SetSkill(SkillName.Anatomy, 125.0);
            SetSkill(SkillName.Poisoning, 60.0, 82.5);
            SetSkill(SkillName.MagicResist, 83.5, 92.5);
            SetSkill(SkillName.Swords, 125.0);
            SetSkill(SkillName.Tactics, 125.0);

            Fame  = 4000;
            Karma = -4000;

            VirtualArmor = 30;

            AddItem(new LightSource());
        }
예제 #27
0
        public ParoleOfficer()
        //: base( AIType.AI_Mage, FightMode.Aggressor, 2, 1, 1, 2 )
            : base(AIType.AI_Mage, FightMode.Aggressor, 10, 5, 0.2, 0.4)
        {
            SetStr(81, 105);
            SetDex(191, 215);
            SetInt(126, 150);
            SetHits(450, 550);

            Title = "the parole officer";

            SpeechHue = Utility.RandomDyedHue();

            Hue = Utility.RandomSkinHue();

            Female = true;
            Body   = 0x191;
            Name   = NameList.RandomName("female");

            FloppyHat hat = new FloppyHat(Utility.RandomNondyedHue());

            hat.Movable = false;
            AddItem(hat);

            Shirt shirt = new Shirt(Utility.RandomNondyedHue());

            shirt.Movable = false;
            AddItem(shirt);

            Kilt kilt = new Kilt(Utility.RandomNondyedHue());

            kilt.Movable = false;
            AddItem(kilt);

            Sandals sandals = new Sandals(Utility.RandomNondyedHue());

            sandals.Movable = false;
            AddItem(sandals);

            Item hair = new Item(0x203C);            //long hair

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

            AddItem(hair);

            QuarterStaff weapon = new QuarterStaff();

            weapon.Movable = false;
            AddItem(weapon);

            Container pack = new Backpack();

            pack.Movable = false;

            pack.DropItem(new Gold(10, 25));

            AddItem(pack);

            SetSkill(SkillName.DetectHidden, 100.0);
            SetSkill(SkillName.EvalInt, 80.2, 100.0);
            SetSkill(SkillName.Magery, 95.1, 100.0);
            SetSkill(SkillName.Meditation, 100.0);
            SetSkill(SkillName.MagicResist, 77.5, 100.0);
            SetSkill(SkillName.Tactics, 95.0, 100.0);
            SetSkill(SkillName.Anatomy, 95.0, 100.0);
            SetSkill(SkillName.Macing, 100.0);
            SetSkill(SkillName.Wrestling, 90.0, 100.0);
        }
예제 #28
0
        public DemonExec() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = "a demonic executioner";
            Body        = 400;
            BaseSoundID = 427;
            Hue         = 1175;

            SetStr(767, 945);
            SetDex(66, 75);
            SetInt(46, 70);

            SetHits(476, 552);

            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  = 15000;
            Karma = -15000;

            VirtualArmor = 50;

            NorseHelm helm = new NorseHelm();

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

            PlateChest chest = new PlateChest();

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

            PlateArms arms = new PlateArms();

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

            PlateLegs legs = new PlateLegs();

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

            Kilt kilt = new Kilt();

            kilt.Hue     = 1158;
            kilt.Movable = false;
            AddItem(kilt);

            Halberd hands = new Halberd();

            hands.Hue     = 1258;
            hands.Movable = false;
            AddItem(hands);

            if (Utility.Random(750) == 0)
            {
                PackItem(new DemonSandals());
            }
            if (Utility.Random(750) == 0)
            {
                PackItem(new DemonDoublet());
            }
            if (Utility.Random(750) == 0)
            {
                PackItem(new DemonWizardsHat());
            }
            if (Utility.Random(750) == 0)
            {
                PackItem(new DemonHalfApron());
            }
            if (Utility.Random(750) == 0)
            {
                PackItem(new DemonSkirt());
            }
        }
예제 #29
0
        public TownCrier()
        {
            m_Instances.Add(this);

            InitStats(100, 100, 25);

            Title = "the town crier";
            Hue   = Utility.RandomSkinHue();

            if (!Core.AOS)
            {
                NameHue = 0x35;
            }

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

            AddItem(new FancyShirt(Utility.RandomBlueHue()));

            Item skirt;

            switch (Utility.Random(2))
            {
            case 0: skirt = new Skirt(); break;

            default:
            case 1: skirt = new Kilt(); break;
            }

            skirt.Hue = Utility.RandomGreenHue();

            AddItem(skirt);

            AddItem(new FeatheredHat(Utility.RandomGreenHue()));

            Item boots;

            switch (Utility.Random(2))
            {
            case 0: boots = new Boots(); break;

            default:
            case 1: boots = new ThighBoots(); break;
            }

            AddItem(boots);

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

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

            AddItem(hair);
        }
예제 #30
0
        public FamousPiratesThief()
            : base(AIType.AI_Thief, FightMode.Closest, 15, 1, 0.2, 0.6)
        {
            // A FamousPirates Hybrid Thief
            int Hue = 2075;

            // Skills and Stats
            this.InitStats(205, 205, 205);
            this.Skills[SkillName.Healing].Base    = 150;
            this.Skills[SkillName.Anatomy].Base    = 150;
            this.Skills[SkillName.Stealing].Base   = 150;
            this.Skills[SkillName.ArmsLore].Base   = 100;
            this.Skills[SkillName.Meditation].Base = 150;
            this.Skills[SkillName.Wrestling].Base  = 150;

            // Name
            this.Name = "Cutler Beckettt";

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

            TricorneHat tch = new TricorneHat();

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

            Kilt Klt = new Kilt();

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

            Bandage band = new Bandage(50);

            AddToBackpack(band);
        }