public override void InitOutfit()
        {
            Item item = null;

            if (!Female)
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = AddRandomFacialHair(item.Hue);
                item     = new Robe();
                item.Hue = Utility.RandomBlueHue();
                AddItem(item);
                item = new Sandals();
                AddItem(item);
                PackGold(15, 100);
                LootPack.HighScrolls.Generate(this);
                LootPack.HighScrolls.Generate(this);
            }
            else
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = new Robe();
                item.Hue = Utility.RandomBlueHue();
                AddItem(item);
                item = new Sandals();
                AddItem(item);
                PackGold(15, 100);
                LootPack.HighScrolls.Generate(this);
                LootPack.HighScrolls.Generate(this);
            }
        }
Exemple #2
0
        public override void InitOutfit()
        {
            Item item = null;

            if (!Female)
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = AddRandomFacialHair(item.Hue);
                item     = new Robe();
                item.Hue = Utility.RandomNeutralHue();
                AddItem(item);
                item = new Sandals();
                AddItem(item);
                LootPack.Poor.Generate(this);
            }
            else
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = new Robe();
                item.Hue = Utility.RandomNeutralHue();
                AddItem(item);
                item = new Sandals();
                AddItem(item);
                LootPack.Poor.Generate(this);
            }
        }
Exemple #3
0
        private void CreateClassic()
        {
            m_MoveSound    = 823;
            m_CaptureSound = 824;
            m_DeathSound   = 814;

            m_Piece.Female    = true;
            m_Piece.BodyValue = 0x191;

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

            Item item = null;

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

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

            item     = new Scepter();
            item.Hue = MinorHue;
            m_Piece.AddItem(item);
        }
        public Earthcaller() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.2)
        {
            Title = "the Earthcaller";

            Hue              = Utility.RandomSkinHue();
            Body             = 0x190;
            Name             = NameList.RandomName("male");
            BaseSoundID      = 0;
            Kills            = 10;
            ShortTermMurders = 10;

            Item StrawHat = new StrawHat();

            StrawHat.Movable = false;
            StrawHat.Hue     = 1021;
            EquipItem(StrawHat);

            Item Robe = new Robe();

            Robe.Movable = false;
            Robe.Hue     = 1021;
            EquipItem(Robe);

            Item Sandals = new Sandals();

            Sandals.Movable = false;
            Sandals.Hue     = 1021;
            EquipItem(Sandals);

            SetStr(200, 220);
            SetDex(136, 145);

            SetDamage(10, 17);

            SetSkill(SkillName.Wrestling, 95.3, 98.8);
            SetSkill(SkillName.Tactics, 93.5, 97.0);
            SetSkill(SkillName.MagicResist, 96.6, 99.8);

            Fame  = 12500;
            Karma = -12500;

            VirtualArmor = 50;

            switch (Utility.Random(125))
            {
            case 0: PackItem(new EnchantedWood()); break;
            }

            PackGold(500, 800);
            PackPotion();
            PackItem(new Bandage(Utility.RandomMinMax(5, 10)));
            PackArmor(0, 5);
            PackWeapon(0, 5);
            PackSlayer();

            if (0.05 > Utility.RandomDouble())
            {
                PackItem(new Obsidian());
            }
        }
Exemple #5
0
        public EvilMageLord() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.45, 0.8)
        {
            Body  = 400;
            Title = "the mage";
            Name  = "Lord " + NameList.RandomName("evil mage");
            Hue   = Utility.RandomSkinHue();
            SetStr(81, 105);
            SetDex(91, 115);
            SetInt(126, 150);
            Karma = -125;

            SetSkill(SkillName.Tactics, 65, 87.5);
            SetSkill(SkillName.MagicResist, 75, 97.5);
            SetSkill(SkillName.Parry, 65, 87.5);
            SetSkill(SkillName.Magery, 95.1, 100);
            SetSkill(SkillName.Wrestling, 20.2, 60);

            VirtualArmor = 18;
            SetDamage(3, 12);

            Item item = null;

            item     = AddRandomHair();
            item.Hue = Utility.RandomHairHue();
            item     = AddRandomFacialHair(item.Hue);
            item     = new Robe();
            item.Hue = 1106 + Utility.Random(4);             // 1106 to 1109
            AddItem(item);
            item = new Sandals();
            AddItem(item);
            LootPack.FilthyRich.Generate(this);
            LootPack.HighScrolls.Generate(this);
            LootPack.HighScrolls.Generate(this);
        }
