public InternalSellInfo()
            {
                Add(typeof(Hide), Hide.GetSBSellValue());

                Add(typeof(SkinningKnife), SkinningKnife.GetSBSellValue());

                Add(typeof(LeatherCap), LeatherCap.GetSBSellValue());
                Add(typeof(LeatherGorget), LeatherGorget.GetSBSellValue());
                Add(typeof(LeatherArms), LeatherArms.GetSBSellValue());
                Add(typeof(LeatherGloves), LeatherGloves.GetSBSellValue());
                Add(typeof(LeatherChest), LeatherChest.GetSBSellValue());
                Add(typeof(FemaleLeatherChest), FemaleLeatherChest.GetSBSellValue());
                Add(typeof(LeatherBustier), LeatherBustier.GetSBSellValue());
                Add(typeof(LeatherLegs), LeatherLegs.GetSBSellValue());
                Add(typeof(LeatherSkirt), LeatherSkirt.GetSBSellValue());
                Add(typeof(LeatherShorts), LeatherShorts.GetSBSellValue());

                Add(typeof(StuddedCap), StuddedCap.GetSBSellValue());
                Add(typeof(StuddedGorget), StuddedGorget.GetSBSellValue());
                Add(typeof(StuddedArms), StuddedArms.GetSBSellValue());
                Add(typeof(StuddedGloves), StuddedGloves.GetSBSellValue());
                Add(typeof(StuddedChest), StuddedChest.GetSBSellValue());
                Add(typeof(FemaleStuddedChest), FemaleStuddedChest.GetSBSellValue());
                Add(typeof(StuddedBustier), StuddedBustier.GetSBSellValue());
                Add(typeof(StuddedLegs), StuddedLegs.GetSBSellValue());

                Add(typeof(Shoes), Shoes.GetSBSellValue());
                Add(typeof(Sandals), Sandals.GetSBSellValue());
                Add(typeof(Boots), Boots.GetSBSellValue());
                Add(typeof(ThighBoots), ThighBoots.GetSBSellValue());
            }
            public InternalSellInfo()
            {
                Add(typeof(LeatherCap), LeatherCap.GetSBSellValue());
                Add(typeof(LeatherGorget), LeatherGorget.GetSBSellValue());
                Add(typeof(LeatherArms), LeatherArms.GetSBSellValue());
                Add(typeof(LeatherGloves), LeatherGloves.GetSBSellValue());
                Add(typeof(LeatherChest), LeatherChest.GetSBSellValue());
                Add(typeof(FemaleLeatherChest), FemaleLeatherChest.GetSBSellValue());
                Add(typeof(LeatherBustier), LeatherBustier.GetSBSellValue());
                Add(typeof(LeatherLegs), LeatherLegs.GetSBSellValue());
                Add(typeof(LeatherSkirt), LeatherSkirt.GetSBSellValue());
                Add(typeof(LeatherShorts), LeatherShorts.GetSBSellValue());

                Add(typeof(StuddedCap), StuddedCap.GetSBSellValue());
                Add(typeof(StuddedGorget), StuddedGorget.GetSBSellValue());
                Add(typeof(StuddedArms), StuddedArms.GetSBSellValue());
                Add(typeof(StuddedGloves), StuddedGloves.GetSBSellValue());
                Add(typeof(StuddedChest), StuddedChest.GetSBSellValue());
                Add(typeof(FemaleStuddedChest), FemaleStuddedChest.GetSBSellValue());
                Add(typeof(StuddedBustier), StuddedBustier.GetSBSellValue());
                Add(typeof(StuddedLegs), StuddedLegs.GetSBSellValue());

                Add(typeof(RingmailHelm), RingmailHelm.GetSBSellValue());
                Add(typeof(RingmailGorget), RingmailGorget.GetSBSellValue());
                Add(typeof(RingmailArms), RingmailArms.GetSBSellValue());
                Add(typeof(RingmailGloves), RingmailGloves.GetSBSellValue());
                Add(typeof(RingmailChest), RingmailChest.GetSBSellValue());
                Add(typeof(RingmailLegs), RingmailLegs.GetSBSellValue());

                Add(typeof(ChainmailCoif), ChainmailCoif.GetSBSellValue());
                Add(typeof(ChainmailGorget), ChainmailGorget.GetSBSellValue());
                Add(typeof(ChainmailArms), ChainmailArms.GetSBSellValue());
                Add(typeof(ChainmailGloves), ChainmailGloves.GetSBSellValue());
                Add(typeof(ChainmailChest), ChainmailChest.GetSBSellValue());
                Add(typeof(ChainmailLegs), ChainmailLegs.GetSBSellValue());

                Add(typeof(PlateHelm), PlateHelm.GetSBSellValue());
                Add(typeof(PlateGorget), PlateGorget.GetSBSellValue());
                Add(typeof(PlateArms), PlateArms.GetSBSellValue());
                Add(typeof(PlateGloves), PlateGloves.GetSBSellValue());
                Add(typeof(PlateChest), PlateChest.GetSBSellValue());
                Add(typeof(FemalePlateChest), FemalePlateChest.GetSBSellValue());
                Add(typeof(PlateLegs), PlateLegs.GetSBSellValue());

                Add(typeof(Bascinet), Bascinet.GetSBSellValue());
                Add(typeof(CloseHelm), CloseHelm.GetSBSellValue());
                Add(typeof(NorseHelm), NorseHelm.GetSBSellValue());

                Add(typeof(Buckler), Buckler.GetSBSellValue());
                Add(typeof(MetalShield), MetalShield.GetSBSellValue());
                Add(typeof(BronzeShield), BronzeShield.GetSBSellValue());
                Add(typeof(MetalKiteShield), MetalKiteShield.GetSBSellValue());
                Add(typeof(HeaterShield), HeaterShield.GetSBSellValue());
            }
        /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        public static Item CreateLeatherArmor(string gender)
        {
            Item item  = null;
            int  nType = Utility.RandomMinMax(0, 12);

            switch (nType)
            {
            case 0:         item = new LeatherArms();                       item.Name = "leather sleeves";          break;

            case 1:         item = new LeatherChest();                      item.Name = "leather tunic";
                if (gender == "female" || Utility.RandomMinMax(0, 3) == 1)
                {
                    item = new FemaleLeatherChest();              item.Name = "leather armor";
                }
                else if (gender == "female" || Utility.RandomMinMax(0, 3) == 1)
                {
                    item = new LeatherBustierArms();              item.Name = "leather bustier";
                }
                break;

            case 2:         item = new LeatherGloves();                     item.Name = "leather gloves";           break;

            case 3:         item = new LeatherGorget();                     item.Name = "leather gorget";           break;

            case 4: item = new LeatherLegs();                               item.Name = "leather leggings";
                if (gender == "female" || Utility.RandomMinMax(0, 3) == 1)
                {
                    item = new LeatherSkirt();                            item.Name = "leather skirt";
                }
                if (Utility.RandomMinMax(0, 5) == 1)
                {
                    item = new LeatherShorts();                           item.Name = "leather shorts";
                }
                break;

            case 5:         item = new LeatherCap();                        item.Name = "leather cap";                      break;

            case 6:         item = new LeatherJingasa();            item.Name = "leather jingasa";          break;

            case 7:         item = new LeatherDo();                         item.Name = "leather do";                       break;

            case 8:         item = new LeatherHiroSode();           item.Name = "leather hiro sode";        break;

            case 9:         item = new LeatherSuneate();            item.Name = "leather suneate";          break;

            case 10:        item = new LeatherHaidate();            item.Name = "leather haidate";          break;

            case 11:        item = new LeatherNinjaPants();         item.Name = "leather ninja pants";      break;

            case 12:        item = new LeatherNinjaJacket();        item.Name = "leather ninja jacket";     break;
            }

            return(item);
        }
