예제 #1
0
파일: Orc.cs 프로젝트: proxeeus/UORebirth
        public Orc() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.45, 0.8)
        {
            Body = 17;
            Name = NameList.RandomName("orc");
            SetStr(96, 120);
            SetHits(96, 120);
            SetDex(81, 105);
            SetStam(91, 115);
            SetInt(36, 60);
            SetMana(71, 95);
            Karma = -125;

            BaseSoundID = 432;
            SetSkill(SkillName.Tactics, 55.1, 80);
            SetSkill(SkillName.MagicResist, 50.1, 75);
            SetSkill(SkillName.Parry, 50.1, 75);
            SetSkill(SkillName.Magery, 50.1, 75);
            SetSkill(SkillName.Wrestling, 50.1, 70);

            VirtualArmor = 14;
            SetDamage(3, 9);

            Item item = null;

            item = new ThighBoots();
            AddItem(item);
            PackGold(15, 75);
            LootPack.Meager.Generate(this);
        }
예제 #2
0
        public Goldilocks()
        {
            Name     = "Brunneta";
            Title    = "Goldilocks";
            Body     = 0x191;
            CantWalk = true;
            Hue      = Utility.RandomSkinHue();


            AddItem(new Server.Items.Cloak(1281));
            AddItem(new Server.Items.Tunic(1281));



            ThighBoots ThighBoots = new ThighBoots();

            ThighBoots.Hue = 1281;
            AddItem(ThighBoots);



            int hairHue = 1281;

            switch (Utility.Random(1))
            {
            case 0: AddItem(new LongHair(hairHue)); break;
            }
            Blessed = true;
        }
예제 #3
0
        public JhelomLibrarian()
        {
            Name     = "Tessa";
            Title    = "Jhelom Librarian";
            Body     = 0x191;
            CantWalk = true;
            Hue      = Utility.RandomSkinHue();


            AddItem(new Server.Items.ClothNinjaJacket(1105));
            AddItem(new Server.Items.Skirt(1105));
            AddItem(new Server.Items.FeatheredHat(1105));



            ThighBoots ThighBoots = new ThighBoots();

            ThighBoots.Hue = 1372;
            AddItem(ThighBoots);



            int hairHue = 1372;

            switch (Utility.Random(1))
            {
            case 0: AddItem(new ShortHair(hairHue)); break;
            }
            Blessed = true;
        }
예제 #4
0
        public AdrianTheGloriousLord() : base(AIType.AI_Mage, FightMode.Closest)
        {
            Name  = "Adrian";
            Title = "the Glorious Lord";

            Race   = Race.Human;
            Body   = 0x190;
            Female = false;

            Hue        = Race.RandomSkinHue();
            HairItemID = 8252;
            HairHue    = 153;

            SetStr(900, 1200);
            SetDex(500, 600);
            SetInt(500, 600);

            SetHits(60000);
            SetStam(415);
            SetMana(22000);

            SetDamage(18, 28);

            SetDamageType(ResistanceType.Physical, 100);

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

            SetSkill(SkillName.MagicResist, 120);
            SetSkill(SkillName.Tactics, 120);
            SetSkill(SkillName.Wrestling, 120);
            SetSkill(SkillName.Anatomy, 120);
            SetSkill(SkillName.Magery, 120);
            SetSkill(SkillName.EvalInt, 120);
            SetSkill(SkillName.Mysticism, 120);
            SetSkill(SkillName.Focus, 160);

            Fame  = 22000;
            Karma = 22000;

            Item boots = new ThighBoots
            {
                Hue = 1
            };

            Item scimitar = new Item(5046)
            {
                Hue   = 1818,
                Layer = Layer.OneHanded
            };

            SetNonMovable(boots);
            SetNonMovable(scimitar);
            SetNonMovable(new LongPants(1818));
            SetNonMovable(new FancyShirt(194));
            SetNonMovable(new Doublet(1281));
        }
예제 #5
0
            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());
            }
예제 #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));
 }
예제 #7
0
        public BritainLibrarian()
        {
            Name     = "Shara";
            Title    = "Britain Librarian";
            Body     = 0x191;
            CantWalk = true;
            Hue      = Utility.RandomSkinHue();


            AddItem(new Server.Items.ClothNinjaJacket(1107));
            AddItem(new Server.Items.Skirt(1109));
            AddItem(new Server.Items.FeatheredHat(1109));



            ThighBoots ThighBoots = new ThighBoots();

            ThighBoots.Hue = 1109;
            AddItem(ThighBoots);



            int hairHue = 1372;

            switch (Utility.Random(1))
            {
            case 0: AddItem(new LongHair(hairHue)); break;
            }
            Blessed = true;
        }