Exemple #6
0
 public InternalBuyInfo()
 {
     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));
 }
        public ChristmasElf()
            : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2)
        {
            SpeechHue = Utility.RandomDyedHue();
            Female    = true;
            Body      = 0x191;
            Title     = "the elf";

            NameHue = CalcInvulNameHue();

            Name    = NameList.RandomName("female");
            Blessed = true;

            // the "elf look"
            AddItem(new LightSource());
            AddItem(new Candle());
            Hue = 366;                                                  // pale green
            AddItem(new ShortHair());                                   // seems elf like
            Item Skirt = new LeatherSkirt();                            // she's sexy!

            Skirt.Hue = 33;                                             // devil in the red dress!
            AddItem(Skirt);
            Item Bustier = new LeatherBustierArms();

            Bustier.Hue = 33;
            AddItem(Bustier);
            Item Sandals = new Sandals();

            Sandals.Hue = 33;
            AddItem(Sandals);

            SetHits(100);
        }
Exemple #8
0
 public InternalSellInfo()
 {
     Add(typeof(Shoes), Shoes.GetSBSellValue());
     Add(typeof(Boots), Boots.GetSBSellValue());
     Add(typeof(ThighBoots), ThighBoots.GetSBSellValue());
     Add(typeof(Sandals), Sandals.GetSBSellValue());
 }
Exemple #9
0
        public override void InitOutfit()
        {
            Item item = null;

            if (!Female)
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = AddRandomFacialHair(item.Hue);
                item     = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item     = new ShortPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item = new Sandals();
                AddItem(item);
                PackGold(15, 100);
            }
            else
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item     = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item = new Sandals();
                AddItem(item);
                PackGold(15, 100);
            }
        }
Exemple #10
0
        public NecroGreeter() : base( )
        {
            SpeechHue        = Utility.RandomRedHue();
            NameHue          = 1154;
            Direction        = Direction.East;
            CantWalk         = true;
            Body             = 0x190;
            Name             = NameList.RandomName("male");
            Title            = "the Grounds Keeper";
            FacialHairItemID = 0;
            FacialHairHue    = 0;
            Hue     = 0x83E8;
            Blessed = true;

            MonkRobe robe = new MonkRobe( );

            robe.Hue  = 0x497;
            robe.Name = "tattered robe";
            AddItem(robe);

            Sandals shoe = new Sandals( );

            shoe.Hue = 0x497;
            AddItem(shoe);

            AddItem(new Scythe());

            SetStr(386, 400);
            SetDex(151, 165);
            SetInt(161, 175);
        }
        public override bool OnBeforeDeath()
        {
            Robe robe = FindItemOnLayer(Layer.OuterTorso) as Robe;

            if (robe != null)
            {
                robe.Hue = Utility.RandomList(1102, 1107); robe.LootType = LootType.Regular;
            }

            WizardsHat hat = FindItemOnLayer(Layer.Helm) as WizardsHat;

            if (hat != null)
            {
                hat.Hue = robe.Hue; robe.LootType = LootType.Regular;
            }

            Sandals sandals = FindItemOnLayer(Layer.Shoes) as Sandals;

            if (sandals != null)
            {
                sandals.Hue = Utility.RandomBlueHue(); sandals.LootType = LootType.Regular;
            }

            return(base.OnBeforeDeath());
        }
Exemple #12
0
        public override void InitOutfit()
        {
            Item item = null;

            if (!Female)
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = AddRandomFacialHair(item.Hue);
                item     = new Robe();
                item.Hue = Utility.RandomYellowHue();
                AddItem(item);
                item = new Sandals();
                AddItem(item);
                PackGold(15, 100);
            }
            else
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = new Robe();
                item.Hue = Utility.RandomYellowHue();
                AddItem(item);
                item = new Sandals();
                AddItem(item);
                PackGold(15, 100);
            }
        }