Exemple #4
0
        public Sprite() : base(AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name   = "Sprite";
            Hue    = 0x045e;
            Body   = 0x191;
            Female = true;
            AddItem(new PonyTail(0x0597));

            SetStr(86, 90);
            SetDex(91, 100);
            SetInt(71, 85);

            SetHits(86, 90);
            SetStam(91, 100);
            SetMana(0);

            SetDamage(6, 10);

            SetDamageType(ResistanceType.Physical, 100);

            SetSkill(SkillName.Fencing, 65.0, 88.0);
            SetSkill(SkillName.MagicResist, 60.0, 80.0);
            SetSkill(SkillName.Tactics, 75.0, 85.0);
            SetSkill(SkillName.Wrestling, 35.0, 58.0);

            Fame = Utility.RandomMinMax(1200, 3200);

            VirtualArmor = 5;

            Item temp;

            temp         = new ThighBoots();
            temp.Hue     = 0x0599;
            temp.Movable = false;
            AddItem(temp);
            temp         = new FemaleLeatherChest();
            temp.Hue     = 0x0599;
            temp.Movable = false;
            AddItem(temp);
            temp         = new Cloak();
            temp.Hue     = 0x0599;
            temp.Movable = false;
            AddItem(temp);
            temp         = new Kryss();
            temp.Hue     = 0x0599;
            temp.Movable = false;
            AddItem(temp);
            temp         = new LeatherLegs();
            temp.Hue     = 0x0599;
            temp.Movable = false;
            AddItem(temp);
        }
        public SerpentsHoldMage() : base(AIType.AI_Mage, FightMode.Weakest, 10, 5, 0.1, 0.2)
        {
            Title = "the Mage";

            AddItem(new Boots());
            AddItem(new WizardsHat(237));
            AddItem(new Cloak(237));
            LeatherGloves gloves = new LeatherGloves();

            gloves.Hue = 2301;
            AddItem(gloves);
            AddItem(new BodySash(237));
            LeatherLegs legs = new LeatherLegs();

            legs.Hue = 2301;
            AddItem(legs);

            SetStr(1000, 1000);
            SetDex(250, 250);
            SetInt(250, 250);

            SetSkill(SkillName.MagicResist, 120.0, 120.0);
            SetSkill(SkillName.Magery, 120.0, 120.0);
            SetSkill(SkillName.Tactics, 65.0, 87.5);
            SetSkill(SkillName.Wrestling, 120.0, 120.0);

            if (Female = Utility.RandomBool())
            {
                Body = 401;
                Name = NameList.RandomName("female");

                FemaleLeatherChest chest = new FemaleLeatherChest();
                chest.Hue = 2301;
                AddItem(chest);
                AddItem(new PlainDress(2301));
            }
            else
            {
                Body = 400;
                Name = NameList.RandomName("male");

                LeatherChest chest = new LeatherChest();
                chest.Hue = 2301;
                AddItem(chest);
                LeatherArms arms = new LeatherArms();
                arms.Hue = 2301;
                AddItem(arms);
                AddItem(new Robe(2301));
            }

            Utility.AssignRandomHair(this);
        }
        public override void InitOutfit()
        {
            Name       = "Abigail";
            Body       = 401;
            Female     = true;
            Race       = Race.Human;
            Hue        = 33822;
            HairItemID = 8252;
            HairHue    = 1109;

            SetStr(152);
            SetDex(108);
            SetInt(28);

            SetSkill(SkillName.ArmsLore, 64.0, 100.0);
            SetSkill(SkillName.Blacksmith, 65.0, 88.0);
            SetSkill(SkillName.Fencing, 45.0, 68.0);
            SetSkill(SkillName.Macing, 45.0, 68.0);
            SetSkill(SkillName.Swords, 45.0, 68.0);
            SetSkill(SkillName.Tactics, 36.0, 68.0);

            PackGold(8, 16);

            AddItem(new ThighBoots());

            FemaleLeatherChest chest = new FemaleLeatherChest();

            chest.Movable = true;
            AddItem(chest);

            LeatherGorget gorget = new LeatherGorget();

            gorget.Movable = true;
            AddItem(gorget);

            LeatherShorts legs = new LeatherShorts();

            legs.Movable = true;
            AddItem(legs);

            Spear weapon = new Spear();

            weapon.Movable = true;
            weapon.Quality = WeaponQuality.Exceptional;
            AddItem(weapon);
        }
Exemple #7
0
        private void GenerateItems()
        {
            List <Item> items = new List <Item>();

            /*On ajoute ici les items que l'on veut que le PNJ porte, seule cette section doit être modifiée*/
            /*------------------*/
            Item it = new ArbaletePistolet();

            it.Hue = 1881;
            items.Add(it);
            it     = new CagouleCuir();
            it.Hue = 1904;
            items.Add(it);
            it     = new FemaleLeatherChest();
            it.Hue = 1899;
            items.Add(it);
            it     = new Cloak();
            it.Hue = 1904;
            items.Add(it);
            it     = new LeatherLegs();
            it.Hue = 1904;
            items.Add(it);
            it     = new FourreauDague();
            it.Hue = 0;
            items.Add(it);
            it     = new LeatherArms();
            it.Hue = 2412;
            items.Add(it);
            it     = new ThighBoots();
            it.Hue = 2306;
            items.Add(it);

            /*------------------*/

            if (items.Count > 0)
            {
                for (int i = 0; i < items.Count; ++i)
                {
                    items[i].Movable      = false;
                    items[i].CanBeAltered = false;
                    AddItem(items[i]);
                }
            }
        }