예제 #8
0
        public BarbarianWarrior() : base(AIType.AI_SphereMelee, FightMode.Closest, 10, 3, 0.2, 0.4)
        {
            Hue    = Utility.RandomSkinHue();
            Female = Utility.RandomBool();

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

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

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

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

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

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

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

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

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

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

            InitStats(100, 100, 25);

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

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

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

            Item skirt;

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

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

            skirt.Hue = Utility.RandomGreenHue();

            AddItem(skirt);

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

            Item boots;

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

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

            AddItem(boots);

            Utility.AssignRandomHair(this);
        }
예제 #11
0
            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));
            }
예제 #12
0
        public ExodusZealot()
            : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body       = 401;
            Female     = false;
            Hue        = 33875;
            HairItemID = Race.Human.RandomHair(this);
            HairHue    = Race.Human.RandomHairHue();

            Name  = NameList.RandomName("male");
            Title = "the Exodus Zealot";

            SetStr(150, 210);
            SetDex(75, 90);
            SetInt(255, 310);

            SetHits(325, 390);

            SetDamage(6, 12);

            SetDamageType(ResistanceType.Physical, 100);

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

            SetSkill(SkillName.Wrestling, 70.0, 100.0);
            SetSkill(SkillName.Tactics, 80.0, 100.0);
            SetSkill(SkillName.MagicResist, 50.0, 70.0);
            SetSkill(SkillName.Anatomy, 70.0, 100.0);
            SetSkill(SkillName.Magery, 85.0, 100.0);
            SetSkill(SkillName.EvalInt, 80.0, 100.0);
            SetSkill(SkillName.Poisoning, 70.0, 100.0);

            Fame  = 10000;
            Karma = -10000;

            Item boots = new ThighBoots
            {
                Movable = false
            };

            SetWearable(boots);

            Item item = new HoodedShroudOfShadows(2702)
            {
                LootType = LootType.Blessed
            };

            SetWearable(item);

            item = new Spellbook
            {
                LootType = LootType.Blessed
            };
            SetWearable(item);
        }
예제 #13
0
        public AndrosTheDreadLord() : base(AIType.AI_Mage, FightMode.Closest)
        {
            Name  = "Andros";
            Title = "the Dread Lord";

            Race   = Race.Human;
            Body   = 0x190;
            Female = false;

            Hue        = Race.RandomSkinHue();
            HairItemID = 0;

            SetStr(900, 1200);
            SetDex(500, 600);
            SetInt(500, 600);

            SetHits(60000);
            SetStam(415);
            SetMana(22000);

            SetDamage(18, 28);

            SetDamageType(ResistanceType.Physical, 100);

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

            SetSkill(SkillName.MagicResist, 120);
            SetSkill(SkillName.Tactics, 120);
            SetSkill(SkillName.Wrestling, 120);
            SetSkill(SkillName.Anatomy, 120);
            SetSkill(SkillName.Magery, 120);
            SetSkill(SkillName.EvalInt, 120);
            SetSkill(SkillName.Mysticism, 120);
            SetSkill(SkillName.Focus, 160);

            Fame  = 22000;
            Karma = -22000;

            Item boots = new ThighBoots
            {
                Hue = 1
            };

            Item staff = new Item(3721)
            {
                Layer = Layer.TwoHanded
            };

            SetNonMovable(boots);
            SetNonMovable(new LongPants(1818));
            SetNonMovable(new FancyShirt(2726));
            SetNonMovable(new Doublet(1153));
            SetNonMovable(staff);
        }
예제 #14
0
        public CleverAI()
        {
            factory     = new ChatterBotFactory();
            bot1        = factory.Create(ChatterBotType.CLEVERBOT);
            bot1session = bot1.CreateSession();

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

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

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

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

            Item skirt;

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

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

            skirt.Hue = Utility.RandomGreenHue();

            AddItem(skirt);

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

            Item boots;

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

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

            AddItem(boots);

            Utility.AssignRandomHair(this);
        }