Exemple #13
0
        public MadGodPriest() : base( )
        {
            Body             = 0x190;
            Name             = NameList.RandomName("male");
            NameHue          = 0xB0C;
            Title            = "the priest";
            FacialHairItemID = 0;
            FacialHairHue    = 0;
            Hue       = 0x83EA;
            AI        = AIType.AI_Citizen;
            FightMode = FightMode.None;

            MonkRobe robe = new MonkRobe( );

            robe.Name = "priest robe";
            AddItem(robe);

            Sandals shoe = new Sandals( );

            shoe.Hue = 542;
            AddItem(shoe);

            SetStr(386, 400);
            SetDex(151, 165);
            SetInt(161, 175);
        }
            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 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 #16
0
        public BookCollector()
            : base()


//----------------------------------------------------------------------------------------------------//
        {
            Body = 400;
            Hue  = Utility.RandomSkinHue();
            if (Female = Utility.RandomBool())
            {
                Body = 401;
                Name = NameList.RandomName("female");
            }
            else
            {
                Name = NameList.RandomName("male");
            }


            //----------------------------------------------------------------------------------------------------//

            //Title = "[A Book Collector]";
            //CantWalk = true;
            Direction = Direction.South;
            Hue       = Utility.RandomSkinHue();
            Utility.AssignRandomHair(this);
            Blessed = true;


            BodySash bs = new BodySash();

            bs.Hue = 33;
            AddItem(bs);

            //PlateArms pa = new PlateArms();
            //pa.Hue = 0;
            //AddItem(pa);

            FormalShirt pc = new FormalShirt();

            pc.Hue = 0;
            AddItem(pc);

            //PlateGloves pg = new PlateGloves();
            //pg.Hue = 0;
            //AddItem(pg);

            LongPants pl = new LongPants();

            pl.Hue = 0;
            AddItem(pl);

            Sandals pt = new Sandals();

            pt.Hue = 0;
            AddItem(pt);

            //----------------------------------------------------------------------------------------------------//
        }
Exemple #17
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);
        }
Exemple #18
0
        public MugdarTaskmaster() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = NameList.RandomName("orc");
            Body        = 0x190;
            BaseSoundID = 0x45A;
            Title       = "the Mugdar Tribe Taskmaster";
            Hue         = 2401;

            SetStr(96, 120);
            SetDex(81, 105);
            SetInt(36, 60);

            SetHits(58, 72);

            SetDamage(5, 7);

            SetDamageType(ResistanceType.Physical, 100);

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

            SetSkill(SkillName.MagicResist, 50.1, 75.0);
            SetSkill(SkillName.Tactics, 55.1, 80.0);
            SetSkill(SkillName.Wrestling, 50.1, 70.0);

            Fame  = 0;
            Karma = 0;

            VirtualArmor = 28;

            OrcishKinMask helm = new OrcishKinMask();

            helm.Hue = 2211;
            AddItem(helm);

            Lantern lantern = new Lantern();

            lantern.Hue    = 0;
            lantern.ItemID = 0xA25;
            AddItem(lantern);

            FullApron fullapron = new FullApron();

            fullapron.Hue = 0;
            AddItem(fullapron);

            Sandals sandals = new Sandals();

            sandals.Hue = 0;
            AddItem(sandals);

            TaskmastersMotivator taskmastersmotivator = new TaskmastersMotivator();

            taskmastersmotivator.Hue = 0;
            AddItem(taskmastersmotivator);
        }
        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));
        }