Exemple #8
0
        public override void InitOutfit()
        {
            Name       = "Quill Razorwind the fletcher";
            Body       = 606;
            Female     = true;
            Race       = Race.Elf;
            Hue        = 1002;
            HairItemID = 12238;
            HairHue    = 63;

            SetStr(225);
            SetDex(265);
            SetInt(151);

            SetSkill(SkillName.Archery, 80.0, 100.0);
            SetSkill(SkillName.Anatomy, 59.5, 68.7);
            SetSkill(SkillName.Fletching, 80.0, 100.0);
            SetSkill(SkillName.Tactics, 60.0, 83.0);
            SetSkill(SkillName.Wrestling, 61.0, 93.0);

            PackGold(14, 46);

            ElvenCompositeLongbow weapon = new ElvenCompositeLongbow();

            weapon.Movable = true;
            weapon.Quality = WeaponQuality.Exceptional;
            AddItem(weapon);

            PackItem(new Arrow(Utility.RandomMinMax(20, 30)));

            FemaleLeatherChest chest = new FemaleLeatherChest();

            chest.Movable = true;
            chest.Hue     = 2207;
            AddItem(chest);

            StuddedGorget gorget = new StuddedGorget();

            gorget.Movable = true;
            gorget.Hue     = 2207;
            AddItem(gorget);

            StuddedArms arms = new StuddedArms();

            arms.Movable = true;
            arms.Hue     = 2207;
            AddItem(arms);

            StuddedGloves gloves = new StuddedGloves();

            gloves.Movable = true;
            gloves.Hue     = 2207;
            AddItem(gloves);

            DrowSpiderCloak cloak = new DrowSpiderCloak();

            cloak.Movable = true;
            cloak.Hue     = 663;
            AddItem(cloak);

            AddItem(new ThighBoots(663));
        }
        public SavageAlien() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "an alien savage";

            Hue = Utility.RandomList(0x6F6, 0x97F, 0x99B, 0x6E4, 0x5E0, 0xB38, 0xB2B);

            string metal = Server.Misc.MorphingTime.GetSpaceAceMetalName();
            string cloth = Server.Misc.MorphingTime.GetSpaceAceClothName();
            string bone  = Server.Misc.MorphingTime.GetSpaceAceBoneName();
            string wood  = Server.Misc.MorphingTime.GetSpaceAceWoodName();

            if (Female = Utility.RandomBool())
            {
                Body = 401;
            }
            else
            {
                Body = 400;
            }

            SetStr(336, 385);
            SetDex(281, 305);
            SetInt(96, 115);

            SetHits(202, 231);
            SetMana(0);

            SetDamage(7, 23);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 45, 55);
            SetResistance(ResistanceType.Fire, 30, 40);
            SetResistance(ResistanceType.Cold, 30, 40);
            SetResistance(ResistanceType.Poison, 40, 50);
            SetResistance(ResistanceType.Energy, 40, 50);

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

            SetSkill(SkillName.Fencing, 125.1, 140.0);
            SetSkill(SkillName.Macing, 125.1, 140.0);
            SetSkill(SkillName.Wrestling, 125.1, 140.0);
            SetSkill(SkillName.MagicResist, 67.5, 100.0);
            SetSkill(SkillName.Swords, 125.1, 140.0);
            SetSkill(SkillName.Tactics, 125.1, 140.0);

            Fame  = 10000;
            Karma = -10000;

            VirtualArmor = 50;

            Item cloth1 = new SavageArms();

            MorphingTime.MakeSpaceAceBoneArmor(cloth1, bone, false);
            AddItem(cloth1);
            Item cloth2 = new SavageLegs();

            MorphingTime.MakeSpaceAceBoneArmor(cloth2, bone, false);
            AddItem(cloth2);
            Item cloth3 = new LeatherSkirt();

            cloth3.Name = "skin skirt";
            MorphingTime.MakeSpaceAceBoneArmor(cloth3, bone, true);
            cloth3.Layer = Layer.Waist;
            AddItem(cloth3);

            switch (Utility.RandomMinMax(0, 3))
            {
            case 0: Item cloth4 = new OrcHelm(); MorphingTime.MakeSpaceAceBoneArmor(cloth4, bone, false); AddItem(cloth4); break;

            case 1: Item cloth5 = new SavageHelm(); MorphingTime.MakeSpaceAceBoneArmor(cloth5, bone, false); AddItem(cloth5); break;

            case 2: Item cloth6 = new TribalMask(); cloth6.Name = "skin mask"; MorphingTime.MakeSpaceAceBoneArmor(cloth6, bone, true); AddItem(cloth6); break;
            }

            if (Utility.RandomMinMax(1, 10) == 1)
            {
                Item cloth7 = new SavageChest();
                MorphingTime.MakeSpaceAceBoneArmor(cloth7, bone, false);
                AddItem(cloth7);
            }
            else if (Female)
            {
                Item cloth8 = new FemaleLeatherChest();
                cloth8.Name = "skin tunic";
                MorphingTime.MakeSpaceAceBoneArmor(cloth8, bone, true);
                AddItem(cloth8);
            }

            IntelligentAction.GiveBasicWepShld(this);

            if (this.FindItemOnLayer(Layer.OneHanded) != null)
            {
                if (MaterialInfo.IsAnyKindOfMetalItem(this.FindItemOnLayer(Layer.OneHanded)))
                {
                    MorphingTime.MakeSpaceAceMetalArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), metal);
                }
                else if (MaterialInfo.IsAnyKindOfClothItem(this.FindItemOnLayer(Layer.OneHanded)))
                {
                    MorphingTime.MakeSpaceAceClothArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), cloth);
                }
                else if (MaterialInfo.IsAnyKindOfWoodItem(this.FindItemOnLayer(Layer.OneHanded)))
                {
                    MorphingTime.MakeSpaceAceWoodArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), wood);
                }
            }

            if (this.FindItemOnLayer(Layer.TwoHanded) != null)
            {
                Item hand = this.FindItemOnLayer(Layer.TwoHanded);

                if (hand is BaseShield)
                {
                    switch (Utility.RandomMinMax(1, 4))
                    {
                    case 1: hand.ItemID = 0x1B76; hand.Name = "hull plate";         break;

                    case 2: hand.ItemID = 0x1B76; hand.Name = "deck plate";         break;

                    case 3: hand.ItemID = 0x1B72; hand.Name = "hatch door";         break;

                    case 4: hand.ItemID = 0x1B7B; hand.Name = "hatch cover";        break;
                    }
                    MorphingTime.MakeSpaceAceMetalArmorWeapon(hand, metal);
                }
                else if (MaterialInfo.IsAnyKindOfMetalItem(hand))
                {
                    MorphingTime.MakeSpaceAceMetalArmorWeapon(hand, metal);
                }
                else if (MaterialInfo.IsAnyKindOfClothItem(hand))
                {
                    MorphingTime.MakeSpaceAceClothArmorWeapon(hand, cloth);
                }
                else if (MaterialInfo.IsAnyKindOfWoodItem(hand))
                {
                    MorphingTime.MakeSpaceAceWoodArmorWeapon(hand, wood);
                }
            }
        }