예제 #15
0
        public SpriteArcher() : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name   = "Sprite Archer";
            Hue    = 0x045e;
            Body   = 0x191;
            Female = true;
            AddItem(new LongHair(0x0597));
            AddItem(new Arrow(Utility.Random(20, 40)));

            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.Archery, 65.0, 88.0);
            SetSkill(SkillName.MagicResist, 50.0, 60.0);
            SetSkill(SkillName.Tactics, 75.0, 85.0);
            SetSkill(SkillName.Wrestling, 35.0, 58.0);

            Fame  = Utility.RandomMinMax(1700, 3700);
            Karma = Utility.RandomMinMax(-1500, -6000);

            VirtualArmor = 5;

            Item temp;

            temp         = new ThighBoots();
            temp.Hue     = 0x0599;
            temp.Movable = false;
            AddItem(temp);
            temp         = new LeatherChest();
            temp.Hue     = 0x0595;
            temp.Movable = false;
            AddItem(temp);
            temp         = new LeatherGloves();
            temp.Hue     = 0x0595;
            temp.Movable = false;
            AddItem(temp);
            temp         = new LeatherLegs();
            temp.Hue     = 0x0595;
            temp.Movable = false;
            AddItem(temp);
            temp         = new Cloak();
            temp.Hue     = 0x0599;
            temp.Movable = false;
            AddItem(temp);
            temp = new Bow();

            AddItem(temp);
        }
예제 #16
0
        public BarbarianShaman() : base(AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            int hairHue = Utility.RandomHairHue();

            Hue = Utility.RandomSkinHue();

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

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

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

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

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

            VirtualArmor = 20;

            if (Utility.RandomDouble() <= 0.7)
            {
                Spellbook book = new Spellbook();
                book.Content  = ulong.MaxValue;
                book.LootType = LootType.Regular;
                AddItem(book);
            }
        }
예제 #17
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 ) );
            }
예제 #18
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);
            }
        }
예제 #19
0
        public BloodStoneWitch() : base(AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name   = NameList.RandomName("female");
            Title  = "the Blood Stone Witch";
            Body   = 0x0191;
            Hue    = 0x0493;
            Female = true;
            SetStr(100, 150);
            SetDex(100, 150);
            SetInt(200);

            SetHits(100, 150);
            SetStam(100, 150);
            SetMana(200);
            SetDamage(30, 40);

            AddItem(new LongHair(1));

            Item temp;

            temp         = new FancyShirt(0);
            temp.Movable = false;
            AddItem(temp);

            temp         = new Skirt(1);
            temp.Movable = false;
            AddItem(temp);

            temp         = new WizardsHat(1);
            temp.Movable = false;
            AddItem(temp);

            temp         = new ThighBoots(1);
            temp.Movable = false;
            AddItem(temp);

            temp = new GnarledStaff();
            AddItem(temp);
            //PackGold(100, 200);

            SetSkill(SkillName.MagicResist, 80.0, 90.0);
            SetSkill(SkillName.Magery, 100.0, 150.0);
            SetSkill(SkillName.Macing, 55.0, 75.0);
            SetSkill(SkillName.Tactics, 70.0, 90.0);
            SetSkill(SkillName.Wrestling, 40.0, 55.0);

            Fame  = Utility.RandomMinMax(2000, 4000);
            Karma = Utility.RandomMinMax(-3000, -5000);

            VirtualArmor = 45;

            PackItem(new Sandals());
        }
예제 #20
0
        public Protector()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body       = 401;
            Female     = true;
            Hue        = Race.Human.RandomSkinHue();
            HairItemID = Race.Human.RandomHair(this);
            HairHue    = Race.Human.RandomHairHue();

            Name  = "A Protector";
            Title = "The Mystic Llamaherder";

            SetStr(700, 800);
            SetDex(100, 150);
            SetInt(50, 75);

            SetHits(350, 450);

            SetDamage(6, 12);

            SetDamageType(ResistanceType.Physical, 100);

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

            SetSkill(SkillName.Wrestling, 70.0, 100.0);
            SetSkill(SkillName.Tactics, 80.0, 100.0);
            SetSkill(SkillName.MagicResist, 50.0, 70.0);
            SetSkill(SkillName.Anatomy, 70.0, 100.0);

            Fame  = 10000;
            Karma = -10000;

            Item boots = new ThighBoots
            {
                Movable = false,
                Hue     = Utility.Random(2)
            };

            AddItem(boots);

            Item shroud = new Item(0x204E)
            {
                Layer   = Layer.OuterTorso,
                Movable = false,
                Hue     = Utility.Random(2)
            };

            AddItem(shroud);
        }
