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 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); }
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(LeatherCap), LeatherCap.GetSBSellValue()); Add(typeof(LeatherGorget), LeatherGorget.GetSBSellValue()); Add(typeof(LeatherArms), LeatherArms.GetSBSellValue()); Add(typeof(LeatherGloves), LeatherGloves.GetSBSellValue()); Add(typeof(LeatherChest), LeatherChest.GetSBSellValue()); Add(typeof(FemaleLeatherChest), FemaleLeatherChest.GetSBSellValue()); Add(typeof(LeatherBustier), LeatherBustier.GetSBSellValue()); Add(typeof(LeatherLegs), LeatherLegs.GetSBSellValue()); Add(typeof(LeatherSkirt), LeatherSkirt.GetSBSellValue()); Add(typeof(LeatherShorts), LeatherShorts.GetSBSellValue()); Add(typeof(StuddedCap), StuddedCap.GetSBSellValue()); Add(typeof(StuddedGorget), StuddedGorget.GetSBSellValue()); Add(typeof(StuddedArms), StuddedArms.GetSBSellValue()); Add(typeof(StuddedGloves), StuddedGloves.GetSBSellValue()); Add(typeof(StuddedChest), StuddedChest.GetSBSellValue()); Add(typeof(FemaleStuddedChest), FemaleStuddedChest.GetSBSellValue()); Add(typeof(StuddedBustier), StuddedBustier.GetSBSellValue()); Add(typeof(StuddedLegs), StuddedLegs.GetSBSellValue()); Add(typeof(RingmailHelm), RingmailHelm.GetSBSellValue()); Add(typeof(RingmailGorget), RingmailGorget.GetSBSellValue()); Add(typeof(RingmailArms), RingmailArms.GetSBSellValue()); Add(typeof(RingmailGloves), RingmailGloves.GetSBSellValue()); Add(typeof(RingmailChest), RingmailChest.GetSBSellValue()); Add(typeof(RingmailLegs), RingmailLegs.GetSBSellValue()); Add(typeof(ChainmailCoif), ChainmailCoif.GetSBSellValue()); Add(typeof(ChainmailGorget), ChainmailGorget.GetSBSellValue()); Add(typeof(ChainmailArms), ChainmailArms.GetSBSellValue()); Add(typeof(ChainmailGloves), ChainmailGloves.GetSBSellValue()); Add(typeof(ChainmailChest), ChainmailChest.GetSBSellValue()); Add(typeof(ChainmailLegs), ChainmailLegs.GetSBSellValue()); Add(typeof(PlateHelm), PlateHelm.GetSBSellValue()); Add(typeof(PlateGorget), PlateGorget.GetSBSellValue()); Add(typeof(PlateArms), PlateArms.GetSBSellValue()); Add(typeof(PlateGloves), PlateGloves.GetSBSellValue()); Add(typeof(PlateChest), PlateChest.GetSBSellValue()); Add(typeof(FemalePlateChest), FemalePlateChest.GetSBSellValue()); Add(typeof(PlateLegs), PlateLegs.GetSBSellValue()); Add(typeof(Bascinet), Bascinet.GetSBSellValue()); Add(typeof(CloseHelm), CloseHelm.GetSBSellValue()); Add(typeof(NorseHelm), NorseHelm.GetSBSellValue()); Add(typeof(Buckler), Buckler.GetSBSellValue()); Add(typeof(MetalShield), MetalShield.GetSBSellValue()); Add(typeof(BronzeShield), BronzeShield.GetSBSellValue()); Add(typeof(MetalKiteShield), MetalKiteShield.GetSBSellValue()); Add(typeof(HeaterShield), HeaterShield.GetSBSellValue()); }
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// public static Item CreateLeatherArmor(string gender) { Item item = null; int nType = Utility.RandomMinMax(0, 12); switch (nType) { case 0: item = new LeatherArms(); item.Name = "leather sleeves"; break; case 1: item = new LeatherChest(); item.Name = "leather tunic"; if (gender == "female" || Utility.RandomMinMax(0, 3) == 1) { item = new FemaleLeatherChest(); item.Name = "leather armor"; } else if (gender == "female" || Utility.RandomMinMax(0, 3) == 1) { item = new LeatherBustierArms(); item.Name = "leather bustier"; } break; case 2: item = new LeatherGloves(); item.Name = "leather gloves"; break; case 3: item = new LeatherGorget(); item.Name = "leather gorget"; break; case 4: item = new LeatherLegs(); item.Name = "leather leggings"; if (gender == "female" || Utility.RandomMinMax(0, 3) == 1) { item = new LeatherSkirt(); item.Name = "leather skirt"; } if (Utility.RandomMinMax(0, 5) == 1) { item = new LeatherShorts(); item.Name = "leather shorts"; } break; case 5: item = new LeatherCap(); item.Name = "leather cap"; break; case 6: item = new LeatherJingasa(); item.Name = "leather jingasa"; break; case 7: item = new LeatherDo(); item.Name = "leather do"; break; case 8: item = new LeatherHiroSode(); item.Name = "leather hiro sode"; break; case 9: item = new LeatherSuneate(); item.Name = "leather suneate"; break; case 10: item = new LeatherHaidate(); item.Name = "leather haidate"; break; case 11: item = new LeatherNinjaPants(); item.Name = "leather ninja pants"; break; case 12: item = new LeatherNinjaJacket(); item.Name = "leather ninja jacket"; break; } return(item); }
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 MinocArcher() : base(AIType.AI_Archer, FightMode.Weakest, 15, 5, 0.1, 0.2) { Title = "the Archer"; AddItem(new Crossbow()); AddItem(new Boots()); AddItem(new Bandana(248)); AddItem(new Cloak(248)); StuddedGloves gloves = new StuddedGloves(); gloves.Hue = 1175; AddItem(gloves); AddItem(new BodySash(248)); SetStr(1200, 1200); SetDex(250, 250); SetInt(61, 75); SetSkill(SkillName.Anatomy, 120.0, 120.0); SetSkill(SkillName.Archery, 120.0, 120.0); SetSkill(SkillName.Tactics, 120.0, 120.0); SetSkill(SkillName.MagicResist, 120.0, 120.0); if (Female = Utility.RandomBool()) { Body = 401; Name = NameList.RandomName("female"); LeatherSkirt legs = new LeatherSkirt(); legs.Hue = 1175; AddItem(legs); FemaleStuddedChest chest = new FemaleStuddedChest(); chest.Hue = 1175; AddItem(chest); } else { Body = 400; Name = NameList.RandomName("male"); StuddedChest chest = new StuddedChest(); chest.Hue = 1175; AddItem(chest); StuddedLegs legs = new StuddedLegs(); legs.Hue = 1175; AddItem(legs); StuddedArms arms = new StuddedArms(); arms.Hue = 1175; AddItem(arms); } Utility.AssignRandomHair(this); }
public override void InitOutfit() { base.InitOutfit(); Item doublet = new Doublet(); doublet.Hue = 24; AddItem(doublet); Item leatherskirt = new LeatherSkirt(); leatherskirt.Hue = 24; AddItem(leatherskirt); Item booty = new FurBoots(); booty.Hue = 24; AddItem(booty); AddItem(Utility.RandomBool() ? (Item) new Lantern() : (Item) new Candle()); }
public Savage() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = NameList.RandomName("savage"); int dino = Utility.RandomList(0x7D1, 0x7D2, 0x7D3, 0x7D4, 0x7D5, 0x7D6); if (Female = Utility.RandomBool()) { Body = 401; Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = dino; cloth9.Name = "dracosaur tunic"; AddItem(cloth9); } else { Body = 400; } Hue = 0; SetStr(96, 115); SetDex(86, 105); SetInt(51, 65); SetDamage(23, 27); SetDamageType(ResistanceType.Physical, 100); SetSkill(SkillName.Fencing, 60.0, 82.5); SetSkill(SkillName.Macing, 60.0, 82.5); SetSkill(SkillName.Poisoning, 60.0, 82.5); SetSkill(SkillName.MagicResist, 57.5, 80.0); SetSkill(SkillName.Swords, 60.0, 82.5); SetSkill(SkillName.Tactics, 60.0, 82.5); Fame = 1000; Karma = -1000; PackItem(new Bandage(Utility.RandomMinMax(1, 15))); if (Female && 0.1 > Utility.RandomDouble()) { PackItem(new TribalBerry()); } else if (!Female && 0.1 > Utility.RandomDouble()) { PackItem(new BolaBall()); } AddItem(new Spear()); Item cloth1 = new BoneArms(); cloth1.Hue = dino; cloth1.Name = "dracosaur guantlets"; AddItem(cloth1); Item cloth2 = new BoneLegs(); cloth2.Hue = dino; cloth2.Name = "dracosaur leggings"; AddItem(cloth2); Item cloth3 = new TribalMask(); cloth3.Hue = dino; cloth3.Name = "savage tribal mask"; AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = dino; cloth4.Name = "dracosaur skirt"; cloth4.Layer = Layer.Waist; AddItem(cloth4); }
public PirateNatives() { Name = NameList.RandomName("lizardman"); Title = "the savage pirate"; Hue = 743; int leader = Utility.RandomColor(0); if (this.Female = Utility.RandomBool()) { Body = 0x191; Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = leader; cloth9.Name = "Native Tunic"; AddItem(cloth9); } else { Body = 0x190; } HairHue = 0x96C; AddItem(new Spear()); Item cloth1 = new SavageArms(); cloth1.Hue = leader; cloth1.Name = "Native Guantlets"; AddItem(cloth1); Item cloth2 = new SavageLegs(); cloth2.Hue = leader; cloth2.Name = "Native Leggings"; AddItem(cloth2); Item cloth3 = new StagMask(); cloth3.Hue = 932; cloth3.Name = "Native Tribal Mask"; AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = leader; cloth4.Name = "Native Skirt"; cloth4.Layer = Layer.Waist; AddItem(cloth4); AI = AIType.AI_Melee; FightMode = FightMode.Closest; ship = new GalleonBarbarian(); ship.Hue = ShipColor(""); SetStr(536, 585); SetDex(126, 145); SetInt(281, 305); SetHits(322, 351); SetMana(0); SetDamage(16, 23); SetDamageType(ResistanceType.Physical, 50); SetDamageType(ResistanceType.Fire, 50); SetResistance(ResistanceType.Physical, 45, 50); SetResistance(ResistanceType.Fire, 50, 60); SetResistance(ResistanceType.Cold, 25, 35); SetResistance(ResistanceType.Poison, 30, 40); SetResistance(ResistanceType.Energy, 30, 40); SetSkill(SkillName.MagicResist, 60.3, 105.0); SetSkill(SkillName.Tactics, 80.1, 100.0); SetSkill(SkillName.Wrestling, 80.1, 90.0); SetSkill(SkillName.Fencing, 80.1, 90.0); Fame = 11000; Karma = -11000; VirtualArmor = 48; healme = "Heal me my tribesman!"; }
public SavageShaman() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = NameList.RandomName("savage shaman"); int dino = Utility.RandomList(0x7D1, 0x7D2, 0x7D3, 0x7D4, 0x7D5, 0x7D6); if (Female = Utility.RandomBool()) { Body = 401; Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = dino; cloth9.Name = "dracosaur tunic"; AddItem(cloth9); } else { Body = 400; } Hue = 0; SetStr(126, 145); SetDex(91, 110); SetInt(161, 185); SetDamage(4, 10); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 30, 40); SetResistance(ResistanceType.Fire, 20, 30); SetResistance(ResistanceType.Cold, 20, 30); SetResistance(ResistanceType.Poison, 20, 30); SetResistance(ResistanceType.Energy, 40, 50); SetSkill(SkillName.EvalInt, 77.5, 100.0); SetSkill(SkillName.Fencing, 62.5, 85.0); SetSkill(SkillName.Macing, 62.5, 85.0); SetSkill(SkillName.Magery, 72.5, 95.0); SetSkill(SkillName.Meditation, 77.5, 100.0); SetSkill(SkillName.MagicResist, 77.5, 100.0); SetSkill(SkillName.Swords, 62.5, 85.0); SetSkill(SkillName.Tactics, 62.5, 85.0); SetSkill(SkillName.Wrestling, 62.5, 85.0); Fame = 1000; Karma = -1000; PackReg(10, 15); PackItem(new Bandage(Utility.RandomMinMax(1, 15))); if (0.1 > Utility.RandomDouble()) { PackItem(new TribalBerry()); } Item cloth1 = new BoneArms(); cloth1.Hue = dino; cloth1.Name = "dracosaur guantlets"; AddItem(cloth1); Item cloth2 = new BoneLegs(); cloth2.Hue = dino; cloth2.Name = "dracosaur leggings"; AddItem(cloth2); Item cloth3 = new HornedTribalMask(); cloth3.Hue = dino; cloth3.Name = "savage tribal mask"; AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = dino; cloth4.Name = "dracosaur skirt"; cloth4.Layer = Layer.Waist; AddItem(cloth4); }
public DryadFamiliar() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "a dryad"; Body = 401; Hue = 33770; BaseSoundID = 0x4B0; SetStr(200); SetDex(200); SetInt(100); SetHits(175); SetStam(50); SetDamage(6, 9); SetDamageType(ResistanceType.Physical, 50); SetDamageType(ResistanceType.Energy, 50); SetResistance(ResistanceType.Physical, 40, 50); SetResistance(ResistanceType.Fire, 30, 40); SetResistance(ResistanceType.Cold, 35, 45); SetResistance(ResistanceType.Poison, 50, 60); SetResistance(ResistanceType.Energy, 70, 80); SetSkill(SkillName.Meditation, 110.0); SetSkill(SkillName.EvalInt, 110.0); SetSkill(SkillName.Magery, 110.0); SetSkill(SkillName.MagicResist, 110.0); SetSkill(SkillName.Tactics, 110.0); SetSkill(SkillName.Wrestling, 110.0); VirtualArmor = 45; ControlSlots = 2; Item hair = new Item(Utility.RandomList(0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2049, 0x204A)); hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; AddItem(hair); Item sash = new BodySash(); sash.Hue = Utility.RandomList(1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172); sash.Movable = false; AddItem(sash); Item shoes = new Sandals(); shoes.Hue = Utility.RandomList(1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172); shoes.Movable = false; AddItem(shoes); Item skirt = new LeatherSkirt(); skirt.Hue = Utility.RandomList(1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172); skirt.Movable = false; AddItem(skirt); Item garland = new FlowerGarland(); garland.Hue = Utility.RandomList(1165, 1166, 1167, 1168, 1169, 1170, 1171, 1172); garland.Movable = false; AddItem(garland); }
public NativeArcher() : base(AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "a tribesman"; Hue = 743; if (this.Female = Utility.RandomBool()) { Body = 0x191; Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = 773; cloth9.Name = "Native Tunic"; AddItem(cloth9); } else { Body = 0x190; } HairHue = 0x96C; SetStr(116, 135); SetDex(106, 125); SetInt(71, 85); SetDamage(23, 27); SetDamageType(ResistanceType.Physical, 100); SetSkill(SkillName.Archery, 60.0, 82.5); SetSkill(SkillName.Macing, 60.0, 82.5); SetSkill(SkillName.Poisoning, 60.0, 82.5); SetSkill(SkillName.MagicResist, 57.5, 80.0); SetSkill(SkillName.Swords, 60.0, 82.5); SetSkill(SkillName.Tactics, 60.0, 82.5); Fame = 1100; Karma = -1100; VirtualArmor = 20; PackItem(new Bandage(Utility.RandomMinMax(1, 15))); Item cloth1 = new BoneArms(); cloth1.Hue = 773; cloth1.Name = "Native Guantlets"; AddItem(cloth1); Item cloth2 = new BoneLegs(); cloth2.Hue = 773; cloth2.Name = "Native Leggings"; AddItem(cloth2); Item cloth3 = new TribalMask(); cloth3.Hue = 773; cloth3.Name = "Native Tribal Mask"; AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = 773; cloth4.Name = "Native Skirt"; cloth4.Layer = Layer.Waist; AddItem(cloth4); AddItem(new Bow()); PackItem(new Arrow(Utility.RandomMinMax(5, 15))); }
public NativeWitchDoctor() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "a tribesman witch doctor"; Hue = 743; if (this.Female = Utility.RandomBool()) { Body = 0x191; Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = 773; cloth9.Name = "Native Tunic"; AddItem(cloth9); } else { Body = 0x190; } HairHue = 0x96C; SetStr(146, 165); SetDex(71, 130); SetInt(181, 205); SetDamage(8, 16); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 30, 40); SetResistance(ResistanceType.Fire, 20, 30); SetResistance(ResistanceType.Cold, 20, 30); SetResistance(ResistanceType.Poison, 20, 30); SetResistance(ResistanceType.Energy, 40, 50); SetSkill(SkillName.EvalInt, 77.5, 100.0); SetSkill(SkillName.Fencing, 62.5, 85.0); SetSkill(SkillName.Macing, 62.5, 85.0); SetSkill(SkillName.Magery, 72.5, 95.0); SetSkill(SkillName.Meditation, 77.5, 100.0); SetSkill(SkillName.MagicResist, 77.5, 100.0); SetSkill(SkillName.Swords, 62.5, 85.0); SetSkill(SkillName.Tactics, 62.5, 85.0); SetSkill(SkillName.Wrestling, 62.5, 85.0); Fame = 1200; Karma = -1200; VirtualArmor = 10; PackReg(10, 15); PackItem(new Bandage(Utility.RandomMinMax(1, 15))); AddItem(new WildStaff()); Item cloth1 = new BoneArms(); cloth1.Hue = 773; cloth1.Name = "Native Guantlets"; AddItem(cloth1); Item cloth2 = new BoneLegs(); cloth2.Hue = 773; cloth2.Name = "Native Leggings"; AddItem(cloth2); Item cloth3 = new BearMask(); cloth3.Hue = 932; cloth3.Name = "Native Tribal Mask"; AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = 773; cloth4.Name = "Native Skirt"; cloth4.Layer = Layer.Waist; AddItem(cloth4); }
public SavageAlien() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "an alien savage"; Hue = Utility.RandomList(0x6F6, 0x97F, 0x99B, 0x6E4, 0x5E0, 0xB38, 0xB2B); string metal = Server.Misc.MorphingTime.GetSpaceAceMetalName(); string cloth = Server.Misc.MorphingTime.GetSpaceAceClothName(); string bone = Server.Misc.MorphingTime.GetSpaceAceBoneName(); string wood = Server.Misc.MorphingTime.GetSpaceAceWoodName(); if (Female = Utility.RandomBool()) { Body = 401; } else { Body = 400; } SetStr(336, 385); SetDex(281, 305); SetInt(96, 115); SetHits(202, 231); SetMana(0); SetDamage(7, 23); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 45, 55); SetResistance(ResistanceType.Fire, 30, 40); SetResistance(ResistanceType.Cold, 30, 40); SetResistance(ResistanceType.Poison, 40, 50); SetResistance(ResistanceType.Energy, 40, 50); SetSkill(SkillName.MagicResist, 125.1, 140.0); SetSkill(SkillName.Tactics, 90.1, 100.0); SetSkill(SkillName.Wrestling, 90.1, 100.0); SetSkill(SkillName.Fencing, 125.1, 140.0); SetSkill(SkillName.Macing, 125.1, 140.0); SetSkill(SkillName.Wrestling, 125.1, 140.0); SetSkill(SkillName.MagicResist, 67.5, 100.0); SetSkill(SkillName.Swords, 125.1, 140.0); SetSkill(SkillName.Tactics, 125.1, 140.0); Fame = 10000; Karma = -10000; VirtualArmor = 50; Item cloth1 = new SavageArms(); MorphingTime.MakeSpaceAceBoneArmor(cloth1, bone, false); AddItem(cloth1); Item cloth2 = new SavageLegs(); MorphingTime.MakeSpaceAceBoneArmor(cloth2, bone, false); AddItem(cloth2); Item cloth3 = new LeatherSkirt(); cloth3.Name = "skin skirt"; MorphingTime.MakeSpaceAceBoneArmor(cloth3, bone, true); cloth3.Layer = Layer.Waist; AddItem(cloth3); switch (Utility.RandomMinMax(0, 3)) { case 0: Item cloth4 = new OrcHelm(); MorphingTime.MakeSpaceAceBoneArmor(cloth4, bone, false); AddItem(cloth4); break; case 1: Item cloth5 = new SavageHelm(); MorphingTime.MakeSpaceAceBoneArmor(cloth5, bone, false); AddItem(cloth5); break; case 2: Item cloth6 = new TribalMask(); cloth6.Name = "skin mask"; MorphingTime.MakeSpaceAceBoneArmor(cloth6, bone, true); AddItem(cloth6); break; } if (Utility.RandomMinMax(1, 10) == 1) { Item cloth7 = new SavageChest(); MorphingTime.MakeSpaceAceBoneArmor(cloth7, bone, false); AddItem(cloth7); } else if (Female) { Item cloth8 = new FemaleLeatherChest(); cloth8.Name = "skin tunic"; MorphingTime.MakeSpaceAceBoneArmor(cloth8, bone, true); AddItem(cloth8); } IntelligentAction.GiveBasicWepShld(this); if (this.FindItemOnLayer(Layer.OneHanded) != null) { if (MaterialInfo.IsAnyKindOfMetalItem(this.FindItemOnLayer(Layer.OneHanded))) { MorphingTime.MakeSpaceAceMetalArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), metal); } else if (MaterialInfo.IsAnyKindOfClothItem(this.FindItemOnLayer(Layer.OneHanded))) { MorphingTime.MakeSpaceAceClothArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), cloth); } else if (MaterialInfo.IsAnyKindOfWoodItem(this.FindItemOnLayer(Layer.OneHanded))) { MorphingTime.MakeSpaceAceWoodArmorWeapon(this.FindItemOnLayer(Layer.OneHanded), wood); } } if (this.FindItemOnLayer(Layer.TwoHanded) != null) { Item hand = this.FindItemOnLayer(Layer.TwoHanded); if (hand is BaseShield) { switch (Utility.RandomMinMax(1, 4)) { case 1: hand.ItemID = 0x1B76; hand.Name = "hull plate"; break; case 2: hand.ItemID = 0x1B76; hand.Name = "deck plate"; break; case 3: hand.ItemID = 0x1B72; hand.Name = "hatch door"; break; case 4: hand.ItemID = 0x1B7B; hand.Name = "hatch cover"; break; } MorphingTime.MakeSpaceAceMetalArmorWeapon(hand, metal); } else if (MaterialInfo.IsAnyKindOfMetalItem(hand)) { MorphingTime.MakeSpaceAceMetalArmorWeapon(hand, metal); } else if (MaterialInfo.IsAnyKindOfClothItem(hand)) { MorphingTime.MakeSpaceAceClothArmorWeapon(hand, cloth); } else if (MaterialInfo.IsAnyKindOfWoodItem(hand)) { MorphingTime.MakeSpaceAceWoodArmorWeapon(hand, wood); } } }
public Khashina() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Khashina"; Body = 401; Female = true; SetStr(767, 945); SetDex(66, 75); SetInt(46, 70); SetHits(476, 552); SetDamage(20, 25); SetDamageType(ResistanceType.Physical, 30); SetDamageType(ResistanceType.Cold, 70); SetResistance(ResistanceType.Physical, 45, 55); SetResistance(ResistanceType.Cold, 60, 70); SetResistance(ResistanceType.Poison, 100); SetResistance(ResistanceType.Energy, 40, 50); SetSkill(SkillName.MagicResist, 125.1, 140.0); SetSkill(SkillName.Tactics, 90.1, 100.0); SetSkill(SkillName.Wrestling, 90.1, 100.0); Fame = 15000; Karma = -15000; VirtualArmor = 50; Item hair = new Item(Utility.RandomList(0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2049, 0x204A)); hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; AddItem(hair); StuddedArms studdedarms = new StuddedArms(); studdedarms.Hue = 0x486; AddItem(studdedarms); FemaleStuddedChest femalesc = new FemaleStuddedChest(); femalesc.Hue = 0x486; AddItem(femalesc); StuddedGloves studdedg = new StuddedGloves(); studdedg.Hue = 0x486; AddItem(studdedg); StuddedGorget studdedgg = new StuddedGorget(); studdedgg.Hue = 0x486; AddItem(studdedgg); LeatherSkirt leatherskirt = new LeatherSkirt(); leatherskirt.Hue = 0x486; AddItem(leatherskirt); ThighBoots thighboots = new ThighBoots(); thighboots.Hue = 0x486; AddItem(thighboots); AddItem(new Server.Items.KhashinaShroud()); }
public override void OnSpeech(SpeechEventArgs args) { string said = args.Speech.ToLower(); Mobile from = args.Mobile; switch (said) { case ("take it off"): { goto case "dance"; } case ("hello"): { goto case "dance"; } case ("hi"): { goto case "dance"; } case ("hail"): { goto case "dance"; } case ("hey"): { goto case "dance"; } case ("dance"): { Say(String.Format("Hello, {0}!", args.Mobile.Name)); //Npc says hello to the player Say(String.Format("{0}, say 'strip' if you want to have some fun!", args.Mobile.Name)); break; } case ("strip"): { Say(String.Format("I'd love to dance for you, {0}, I will take off most of my clothes for 500 gp, or all my clothes for 1000 gp!", from.Name)); break; } case ("goodbye"): { goto case "bye"; } case ("bye"): { Say(String.Format("See ya later big boy!")); //Npc says bye from.PlaySound(0x145); from.Animate(9, 1, 1, true, false, 0); new StrippersLingerie().MoveToWorld(from.Location, from.Map); from.PublicOverheadMessage(MessageType.Emote, from.SpeechHue, false, "*The Stripper throws something at you as you leave*"); //virtual bool DropToWorld( Mobile from, Point3D p ) //virtual bool OnDroppedToWorld( Mobile from, Point3D p ) Item skirt = new LeatherSkirt(); skirt.Hue = 2989; skirt.LootType = LootType.Blessed; AddItem(skirt); Item top = new LeatherBustierArms(); top.Hue = 2989; top.LootType = LootType.Blessed; AddItem(top); break; } } }
public ZuluuWitchDoctor() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "a zuluu witch doctor"; Hue = 0x89D; if (this.Female = Utility.RandomBool()) { Body = 0x191; Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = 0xB9A; cloth9.Name = "Zuluu Tunic"; AddItem(cloth9); } else { Body = 0x190; } HairHue = 0x96C; SetStr(146, 165); SetDex(71, 130); SetInt(381, 405); SetDamage(14, 22); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 30, 40); SetResistance(ResistanceType.Fire, 20, 30); SetResistance(ResistanceType.Cold, 20, 30); SetResistance(ResistanceType.Poison, 20, 30); SetResistance(ResistanceType.Energy, 40, 50); SetSkill(SkillName.EvalInt, 87.5, 100.0); SetSkill(SkillName.Fencing, 72.5, 85.0); SetSkill(SkillName.Macing, 82.5, 105.0); SetSkill(SkillName.Magery, 82.5, 95.0); SetSkill(SkillName.Meditation, 87.5, 100.0); SetSkill(SkillName.MagicResist, 87.5, 100.0); SetSkill(SkillName.Swords, 72.5, 85.0); SetSkill(SkillName.Tactics, 72.5, 85.0); SetSkill(SkillName.Wrestling, 72.5, 85.0); Fame = 4200; Karma = -4200; VirtualArmor = 10; PackReg(10, 15); PackItem(new Bandage(Utility.RandomMinMax(1, 15))); AddItem(new WildStaff()); Item cloth1 = new SavageArms(); cloth1.Hue = 0xB9A; cloth1.Name = "Zuluu Guantlets"; AddItem(cloth1); Item cloth2 = new SavageLegs(); cloth2.Hue = 0xB9A; cloth2.Name = "Zuluu Leggings"; AddItem(cloth2); Item cloth3 = new HornedTribalMask(); cloth3.Hue = 0xB9A; cloth3.Name = "Zuluu Tribal Mask"; AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = 0xB9A; cloth4.Name = "Zuluu Skirt"; cloth4.Layer = Layer.Waist; AddItem(cloth4); if (Utility.RandomMinMax(1, 12) == 1) { SwampDragon pet = new SwampDragon(); pet.Hue = 2006; pet.Name = "a forest dragyn"; pet.Rider = this; ActiveSpeed = 0.1; PassiveSpeed = 0.2; } }
public ZuluuNative() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "a zuluu"; Hue = 0x89D; if (this.Female = Utility.RandomBool()) { Body = 0x191; Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = 0xB9A; cloth9.Name = "Zuluu Tunic"; AddItem(cloth9); } else { Body = 0x190; } HairHue = 0x96C; SetStr(216, 235); SetDex(206, 225); SetInt(71, 85); SetDamage(23, 27); SetDamageType(ResistanceType.Physical, 100); SetSkill(SkillName.Fencing, 70.0, 102.5); SetSkill(SkillName.Macing, 70.0, 102.5); SetSkill(SkillName.Poisoning, 70.0, 102.5); SetSkill(SkillName.MagicResist, 67.5, 100.0); SetSkill(SkillName.Swords, 70.0, 102.5); SetSkill(SkillName.Tactics, 70.0, 102.5); Fame = 3100; Karma = -3100; VirtualArmor = 20; PackItem(new Bandage(Utility.RandomMinMax(1, 15))); AddItem(new Spear()); Item cloth1 = new SavageArms(); cloth1.Hue = 0xB9A; cloth1.Name = "Zuluu Guantlets"; AddItem(cloth1); Item cloth2 = new SavageLegs(); cloth2.Hue = 0xB9A; cloth2.Name = "Zuluu Leggings"; AddItem(cloth2); Item cloth3 = new TribalMask(); cloth3.Hue = 0xB9A; cloth3.Name = "Zuluu Tribal Mask"; AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = 0xB9A; cloth4.Name = "Zuluu Skirt"; cloth4.Layer = Layer.Waist; AddItem(cloth4); if (Utility.RandomMinMax(1, 10) == 1) { SwampDragon pet = new SwampDragon(); pet.Hue = 2006; pet.Name = "a forest dragyn"; pet.Rider = this; ActiveSpeed = 0.1; PassiveSpeed = 0.2; } }
public void DressUpCrewMember(BaseCreature bc, Mobile captain) { if (captain is PirateDrow) { bc.AddItem(new ElvenBoots(0x6F8)); Item armor = new LeatherChest(); armor.Hue = 0x6F8; bc.AddItem(armor); bc.AddItem(new FancyShirt(0)); switch (Utility.Random(2)) { case 0: bc.AddItem(new LongPants(0xBB4)); break; case 1: bc.AddItem(new ShortPants(0xBB4)); break; } switch (Utility.Random(2)) { case 0: bc.AddItem(new Bandana(0x846)); break; case 1: bc.AddItem(new SkullCap(0x846)); break; } } else if (captain is PirateMen) { bc.AddItem(new ElvenBoots(0x83A)); Item armor = new LeatherChest(); armor.Hue = 0x83A; bc.AddItem(armor); bc.AddItem(new FancyShirt(0)); switch (Utility.Random(2)) { case 0: bc.AddItem(new LongPants(0xBB4)); break; case 1: bc.AddItem(new ShortPants(0xBB4)); break; } switch (Utility.Random(2)) { case 0: bc.AddItem(new Bandana(0x846)); break; case 1: bc.AddItem(new SkullCap(0x846)); break; } } else if (captain is PirateNatives) { bc.Hue = 743; bc.HairHue = 0x96C; if (bc.Female) { Item cloth9 = new FemaleLeatherChest(); cloth9.Hue = 773; cloth9.Name = "Native Tunic"; bc.AddItem(cloth9); } Item cloth1 = new SavageArms(); cloth1.Hue = 773; cloth1.Name = "Native Guantlets"; bc.AddItem(cloth1); Item cloth2 = new SavageLegs(); cloth2.Hue = 773; cloth2.Name = "Native Leggings"; bc.AddItem(cloth2); Item cloth3 = new TribalMask(); cloth3.Hue = 773; cloth3.Name = "Native Tribal Mask"; bc.AddItem(cloth3); Item cloth4 = new LeatherSkirt(); cloth4.Hue = 773; cloth4.Name = "Native Skirt"; cloth4.Layer = Layer.Waist; bc.AddItem(cloth4); } else if (captain is PirateCult) { bc.AddItem(new Robe(0)); switch (Utility.RandomMinMax(0, 2)) { case 0: bc.AddItem(new ClothCowl()); break; case 1: bc.AddItem(new ClothHood()); break; case 2: bc.AddItem(new FancyHood()); break; } MorphingTime.ColorMyClothes(bc, captain.SpeechHue); bc.AddItem(new ElvenBoots(0x83A)); if (bc.FindItemOnLayer(Layer.OneHanded) != null) { Item hand = bc.FindItemOnLayer(Layer.OneHanded); hand.ItemID = 0x13C6; hand.Name = "gloves"; hand.MoveToWorld(captain.Location, captain.Map); bc.AddItem(hand); } if (bc.FindItemOnLayer(Layer.TwoHanded) != null) { Item hand = bc.FindItemOnLayer(Layer.TwoHanded); hand.ItemID = 0x13C6; hand.Name = "gloves"; hand.MoveToWorld(captain.Location, captain.Map); bc.AddItem(hand); } } else if (captain is SailorGuards || captain is SailorElfGuards || captain is SailorOrkGuards) { DressGuards(bc, captain); if (captain is SailorElfGuards) { bc.HairHue = Utility.RandomHairHue(); bc.Hue = Utility.RandomSkinColor(); } } else if (captain is SailorMerchant || captain is SailorElf) { DressSailor(bc); if (captain is SailorElf) { bc.HairHue = Utility.RandomHairHue(); bc.Hue = Utility.RandomSkinColor(); } if (bc.FindItemOnLayer(Layer.OneHanded) != null) { Item hand = bc.FindItemOnLayer(Layer.OneHanded); if (hand is MonsterGloves) { hand.ItemID = 0x1087; hand.Hue = 0; hand.Name = "earrings"; hand.MoveToWorld(captain.Location, captain.Map); bc.AddItem(hand); } } } }