Exemple #10
0
        public Savage() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = NameList.RandomName("savage");

            int dino = Utility.RandomList(0x7D1, 0x7D2, 0x7D3, 0x7D4, 0x7D5, 0x7D6);

            if (Female = Utility.RandomBool())
            {
                Body = 401;
                Item cloth9 = new FemaleLeatherChest();
                cloth9.Hue  = dino;
                cloth9.Name = "dracosaur tunic";
                AddItem(cloth9);
            }
            else
            {
                Body = 400;
            }

            Hue = 0;

            SetStr(96, 115);
            SetDex(86, 105);
            SetInt(51, 65);

            SetDamage(23, 27);

            SetDamageType(ResistanceType.Physical, 100);

            SetSkill(SkillName.Fencing, 60.0, 82.5);
            SetSkill(SkillName.Macing, 60.0, 82.5);
            SetSkill(SkillName.Poisoning, 60.0, 82.5);
            SetSkill(SkillName.MagicResist, 57.5, 80.0);
            SetSkill(SkillName.Swords, 60.0, 82.5);
            SetSkill(SkillName.Tactics, 60.0, 82.5);

            Fame  = 1000;
            Karma = -1000;

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

            if (Female && 0.1 > Utility.RandomDouble())
            {
                PackItem(new TribalBerry());
            }
            else if (!Female && 0.1 > Utility.RandomDouble())
            {
                PackItem(new BolaBall());
            }

            AddItem(new Spear());

            Item cloth1 = new BoneArms();

            cloth1.Hue  = dino;
            cloth1.Name = "dracosaur guantlets";
            AddItem(cloth1);
            Item cloth2 = new BoneLegs();

            cloth2.Hue  = dino;
            cloth2.Name = "dracosaur leggings";
            AddItem(cloth2);
            Item cloth3 = new TribalMask();

            cloth3.Hue  = dino;
            cloth3.Name = "savage tribal mask";
            AddItem(cloth3);
            Item cloth4 = new LeatherSkirt();

            cloth4.Hue   = dino;
            cloth4.Name  = "dracosaur skirt";
            cloth4.Layer = Layer.Waist;
            AddItem(cloth4);
        }
        public PirateNatives()
        {
            Name  = NameList.RandomName("lizardman");
            Title = "the savage pirate";
            Hue   = 743;

            int leader = Utility.RandomColor(0);

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Item cloth9 = new FemaleLeatherChest();
                cloth9.Hue  = leader;
                cloth9.Name = "Native Tunic";
                AddItem(cloth9);
            }
            else
            {
                Body = 0x190;
            }

            HairHue = 0x96C;

            AddItem(new Spear());

            Item cloth1 = new SavageArms();

            cloth1.Hue  = leader;
            cloth1.Name = "Native Guantlets";
            AddItem(cloth1);
            Item cloth2 = new SavageLegs();

            cloth2.Hue  = leader;
            cloth2.Name = "Native Leggings";
            AddItem(cloth2);
            Item cloth3 = new StagMask();

            cloth3.Hue  = 932;
            cloth3.Name = "Native Tribal Mask";
            AddItem(cloth3);
            Item cloth4 = new LeatherSkirt();

            cloth4.Hue   = leader;
            cloth4.Name  = "Native Skirt";
            cloth4.Layer = Layer.Waist;
            AddItem(cloth4);

            AI        = AIType.AI_Melee;
            FightMode = FightMode.Closest;
            ship      = new GalleonBarbarian();
            ship.Hue  = ShipColor("");

            SetStr(536, 585);
            SetDex(126, 145);
            SetInt(281, 305);

            SetHits(322, 351);
            SetMana(0);

            SetDamage(16, 23);

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

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

            SetSkill(SkillName.MagicResist, 60.3, 105.0);
            SetSkill(SkillName.Tactics, 80.1, 100.0);
            SetSkill(SkillName.Wrestling, 80.1, 90.0);
            SetSkill(SkillName.Fencing, 80.1, 90.0);

            Fame  = 11000;
            Karma = -11000;

            VirtualArmor = 48;
            healme       = "Heal me my tribesman!";
        }
            public InternalBuyInfo()
            {
                Add(new GenericBuyInfo("Skinning Knife", typeof(SkinningKnife), SkinningKnife.GetSBPurchaseValue(), 50, 0xEC4, 0));

                Add(new GenericBuyInfo("Leather Cap", typeof(LeatherCap), LeatherCap.GetSBPurchaseValue(), 25, 7610, 0));
                Add(new GenericBuyInfo("Leather Gorget", typeof(LeatherGorget), LeatherGorget.GetSBPurchaseValue(), 25, 5063, 0));
                Add(new GenericBuyInfo("Leather Arms", typeof(LeatherArms), LeatherArms.GetSBPurchaseValue(), 25, 5061, 0));
                Add(new GenericBuyInfo("Leather Gloves", typeof(LeatherGloves), LeatherGloves.GetSBPurchaseValue(), 25, 5070, 0));
                Add(new GenericBuyInfo("Leather Chest", typeof(LeatherChest), LeatherChest.GetSBPurchaseValue(), 25, 5075, 0));
                Add(new GenericBuyInfo("Female Leather Chest", typeof(FemaleLeatherChest), FemaleLeatherChest.GetSBPurchaseValue(), 25, 7175, 0));
                Add(new GenericBuyInfo("Leather Bustier", typeof(LeatherBustier), LeatherBustier.GetSBPurchaseValue(), 25, 7179, 0));
                Add(new GenericBuyInfo("Leather Legs", typeof(LeatherLegs), LeatherLegs.GetSBPurchaseValue(), 25, 5074, 0));
                Add(new GenericBuyInfo("Leather Skirt", typeof(LeatherSkirt), LeatherSkirt.GetSBPurchaseValue(), 25, 7177, 0));
                Add(new GenericBuyInfo("Leather Shorts", typeof(LeatherShorts), LeatherShorts.GetSBPurchaseValue(), 25, 7169, 0));

                Add(new GenericBuyInfo("Studded Cap", typeof(StuddedCap), StuddedCap.GetSBPurchaseValue(), 25, 7610, 1507));
                Add(new GenericBuyInfo("Studded Gorget", typeof(StuddedGorget), StuddedGorget.GetSBPurchaseValue(), 25, 5078, 0));
                Add(new GenericBuyInfo("Studded Arms", typeof(StuddedArms), StuddedArms.GetSBPurchaseValue(), 25, 5076, 0));
                Add(new GenericBuyInfo("Studded Gloves", typeof(StuddedGloves), StuddedGloves.GetSBPurchaseValue(), 25, 5085, 0));
                Add(new GenericBuyInfo("Studded Chest", typeof(StuddedChest), StuddedChest.GetSBPurchaseValue(), 25, 5090, 0));
                Add(new GenericBuyInfo("Female Studded Chest", typeof(FemaleStuddedChest), FemaleStuddedChest.GetSBPurchaseValue(), 25, 7170, 0));
                Add(new GenericBuyInfo("Studded Bustier", typeof(StuddedBustier), StuddedBustier.GetSBPurchaseValue(), 25, 7181, 0));
                Add(new GenericBuyInfo("Studded Legs", typeof(StuddedLegs), StuddedLegs.GetSBPurchaseValue(), 25, 5089, 0));

                Add(new GenericBuyInfo("Shoes", typeof(Shoes), Shoes.GetSBPurchaseValue(), 25, 0x170F, 0));
                Add(new GenericBuyInfo("Sandals", typeof(Sandals), Sandals.GetSBPurchaseValue(), 25, 0x170D, 0));
                Add(new GenericBuyInfo("Boots", typeof(Boots), Boots.GetSBPurchaseValue(), 25, 0x170B, 0));
                Add(new GenericBuyInfo("Thigh Boots", typeof(ThighBoots), ThighBoots.GetSBPurchaseValue(), 25, 0x1711, 0));
            }
