public PedroValentine() : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2) { Name = "Pedro Valentine - (Elemental My Dear Patsee)"; Body = 400; Female = false; Race = Race.Human; Hue = 33824; HairItemID = 8264; HairHue = 1149; FacialHairItemID = 8255; FacialHairHue = 1149; InitStats(100, 100, 25); SetSkill(SkillName.Meditation, 60.0, 80.0); SetSkill(SkillName.Focus, 60.0, 80.0); AddItem(new ShortBoots(868)); AddItem(new ReinassancePants(648)); StuddedChest chest = new StuddedChest(); chest.Movable = true; chest.Hue = 2419; AddItem(chest); StuddedGloves gloves = new StuddedGloves(); gloves.Movable = true; gloves.Hue = 2419; AddItem(gloves); }
public SerpentsFangAssassin() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "black order assassin"; Title = "of the serpent's fang sect"; Female = Utility.RandomBool(); Race = Race.Human; Hue = Race.RandomSkinHue(); HairItemID = Race.RandomHair(Female); HairHue = Race.RandomHairHue(); Race.RandomFacialHair(this); AddItem(new Sai(0x51D)); AddItem(new ThighBoots(0x51D)); AddItem(new FancyShirt(0x51D)); AddItem(new StuddedMempo()); AddItem(new JinBaori(0x2A)); Item item; item = new StuddedGloves(); item.Hue = 0x2A; AddItem(item); item = new LeatherNinjaPants(); item.Hue = 0x51D; AddItem(item); item = new LightPlateJingasa(); item.Hue = 0x51D; AddItem(item); }
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 InitOutfit() { AddItem(new Backpack()); AddItem(new Shoes(0x455)); AddItem(new WarFork()); Item item; item = new StuddedLegs(); item.Hue = 0x455; AddItem(item); item = new StuddedGloves(); item.Hue = 0x455; AddItem(item); item = new StuddedGorget(); item.Hue = 0x455; AddItem(item); item = new StuddedChest(); item.Hue = 0x455; AddItem(item); item = new StuddedArms(); item.Hue = 0x455; AddItem(item); }
public override void InitOutfit() { AddItem(new Backpack()); Item arms = new StuddedArms { Hue = 2955 }; AddItem(arms); Item chest = new StuddedChest { Hue = 2955 }; AddItem(chest); Item gloves = new StuddedGloves { Hue = 2955 }; AddItem(gloves); AddItem(new ThighBoots(2955)); AddItem(new Cloak(2955)); }
public override void InitOutfit() { AddItem(new Backpack()); AddItem(new Boots(0x592)); AddItem(new Cloak(0x592)); AddItem(new Bandana(0x592)); AddItem(new CompositeBow()); Item item; item = new StuddedLegs(); item.Hue = 0x592; AddItem(item); item = new StuddedGloves(); item.Hue = 0x592; AddItem(item); item = new StuddedGorget(); item.Hue = 0x592; AddItem(item); item = new StuddedChest(); item.Hue = 0x592; AddItem(item); item = new StuddedArms(); item.Hue = 0x592; AddItem(item); }
public override void InitOutfit() { AddItem(new Backpack()); AddItem(new ElvenBoots(0x96D)); Item item; item = new StuddedLegs(); item.Hue = 0x96D; AddItem(item); item = new StuddedGloves(); item.Hue = 0x96D; AddItem(item); item = new StuddedGorget(); item.Hue = 0x96D; AddItem(item); item = new StuddedChest(); item.Hue = 0x96D; AddItem(item); item = new StuddedArms(); item.Hue = 0x96D; AddItem(item); item = new DiamondMace(); item.Hue = 0x96D; AddItem(item); }
public TigersClawThief() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "black order thief"; Title = "of the tiger's claw sect"; Female = Utility.RandomBool(); Race = Race.Human; Hue = Race.RandomSkinHue(); HairItemID = Race.RandomHair(Female); HairHue = Race.RandomHairHue(); Race.RandomFacialHair(this); AddItem(new Wakizashi()); AddItem(new FancyShirt(0x51D)); AddItem(new StuddedMempo()); AddItem(new JinBaori(0x69)); Item item; item = new StuddedGloves(); item.Hue = 0x69; AddItem(item); item = new LeatherNinjaPants(); item.Hue = 0x51D; AddItem(item); item = new LightPlateJingasa(); item.Hue = 0x51D; AddItem(item); // TODO quest items }
public DesertGatekeeper() : base(AIType.AI_Animal, FightMode.Closest, 15, 1, 0.1, 0.2) { Name = "Brucilla"; Title = "the Desert Gatekeeper"; Body = 401; Female = true; Race = Race.Human; Hue = 0x83EA; HairItemID = 0x203B; HairHue = 0x1BB; SetStr(1005, 1183); SetDex(187, 238); SetInt(151, 247); SetHits(1184, 1422); SetMana(1105, 1205); SetDamage(5, 10); FemaleStuddedChest chest = new FemaleStuddedChest(); chest.Hue = 313; chest.Movable = true; AddItem(chest); StuddedGorget gorget = new StuddedGorget(); gorget.Hue = 23; gorget.Movable = true; AddItem(gorget); StuddedArms arms = new StuddedArms(); arms.Hue = 23; arms.Movable = true; AddItem(arms); StuddedGloves gloves = new StuddedGloves(); gloves.Hue = 313; gloves.Movable = true; AddItem(gloves); SteelJaw weapon = new SteelJaw(); BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35); weapon.WeaponAttributes.HitLightning = 25; weapon.Hue = 23; weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); AddItem(new HighBoots(23)); AddItem(new PlumeCloak(313)); PackItem(new Bolt(Utility.RandomMinMax(50, 80))); }
public WeaponsTrainer() : base("the weapons trainer") { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Name = NameList.RandomName(Female ? "female" : "male"); Hue = Utility.RandomSkinHue(); SetStr(96, 110); SetDex(91, 105); SetInt(71, 85); Karma = Utility.RandomMinMax(13, -45); SetSkill(SkillName.Tactics, 75, 97.5); SetSkill(SkillName.MagicResist, 65, 87.5); SetSkill(SkillName.Parry, 75, 97.5); SetSkill(SkillName.Swords, 67.5, 90); SetSkill(SkillName.Macing, 67.5, 90); SetSkill(SkillName.Fencing, 67.5, 90); SetSkill(SkillName.Wrestling, 67.5, 90); Item item = null; if (!Female) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair(item.Hue); item = new StuddedChest(); AddItem(item); item = new StuddedLegs(); AddItem(item); item = new StuddedArms(); AddItem(item); item = new StuddedGloves(); AddItem(item); item = Utility.RandomBool() ? (Item) new Boots() : (Item) new ThighBoots(); AddItem(item); PackGold(15, 100); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new StuddedChest(); AddItem(item); item = new StuddedLegs(); AddItem(item); item = new StuddedArms(); AddItem(item); item = new StuddedGloves(); AddItem(item); item = Utility.RandomBool() ? (Item) new Boots() : (Item) new ThighBoots(); AddItem(item); PackGold(15, 100); } }
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 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 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() { Name = "Lorenzo"; Body = 400; Female = false; Race = Race.Human; Hue = 33794; HairItemID = 8255; HairHue = 1153; FacialHairItemID = 8267; FacialHairHue = 1153; SetStr(143); SetDex(100); SetInt(42); SetSkill(SkillName.Anatomy, 60.0, 83.0); SetSkill(SkillName.ArmsLore, 64.0, 100.0); SetSkill(SkillName.Tactics, 60.0, 83.0); SetSkill(SkillName.Parry, 61.0, 93.0); SetSkill(SkillName.Wrestling, 60.0, 83.0); PackGold(13, 27); AddItem(new Boots()); StuddedArms arms = new StuddedArms(); arms.Movable = true; AddItem(arms); StuddedChest chest = new StuddedChest(); chest.Movable = true; AddItem(chest); StuddedGloves gloves = new StuddedGloves(); gloves.Movable = true; AddItem(gloves); StuddedGorget gorget = new StuddedGorget(); gorget.Movable = true; AddItem(gorget); StuddedLegs legs = new StuddedLegs(); legs.Movable = true; AddItem(legs); }
public TylAriadne() : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2) { Name = "Tyl Ariadne"; Title = "the Parrying Instructor"; BodyValue = 0x190; Hue = 0x8374; HairItemID = 0; InitStats(100, 100, 25); SetSkill(SkillName.Anatomy, 120.0); SetSkill(SkillName.Parry, 120.0); SetSkill(SkillName.Healing, 120.0); SetSkill(SkillName.Tactics, 120.0); SetSkill(SkillName.Swords, 120.0); SetSkill(SkillName.Meditation, 120.0); SetSkill(SkillName.Focus, 120.0); AddItem(new Backpack()); AddItem(new ElvenBoots(0x96D)); Item item; item = new StuddedLegs(); item.Hue = 0x96D; AddItem(item); item = new StuddedGloves(); item.Hue = 0x96D; AddItem(item); item = new StuddedGorget(); item.Hue = 0x96D; AddItem(item); item = new StuddedChest(); item.Hue = 0x96D; AddItem(item); item = new StuddedArms(); item.Hue = 0x96D; AddItem(item); item = new DiamondMace(); item.Hue = 0x96D; AddItem(item); }
public Recaro() : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2) { Name = "Recaro"; Title = "the Fencer Instructor"; BodyValue = 0x190; Hue = 0x83EA; HairItemID = 0x203C; HairHue = 0x455; FacialHairItemID = 0x204D; FacialHairHue = 0x455; InitStats(100, 100, 25); SetSkill(SkillName.Anatomy, 120.0); SetSkill(SkillName.Parry, 120.0); SetSkill(SkillName.Healing, 120.0); SetSkill(SkillName.Tactics, 120.0); SetSkill(SkillName.Fencing, 120.0); SetSkill(SkillName.Focus, 120.0); AddItem(new Backpack()); AddItem(new Shoes(0x455)); AddItem(new WarFork()); Item item; item = new StuddedLegs(); item.Hue = 0x455; AddItem(item); item = new StuddedGloves(); item.Hue = 0x455; AddItem(item); item = new StuddedGorget(); item.Hue = 0x455; AddItem(item); item = new StuddedChest(); item.Hue = 0x455; AddItem(item); item = new StuddedArms(); item.Hue = 0x455; AddItem(item); }
public override void InitOutfit() { Name = "Adrianna Ministra"; Body = 401; Female = true; Race = Race.Human; Hue = 33784; HairItemID = 8261; HairHue = 1110; SetSkill(SkillName.Imbuing, 120.0); FemaleStuddedChest chest = new FemaleStuddedChest(); chest.Hue = 2213; chest.Movable = false; AddItem(chest); StuddedArms arms = new StuddedArms(); arms.Hue = 2213; arms.Movable = false; AddItem(arms); StuddedGloves gloves = new StuddedGloves(); gloves.Hue = 2213; gloves.Movable = false; AddItem(gloves); CloakOfHumility cloak = new CloakOfHumility(); cloak.Hue = 553; cloak.Movable = false; AddItem(cloak); WoodlandBelt belt = new WoodlandBelt(); belt.Hue = 553; belt.Movable = false; AddItem(belt); AddItem(new BodySash(553)); AddItem(new ThighBoots(553)); }
public override void OnDeath(Container c) { base.OnDeath(c); Mobile killer = this.LastKiller; if (killer != null) { if (killer is BaseCreature) { killer = ((BaseCreature)killer).GetMaster(); } if (killer is PlayerMobile) { if (GetPlayerInfo.LuckyKiller(killer.Luck) && Utility.RandomMinMax(1, 4) == 1) { switch (Utility.RandomMinMax(0, 9)) { case 0: Item loot1 = new StuddedChest(); MorphingItem.MorphMyItem(loot1, "IGNORED", "Murk's Pirate", "IGNORED", MorphingTemplates.TemplateMurk("armors")); c.DropItem(loot1); break; case 1: Item loot2 = new StuddedArms(); MorphingItem.MorphMyItem(loot2, "IGNORED", "Murk's Pirate", "IGNORED", MorphingTemplates.TemplateMurk("armors")); c.DropItem(loot2); break; case 2: Item loot3 = new StuddedLegs(); MorphingItem.MorphMyItem(loot3, "IGNORED", "Murk's Pirate", "IGNORED", MorphingTemplates.TemplateMurk("armors")); c.DropItem(loot3); break; case 3: Item loot4 = new StuddedGorget(); MorphingItem.MorphMyItem(loot4, "IGNORED", "Murk's Pirate", "IGNORED", MorphingTemplates.TemplateMurk("armors")); c.DropItem(loot4); break; case 4: Item loot5 = new StuddedGloves(); MorphingItem.MorphMyItem(loot5, "IGNORED", "Murk's Pirate", "IGNORED", MorphingTemplates.TemplateMurk("armors")); c.DropItem(loot5); break; case 5: Item loot6 = new MagicHat(); loot6.ItemID = 5915; loot6.Name = "hat"; MorphingItem.MorphMyItem(loot6, "IGNORED", "Murk's Pirate", "IGNORED", MorphingTemplates.TemplateMurk("misc")); c.DropItem(loot6); break; case 6: Item loot7 = new Scimitar(); MorphingItem.MorphMyItem(loot7, "IGNORED", "Murk's Pirate", "IGNORED", MorphingTemplates.TemplateMurk("weapons")); c.DropItem(loot7); break; case 7: Item loot8 = new Buckler(); MorphingItem.MorphMyItem(loot8, "IGNORED", "Murk's Pirate", "IGNORED", MorphingTemplates.TemplateMurk("armors")); c.DropItem(loot8); break; case 8: Item loot9 = new MagicBoots(); loot9.Name = "boots"; loot9.ItemID = 0x170b; MorphingItem.MorphMyItem(loot9, "IGNORED", "Murk's Pirate", "IGNORED", MorphingTemplates.TemplateMurk("misc")); c.DropItem(loot9); break; case 9: Item loot10 = Loot.RandomJewelry(); MorphingItem.MorphMyItem(loot10, "IGNORED", "Murk's Pirate", "IGNORED", MorphingTemplates.TemplateMurk("misc")); c.DropItem(loot10); break; } } } } }
public WoodElfFighter() : base(AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4) { Body = 0x190; Name = NameList.RandomName("male"); Hue = 0x597; SetStr(45, 65); //I've set him up with normal stats since we've defined his Hits and his weapons speed elsewhere. SetDex(55, 70); SetInt(70, 100); SetHits(80, 100); // here are his hits according to the spherescript. random between 250 and 350 SetStam(81, 95); SetDamage(5, 10); //i set his damage to be low since he hits like 3 times a second. This will probably need to be tweaked. SetSkill(SkillName.Swords, 60.0, 80.0); //we dont need to give him uberskillz SetSkill(SkillName.Tactics, 50.0, 80.0); SetSkill(SkillName.MagicResist, 15.0, 38.0); SetSkill(SkillName.Wrestling, 25.0, 40.0); Fame = 0; Karma = Utility.RandomMinMax(-2500, -4000); VirtualArmor = 6; //this might need to be tweaked //AddItem( Server.Items.Hair.GetRandomHair( Female ) ); AddItem(new Sandals(Utility.RandomNeutralHue())); AddItem(new Longsword()); AddItem(new WoodenShield()); StuddedChest che = new StuddedChest(); che.Hue = 0x0599; StuddedGloves glo = new StuddedGloves(); glo.Hue = 0x0599; StuddedLegs leg = new StuddedLegs(); leg.Hue = 0x0599; AddItem(glo); AddItem(leg); AddItem(che); }
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// public static Item CreateStuddedArmor(string gender) { Item item = null; int nType = Utility.RandomMinMax(0, 10); switch (nType) { case 0: item = new LeatherCap(); item.Name = "leather cap"; break; case 1: item = new StuddedArms(); item.Name = "studded sleeves"; break; case 2: item = new StuddedGloves(); item.Name = "studded gloves"; break; case 3: item = new StuddedGorget(); item.Name = "studded gorget"; break; case 4: item = new StuddedLegs(); item.Name = "studded leggings"; break; case 5: item = new StuddedChest(); item.Name = "studded tunic"; if (gender == "female" || Utility.RandomMinMax(0, 3) == 1) { item = new FemaleStuddedChest(); item.Name = "studded armor"; } else if (gender == "female" || Utility.RandomMinMax(0, 3) == 1) { item = new StuddedBustierArms(); item.Name = "studded bustier"; } break; case 6: item = new StuddedMempo(); item.Name = "studded mempo"; break; case 7: item = new StuddedDo(); item.Name = "studded do"; break; case 8: item = new StuddedHiroSode(); item.Name = "studded hiro sode"; break; case 9: item = new StuddedSuneate(); item.Name = "studded suneate"; break; case 10: item = new StuddedHaidate(); item.Name = "studded haidate"; break; } return(item); }
public TigersClawThief() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { this.Name = "Black Order Thief"; this.Title = "of the Tiger's Claw Sect"; this.Female = Utility.RandomBool(); this.Race = Race.Human; this.Hue = this.Race.RandomSkinHue(); this.HairItemID = this.Race.RandomHair(this.Female); this.HairHue = this.Race.RandomHairHue(); this.Race.RandomFacialHair(this); this.AddItem(new ThighBoots(0x51D)); this.AddItem(new Wakizashi()); this.AddItem(new FancyShirt(0x51D)); this.AddItem(new StuddedMempo()); this.AddItem(new JinBaori(0x69)); Item item; item = new StuddedGloves(); item.Hue = 0x69; this.AddItem(item); item = new LeatherNinjaPants(); item.Hue = 0x51D; this.AddItem(item); item = new LightPlateJingasa(); item.Hue = 0x51D; this.AddItem(item); // TODO quest items this.SetStr(225, 275); this.SetDex(175, 275); this.SetInt(85, 105); this.SetHits(250, 275); this.SetDamage(14, 22); this.SetDamageType(ResistanceType.Physical, 100); this.SetResistance(ResistanceType.Physical, 35, 60); this.SetResistance(ResistanceType.Fire, 45, 65); this.SetResistance(ResistanceType.Cold, 25, 45); this.SetResistance(ResistanceType.Poison, 40, 60); this.SetResistance(ResistanceType.Energy, 40, 65); this.SetSkill(SkillName.MagicResist, 80.0, 100.0); this.SetSkill(SkillName.Tactics, 115.0, 130.0); this.SetSkill(SkillName.Wrestling, 95.0, 120.0); this.SetSkill(SkillName.Anatomy, 105.0, 120.0); this.SetSkill(SkillName.Fencing, 78.0, 100.0); this.SetSkill(SkillName.Swords, 90.1, 105.0); this.SetSkill(SkillName.Ninjitsu, 90.0, 120.0); this.SetSkill(SkillName.Hiding, 100.0, 120.0); this.SetSkill(SkillName.Stealth, 100.0, 120.0); this.Fame = 5000; this.Karma = -5000; this.VirtualArmor = 58; }
public TigersClawThief() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Black Order Thief"; Title = "of the Tiger's Claw Sect"; Female = Utility.RandomBool(); Race = Race.Human; Hue = Race.RandomSkinHue(); HairItemID = Race.RandomHair(Female); HairHue = Race.RandomHairHue(); Race.RandomFacialHair(this); AddItem(new ThighBoots(0x51D)); AddItem(new Wakizashi()); AddItem(new FancyShirt(0x51D)); AddItem(new StuddedMempo()); AddItem(new JinBaori(0x69)); Item item; item = new StuddedGloves { Hue = 0x69 }; AddItem(item); item = new LeatherNinjaPants { Hue = 0x51D }; AddItem(item); item = new LightPlateJingasa { Hue = 0x51D }; AddItem(item); SetStr(340, 360); SetDex(400, 415); SetInt(200, 215); SetHits(800, 815); SetDamage(13, 15); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 45, 65); SetResistance(ResistanceType.Fire, 60, 70); SetResistance(ResistanceType.Cold, 55, 60); SetResistance(ResistanceType.Poison, 30, 50); SetResistance(ResistanceType.Energy, 30, 50); SetSkill(SkillName.MagicResist, 80.0, 100.0); SetSkill(SkillName.Tactics, 115.0, 130.0); SetSkill(SkillName.Wrestling, 95.0, 120.0); SetSkill(SkillName.Anatomy, 105.0, 120.0); SetSkill(SkillName.Fencing, 78.0, 100.0); SetSkill(SkillName.Swords, 90.1, 105.0); SetSkill(SkillName.Ninjitsu, 90.0, 120.0); SetSkill(SkillName.Hiding, 100.0, 120.0); SetSkill(SkillName.Stealth, 100.0, 120.0); Fame = 13000; Karma = -13000; }
public EvilNecroWarrior() : base(AIType.AI_Melee, FightMode.Weakest, 10, 1, 0.08, 0.2) { InitStats(110, 110, 110); Name = "Necromatic Warrior"; SpeechHue = Utility.RandomDyedHue(); Kills = 5; RangePerception = 40; Body = 400; Hits = 850; Dex = 100; SetDamage(25, 45); VirtualArmor = 65; if (Female = Utility.RandomBool()) { Body = 0x191; } else { Body = 0x190; } new SkeletalMount().Rider = this; Halberd halberd = new Halberd(); halberd.Name = "Halberd of the Fallen Souls"; halberd.Movable = false; halberd.Hue = 33; halberd.LootType = LootType.Blessed; AddItem(halberd); PackGold(450, 550); Skills[SkillName.Anatomy].Base = 130.0; Skills[SkillName.Tactics].Base = 100.0; Skills[SkillName.Swords].Base = 125.0; Skills[SkillName.MagicResist].Base = 120.0; Skills[SkillName.DetectHidden].Base = 100.0; Skills[SkillName.Poisoning].Base = 120; Skills[SkillName.Magery].Base = 120; Item shroud = new HoodedShroudOfShadows(); shroud.Name = "Shroud of the Fallen Souls"; shroud.Hue = 1157; shroud.Movable = false; AddItem(shroud); Item sandals = new Sandals(); sandals.Name = "Sandals of the Fallen"; sandals.Hue = 1; sandals.Movable = false; PackItem(new NecroCrystal(1)); AddItem(sandals); Item llegs = new StuddedLegs(); AddItem(llegs); Item larms = new StuddedArms(); AddItem(larms); Item ltunic = new StuddedChest(); AddItem(ltunic); Item lgloves = new StuddedGloves(); AddItem(lgloves); Item lgorget = new StuddedGorget(); AddItem(lgorget); }
public RangerGuardOfSkaddria2() : base(AIType.AI_Archer, FightMode.Closest, 15, 1, 0.1, 0.2) { Title = "Ranger Guard of Skaddria Naddheim"; SetStr(850, 900); SetDex(500, 700); SetInt(100, 200); SetHits(1500, 2000); SetDamage(19, 35); SetSkill(SkillName.Anatomy, 100.0, 100.0); SetSkill(SkillName.Archery, 100.0, 100.0); SetSkill(SkillName.Tactics, 100.0, 100.0); SetSkill(SkillName.MagicResist, 100.0, 100.0); Karma = 10000; AddItem(new HighBoots(23)); AddItem(new PlumeCloak(313)); StuddedGorget gorget = new StuddedGorget(); gorget.Hue = 23; gorget.Movable = true; AddItem(gorget); StuddedArms arms = new StuddedArms(); arms.Hue = 23; arms.Movable = true; AddItem(arms); StuddedGloves gloves = new StuddedGloves(); gloves.Hue = 313; gloves.Movable = true; AddItem(gloves); if (Female = Utility.RandomBool()) { Body = 401; Name = NameList.RandomName("female"); FemaleStuddedChest chest = new FemaleStuddedChest(); chest.Hue = 313; chest.Movable = true; AddItem(chest); SteelJaw weapon = new SteelJaw(); BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35); weapon.WeaponAttributes.HitLightning = 25; weapon.Hue = 23; weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); PackItem(new Bolt(Utility.RandomMinMax(50, 80))); } else { Body = 400; Name = NameList.RandomName("male"); StuddedChest chest = new StuddedChest(); chest.Hue = 313; chest.Movable = true; AddItem(chest); StuddedLegs legs = new StuddedLegs(); legs.Hue = 313; legs.Movable = true; AddItem(legs); SteelJaw weapon = new SteelJaw(); BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35); weapon.WeaponAttributes.HitLightning = 25; weapon.Hue = 23; weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); PackItem(new Bolt(Utility.RandomMinMax(50, 80))); } Utility.AssignRandomHair(this); }
public SerpentsFangAssassin() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Black Order Assassin"; Title = "of the Serpent's Fang Sect"; Female = Utility.RandomBool(); Race = Race.Human; Hue = Race.RandomSkinHue(); HairItemID = Race.RandomHair(Female); HairHue = Race.RandomHairHue(); Race.RandomFacialHair(this); AddItem(new ThighBoots(0x51D)); AddItem(new FancyShirt(0x51D)); AddItem(new StuddedMempo()); AddItem(new JinBaori(0x2A)); Item item; item = new StuddedGloves(); item.Hue = 0x2A; AddItem(item); item = new LeatherNinjaPants(); item.Hue = 0x51D; AddItem(item); item = new LightPlateJingasa(); item.Hue = 0x51D; AddItem(item); item = new Sai(); item.Hue = 0x51D; AddItem(item); SetStr(325, 375); SetDex(175, 275); SetInt(85, 105); SetHits(350, 375); SetDamage(14, 22); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 35, 60); SetResistance(ResistanceType.Fire, 45, 65); SetResistance(ResistanceType.Cold, 25, 45); SetResistance(ResistanceType.Poison, 40, 60); SetResistance(ResistanceType.Energy, 40, 65); SetSkill(SkillName.MagicResist, 80.0, 100.0); SetSkill(SkillName.Tactics, 115.0, 130.0); SetSkill(SkillName.Wrestling, 95.0, 120.0); SetSkill(SkillName.Anatomy, 105.0, 120.0); SetSkill(SkillName.Fencing, 78.0, 100.0); SetSkill(SkillName.Swords, 90.1, 105.0); SetSkill(SkillName.Ninjitsu, 90.0, 120.0); SetSkill(SkillName.Hiding, 100.0, 120.0); SetSkill(SkillName.Stealth, 100.0, 120.0); Fame = 5000; Karma = -5000; VirtualArmor = 58; }
public override void InitOutfit() { Name = "Quill Razorwind the fletcher"; Body = 606; Female = true; Race = Race.Elf; Hue = 1002; HairItemID = 12238; HairHue = 63; SetStr(225); SetDex(265); SetInt(151); SetSkill(SkillName.Archery, 80.0, 100.0); SetSkill(SkillName.Anatomy, 59.5, 68.7); SetSkill(SkillName.Fletching, 80.0, 100.0); SetSkill(SkillName.Tactics, 60.0, 83.0); SetSkill(SkillName.Wrestling, 61.0, 93.0); PackGold(14, 46); ElvenCompositeLongbow weapon = new ElvenCompositeLongbow(); weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); PackItem(new Arrow(Utility.RandomMinMax(20, 30))); FemaleLeatherChest chest = new FemaleLeatherChest(); chest.Movable = true; chest.Hue = 2207; AddItem(chest); StuddedGorget gorget = new StuddedGorget(); gorget.Movable = true; gorget.Hue = 2207; AddItem(gorget); StuddedArms arms = new StuddedArms(); arms.Movable = true; arms.Hue = 2207; AddItem(arms); StuddedGloves gloves = new StuddedGloves(); gloves.Movable = true; gloves.Hue = 2207; AddItem(gloves); DrowSpiderCloak cloak = new DrowSpiderCloak(); cloak.Movable = true; cloak.Hue = 663; AddItem(cloak); AddItem(new ThighBoots(663)); }
public 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 HireFighter() { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the fighter"; Name = NameList.RandomName(Female ? "female" : "male"); Hue = Utility.RandomSkinHue(); SetStr(11, 88); SetDex(11, 88); SetInt(7, 49); Karma = Utility.RandomMinMax(13, -45); SetSkill(SkillName.Tactics, 45, 67.5); SetSkill(SkillName.MagicResist, 45, 67.5); SetSkill(SkillName.Parry, 45, 67.5); SetSkill(SkillName.Swords, 45, 67.5); SetSkill(SkillName.Macing, 45, 67.5); SetSkill(SkillName.Fencing, 45, 67.5); SetSkill(SkillName.Wrestling, 45, 67.5); SetSkill(SkillName.ArmsLore, 42.5, 65); Item item = null; if (!Female) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair(item.Hue); item = new StuddedChest(); AddItem(item); item = new StuddedLegs(); AddItem(item); item = new StuddedArms(); AddItem(item); item = new StuddedGloves(); AddItem(item); switch (Utility.Random(6)) { case 0: item = new PlateHelm(); break; case 1: item = new ChainCoif(); break; case 2: item = new CloseHelm(); break; case 3: item = new Bascinet(); break; case 4: item = new NorseHelm(); break; case 5: default: item = new Helmet(); break; } AddItem(item); item = new StuddedGorget(); AddItem(item); item = Loot.RandomWeapon(); AddItem(item); if (item.Layer == Layer.OneHanded) { item = new WoodenShield(); AddItem(item); } } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new StuddedChest(); AddItem(item); item = new StuddedLegs(); AddItem(item); item = new StuddedArms(); AddItem(item); item = new StuddedGloves(); AddItem(item); switch (Utility.Random(6)) { case 0: item = new PlateHelm(); break; case 1: item = new ChainCoif(); break; case 2: item = new CloseHelm(); break; case 3: item = new Bascinet(); break; case 4: item = new NorseHelm(); break; case 5: default: item = new Helmet(); break; } AddItem(item); item = new StuddedGorget(); AddItem(item); item = Loot.RandomWeapon(); AddItem(item); if (item.Layer == Layer.OneHanded) { item = new WoodenShield(); AddItem(item); } } }
public NewArcherGuard() : base(AIType.AI_Archer) { SetStr(60, 120); SetDex(100, 150); SetInt(26, 50); SetHits(80, 110); SetMana(40); if (Utility.RandomBool()) { new Horse().Rider = this; } SetResistance(ResistanceType.Physical, 20, 20); SetResistance(ResistanceType.Fire, 20, 25); SetResistance(ResistanceType.Cold, 20, 20); SetResistance(ResistanceType.Poison, 20, 30); SetSkill(SkillName.MagicResist, 50.0, 100.0); SetSkill(SkillName.Tactics, 80.0, 120.0); SetSkill(SkillName.Anatomy, 80.0, 120.0); SetSkill(SkillName.Healing, 50.0, 65.0); SetSkill(SkillName.Archery, 80.0, 120.0); SetSkill(SkillName.Fencing, 80.0, 120.0); Fame = 1000; Karma = 10000; VirtualArmor = 16; AddItem(new Boots(0x2A)); AddItem(new Cloak(0x2A)); PackItem(new Dagger()); StuddedChest chest = new StuddedChest(); AddItem(chest); StuddedLegs legs = new StuddedLegs(); AddItem(legs); LeatherCap head = new LeatherCap(); AddItem(head); StuddedGloves gloves = new StuddedGloves(); AddItem(gloves); StuddedGorget gorget = new StuddedGorget(); AddItem(gorget); StuddedArms arms = new StuddedArms(); AddItem(arms); AddItem(new Bandage(30)); switch (Utility.Random(4)) { case 0: AddItem(new Bow()); AddItem(new Arrow(50)); SetDamage(5, 15); currentweapon = 1; break; case 1: AddItem(new CompositeBow()); AddItem(new Arrow(50)); SetDamage(5, 20); currentweapon = 2; break; case 2: AddItem(new Crossbow()); AddItem(new Bolt(50)); SetDamage(15, 25); currentweapon = 3; break; case 3: AddItem(new HeavyCrossbow()); AddItem(new Bolt(50)); SetDamage(18, 30); currentweapon = 4; break; } }