Exemple #20
0
        public EithkaUlesra() : base(AIType.AI_Archer, FightMode.Closest, 10, 5, 0.2, 0.4)
        {
            Name = "Eithka Ulesra";
            Body = 0x190;
            Hue  = 0x798;

            SetStr(100);               //I've set him up with normal stats since we've defined his Hits and his weapons speed elsewhere.
            SetDex(100);
            SetInt(100);

            SetHits(250, 350);               // here are his hits according to the spherescript. random between 250 and 350
            SetStam(350, 450);

            SetDamage(10, 15);                  //i set his damage to be low since he hits like 3 times a second. This will probably need to be tweaked.

            SetSkill(SkillName.Archery, 110.0); //we dont need to give him uberskillz
            SetSkill(SkillName.Tactics, 110.0);
            SetSkill(SkillName.MagicResist, 100.0);

            Fame  = 3900;
            Karma = -4000;

            VirtualArmor = 70;             //this might need to be tweaked

            //Here we add his loot. I'm omitting his gloves since that's later in his dress.
            //no here do you NOT add the loot, onyl whats in hes backpack.
            Container pack = new Backpack();

            pack.Movable = false;
            pack.DropItem(new Arrow(50));
            AddItem(pack);
            //Now we dress him
            Item shroud = new HoodedShroudOfShadows();    //since we want a custom shroud, we define it here.

            shroud.Movable = false;                       //this way we dont let the shroud drop
            shroud.Hue     = 0x798;                       //omg more props
            AddItem(shroud);                              //add the item

            Item smurfshoes = new Sandals();              //since sandals are already a class i've named it smurfshoes. It doesnt matter what we call it.

            smurfshoes.Movable = false;                   // leet shoes for the players? GM tailoring kthx.
            smurfshoes.Hue     = 0x798;                   // more props
            AddItem(smurfshoes);                          //add the item

            Bow weapon = new Bow();                       //same thing. define the weapon.

            weapon.Skill       = SkillName.Archery;       //props
            weapon.Hue         = 0x798;                   //we're leet
            weapon.Speed       = 90;                      //set the speed to 5 higher than the cho ku no.
            weapon.DamageLevel = WeaponDamageLevel.Force; //bow of force
            weapon.Movable     = false;                   // not for players
            AddItem(weapon);                              //add the weapon

            Item gloves = new PlateGloves();              // here we add his gloves. this time we let them drop

            gloves.Hue = 0x798;                           //omg more props
            AddItem(gloves);                              //add the item
        }
Exemple #21
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));
        }
Exemple #22
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 ) );
            }
Exemple #23
0
        public EvilMageLord()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            var robe    = new Robe(Utility.RandomNeutralHue());
            var sandals = new Sandals();

            Name = NameList.RandomName("evil mage lord");

            if (!Core.UOTD)
            {
                Body = Race.Human.MaleBody;

                AddItem(robe);
                AddItem(sandals);
            }
            else
            {
                Body = Utility.RandomList(125, 126);

                // NEED TO SET A HUE SKIN IS STARK WHITE!!

                PackItem(robe);
                PackItem(sandals);
            }

            SetStr(81, 105);
            SetDex(191, 215);
            SetInt(126, 150);

            SetHits(49, 63);

            SetDamage(5, 10);

            SetDamageType(ResistanceType.Physical, 100);

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

            SetSkill(SkillName.EvalInt, 80.2, 100.0);
            SetSkill(SkillName.Magery, 95.1, 100.0);
            SetSkill(SkillName.Meditation, 27.5, 50.0);
            SetSkill(SkillName.MagicResist, 77.5, 100.0);
            SetSkill(SkillName.Tactics, 65.0, 87.5);
            SetSkill(SkillName.Wrestling, 20.3, 80.0);

            Fame  = 10500;
            Karma = -10500;

            VirtualArmor = 16;

            PackItem(Loot.PackReg(23));
        }