Exemple #13
0
        public void DressUpCrewMember(BaseCreature bc, Mobile captain)
        {
            if (captain is PirateDrow)
            {
                bc.AddItem(new ElvenBoots(0x6F8));
                Item armor = new LeatherChest(); armor.Hue = 0x6F8; bc.AddItem(armor);
                bc.AddItem(new FancyShirt(0));
                switch (Utility.Random(2))
                {
                case 0: bc.AddItem(new LongPants(0xBB4)); break;

                case 1: bc.AddItem(new ShortPants(0xBB4)); break;
                }
                switch (Utility.Random(2))
                {
                case 0: bc.AddItem(new Bandana(0x846)); break;

                case 1: bc.AddItem(new SkullCap(0x846)); break;
                }
            }
            else if (captain is PirateMen)
            {
                bc.AddItem(new ElvenBoots(0x83A));
                Item armor = new LeatherChest(); armor.Hue = 0x83A; bc.AddItem(armor);
                bc.AddItem(new FancyShirt(0));
                switch (Utility.Random(2))
                {
                case 0: bc.AddItem(new LongPants(0xBB4)); break;

                case 1: bc.AddItem(new ShortPants(0xBB4)); break;
                }

                switch (Utility.Random(2))
                {
                case 0: bc.AddItem(new Bandana(0x846)); break;

                case 1: bc.AddItem(new SkullCap(0x846)); break;
                }
            }
            else if (captain is PirateNatives)
            {
                bc.Hue     = 743;
                bc.HairHue = 0x96C;

                if (bc.Female)
                {
                    Item cloth9 = new FemaleLeatherChest();
                    cloth9.Hue  = 773;
                    cloth9.Name = "Native Tunic";
                    bc.AddItem(cloth9);
                }
                Item cloth1 = new SavageArms();
                cloth1.Hue  = 773;
                cloth1.Name = "Native Guantlets";
                bc.AddItem(cloth1);
                Item cloth2 = new SavageLegs();
                cloth2.Hue  = 773;
                cloth2.Name = "Native Leggings";
                bc.AddItem(cloth2);
                Item cloth3 = new TribalMask();
                cloth3.Hue  = 773;
                cloth3.Name = "Native Tribal Mask";
                bc.AddItem(cloth3);
                Item cloth4 = new LeatherSkirt();
                cloth4.Hue   = 773;
                cloth4.Name  = "Native Skirt";
                cloth4.Layer = Layer.Waist;
                bc.AddItem(cloth4);
            }
            else if (captain is PirateCult)
            {
                bc.AddItem(new Robe(0));
                switch (Utility.RandomMinMax(0, 2))
                {
                case 0: bc.AddItem(new ClothCowl()); break;

                case 1: bc.AddItem(new ClothHood()); break;

                case 2: bc.AddItem(new FancyHood()); break;
                }
                MorphingTime.ColorMyClothes(bc, captain.SpeechHue);
                bc.AddItem(new ElvenBoots(0x83A));

                if (bc.FindItemOnLayer(Layer.OneHanded) != null)
                {
                    Item hand = bc.FindItemOnLayer(Layer.OneHanded); hand.ItemID = 0x13C6; hand.Name = "gloves"; hand.MoveToWorld(captain.Location, captain.Map); bc.AddItem(hand);
                }
                if (bc.FindItemOnLayer(Layer.TwoHanded) != null)
                {
                    Item hand = bc.FindItemOnLayer(Layer.TwoHanded); hand.ItemID = 0x13C6; hand.Name = "gloves"; hand.MoveToWorld(captain.Location, captain.Map); bc.AddItem(hand);
                }
            }
            else if (captain is SailorGuards || captain is SailorElfGuards || captain is SailorOrkGuards)
            {
                DressGuards(bc, captain);
                if (captain is SailorElfGuards)
                {
                    bc.HairHue = Utility.RandomHairHue(); bc.Hue = Utility.RandomSkinColor();
                }
            }
            else if (captain is SailorMerchant || captain is SailorElf)
            {
                DressSailor(bc);
                if (captain is SailorElf)
                {
                    bc.HairHue = Utility.RandomHairHue(); bc.Hue = Utility.RandomSkinColor();
                }
                if (bc.FindItemOnLayer(Layer.OneHanded) != null)
                {
                    Item hand = bc.FindItemOnLayer(Layer.OneHanded);
                    if (hand is MonsterGloves)
                    {
                        hand.ItemID = 0x1087;
                        hand.Hue    = 0;
                        hand.Name   = "earrings";
                        hand.MoveToWorld(captain.Location, captain.Map);
                        bc.AddItem(hand);
                    }
                }
            }
        }