예제 #21
0
        public BloodStoneHighWitch() : base(AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Name   = NameList.RandomName("female");
            Title  = "the Blood Stone High Witch";
            Body   = 0x0191;
            Hue    = 0x0493;
            Female = true;
            SetStr(200, 250);
            SetDex(100, 200);
            SetInt(300);

            SetHits(200, 250);
            SetStam(100, 200);
            SetMana(300);
            SetDamage(40, 50);

            AddItem(new LongHair(Utility.RandomHairHue()));

            Item temp;

            temp         = new PlainDress(1);
            temp.Movable = false;
            AddItem(temp);

            temp         = new WizardsHat(1);
            temp.Movable = false;
            AddItem(temp);

            temp         = new ThighBoots(1);
            temp.Movable = false;
            AddItem(temp);

            temp = new BlackStaff();
            AddItem(temp);
            //PackGold(200, 300);
            AddItem(new EyesOfNewt(Utility.RandomMinMax(1, 5)));
            AddItem(new BatWing(2));
            PackPotion();
            PackPotion();

            SetSkill(SkillName.MagicResist, 90.0, 95.0);
            SetSkill(SkillName.Magery, 200.0, 250.0);
            SetSkill(SkillName.Macing, 75.0, 95.0);
            SetSkill(SkillName.Tactics, 80.0, 90.0);
            SetSkill(SkillName.Wrestling, 40.0, 55.0);

            Fame  = -2000;
            Karma = -6000;

            VirtualArmor = 55;

            PackItem(new Sandals());
        }
예제 #22
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);
        }
예제 #23
0
        public TownCrierb() : base(AIType.AI_Thief, FightMode.None, 10, 1, 0.8, 1.6)
        {
            InitStats(100, 100, 25);

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

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

            Item skirt;

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

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

            skirt.Hue = Utility.RandomGreenHue();

            AddItem(skirt);

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

            Item boots;

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

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

            AddItem(boots);

            HairItemID = 0x203C;               // Long hair
            HairHue    = 1175;
        }
예제 #24
0
        public BarbarianChieftain() : base(AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            int hairHue = Utility.RandomHairHue();

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

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

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

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

            SetDamage(25, 28);

            SetDamageType(ResistanceType.Physical, 100);

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

            VirtualArmor = 20;
            Item temp;

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

            a.DamageLevel = WeaponDamageLevel.Ruin;
            AddItem(a);
        }
예제 #25
0
        public override void InitOutfit()
        {
            AddItem(new FancyShirt(Utility.RandomBlueHue()));

            Item skirt;

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

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

            skirt.Hue = Utility.RandomGreenHue();

            AddItem(skirt);

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

            Item boots;

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

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

            AddItem(boots);

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

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

            AddItem(hair);
        }