Exemple #24
0
        public PoleDancer()
            : base("the pole dancer")
        {
            HairItemID = 8265;
            HairHue    = 1161;

            Female    = true;
            BodyValue = 401;

            switch (Utility.Random(10))
            {
            default:
            case 0: Name = "Cin-a-mon";       break;

            case 1: Name = "Candy";           break;

            case 2: Name = "Sugar";           break;

            case 3: Name = "Precious";    break;

            case 4: Name = "Marshmallow"; break;

            case 5: Name = "Daisy";           break;

            case 6: Name = "Caramel";         break;

            case 7: Name = "Cherry";          break;

            case 8: Name = "Daisy";           break;

            case 9: Name = "Raisen";          break;
            }

            Frozen    = true;
            Direction = Direction.South;

            Item body = new FemaleStuddedChest();

            body.Hue      = 1175;
            body.LootType = LootType.Blessed;
            AddItem(body);

            Item sand = new Sandals();

            sand.Hue      = 1175;
            sand.LootType = LootType.Blessed;
            AddItem(sand);

            Item glov = new BoneGloves();

            glov.Hue      = 1175;
            glov.LootType = LootType.Blessed;
            glov.Name     = "gloves";
            AddItem(glov);
        }
        public EvilWanderingHealer() : base(AIType.AI_Mage, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body   = Female ? 401 : 400;
            Title  = "the wandering healer";
            Name   = NameList.RandomName(Female ? "female" : "male");
            Hue    = Utility.RandomSkinHue();
            SetStr(71, 85);
            SetDex(81, 95);
            SetInt(86, 100);
            Karma = -127;


            SetSkill(SkillName.Tactics, 65, 87.5);
            SetSkill(SkillName.MagicResist, 65, 87.5);
            SetSkill(SkillName.Parry, 65, 87.5);
            SetSkill(SkillName.Swords, 15, 37.5);
            SetSkill(SkillName.Macing, 15, 37.5);
            SetSkill(SkillName.Fencing, 15, 37.5);
            SetSkill(SkillName.Wrestling, 15, 37.5);
            SetSkill(SkillName.Healing, 55, 77.5);
            SetSkill(SkillName.Anatomy, 55, 77.5);
            SetSkill(SkillName.SpiritSpeak, 55, 77.5);
            SetSkill(SkillName.Forensics, 35, 57.5);
            SetSkill(SkillName.Camping, 35, 57.5);
            SetSkill(SkillName.Fishing, 35, 57.5);
            SetSkill(SkillName.Magery, 55, 75);


            Item item = null;

            if (!Female)
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = AddRandomFacialHair(item.Hue);
                item     = new Robe();
                item.Hue = Utility.RandomYellowHue();
                AddItem(item);
                item = new Sandals();
                AddItem(item);
                PackGold(15, 100);
            }
            else
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = new Robe();
                item.Hue = Utility.RandomYellowHue();
                AddItem(item);
                item = new Sandals();
                AddItem(item);
                PackGold(15, 100);
            }
        }
        public FakeWindcaller() : base(AIType.AI_Mage)
        {
            Name  = NameList.RandomName("male");
            Title = "the WindCaller";
            Body  = 0x190;
            Hue   = Utility.RandomSkinHue();

            SetStr(300);
            SetDex(300);
            SetInt(600);

            SetHits(800);

            SetDamage(15, 20);

            SetDamageType(ResistanceType.Physical, 100);

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

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

            Fame  = 100;
            Karma = 100;

            VirtualArmor = 30;

            Sandals foot = new Sandals();

            foot.Hue      = 1154;
            foot.LootType = LootType.Blessed;
            AddItem(foot);

            WizardsHat top = new WizardsHat();

            top.Hue      = 1154;
            top.LootType = LootType.Blessed;
            AddItem(top);

            Skirt bottom = new Skirt();

            bottom.Hue      = 1154;
            bottom.LootType = LootType.Blessed;
            AddItem(bottom);
        }
Exemple #27
0
        public OclloRunner() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8)
        {
            Female = Utility.RandomBool();
            Body   = Female ? 401 : 400;
            Title  = "the runner";
            Name   = NameList.RandomName(Female ? "female" : "male");
            Hue    = Utility.RandomSkinHue();
            SetStr(26, 40);
            SetDex(31, 45);
            SetInt(16, 30);
            Karma = Utility.RandomMinMax(13, -45);


            SetSkill(SkillName.Tactics, 15, 37.5);
            SetSkill(SkillName.MagicResist, 15, 37.5);
            SetSkill(SkillName.Parry, 15, 37.5);
            SetSkill(SkillName.Swords, 15, 37.5);
            SetSkill(SkillName.Macing, 15, 37.5);
            SetSkill(SkillName.Fencing, 15, 37.5);
            SetSkill(SkillName.Wrestling, 15, 37.5);


            Item item = null;

            if (!Female)
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = AddRandomFacialHair(item.Hue);
                item     = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item     = new LongPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item = new Sandals();
                AddItem(item);
                LootPack.Poor.Generate(this);
            }
            else
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item     = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item = new Sandals();
                AddItem(item);
                LootPack.Poor.Generate(this);
            }
        }