Exemple #14
0
        public ZuluuWitchDoctor() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "a zuluu witch doctor";
            Hue  = 0x89D;

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Item cloth9 = new FemaleLeatherChest();
                cloth9.Hue  = 0xB9A;
                cloth9.Name = "Zuluu Tunic";
                AddItem(cloth9);
            }
            else
            {
                Body = 0x190;
            }

            HairHue = 0x96C;

            SetStr(146, 165);
            SetDex(71, 130);
            SetInt(381, 405);

            SetDamage(14, 22);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 30, 40);
            SetResistance(ResistanceType.Fire, 20, 30);
            SetResistance(ResistanceType.Cold, 20, 30);
            SetResistance(ResistanceType.Poison, 20, 30);
            SetResistance(ResistanceType.Energy, 40, 50);

            SetSkill(SkillName.EvalInt, 87.5, 100.0);
            SetSkill(SkillName.Fencing, 72.5, 85.0);
            SetSkill(SkillName.Macing, 82.5, 105.0);
            SetSkill(SkillName.Magery, 82.5, 95.0);
            SetSkill(SkillName.Meditation, 87.5, 100.0);
            SetSkill(SkillName.MagicResist, 87.5, 100.0);
            SetSkill(SkillName.Swords, 72.5, 85.0);
            SetSkill(SkillName.Tactics, 72.5, 85.0);
            SetSkill(SkillName.Wrestling, 72.5, 85.0);

            Fame         = 4200;
            Karma        = -4200;
            VirtualArmor = 10;

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

            AddItem(new WildStaff());

            Item cloth1 = new SavageArms();

            cloth1.Hue  = 0xB9A;
            cloth1.Name = "Zuluu Guantlets";
            AddItem(cloth1);
            Item cloth2 = new SavageLegs();

            cloth2.Hue  = 0xB9A;
            cloth2.Name = "Zuluu Leggings";
            AddItem(cloth2);
            Item cloth3 = new HornedTribalMask();

            cloth3.Hue  = 0xB9A;
            cloth3.Name = "Zuluu Tribal Mask";
            AddItem(cloth3);
            Item cloth4 = new LeatherSkirt();

            cloth4.Hue   = 0xB9A;
            cloth4.Name  = "Zuluu Skirt";
            cloth4.Layer = Layer.Waist;
            AddItem(cloth4);

            if (Utility.RandomMinMax(1, 12) == 1)
            {
                SwampDragon pet = new SwampDragon();
                pet.Hue      = 2006;
                pet.Name     = "a forest dragyn";
                pet.Rider    = this;
                ActiveSpeed  = 0.1;
                PassiveSpeed = 0.2;
            }
        }
            public InternalBuyInfo()
            {
                Add(new GenericBuyInfo("Leather Cap", typeof(LeatherCap), LeatherCap.GetSBPurchaseValue(), 25, 7610, 0));
                Add(new GenericBuyInfo("Leather Gorget", typeof(LeatherGorget), LeatherGorget.GetSBPurchaseValue(), 25, 5063, 0));
                Add(new GenericBuyInfo("Leather Arms", typeof(LeatherArms), LeatherArms.GetSBPurchaseValue(), 25, 5061, 0));
                Add(new GenericBuyInfo("Leather Gloves", typeof(LeatherGloves), LeatherGloves.GetSBPurchaseValue(), 25, 5070, 0));
                Add(new GenericBuyInfo("Leather Chest", typeof(LeatherChest), LeatherChest.GetSBPurchaseValue(), 25, 5075, 0));
                Add(new GenericBuyInfo("Female Leather Chest", typeof(FemaleLeatherChest), FemaleLeatherChest.GetSBPurchaseValue(), 25, 7175, 0));
                Add(new GenericBuyInfo("Leather Bustier", typeof(LeatherBustier), LeatherBustier.GetSBPurchaseValue(), 25, 7179, 0));
                Add(new GenericBuyInfo("Leather Legs", typeof(LeatherLegs), LeatherLegs.GetSBPurchaseValue(), 25, 5074, 0));
                Add(new GenericBuyInfo("Leather Skirt", typeof(LeatherSkirt), LeatherSkirt.GetSBPurchaseValue(), 25, 7177, 0));
                Add(new GenericBuyInfo("Leather Shorts", typeof(LeatherShorts), LeatherShorts.GetSBPurchaseValue(), 25, 7169, 0));

                Add(new GenericBuyInfo("Studded Cap", typeof(StuddedCap), StuddedCap.GetSBPurchaseValue(), 25, 7610, 1507));
                Add(new GenericBuyInfo("Studded Gorget", typeof(StuddedGorget), StuddedGorget.GetSBPurchaseValue(), 25, 5078, 0));
                Add(new GenericBuyInfo("Studded Arms", typeof(StuddedArms), StuddedArms.GetSBPurchaseValue(), 25, 5076, 0));
                Add(new GenericBuyInfo("Studded Gloves", typeof(StuddedGloves), StuddedGloves.GetSBPurchaseValue(), 25, 5085, 0));
                Add(new GenericBuyInfo("Studded Chest", typeof(StuddedChest), StuddedChest.GetSBPurchaseValue(), 25, 5090, 0));
                Add(new GenericBuyInfo("Female Studded Chest", typeof(FemaleStuddedChest), FemaleStuddedChest.GetSBPurchaseValue(), 25, 7170, 0));
                Add(new GenericBuyInfo("Studded Bustier", typeof(StuddedBustier), StuddedBustier.GetSBPurchaseValue(), 25, 7181, 0));
                Add(new GenericBuyInfo("Studded Legs", typeof(StuddedLegs), StuddedLegs.GetSBPurchaseValue(), 25, 5089, 0));

                Add(new GenericBuyInfo("Ringmail Helm", typeof(RingmailHelm), RingmailHelm.GetSBPurchaseValue(), 25, 5131, 0));
                Add(new GenericBuyInfo("Ringmail Gorget", typeof(RingmailGorget), RingmailGorget.GetSBPurchaseValue(), 25, 5078, 1812));
                Add(new GenericBuyInfo("Ringmail Arms", typeof(RingmailArms), RingmailArms.GetSBPurchaseValue(), 25, 0x13EE, 0));
                Add(new GenericBuyInfo("Ringmail Gloves", typeof(RingmailGloves), RingmailGloves.GetSBPurchaseValue(), 25, 0x13eb, 0));
                Add(new GenericBuyInfo("Ringmail Chest", typeof(RingmailChest), RingmailChest.GetSBPurchaseValue(), 25, 0x13ec, 0));
                Add(new GenericBuyInfo("Ringmail Legs", typeof(RingmailLegs), RingmailLegs.GetSBPurchaseValue(), 25, 0x13F0, 0));

                Add(new GenericBuyInfo("Chainmail Coif", typeof(ChainmailCoif), ChainmailCoif.GetSBPurchaseValue(), 25, 0x13BB, 0));
                Add(new GenericBuyInfo("Chainmail Gorget", typeof(ChainmailGorget), ChainmailGorget.GetSBPurchaseValue(), 25, 5063, 2500));
                Add(new GenericBuyInfo("Chainmail Arms", typeof(ChainmailArms), ChainmailArms.GetSBPurchaseValue(), 25, 5103, 2500));
                Add(new GenericBuyInfo("Chainmail Gloves", typeof(ChainmailGloves), ChainmailGloves.GetSBPurchaseValue(), 25, 5106, 2500));
                Add(new GenericBuyInfo("Chainmail Chest", typeof(ChainmailChest), ChainmailChest.GetSBPurchaseValue(), 25, 0x13BF, 0));
                Add(new GenericBuyInfo("Chainmail Legs", typeof(ChainmailLegs), ChainmailLegs.GetSBPurchaseValue(), 25, 0x13BE, 0));

                Add(new GenericBuyInfo("Platemail Helm", typeof(PlateHelm), PlateHelm.GetSBPurchaseValue(), 25, 0x1412, 0));
                Add(new GenericBuyInfo("Platemail Gorget", typeof(PlateGorget), PlateGorget.GetSBPurchaseValue(), 25, 0x1413, 0));
                Add(new GenericBuyInfo("Platemail Arms", typeof(PlateArms), PlateArms.GetSBPurchaseValue(), 25, 0x1410, 0));
                Add(new GenericBuyInfo("Platemail Gloves", typeof(PlateGloves), PlateGloves.GetSBPurchaseValue(), 25, 0x1414, 0));
                Add(new GenericBuyInfo("Platemail PlateChest", typeof(PlateChest), PlateChest.GetSBPurchaseValue(), 25, 0x1415, 0));
                Add(new GenericBuyInfo("Female Plate Chest", typeof(FemalePlateChest), FemalePlateChest.GetSBPurchaseValue(), 25, 7173, 0));
                Add(new GenericBuyInfo("Platemail Legs", typeof(PlateLegs), PlateLegs.GetSBPurchaseValue(), 25, 0x1411, 0));

                Add(new GenericBuyInfo("Bascinet", typeof(Bascinet), Bascinet.GetSBPurchaseValue(), 25, 5132, 0));
                Add(new GenericBuyInfo("Close Helm", typeof(CloseHelm), CloseHelm.GetSBPurchaseValue(), 25, 5129, 0));
                Add(new GenericBuyInfo("Norse Helm", typeof(NorseHelm), NorseHelm.GetSBPurchaseValue(), 25, 5135, 0));

                Add(new GenericBuyInfo("Buckler", typeof(Buckler), Buckler.GetSBPurchaseValue(), 25, 0x1B73, 0));
                Add(new GenericBuyInfo("Metal Shield", typeof(MetalShield), MetalShield.GetSBPurchaseValue(), 25, 0x1B7B, 0));
                Add(new GenericBuyInfo("Bronze Shield", typeof(BronzeShield), BronzeShield.GetSBPurchaseValue(), 25, 0x1B72, 0));
                Add(new GenericBuyInfo("Metal Kite Shield", typeof(MetalKiteShield), MetalKiteShield.GetSBPurchaseValue(), 25, 0x1B74, 0));
                Add(new GenericBuyInfo("Heater Shield", typeof(HeaterShield), HeaterShield.GetSBPurchaseValue(), 25, 0x1B76, 0));
            }
