public override void InitOutfit() { Name = "Andora"; Title = "the Ranger"; Body = 401; Female = true; Race = Race.Human; Hue = 0x83F8; HairItemID = 0x203D; HairHue = 351; FacialHairItemID = 0; FacialHairHue = 0; CompositeBow weapon = new CompositeBow(); weapon.Movable = true; AddItem(weapon); LeatherChest chest = new LeatherChest(); chest.Movable = true; AddItem(chest); LeatherGloves gloves = new LeatherGloves(); gloves.Movable = true; AddItem(gloves); AddItem(new Shirt(3)); AddItem(new ThighBoots()); AddItem(new ShortPants(5)); AddItem(new RegalCloak(168)); }
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)); }
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 override void GenerateLoot() { if (Utility.RandomDouble() < 0.08) //8% chance to drop only one armor at a time. { BaseArmor armor = Loot.RandomArmor(true); switch (Utility.Random(6)) { case 0: armor = new LeatherChest(); break; case 1: armor = new LeatherLegs(); break; case 2: armor = new LeatherCap(); break; case 3: armor = new LeatherArms(); break; case 4: armor = new LeatherGloves(); break; case 5: armor = new LeatherGorget(); break; } armor.Attributes.LowerManaCost = 1; armor.Attributes.LowerRegCost = 1; PackItem(armor); } }
public ElfPirateCrew() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { SpeechHue = Utility.RandomDyedHue(); Hue = 1316; Race = Race.Elf; if (this.Female = Utility.RandomBool()) { Body = 606; Name = NameList.RandomName("elf_female"); } else { Body = 605; Name = NameList.RandomName("elf_male"); } Title = "the drow pirate"; AddItem(new ThighBoots()); Utility.AssignRandomHair(this); HairHue = 1150; AddItem(new ElvenBoots(0x6F8)); Item armor = new LeatherChest(); armor.Hue = 0x6F8; AddItem(armor); AddItem(new FancyShirt(0)); switch (Utility.Random(2)) { case 0: AddItem(new LongPants(0xBB4)); break; case 1: AddItem(new ShortPants(0xBB4)); break; } switch (Utility.Random(2)) { case 0: AddItem(new Bandana(0x846)); break; case 1: AddItem(new SkullCap(0x846)); break; } AddItem(new Scimitar()); SetStr(86, 100); SetDex(81, 95); SetInt(61, 75); SetDamage(10, 23); SetSkill(SkillName.Fencing, 66.0, 97.5); SetSkill(SkillName.Macing, 65.0, 87.5); SetSkill(SkillName.MagicResist, 25.0, 47.5); SetSkill(SkillName.Swords, 65.0, 87.5); SetSkill(SkillName.Tactics, 65.0, 87.5); SetSkill(SkillName.Wrestling, 15.0, 37.5); Fame = 1000; Karma = -1000; }
public override void InitOutfit() { AddItem(new Backpack()); AddItem(new Boots(0x1BB)); Item item; item = new LeatherLegs(); item.Hue = 0x901; AddItem(item); item = new LeatherGloves(); item.Hue = 0x1BB; AddItem(item); item = new LeatherChest(); item.Hue = 0x1BB; AddItem(item); item = new LeatherArms(); item.Hue = 0x901; AddItem(item); item = new CompositeBow(); item.Hue = 0x606; AddItem(item); }
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// public static Item CreateWoodenArmor() { Item item = null; switch (Utility.RandomMinMax(0, 7)) { case 0: item = new LeatherArms(); item.ItemID = 0x1410; item.Name = "arms"; break; case 1: item = new LeatherChest(); item.ItemID = 0x1415; item.Name = "tunic"; break; case 2: item = new LeatherGloves(); item.ItemID = 0x1414; item.Name = "gauntlets"; break; case 3: item = new LeatherGorget(); item.ItemID = 0x1413; item.Name = "gorget"; break; case 4: item = new LeatherLegs(); item.ItemID = 0x1411; item.Name = "leggings"; break; case 5: item = new LeatherCap(); item.ItemID = 0x1412; item.Name = "helm"; break; case 6: item = new WoodenKiteShield(); item.Name = "kite shield"; break; case 7: item = new WoodenShield(); item.Name = "shield"; break; } ((BaseArmor)item).Resource = CraftResource.RegularWood; return(item); }
public Kashiel() : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2) { Title = "the archer"; Race = Race.Human; Body = 0x191; Female = true; Hue = Race.RandomSkinHue(); InitStats(100, 100, 25); Utility.AssignRandomHair(this); AddItem(new Backpack()); Item item; item = new LeatherChest(); item.Hue = 0x1BB; AddItem(item); item = new LeatherLegs(); item.Hue = 0x901; AddItem(item); item = new LeatherArms(); item.Hue = 0x901; AddItem(item); item = new LeatherGloves(); item.Hue = 0x1BB; AddItem(item); AddItem(new Boots(0x1BB)); AddItem(new CompositeBow()); }
public override void InitOutfit() { this.AddItem(new Backpack()); this.AddItem(new Boots(0x1BB)); Item item; item = new LeatherLegs(); item.Hue = 0x6C8; this.AddItem(item); item = new LeatherGloves(); item.Hue = 0x1BB; this.AddItem(item); item = new LeatherChest(); item.Hue = 0x1BB; this.AddItem(item); item = new LeatherArms(); item.Hue = 0x4C7; this.AddItem(item); item = new CompositeBow(); item.Hue = 0x5DD; this.AddItem(item); }
public override void InitOutfit() { AddItem(new Backpack()); AddItem(new Sandals(0x8FD)); AddItem(new BoneHelm()); Item item; item = new LeatherLegs(); item.Hue = 0x2C3; AddItem(item); item = new LeatherGloves(); item.Hue = 0x2C3; AddItem(item); item = new LeatherGorget(); item.Hue = 0x2C3; AddItem(item); item = new LeatherChest(); item.Hue = 0x2C3; AddItem(item); item = new LeatherArms(); item.Hue = 0x2C3; AddItem(item); }
public GrimmochDrummel() : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4) { Title = "the Cursed"; Hue = 0x8596; Body = 0x190; Name = "Grimmoch Drummel"; HairItemID = 0x204A; //Krisna Bow bow = new Bow(); bow.Movable = false; AddItem(bow); AddItem(new Boots(0x8A4)); AddItem(new BodySash(0x8A4)); Backpack backpack = new Backpack(); backpack.Movable = false; AddItem(backpack); LeatherGloves gloves = new LeatherGloves(); LeatherChest chest = new LeatherChest(); gloves.Hue = 0x96F; chest.Hue = 0x96F; AddItem(gloves); AddItem(chest); SetStr(111, 120); SetDex(151, 160); SetInt(41, 50); SetHits(180, 207); SetMana(0); SetDamage(13, 16); SetResistance(ResistanceType.Physical, 35, 45); SetResistance(ResistanceType.Fire, 25, 30); SetResistance(ResistanceType.Cold, 45, 55); SetResistance(ResistanceType.Poison, 30, 40); SetResistance(ResistanceType.Energy, 20, 25); SetSkill(SkillName.Archery, 90.1, 110.0); SetSkill(SkillName.Swords, 60.1, 70.0); SetSkill(SkillName.Tactics, 90.1, 100.0); SetSkill(SkillName.MagicResist, 60.1, 70.0); SetSkill(SkillName.Anatomy, 90.1, 100.0); Fame = 5000; Karma = -1000; }
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); }
public PirateCrewBow() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { SpeechHue = Utility.RandomTalkHue(); Hue = Utility.RandomSkinColor(); if (this.Female = Utility.RandomBool()) { Body = 0x191; Name = NameList.RandomName("female"); } else { Body = 0x190; Name = NameList.RandomName("male"); } Title = "the pirate"; AddItem(new ElvenBoots(0x83A)); Item armor = new LeatherChest(); armor.Hue = 0x83A; AddItem(armor); AddItem(new FancyShirt(0)); switch (Utility.Random(2)) { case 0: AddItem(new LongPants(0xBB4)); break; case 1: AddItem(new ShortPants(0xBB4)); break; } switch (Utility.Random(2)) { case 0: AddItem(new Bandana(0x846)); break; case 1: AddItem(new SkullCap(0x846)); break; } AddItem(new Crossbow()); PackItem(new Bolt(Utility.RandomMinMax(10, 25))); SetStr(86, 100); SetDex(81, 95); SetInt(61, 75); SetDamage(3, 12); SetSkill(SkillName.Archery, 66.0, 97.5); SetSkill(SkillName.MagicResist, 25.0, 47.5); SetSkill(SkillName.Tactics, 65.0, 87.5); SetSkill(SkillName.Wrestling, 15.0, 37.5); Fame = 1000; Karma = -1000; }
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// public static Item CreateLeatherArmor(string gender) { Item item = null; int nType = Utility.RandomMinMax(0, 12); switch (nType) { case 0: item = new LeatherArms(); item.Name = "leather sleeves"; break; case 1: item = new LeatherChest(); item.Name = "leather tunic"; if (gender == "female" || Utility.RandomMinMax(0, 3) == 1) { item = new FemaleLeatherChest(); item.Name = "leather armor"; } else if (gender == "female" || Utility.RandomMinMax(0, 3) == 1) { item = new LeatherBustierArms(); item.Name = "leather bustier"; } break; case 2: item = new LeatherGloves(); item.Name = "leather gloves"; break; case 3: item = new LeatherGorget(); item.Name = "leather gorget"; break; case 4: item = new LeatherLegs(); item.Name = "leather leggings"; if (gender == "female" || Utility.RandomMinMax(0, 3) == 1) { item = new LeatherSkirt(); item.Name = "leather skirt"; } if (Utility.RandomMinMax(0, 5) == 1) { item = new LeatherShorts(); item.Name = "leather shorts"; } break; case 5: item = new LeatherCap(); item.Name = "leather cap"; break; case 6: item = new LeatherJingasa(); item.Name = "leather jingasa"; break; case 7: item = new LeatherDo(); item.Name = "leather do"; break; case 8: item = new LeatherHiroSode(); item.Name = "leather hiro sode"; break; case 9: item = new LeatherSuneate(); item.Name = "leather suneate"; break; case 10: item = new LeatherHaidate(); item.Name = "leather haidate"; break; case 11: item = new LeatherNinjaPants(); item.Name = "leather ninja pants"; break; case 12: item = new LeatherNinjaJacket(); item.Name = "leather ninja jacket"; break; } return(item); }
public InternalSellInfo() { Add(typeof(LeatherCap), LeatherCap.GetSBSellValue()); Add(typeof(LeatherGorget), LeatherGorget.GetSBSellValue()); Add(typeof(LeatherArms), LeatherArms.GetSBSellValue()); Add(typeof(LeatherGloves), LeatherGloves.GetSBSellValue()); Add(typeof(LeatherChest), LeatherChest.GetSBSellValue()); Add(typeof(FemaleLeatherChest), FemaleLeatherChest.GetSBSellValue()); Add(typeof(LeatherBustier), LeatherBustier.GetSBSellValue()); Add(typeof(LeatherLegs), LeatherLegs.GetSBSellValue()); Add(typeof(LeatherSkirt), LeatherSkirt.GetSBSellValue()); Add(typeof(LeatherShorts), LeatherShorts.GetSBSellValue()); Add(typeof(StuddedCap), StuddedCap.GetSBSellValue()); Add(typeof(StuddedGorget), StuddedGorget.GetSBSellValue()); Add(typeof(StuddedArms), StuddedArms.GetSBSellValue()); Add(typeof(StuddedGloves), StuddedGloves.GetSBSellValue()); Add(typeof(StuddedChest), StuddedChest.GetSBSellValue()); Add(typeof(FemaleStuddedChest), FemaleStuddedChest.GetSBSellValue()); Add(typeof(StuddedBustier), StuddedBustier.GetSBSellValue()); Add(typeof(StuddedLegs), StuddedLegs.GetSBSellValue()); Add(typeof(RingmailHelm), RingmailHelm.GetSBSellValue()); Add(typeof(RingmailGorget), RingmailGorget.GetSBSellValue()); Add(typeof(RingmailArms), RingmailArms.GetSBSellValue()); Add(typeof(RingmailGloves), RingmailGloves.GetSBSellValue()); Add(typeof(RingmailChest), RingmailChest.GetSBSellValue()); Add(typeof(RingmailLegs), RingmailLegs.GetSBSellValue()); Add(typeof(ChainmailCoif), ChainmailCoif.GetSBSellValue()); Add(typeof(ChainmailGorget), ChainmailGorget.GetSBSellValue()); Add(typeof(ChainmailArms), ChainmailArms.GetSBSellValue()); Add(typeof(ChainmailGloves), ChainmailGloves.GetSBSellValue()); Add(typeof(ChainmailChest), ChainmailChest.GetSBSellValue()); Add(typeof(ChainmailLegs), ChainmailLegs.GetSBSellValue()); Add(typeof(PlateHelm), PlateHelm.GetSBSellValue()); Add(typeof(PlateGorget), PlateGorget.GetSBSellValue()); Add(typeof(PlateArms), PlateArms.GetSBSellValue()); Add(typeof(PlateGloves), PlateGloves.GetSBSellValue()); Add(typeof(PlateChest), PlateChest.GetSBSellValue()); Add(typeof(FemalePlateChest), FemalePlateChest.GetSBSellValue()); Add(typeof(PlateLegs), PlateLegs.GetSBSellValue()); Add(typeof(Bascinet), Bascinet.GetSBSellValue()); Add(typeof(CloseHelm), CloseHelm.GetSBSellValue()); Add(typeof(NorseHelm), NorseHelm.GetSBSellValue()); Add(typeof(Buckler), Buckler.GetSBSellValue()); Add(typeof(MetalShield), MetalShield.GetSBSellValue()); Add(typeof(BronzeShield), BronzeShield.GetSBSellValue()); Add(typeof(MetalKiteShield), MetalKiteShield.GetSBSellValue()); Add(typeof(HeaterShield), HeaterShield.GetSBSellValue()); }
public InternalBuyInfo() { Add(new GenericBuyInfo("Leather Cap", typeof(LeatherCap), LeatherCap.GetSBPurchaseValue(), 25, 7610, 0)); Add(new GenericBuyInfo("Leather Gorget", typeof(LeatherGorget), LeatherGorget.GetSBPurchaseValue(), 25, 5063, 0)); Add(new GenericBuyInfo("Leather Arms", typeof(LeatherArms), LeatherArms.GetSBPurchaseValue(), 25, 5061, 0)); Add(new GenericBuyInfo("Leather Gloves", typeof(LeatherGloves), LeatherGloves.GetSBPurchaseValue(), 25, 5070, 0)); Add(new GenericBuyInfo("Leather Chest", typeof(LeatherChest), LeatherChest.GetSBPurchaseValue(), 25, 5075, 0)); Add(new GenericBuyInfo("Female Leather Chest", typeof(FemaleLeatherChest), FemaleLeatherChest.GetSBPurchaseValue(), 25, 7175, 0)); Add(new GenericBuyInfo("Leather Bustier", typeof(LeatherBustier), LeatherBustier.GetSBPurchaseValue(), 25, 7179, 0)); Add(new GenericBuyInfo("Leather Legs", typeof(LeatherLegs), LeatherLegs.GetSBPurchaseValue(), 25, 5074, 0)); Add(new GenericBuyInfo("Leather Skirt", typeof(LeatherSkirt), LeatherSkirt.GetSBPurchaseValue(), 25, 7177, 0)); Add(new GenericBuyInfo("Leather Shorts", typeof(LeatherShorts), LeatherShorts.GetSBPurchaseValue(), 25, 7169, 0)); Add(new GenericBuyInfo("Studded Cap", typeof(StuddedCap), StuddedCap.GetSBPurchaseValue(), 25, 7610, 1507)); Add(new GenericBuyInfo("Studded Gorget", typeof(StuddedGorget), StuddedGorget.GetSBPurchaseValue(), 25, 5078, 0)); Add(new GenericBuyInfo("Studded Arms", typeof(StuddedArms), StuddedArms.GetSBPurchaseValue(), 25, 5076, 0)); Add(new GenericBuyInfo("Studded Gloves", typeof(StuddedGloves), StuddedGloves.GetSBPurchaseValue(), 25, 5085, 0)); Add(new GenericBuyInfo("Studded Chest", typeof(StuddedChest), StuddedChest.GetSBPurchaseValue(), 25, 5090, 0)); Add(new GenericBuyInfo("Female Studded Chest", typeof(FemaleStuddedChest), FemaleStuddedChest.GetSBPurchaseValue(), 25, 7170, 0)); Add(new GenericBuyInfo("Studded Bustier", typeof(StuddedBustier), StuddedBustier.GetSBPurchaseValue(), 25, 7181, 0)); Add(new GenericBuyInfo("Studded Legs", typeof(StuddedLegs), StuddedLegs.GetSBPurchaseValue(), 25, 5089, 0)); Add(new GenericBuyInfo("Ringmail Helm", typeof(RingmailHelm), RingmailHelm.GetSBPurchaseValue(), 25, 5131, 0)); Add(new GenericBuyInfo("Ringmail Gorget", typeof(RingmailGorget), RingmailGorget.GetSBPurchaseValue(), 25, 5078, 1812)); Add(new GenericBuyInfo("Ringmail Arms", typeof(RingmailArms), RingmailArms.GetSBPurchaseValue(), 25, 0x13EE, 0)); Add(new GenericBuyInfo("Ringmail Gloves", typeof(RingmailGloves), RingmailGloves.GetSBPurchaseValue(), 25, 0x13eb, 0)); Add(new GenericBuyInfo("Ringmail Chest", typeof(RingmailChest), RingmailChest.GetSBPurchaseValue(), 25, 0x13ec, 0)); Add(new GenericBuyInfo("Ringmail Legs", typeof(RingmailLegs), RingmailLegs.GetSBPurchaseValue(), 25, 0x13F0, 0)); Add(new GenericBuyInfo("Chainmail Coif", typeof(ChainmailCoif), ChainmailCoif.GetSBPurchaseValue(), 25, 0x13BB, 0)); Add(new GenericBuyInfo("Chainmail Gorget", typeof(ChainmailGorget), ChainmailGorget.GetSBPurchaseValue(), 25, 5063, 2500)); Add(new GenericBuyInfo("Chainmail Arms", typeof(ChainmailArms), ChainmailArms.GetSBPurchaseValue(), 25, 5103, 2500)); Add(new GenericBuyInfo("Chainmail Gloves", typeof(ChainmailGloves), ChainmailGloves.GetSBPurchaseValue(), 25, 5106, 2500)); Add(new GenericBuyInfo("Chainmail Chest", typeof(ChainmailChest), ChainmailChest.GetSBPurchaseValue(), 25, 0x13BF, 0)); Add(new GenericBuyInfo("Chainmail Legs", typeof(ChainmailLegs), ChainmailLegs.GetSBPurchaseValue(), 25, 0x13BE, 0)); Add(new GenericBuyInfo("Platemail Helm", typeof(PlateHelm), PlateHelm.GetSBPurchaseValue(), 25, 0x1412, 0)); Add(new GenericBuyInfo("Platemail Gorget", typeof(PlateGorget), PlateGorget.GetSBPurchaseValue(), 25, 0x1413, 0)); Add(new GenericBuyInfo("Platemail Arms", typeof(PlateArms), PlateArms.GetSBPurchaseValue(), 25, 0x1410, 0)); Add(new GenericBuyInfo("Platemail Gloves", typeof(PlateGloves), PlateGloves.GetSBPurchaseValue(), 25, 0x1414, 0)); Add(new GenericBuyInfo("Platemail PlateChest", typeof(PlateChest), PlateChest.GetSBPurchaseValue(), 25, 0x1415, 0)); Add(new GenericBuyInfo("Female Plate Chest", typeof(FemalePlateChest), FemalePlateChest.GetSBPurchaseValue(), 25, 7173, 0)); Add(new GenericBuyInfo("Platemail Legs", typeof(PlateLegs), PlateLegs.GetSBPurchaseValue(), 25, 0x1411, 0)); Add(new GenericBuyInfo("Bascinet", typeof(Bascinet), Bascinet.GetSBPurchaseValue(), 25, 5132, 0)); Add(new GenericBuyInfo("Close Helm", typeof(CloseHelm), CloseHelm.GetSBPurchaseValue(), 25, 5129, 0)); Add(new GenericBuyInfo("Norse Helm", typeof(NorseHelm), NorseHelm.GetSBPurchaseValue(), 25, 5135, 0)); Add(new GenericBuyInfo("Buckler", typeof(Buckler), Buckler.GetSBPurchaseValue(), 25, 0x1B73, 0)); Add(new GenericBuyInfo("Metal Shield", typeof(MetalShield), MetalShield.GetSBPurchaseValue(), 25, 0x1B7B, 0)); Add(new GenericBuyInfo("Bronze Shield", typeof(BronzeShield), BronzeShield.GetSBPurchaseValue(), 25, 0x1B72, 0)); Add(new GenericBuyInfo("Metal Kite Shield", typeof(MetalKiteShield), MetalKiteShield.GetSBPurchaseValue(), 25, 0x1B74, 0)); Add(new GenericBuyInfo("Heater Shield", typeof(HeaterShield), HeaterShield.GetSBPurchaseValue(), 25, 0x1B76, 0)); }
public SerpentsHoldMage() : base(AIType.AI_Mage, FightMode.Weakest, 10, 5, 0.1, 0.2) { Title = "the Mage"; AddItem(new Boots()); AddItem(new WizardsHat(237)); AddItem(new Cloak(237)); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 2301; AddItem(gloves); AddItem(new BodySash(237)); LeatherLegs legs = new LeatherLegs(); legs.Hue = 2301; AddItem(legs); SetStr(1000, 1000); SetDex(250, 250); SetInt(250, 250); SetSkill(SkillName.MagicResist, 120.0, 120.0); SetSkill(SkillName.Magery, 120.0, 120.0); SetSkill(SkillName.Tactics, 65.0, 87.5); SetSkill(SkillName.Wrestling, 120.0, 120.0); if (Female = Utility.RandomBool()) { Body = 401; Name = NameList.RandomName("female"); FemaleLeatherChest chest = new FemaleLeatherChest(); chest.Hue = 2301; AddItem(chest); AddItem(new PlainDress(2301)); } else { Body = 400; Name = NameList.RandomName("male"); LeatherChest chest = new LeatherChest(); chest.Hue = 2301; AddItem(chest); LeatherArms arms = new LeatherArms(); arms.Hue = 2301; AddItem(arms); AddItem(new Robe(2301)); } Utility.AssignRandomHair(this); }
public Sparrow() { Name = "Captian Jack Sparrow"; Title = "The Pirate"; Body = 400; CantWalk = true; Hue = Utility.RandomSkinHue(); LeatherArms LeatherArms = new LeatherArms(); LeatherArms.Hue = 1157; AddItem(LeatherArms); LeatherCap LeatherCap = new LeatherCap(); LeatherCap.Hue = 1157; AddItem(LeatherCap); LeatherGloves LeatherGloves = new LeatherGloves(); LeatherGloves.Hue = 1157; AddItem(LeatherGloves); LeatherLegs LeatherLegs = new LeatherLegs(); LeatherLegs.Hue = 1157; AddItem(LeatherLegs); LeatherChest LeatherChest = new LeatherChest(); LeatherChest.Hue = 1157; AddItem(LeatherChest); LeatherGorget LeatherGorget = new LeatherGorget(); LeatherGorget.Hue = 1157; AddItem(LeatherGorget); int hairHue = 1153; switch (Utility.Random(1)) { case 0: AddItem(new PonyTail(hairHue)); break; case 1: AddItem(new Goatee(hairHue)); break; } Blessed = true; }
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); }
public override void InitOutfit() { Name = "Gemma Underhill"; Body = 400; Female = false; Race = Race.Human; Hue = 33794; HairItemID = 8264; HairHue = 1153; FacialHairItemID = 8267; FacialHairHue = 1153; SetStr(84); SetDex(46); SetInt(65); SetSkill(SkillName.Tactics, 60.0, 83.0); SetSkill(SkillName.Parry, 61.0, 93.0); PackGold(13, 27); AddItem(new Boots()); LeatherArms arms = new LeatherArms(); arms.Movable = true; AddItem(arms); LeatherChest chest = new LeatherChest(); chest.Movable = true; AddItem(chest); LeatherGloves gloves = new LeatherGloves(); gloves.Movable = true; AddItem(gloves); LeatherGorget gorget = new LeatherGorget(); gorget.Movable = true; AddItem(gorget); LeatherLegs legs = new LeatherLegs(); legs.Movable = true; AddItem(legs); }
public override void InitOutfit() { Name = "Qualinn"; Body = 400; Female = false; Race = Race.Human; Hue = 33814; HairItemID = 8261; HairHue = 1125; FacialHairItemID = 8256; FacialHairHue = 1125; SetStr(137); SetDex(182); SetInt(36); SetSkill(SkillName.Anatomy, 59.5, 68.7); SetSkill(SkillName.Archery, 80.0, 100.0); SetSkill(SkillName.Fletching, 80.0, 100.0); SetSkill(SkillName.Tactics, 60.0, 83.0); SetSkill(SkillName.Wrestling, 61.0, 93.0); PackGold(14, 46); AddItem(new ShortBoots(558)); AddItem(new FancyPants(773)); PackItem(new Arrow(Utility.RandomMinMax(20, 30))); LeatherChest chest = new LeatherChest(); chest.Movable = true; chest.Hue = 2210; AddItem(chest); LeatherGloves gloves = new LeatherGloves(); gloves.Movable = true; gloves.Hue = 2210; AddItem(gloves); Bow weapon = new Bow(); weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); }
public Andric() : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2) { Name = "Andric"; Title = "the archer trainer"; Race = Race.Human; BodyValue = 0x190; Female = false; Hue = Race.RandomSkinHue(); InitStats(100, 100, 25); Utility.AssignRandomHair(this, true); SetSkill(SkillName.Archery, 60.0, 80.0); AddItem(new Backpack()); Item item; item = new LeatherChest { Hue = 0x1BB }; AddItem(item); item = new LeatherLegs { Hue = 0x6AD }; AddItem(item); item = new LeatherArms { Hue = 0x6AD }; AddItem(item); item = new LeatherGloves { Hue = 0x1BB }; AddItem(item); AddItem(new Boots(0x1BB)); AddItem(new CompositeBow()); }
public HoneycombProcessingKettleQuestNPC() { Name = "Old Man"; Body = 400; Hue = Utility.RandomSkinHue(); LeatherArms LeatherArms = new LeatherArms(); LeatherArms.Hue = 2418; AddItem(LeatherArms); LeatherGloves LeatherGloves = new LeatherGloves(); LeatherGloves.Hue = 2418; AddItem(LeatherGloves); LeatherLegs LeatherLegs = new LeatherLegs(); LeatherLegs.Hue = 2418; AddItem(LeatherLegs); LeatherChest LeatherChest = new LeatherChest(); LeatherChest.Hue = 2418; AddItem(LeatherChest); LeatherGorget LeatherGorget = new LeatherGorget(); LeatherGorget.Hue = 2418; AddItem(LeatherGorget); int hairHue = 2406; switch (Utility.Random(1)) { case 0: AddItem(new PonyTail(hairHue)); break; case 1: AddItem(new Goatee(hairHue)); break; } Blessed = true; }
public override void InitOutfit() { AddItem(new Backpack()); AddItem(new Boots(0x1BB)); Item item; item = new LeatherLegs { Hue = 0x6C8 }; AddItem(item); item = new LeatherGloves { Hue = 0x1BB }; AddItem(item); item = new LeatherChest { Hue = 0x1BB }; AddItem(item); item = new LeatherArms { Hue = 0x4C7 }; AddItem(item); item = new CompositeBow { Hue = 0x5DD }; AddItem(item); }
public DummyTheif() : base(AIType.AI_Thief, FightMode.Closest, 15, 1, 0.2, 0.6) { // A Dummy Hybrid Theif int iHue = 20 + Team * 40; // int jHue = 25 + Team * 40; // Skills and Stats this.InitStats(105, 105, 105); this.Skills[SkillName.Healing].Base = 120; this.Skills[SkillName.Anatomy].Base = 120; this.Skills[SkillName.Stealing].Base = 120; this.Skills[SkillName.ArmsLore].Base = 100; this.Skills[SkillName.Meditation].Base = 120; this.Skills[SkillName.Wrestling].Base = 120; // Name this.Name = "Hybrid Theif"; // Equip Spellbook book = new Spellbook(); book.Movable = false; book.LootType = LootType.Newbied; book.Content = 0xFFFFFFFFFFFFFFFF; AddItem(book); LeatherArms lea = new LeatherArms(); lea.Movable = false; lea.LootType = LootType.Newbied; lea.Crafter = this; lea.Quality = ArmorQuality.Regular; AddItem(lea); LeatherChest lec = new LeatherChest(); lec.Movable = false; lec.LootType = LootType.Newbied; lec.Crafter = this; lec.Quality = ArmorQuality.Regular; AddItem(lec); LeatherGorget leg = new LeatherGorget(); leg.Movable = false; leg.LootType = LootType.Newbied; leg.Crafter = this; leg.Quality = ArmorQuality.Regular; AddItem(leg); LeatherLegs lel = new LeatherLegs(); lel.Movable = false; lel.LootType = LootType.Newbied; lel.Crafter = this; lel.Quality = ArmorQuality.Regular; AddItem(lel); Sandals snd = new Sandals(); snd.Hue = iHue; snd.LootType = LootType.Newbied; AddItem(snd); Cap cap = new Cap(); cap.Hue = iHue; AddItem(cap); Robe robe = new Robe(); robe.Hue = iHue; AddItem(robe); Bandage band = new Bandage(50); AddToBackpack(band); }
public DummyAssassin() : base(AIType.AI_Melee, FightMode.Closest, 15, 1, 0.2, 0.6) { // A Dummy Hybrid Assassin int iHue = 20 + Team * 40; // int jHue = 25 + Team * 40; // Skills and Stats this.InitStats(105, 105, 105); this.Skills[SkillName.Magery].Base = 120; this.Skills[SkillName.EvalInt].Base = 120; this.Skills[SkillName.Swords].Base = 120; this.Skills[SkillName.Tactics].Base = 120; this.Skills[SkillName.Meditation].Base = 120; this.Skills[SkillName.Poisoning].Base = 100; // Name this.Name = "Hybrid Assassin"; // Equip Spellbook book = new Spellbook(); book.Movable = false; book.LootType = LootType.Newbied; book.Content = 0xFFFFFFFFFFFFFFFF; AddToBackpack(book); Katana kat = new Katana(); kat.Movable = false; kat.LootType = LootType.Newbied; kat.Crafter = this; kat.Poison = Poison.Deadly; kat.PoisonCharges = 12; kat.Quality = WeaponQuality.Regular; AddToBackpack(kat); LeatherArms lea = new LeatherArms(); lea.Movable = false; lea.LootType = LootType.Newbied; lea.Crafter = this; lea.Quality = ArmorQuality.Regular; AddItem(lea); LeatherChest lec = new LeatherChest(); lec.Movable = false; lec.LootType = LootType.Newbied; lec.Crafter = this; lec.Quality = ArmorQuality.Regular; AddItem(lec); LeatherGorget leg = new LeatherGorget(); leg.Movable = false; leg.LootType = LootType.Newbied; leg.Crafter = this; leg.Quality = ArmorQuality.Regular; AddItem(leg); LeatherLegs lel = new LeatherLegs(); lel.Movable = false; lel.LootType = LootType.Newbied; lel.Crafter = this; lel.Quality = ArmorQuality.Regular; AddItem(lel); Sandals snd = new Sandals(); snd.Hue = iHue; snd.LootType = LootType.Newbied; AddItem(snd); Cap cap = new Cap(); cap.Hue = iHue; AddItem(cap); Robe robe = new Robe(); robe.Hue = iHue; AddItem(robe); DeadlyPoisonPotion pota = new DeadlyPoisonPotion(); pota.LootType = LootType.Newbied; AddToBackpack(pota); DeadlyPoisonPotion potb = new DeadlyPoisonPotion(); potb.LootType = LootType.Newbied; AddToBackpack(potb); DeadlyPoisonPotion potc = new DeadlyPoisonPotion(); potc.LootType = LootType.Newbied; AddToBackpack(potc); DeadlyPoisonPotion potd = new DeadlyPoisonPotion(); potd.LootType = LootType.Newbied; AddToBackpack(potd); Bandage band = new Bandage(50); AddToBackpack(band); }
public DummySuper() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6) { // A Dummy Super Mage int iHue = 20 + Team * 40; // int jHue = 25 + Team * 40; // Skills and Stats this.InitStats(125, 125, 125); this.Skills[SkillName.Magery].Base = 120; this.Skills[SkillName.EvalInt].Base = 120; this.Skills[SkillName.Anatomy].Base = 120; this.Skills[SkillName.Wrestling].Base = 120; this.Skills[SkillName.Meditation].Base = 120; this.Skills[SkillName.Poisoning].Base = 100; this.Skills[SkillName.Inscribe].Base = 100; // Name this.Name = "Super Mage"; // Equip Spellbook book = new Spellbook(); book.Movable = false; book.LootType = LootType.Newbied; book.Content = 0xFFFFFFFFFFFFFFFF; AddItem(book); LeatherArms lea = new LeatherArms(); lea.Movable = false; lea.LootType = LootType.Newbied; lea.Crafter = this; lea.Quality = ArmorQuality.Regular; AddItem(lea); LeatherChest lec = new LeatherChest(); lec.Movable = false; lec.LootType = LootType.Newbied; lec.Crafter = this; lec.Quality = ArmorQuality.Regular; AddItem(lec); LeatherGorget leg = new LeatherGorget(); leg.Movable = false; leg.LootType = LootType.Newbied; leg.Crafter = this; leg.Quality = ArmorQuality.Regular; AddItem(leg); LeatherLegs lel = new LeatherLegs(); lel.Movable = false; lel.LootType = LootType.Newbied; lel.Crafter = this; lel.Quality = ArmorQuality.Regular; AddItem(lel); Sandals snd = new Sandals(); snd.Hue = iHue; snd.LootType = LootType.Newbied; AddItem(snd); JesterHat jhat = new JesterHat(); jhat.Hue = iHue; AddItem(jhat); Doublet dblt = new Doublet(); dblt.Hue = iHue; AddItem(dblt); // Spells AddSpellAttack(typeof(Spells.First.MagicArrowSpell)); AddSpellAttack(typeof(Spells.First.WeakenSpell)); AddSpellAttack(typeof(Spells.Third.FireballSpell)); AddSpellDefense(typeof(Spells.Third.WallOfStoneSpell)); AddSpellDefense(typeof(Spells.First.HealSpell)); }
public DummyStun() : base(AIType.AI_Mage, FightMode.Closest, 15, 1, 0.2, 0.6) { // A Dummy Stun Mage int iHue = 20 + Team * 40; // int jHue = 25 + Team * 40; // Skills and Stats this.InitStats(90, 90, 125); this.Skills[SkillName.Magery].Base = 100; this.Skills[SkillName.EvalInt].Base = 120; this.Skills[SkillName.Anatomy].Base = 80; this.Skills[SkillName.Wrestling].Base = 80; this.Skills[SkillName.Meditation].Base = 100; this.Skills[SkillName.Poisoning].Base = 100; // Name this.Name = "Stun Mage"; // Equip Spellbook book = new Spellbook(); book.Movable = false; book.LootType = LootType.Newbied; book.Content = 0xFFFFFFFFFFFFFFFF; AddItem(book); LeatherArms lea = new LeatherArms(); lea.Movable = false; lea.LootType = LootType.Newbied; lea.Crafter = this; lea.Quality = ArmorQuality.Regular; AddItem(lea); LeatherChest lec = new LeatherChest(); lec.Movable = false; lec.LootType = LootType.Newbied; lec.Crafter = this; lec.Quality = ArmorQuality.Regular; AddItem(lec); LeatherGorget leg = new LeatherGorget(); leg.Movable = false; leg.LootType = LootType.Newbied; leg.Crafter = this; leg.Quality = ArmorQuality.Regular; AddItem(leg); LeatherLegs lel = new LeatherLegs(); lel.Movable = false; lel.LootType = LootType.Newbied; lel.Crafter = this; lel.Quality = ArmorQuality.Regular; AddItem(lel); Boots bts = new Boots(); bts.Hue = iHue; AddItem(bts); Cap cap = new Cap(); cap.Hue = iHue; AddItem(cap); // 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)); }
public DummyHealer() : base(AIType.AI_Healer, FightMode.Closest, 15, 1, 0.2, 0.6) { // A Dummy Healer Mage int iHue = 20 + Team * 40; int jHue = 25 + Team * 40; // Skills and Stats this.InitStats(125, 125, 125); this.Skills[SkillName.ArtMagique].Base = 120; //this.Skills[SkillName.EvalInt].Base = 120; //this.Skills[SkillName.Anatomy].Base = 120; this.Skills[SkillName.Anatomie].Base = 120; this.Skills[SkillName.Concentration].Base = 120; this.Skills[SkillName.Soins].Base = 100; // Name this.Name = "Healer"; // Equip Spellbook book = new Spellbook(); book.Movable = false; book.LootType = LootType.Blessed; book.Content = 0xFFFFFFFFFFFFFFFF; AddItem(book); LeatherArms lea = new LeatherArms(); lea.Movable = false; lea.LootType = LootType.Blessed; lea.Crafter = this; lea.Quality = ArmorQuality.Regular; AddItem(lea); LeatherChest lec = new LeatherChest(); lec.Movable = false; lec.LootType = LootType.Blessed; lec.Crafter = this; lec.Quality = ArmorQuality.Regular; AddItem(lec); LeatherGorget leg = new LeatherGorget(); leg.Movable = false; leg.LootType = LootType.Blessed; leg.Crafter = this; leg.Quality = ArmorQuality.Regular; AddItem(leg); LeatherLegs lel = new LeatherLegs(); lel.Movable = false; lel.LootType = LootType.Blessed; lel.Crafter = this; lel.Quality = ArmorQuality.Regular; AddItem(lel); Sandals snd = new Sandals(); snd.Hue = iHue; snd.LootType = LootType.Blessed; AddItem(snd); Cap cap = new Cap(); cap.Hue = iHue; AddItem(cap); Robe robe = new Robe(); robe.Hue = iHue; AddItem(robe); }
public AutumnwoodAdventurer() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Title = "the adventurer"; SetStr(128, 160); SetDex(87, 100); SetInt(32, 35); SetHits(125, 150); SetSkill(SkillName.Anatomy, 20.0); SetSkill(SkillName.Fencing, 82.6, 93.1); SetSkill(SkillName.Healing, 48.2, 61.9); SetSkill(SkillName.Macing, 82.6, 93.1); SetSkill(SkillName.MagicResist, 38.9, 45.5); SetSkill(SkillName.Swords, 82.6, 93.1); SetSkill(SkillName.Tactics, 48.2, 61.9); SetSkill(SkillName.Wrestling, 49.4, 57.6); Fame = -2500; Karma = 2500; AddItem(new HeavyBoots(2005)); AddItem(new Bandana(2005)); LeatherGorget gorget = new LeatherGorget(); gorget.Hue = 2001; gorget.Movable = true; AddItem(gorget); LeatherArms arms = new LeatherArms(); arms.Hue = 2001; arms.Movable = true; AddItem(arms); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 2005; gloves.Movable = true; AddItem(gloves); if (this.Female = Utility.RandomBool()) { Body = 401; Name = NameList.RandomName("female"); Hue = Utility.RandomSkinHue(); LeatherBustierArms chest = new LeatherBustierArms(); chest.Hue = 2005; chest.Movable = true; AddItem(chest); LeatherShorts legs = new LeatherShorts(); legs.Hue = 2001; legs.Movable = true; AddItem(legs); } else { Body = 400; Name = NameList.RandomName("male"); Hue = Utility.RandomSkinHue(); LeatherChest chest = new LeatherChest(); chest.Hue = 2005; chest.Movable = true; AddItem(chest); LeatherLegs legs = new LeatherLegs(); legs.Hue = 2001; legs.Movable = true; AddItem(legs); } Utility.AssignRandomHair(this); switch (Utility.Random(8)) { case 0: AddItem(new Cutlass()); break; case 1: AddItem(new Kryss()); break; case 2: AddItem(new Longsword()); break; case 3: AddItem(new Scimitar()); break; case 4: AddItem(new VikingSword()); break; case 5: AddItem(new Club()); break; case 6: AddItem(new Mace()); break; case 7: AddItem(new WarMace()); break; } switch (Utility.Random(6)) { case 0: AddItem(new BronzeShield()); break; case 1: AddItem(new Buckler()); break; case 2: AddItem(new MetalKiteShield()); break; case 3: AddItem(new MetalShield()); break; case 4: AddItem(new WoodenKiteShield()); break; case 5: AddItem(new WoodenShield()); break; } Container pack = new Backpack(); pack.DropItem(new Pitcher(BeverageType.Water)); pack.DropItem(new Gold(Utility.RandomMinMax(5, 8))); pack.DropItem(new Bandage(Utility.RandomMinMax(5, 10))); PackItem(pack); }