Exemple #28
0
        public override void InitOutfit()
        {
            Item item = null;

            if (!Female)
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = AddRandomFacialHair(item.Hue);
                item     = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item     = new ShortPants();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                switch (Utility.Random(4))
                {
                case 0: item = new Boots(); break;

                case 1: item = new ThighBoots(); break;

                case 2: item = new Shoes(); break;

                case 3:
                default: item = new Sandals(); break;
                }
                AddItem(item);
                PackGold(15, 100);
            }
            else
            {
                item     = AddRandomHair();
                item.Hue = Utility.RandomHairHue();
                item     = new Shirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                item     = new Skirt();
                item.Hue = Utility.RandomNondyedHue();
                AddItem(item);
                switch (Utility.Random(4))
                {
                case 0: item = new Boots(); break;

                case 1: item = new ThighBoots(); break;

                case 2: item = new Shoes(); break;

                case 3:
                default: item = new Sandals(); break;
                }
                AddItem(item);
                PackGold(15, 100);
            }
        }
Exemple #29
0
        public Mother() : base(AIType.AI_Melee, FightMode.None, 20, 1, 1.5, 3.0)
        {
            Name      = "Debbie";
            Title     = "Quest Giver";
            Body      = 401;
            Female    = true;
            SpeechHue = 6;
            CantWalk  = true;
            Hue       = 46;
            Blessed   = true;

            SetStr(1025, 1250);
            SetDex(120, 125);
            SetInt(1800, 1935);
            SetHits(5000, 5550);

            SetSkill(SkillName.MagicResist, 205.0, 220.0);
            SetSkill(SkillName.Focus, 216.0, 230.0);
            SetSkill(SkillName.Magery, 219.0, 225.0);
            SetSkill(SkillName.Meditation, 212.0, 215.0);

            VirtualArmor = 44;

            Container pack = new Backpack();

            pack.Movable = false;
            AddItem(pack);

            Item PlainDress = new PlainDress();            //Hue = 0xE6;

            PlainDress.Hue     = 0xE6;
            PlainDress.Movable = false;
            AddItem(PlainDress);

            Item Sandals = new Sandals();

            Sandals.Hue     = 0xE6;
            Sandals.Movable = false;
            AddItem(Sandals);

            Item hair = new Item(0x203D);

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

            Item ring = new GoldRing();

            ring.Name    = "Wedding Ring";
            ring.Movable = false;
            AddItem(ring);
        }
Exemple #30
0
        public MugdarMineGuardWeak() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name        = NameList.RandomName("orc");
            Body        = 0x190;
            BaseSoundID = 0x45A;
            Title       = "the Mugdar Tribe Quarry Guard";
            Hue         = Utility.RandomMinMax(2401, 2406);

            SetStr(96, 120);
            SetDex(81, 105);
            SetInt(36, 60);

            SetHits(30, 45);

            SetDamage(5, 7);

            SetDamageType(ResistanceType.Physical, 100);

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

            SetSkill(SkillName.MagicResist, 50.1, 75.0);
            SetSkill(SkillName.Tactics, 55.1, 80.0);
            SetSkill(SkillName.Wrestling, 50.1, 70.0);

            Fame  = 0;
            Karma = 0;

            VirtualArmor = 28;

            OrcishKinMask helm = new OrcishKinMask();

            helm.Hue = this.Hue;
            AddItem(helm);

            Spear spear = new Spear();

            spear.Hue = 0;
            AddItem(spear);

            BoneChest bonechest = new BoneChest();

            bonechest.Hue = 0;
            AddItem(bonechest);

            Sandals sandals = new Sandals();

            sandals.Hue = 0;
            AddItem(sandals);
        }