Exemple #16
0
        public SavageShaman() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = NameList.RandomName("savage shaman");

            int dino = Utility.RandomList(0x7D1, 0x7D2, 0x7D3, 0x7D4, 0x7D5, 0x7D6);

            if (Female = Utility.RandomBool())
            {
                Body = 401;
                Item cloth9 = new FemaleLeatherChest();
                cloth9.Hue  = dino;
                cloth9.Name = "dracosaur tunic";
                AddItem(cloth9);
            }
            else
            {
                Body = 400;
            }

            Hue = 0;

            SetStr(126, 145);
            SetDex(91, 110);
            SetInt(161, 185);

            SetDamage(4, 10);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 30, 40);
            SetResistance(ResistanceType.Fire, 20, 30);
            SetResistance(ResistanceType.Cold, 20, 30);
            SetResistance(ResistanceType.Poison, 20, 30);
            SetResistance(ResistanceType.Energy, 40, 50);

            SetSkill(SkillName.EvalInt, 77.5, 100.0);
            SetSkill(SkillName.Fencing, 62.5, 85.0);
            SetSkill(SkillName.Macing, 62.5, 85.0);
            SetSkill(SkillName.Magery, 72.5, 95.0);
            SetSkill(SkillName.Meditation, 77.5, 100.0);
            SetSkill(SkillName.MagicResist, 77.5, 100.0);
            SetSkill(SkillName.Swords, 62.5, 85.0);
            SetSkill(SkillName.Tactics, 62.5, 85.0);
            SetSkill(SkillName.Wrestling, 62.5, 85.0);

            Fame  = 1000;
            Karma = -1000;

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

            if (0.1 > Utility.RandomDouble())
            {
                PackItem(new TribalBerry());
            }

            Item cloth1 = new BoneArms();

            cloth1.Hue  = dino;
            cloth1.Name = "dracosaur guantlets";
            AddItem(cloth1);
            Item cloth2 = new BoneLegs();

            cloth2.Hue  = dino;
            cloth2.Name = "dracosaur leggings";
            AddItem(cloth2);
            Item cloth3 = new HornedTribalMask();

            cloth3.Hue  = dino;
            cloth3.Name = "savage tribal mask";
            AddItem(cloth3);
            Item cloth4 = new LeatherSkirt();

            cloth4.Hue   = dino;
            cloth4.Name  = "dracosaur skirt";
            cloth4.Layer = Layer.Waist;
            AddItem(cloth4);
        }