예제 #26
0
            public InternalSellInfo()
            {
                Add(typeof(BoltOfCloth), BoltOfCloth.GetSBSellValue());

                Add(typeof(Scissors), Scissors.GetSBSellValue());
                Add(typeof(SewingKit), SewingKit.GetSBSellValue());
                Add(typeof(Dyes), Dyes.GetSBSellValue());
                Add(typeof(DyeTub), DyeTub.GetSBSellValue());

                Add(typeof(SkullCap), SkullCap.GetSBSellValue());
                Add(typeof(Bandana), Bandana.GetSBSellValue());
                Add(typeof(FloppyHat), FloppyHat.GetSBSellValue());
                Add(typeof(Cap), Cap.GetSBSellValue());
                Add(typeof(WideBrimHat), WideBrimHat.GetSBSellValue());
                Add(typeof(TallStrawHat), TallStrawHat.GetSBSellValue());
                Add(typeof(Bonnet), Bonnet.GetSBSellValue());
                Add(typeof(FeatheredHat), FeatheredHat.GetSBSellValue());
                Add(typeof(TricorneHat), TricorneHat.GetSBSellValue());
                Add(typeof(JesterHat), JesterHat.GetSBSellValue());
                Add(typeof(WizardsHat), WizardsHat.GetSBSellValue());

                Add(typeof(Doublet), Doublet.GetSBSellValue());
                Add(typeof(Shirt), Shirt.GetSBSellValue());
                Add(typeof(FancyShirt), FancyShirt.GetSBSellValue());
                Add(typeof(Tunic), Tunic.GetSBSellValue());
                Add(typeof(Surcoat), Surcoat.GetSBSellValue());
                Add(typeof(JesterSuit), JesterSuit.GetSBSellValue());
                Add(typeof(PlainDress), PlainDress.GetSBSellValue());
                Add(typeof(FancyDress), FancyDress.GetSBSellValue());
                Add(typeof(Robe), Robe.GetSBSellValue());

                Add(typeof(ShortPants), ShortPants.GetSBSellValue());
                Add(typeof(LongPants), LongPants.GetSBSellValue());
                Add(typeof(Kilt), Kilt.GetSBSellValue());
                Add(typeof(Skirt), Skirt.GetSBSellValue());

                Add(typeof(Cloak), Cloak.GetSBSellValue());
                Add(typeof(BodySash), BodySash.GetSBSellValue());
                Add(typeof(HalfApron), HalfApron.GetSBSellValue());
                Add(typeof(FullApron), FullApron.GetSBSellValue());

                Add(typeof(Sandals), Sandals.GetSBSellValue());
                Add(typeof(Shoes), Shoes.GetSBSellValue());
                Add(typeof(Boots), Boots.GetSBSellValue());
                Add(typeof(ThighBoots), ThighBoots.GetSBSellValue());
            }
예제 #27
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]);
                }
            }
        }
예제 #28
0
        public Protector()
            : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4)
        {
            Body       = 401;
            Female     = true;
            Hue        = Race.Human.RandomSkinHue();
            HairItemID = Race.Human.RandomHair(this);
            HairHue    = Race.Human.RandomHairHue();

            Name  = "a Protector";
            Title = "the mystic llamaherder";

            SetStr(700, 800);
            SetDex(100, 150);
            SetInt(50, 75);

            SetHits(350, 450);

            SetDamage(6, 12);



            SetSkill(SkillName.Wrestling, 70.0, 100.0);
            SetSkill(SkillName.Tactics, 80.0, 100.0);
            SetSkill(SkillName.MagicResist, 50.0, 70.0);
            SetSkill(SkillName.Anatomy, 70.0, 100.0);

            Fame  = 10000;
            Karma = -10000;

            Item boots = new ThighBoots();

            boots.Movable = false;
            boots.Hue     = Utility.Random(2);

            Item shroud = new Item(0x204E);

            shroud.Layer   = Layer.OuterTorso;
            shroud.Movable = false;
            shroud.Hue     = Utility.Random(2);

            AddItem(boots);
            AddItem(shroud);
        }
예제 #29
0
        public TradeMinister(City city) : base(AIType.AI_Vendor, FightMode.None, 10, 1, .4, .2)
        {
            City      = city;
            SpeechHue = 0x3B2;
            Female    = Utility.RandomDouble() > 0.75;
            Blessed   = true;

            Name  = Female ? NameList.RandomName("female") : NameList.RandomName("male");
            Title = "the minister of trade";

            Body             = Female ? 0x191 : 0x190;
            HairItemID       = Race.RandomHair(Female);
            FacialHairItemID = Race.RandomFacialHair(Female);
            HairHue          = Race.RandomHairHue();
            Hue = Race.RandomSkinHue();

            SetStr(150);
            SetInt(50);
            SetDex(150);

            EquipItem(new Cloak(1157));
            EquipItem(new BodySash(1326));

            ChainChest chest = new ChainChest
            {
                Hue = 1908
            };

            EquipItem(chest);

            ThighBoots boots = new ThighBoots
            {
                Hue = 1908
            };

            EquipItem(boots);

            EquipItem(new GoldRing());

            Ministers.Add(this);

            Frozen = true;
        }
예제 #30
0
        public override void InitOutfit()
        {
            BearMask head = new BearMask();

            head.Hue = 347;
            AddItem(head);
            Tunic chest = new Tunic();

            chest.Hue = 347;
            AddItem(chest);
            LongPants leg = new LongPants();

            leg.Hue = 347;
            AddItem(leg);
            ThighBoots feet = new ThighBoots();

            feet.Hue = 347;
            AddItem(feet);
        }