Exemple #17
0
        public NativeWitchDoctor() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "a tribesman witch doctor";
            Hue  = 743;

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Item cloth9 = new FemaleLeatherChest();
                cloth9.Hue  = 773;
                cloth9.Name = "Native Tunic";
                AddItem(cloth9);
            }
            else
            {
                Body = 0x190;
            }

            HairHue = 0x96C;

            SetStr(146, 165);
            SetDex(71, 130);
            SetInt(181, 205);

            SetDamage(8, 16);

            SetDamageType(ResistanceType.Physical, 100);

            SetResistance(ResistanceType.Physical, 30, 40);
            SetResistance(ResistanceType.Fire, 20, 30);
            SetResistance(ResistanceType.Cold, 20, 30);
            SetResistance(ResistanceType.Poison, 20, 30);
            SetResistance(ResistanceType.Energy, 40, 50);

            SetSkill(SkillName.EvalInt, 77.5, 100.0);
            SetSkill(SkillName.Fencing, 62.5, 85.0);
            SetSkill(SkillName.Macing, 62.5, 85.0);
            SetSkill(SkillName.Magery, 72.5, 95.0);
            SetSkill(SkillName.Meditation, 77.5, 100.0);
            SetSkill(SkillName.MagicResist, 77.5, 100.0);
            SetSkill(SkillName.Swords, 62.5, 85.0);
            SetSkill(SkillName.Tactics, 62.5, 85.0);
            SetSkill(SkillName.Wrestling, 62.5, 85.0);

            Fame         = 1200;
            Karma        = -1200;
            VirtualArmor = 10;

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

            AddItem(new WildStaff());

            Item cloth1 = new BoneArms();

            cloth1.Hue  = 773;
            cloth1.Name = "Native Guantlets";
            AddItem(cloth1);
            Item cloth2 = new BoneLegs();

            cloth2.Hue  = 773;
            cloth2.Name = "Native Leggings";
            AddItem(cloth2);
            Item cloth3 = new BearMask();

            cloth3.Hue  = 932;
            cloth3.Name = "Native Tribal Mask";
            AddItem(cloth3);
            Item cloth4 = new LeatherSkirt();

            cloth4.Hue   = 773;
            cloth4.Name  = "Native Skirt";
            cloth4.Layer = Layer.Waist;
            AddItem(cloth4);
        }
        public ZuluuNative() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "a zuluu";
            Hue  = 0x89D;

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Item cloth9 = new FemaleLeatherChest();
                cloth9.Hue  = 0xB9A;
                cloth9.Name = "Zuluu Tunic";
                AddItem(cloth9);
            }
            else
            {
                Body = 0x190;
            }

            HairHue = 0x96C;

            SetStr(216, 235);
            SetDex(206, 225);
            SetInt(71, 85);

            SetDamage(23, 27);

            SetDamageType(ResistanceType.Physical, 100);

            SetSkill(SkillName.Fencing, 70.0, 102.5);
            SetSkill(SkillName.Macing, 70.0, 102.5);
            SetSkill(SkillName.Poisoning, 70.0, 102.5);
            SetSkill(SkillName.MagicResist, 67.5, 100.0);
            SetSkill(SkillName.Swords, 70.0, 102.5);
            SetSkill(SkillName.Tactics, 70.0, 102.5);

            Fame         = 3100;
            Karma        = -3100;
            VirtualArmor = 20;

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

            AddItem(new Spear());

            Item cloth1 = new SavageArms();

            cloth1.Hue  = 0xB9A;
            cloth1.Name = "Zuluu Guantlets";
            AddItem(cloth1);
            Item cloth2 = new SavageLegs();

            cloth2.Hue  = 0xB9A;
            cloth2.Name = "Zuluu Leggings";
            AddItem(cloth2);
            Item cloth3 = new TribalMask();

            cloth3.Hue  = 0xB9A;
            cloth3.Name = "Zuluu Tribal Mask";
            AddItem(cloth3);
            Item cloth4 = new LeatherSkirt();

            cloth4.Hue   = 0xB9A;
            cloth4.Name  = "Zuluu Skirt";
            cloth4.Layer = Layer.Waist;
            AddItem(cloth4);

            if (Utility.RandomMinMax(1, 10) == 1)
            {
                SwampDragon pet = new SwampDragon();
                pet.Hue      = 2006;
                pet.Name     = "a forest dragyn";
                pet.Rider    = this;
                ActiveSpeed  = 0.1;
                PassiveSpeed = 0.2;
            }
        }
Exemple #19
0
        public NativeArcher() : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name = "a tribesman";
            Hue  = 743;

            if (this.Female = Utility.RandomBool())
            {
                Body = 0x191;
                Item cloth9 = new FemaleLeatherChest();
                cloth9.Hue  = 773;
                cloth9.Name = "Native Tunic";
                AddItem(cloth9);
            }
            else
            {
                Body = 0x190;
            }

            HairHue = 0x96C;

            SetStr(116, 135);
            SetDex(106, 125);
            SetInt(71, 85);

            SetDamage(23, 27);

            SetDamageType(ResistanceType.Physical, 100);

            SetSkill(SkillName.Archery, 60.0, 82.5);
            SetSkill(SkillName.Macing, 60.0, 82.5);
            SetSkill(SkillName.Poisoning, 60.0, 82.5);
            SetSkill(SkillName.MagicResist, 57.5, 80.0);
            SetSkill(SkillName.Swords, 60.0, 82.5);
            SetSkill(SkillName.Tactics, 60.0, 82.5);

            Fame         = 1100;
            Karma        = -1100;
            VirtualArmor = 20;

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

            Item cloth1 = new BoneArms();

            cloth1.Hue  = 773;
            cloth1.Name = "Native Guantlets";
            AddItem(cloth1);
            Item cloth2 = new BoneLegs();

            cloth2.Hue  = 773;
            cloth2.Name = "Native Leggings";
            AddItem(cloth2);
            Item cloth3 = new TribalMask();

            cloth3.Hue  = 773;
            cloth3.Name = "Native Tribal Mask";
            AddItem(cloth3);
            Item cloth4 = new LeatherSkirt();

            cloth4.Hue   = 773;
            cloth4.Name  = "Native Skirt";
            cloth4.Layer = Layer.Waist;
            AddItem(cloth4);

            AddItem(new Bow());
            PackItem(new Arrow(Utility.RandomMinMax(5, 15)));
        }