public InternalSellInfo() { Add(typeof(Hide), Hide.GetSBSellValue()); Add(typeof(SkinningKnife), SkinningKnife.GetSBSellValue()); Add(typeof(LeatherCap), LeatherCap.GetSBSellValue()); Add(typeof(LeatherGorget), LeatherGorget.GetSBSellValue()); Add(typeof(LeatherArms), LeatherArms.GetSBSellValue()); Add(typeof(LeatherGloves), LeatherGloves.GetSBSellValue()); Add(typeof(LeatherChest), LeatherChest.GetSBSellValue()); Add(typeof(FemaleLeatherChest), FemaleLeatherChest.GetSBSellValue()); Add(typeof(LeatherBustier), LeatherBustier.GetSBSellValue()); Add(typeof(LeatherLegs), LeatherLegs.GetSBSellValue()); Add(typeof(LeatherSkirt), LeatherSkirt.GetSBSellValue()); Add(typeof(LeatherShorts), LeatherShorts.GetSBSellValue()); Add(typeof(StuddedCap), StuddedCap.GetSBSellValue()); Add(typeof(StuddedGorget), StuddedGorget.GetSBSellValue()); Add(typeof(StuddedArms), StuddedArms.GetSBSellValue()); Add(typeof(StuddedGloves), StuddedGloves.GetSBSellValue()); Add(typeof(StuddedChest), StuddedChest.GetSBSellValue()); Add(typeof(FemaleStuddedChest), FemaleStuddedChest.GetSBSellValue()); Add(typeof(StuddedBustier), StuddedBustier.GetSBSellValue()); Add(typeof(StuddedLegs), StuddedLegs.GetSBSellValue()); Add(typeof(Shoes), Shoes.GetSBSellValue()); Add(typeof(Sandals), Sandals.GetSBSellValue()); Add(typeof(Boots), Boots.GetSBSellValue()); Add(typeof(ThighBoots), ThighBoots.GetSBSellValue()); }
public InternalBuyInfo() { Add(new GenericBuyInfo("Skinning Knife", typeof(SkinningKnife), SkinningKnife.GetSBPurchaseValue(), 50, 0xEC4, 0)); Add(new GenericBuyInfo("Leather Cap", typeof(LeatherCap), LeatherCap.GetSBPurchaseValue(), 25, 7610, 0)); Add(new GenericBuyInfo("Leather Gorget", typeof(LeatherGorget), LeatherGorget.GetSBPurchaseValue(), 25, 5063, 0)); Add(new GenericBuyInfo("Leather Arms", typeof(LeatherArms), LeatherArms.GetSBPurchaseValue(), 25, 5061, 0)); Add(new GenericBuyInfo("Leather Gloves", typeof(LeatherGloves), LeatherGloves.GetSBPurchaseValue(), 25, 5070, 0)); Add(new GenericBuyInfo("Leather Chest", typeof(LeatherChest), LeatherChest.GetSBPurchaseValue(), 25, 5075, 0)); Add(new GenericBuyInfo("Female Leather Chest", typeof(FemaleLeatherChest), FemaleLeatherChest.GetSBPurchaseValue(), 25, 7175, 0)); Add(new GenericBuyInfo("Leather Bustier", typeof(LeatherBustier), LeatherBustier.GetSBPurchaseValue(), 25, 7179, 0)); Add(new GenericBuyInfo("Leather Legs", typeof(LeatherLegs), LeatherLegs.GetSBPurchaseValue(), 25, 5074, 0)); Add(new GenericBuyInfo("Leather Skirt", typeof(LeatherSkirt), LeatherSkirt.GetSBPurchaseValue(), 25, 7177, 0)); Add(new GenericBuyInfo("Leather Shorts", typeof(LeatherShorts), LeatherShorts.GetSBPurchaseValue(), 25, 7169, 0)); Add(new GenericBuyInfo("Studded Cap", typeof(StuddedCap), StuddedCap.GetSBPurchaseValue(), 25, 7610, 1507)); Add(new GenericBuyInfo("Studded Gorget", typeof(StuddedGorget), StuddedGorget.GetSBPurchaseValue(), 25, 5078, 0)); Add(new GenericBuyInfo("Studded Arms", typeof(StuddedArms), StuddedArms.GetSBPurchaseValue(), 25, 5076, 0)); Add(new GenericBuyInfo("Studded Gloves", typeof(StuddedGloves), StuddedGloves.GetSBPurchaseValue(), 25, 5085, 0)); Add(new GenericBuyInfo("Studded Chest", typeof(StuddedChest), StuddedChest.GetSBPurchaseValue(), 25, 5090, 0)); Add(new GenericBuyInfo("Female Studded Chest", typeof(FemaleStuddedChest), FemaleStuddedChest.GetSBPurchaseValue(), 25, 7170, 0)); Add(new GenericBuyInfo("Studded Bustier", typeof(StuddedBustier), StuddedBustier.GetSBPurchaseValue(), 25, 7181, 0)); Add(new GenericBuyInfo("Studded Legs", typeof(StuddedLegs), StuddedLegs.GetSBPurchaseValue(), 25, 5089, 0)); Add(new GenericBuyInfo("Shoes", typeof(Shoes), Shoes.GetSBPurchaseValue(), 25, 0x170F, 0)); Add(new GenericBuyInfo("Sandals", typeof(Sandals), Sandals.GetSBPurchaseValue(), 25, 0x170D, 0)); Add(new GenericBuyInfo("Boots", typeof(Boots), Boots.GetSBPurchaseValue(), 25, 0x170B, 0)); Add(new GenericBuyInfo("Thigh Boots", typeof(ThighBoots), ThighBoots.GetSBPurchaseValue(), 25, 0x1711, 0)); }
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 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()); 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 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 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 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 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 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 override void InitOutfit() { 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); PackGold(23, 35); if (this.Female = Utility.RandomBool()) { this.Body = 0x191; this.Name = NameList.RandomName("female"); this.Hue = Utility.RandomSkinHue(); this.HairHue = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153); this.HairItemID = Utility.RandomList(8251, 8252, 8253, 8260, 8261, 8262, 8263, 8264, 8265); switch (Utility.Random(8)) { case 0: AddItem(new Boots(Utility.RandomNeutralHue())); break; case 1: AddItem(new FurBoots(Utility.RandomNeutralHue())); break; case 2: AddItem(new LightBoots(Utility.RandomNeutralHue())); break; case 3: AddItem(new Sandals(Utility.RandomNeutralHue())); break; case 4: AddItem(new ShortBoots(Utility.RandomNeutralHue())); break; case 5: AddItem(new ThighBoots(Utility.RandomNeutralHue())); break; } if (0.05 > Utility.RandomDouble()) { SilverBracelet bracelet = new SilverBracelet(); bracelet.Hue = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153); bracelet.Movable = true; AddItem(bracelet); } if (0.05 > Utility.RandomDouble()) { SilverNecklace necklace = new SilverNecklace(); necklace.Hue = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153); necklace.Movable = true; AddItem(necklace); } if (0.05 > Utility.RandomDouble()) { SilverEarrings earrings = new SilverEarrings(); earrings.Hue = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153); earrings.Movable = true; AddItem(earrings); } } else { this.Body = 0x190; this.Name = NameList.RandomName("male"); this.Hue = Utility.RandomSkinHue(); this.HairHue = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153); this.HairItemID = Utility.RandomList(8251, 8252, 8253, 8260, 8261, 8262, 8263, 8264, 8265); this.FacialHairHue = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153); this.FacialHairItemID = Utility.RandomList(8254, 8255, 8256, 8257, 8267, 8268, 8269); switch (Utility.Random(6)) { case 0: AddItem(new Boots(Utility.RandomNeutralHue())); break; case 1: AddItem(new HeavyBoots(Utility.RandomNeutralHue())); break; case 2: AddItem(new HighBoots(Utility.RandomNeutralHue())); break; case 3: AddItem(new Shoes(Utility.RandomNeutralHue())); break; case 4: AddItem(new ShortBoots(Utility.RandomNeutralHue())); break; case 5: AddItem(new ThighBoots(Utility.RandomNeutralHue())); break; } if (0.05 > Utility.RandomDouble()) { SilverBracelet bracelet = new SilverBracelet(); bracelet.Hue = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153); bracelet.Movable = true; AddItem(bracelet); } if (0.05 > Utility.RandomDouble()) { SilverEarrings earrings = new SilverEarrings(); earrings.Hue = Utility.RandomList(26, 44, 81, 1102, 1107, 1108, 1109, 1116, 1117, 1122, 1138, 1140, 1141, 1146, 1148, 1149, 1153); earrings.Movable = true; AddItem(earrings); } } }
public RangerGuardOfRedDaggerKeep() : base(AIType.AI_Archer, FightMode.Closest, 15, 1, 0.1, 0.2) { Title = "Ranger Guard of Red Dagger Keep"; 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(643)); AddItem(new PlumeCloak(238)); StuddedGorget gorget = new StuddedGorget(); gorget.Hue = 643; gorget.Movable = true; AddItem(gorget); StuddedArms arms = new StuddedArms(); arms.Hue = 643; arms.Movable = true; AddItem(arms); StuddedGloves gloves = new StuddedGloves(); gloves.Hue = 238; gloves.Movable = true; AddItem(gloves); EbonyWarBow weapon = new EbonyWarBow(); BaseRunicTool.ApplyAttributesTo(weapon, 5, 25, 35); weapon.WeaponAttributes.HitLightning = 25; weapon.Hue = 238; weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); PackItem(new Arrow(Utility.RandomMinMax(50, 80))); if (Female = Utility.RandomBool()) { Body = 606; Name = NameList.RandomName("elven female"); Hue = Utility.RandomList(897, 898, 899, 2405); HairHue = 1153; HairItemID = Utility.RandomList(12224, 12225, 12236, 12237, 12238, 12239); FemaleStuddedChest chest = new FemaleStuddedChest(); chest.Hue = 238; chest.Movable = true; AddItem(chest); } else { Body = 605; Name = NameList.RandomName("elven male"); Hue = Utility.RandomList(897, 898, 899, 2405); HairHue = 1153; HairItemID = Utility.RandomList(12224, 12225, 12236, 12237, 12238, 12239); StuddedChest chest = new StuddedChest(); chest.Hue = 238; chest.Movable = true; AddItem(chest); StuddedLegs legs = new StuddedLegs(); legs.Hue = 238; legs.Movable = true; AddItem(legs); } }
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; } }
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 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 TempleRangerOfElmhaven() : base(AIType.AI_Archer, FightMode.Closest, 15, 1, 0.1, 0.2) { Title = "Temple Ranger of Elmhaven"; 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; Crossbow weapon = new Crossbow(); weapon.Hue = 2126; weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); PackItem(new Bolt(Utility.RandomMinMax(50, 80))); AddItem(new HighBoots(2130)); AddItem(new Bandana(2125)); AddItem(new Cloak(2126)); StuddedGorget gorget = new StuddedGorget(); gorget.Hue = 2126; gorget.Movable = true; AddItem(gorget); StuddedArms arms = new StuddedArms(); arms.Hue = 2126; arms.Movable = true; AddItem(arms); StuddedGloves gloves = new StuddedGloves(); gloves.Hue = 2130; gloves.Movable = true; AddItem(gloves); if (Female = Utility.RandomBool()) { Body = 401; Name = NameList.RandomName("female"); FemaleStuddedChest chest = new FemaleStuddedChest(); chest.Hue = 2130; chest.Movable = true; AddItem(chest); } else { Body = 400; Name = NameList.RandomName("male"); StuddedChest chest = new StuddedChest(); chest.Hue = 2130; chest.Movable = true; AddItem(chest); StuddedLegs legs = new StuddedLegs(); legs.Hue = 2130; legs.Movable = true; AddItem(legs); } Utility.AssignRandomHair(this); }
public ZaythalorForestRanger() : base(AIType.AI_Archer, FightMode.Closest, 15, 1, 0.1, 0.2) { Title = "Protector of Zaythalor Forest"; SetStr(800, 900); SetDex(900, 1000); 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); Bow weapon = new Bow(); weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); PackItem(new Arrow(Utility.RandomMinMax(50, 80))); AddItem(new Boots(1436)); AddItem(new Cloak(23)); AddItem(new BodySash(23)); StuddedArms arms = new StuddedArms(); arms.Hue = 2126; arms.Movable = true; AddItem(arms); StuddedChest chest = new StuddedChest(); chest.Hue = 1436; chest.Movable = true; AddItem(chest); StuddedGloves gloves = new StuddedGloves(); gloves.Hue = 1436; gloves.Movable = true; AddItem(gloves); StuddedGorget gorget = new StuddedGorget(); gorget.Hue = 2126; gorget.Movable = true; AddItem(gorget); StuddedLegs legs = new StuddedLegs(); legs.Hue = 2126; legs.Movable = true; AddItem(legs); if (Female = Utility.RandomBool()) { Body = 401; Name = NameList.RandomName("female"); } else { Body = 400; Name = NameList.RandomName("male"); } Utility.AssignRandomHair(this); }
public void ChooseArmor(ArmorClass ac, CraftResource res, ArmorQuality qual) { BaseArmor tete = null; BaseArmor gorget = null; BaseArmor bras = null; BaseArmor mains = null; BaseArmor torse = null; BaseArmor jambes = null; switch (ac) { case ArmorClass.Cuir: tete = new LeatherCap(); gorget = new LeatherGorget(); bras = new LeatherArms(); mains = new LeatherGloves(); torse = new LeatherChest(); jambes = new LeatherLegs(); break; case ArmorClass.Cloute: tete = new LeatherCap(); gorget = new StuddedGorget(); bras = new StuddedArms(); mains = new StuddedGloves(); torse = new StuddedChest(); jambes = new StuddedLegs(); break; case ArmorClass.Os: tete = new BoneHelm(); gorget = new StuddedGorget(); bras = new BoneArms(); mains = new BoneGloves(); torse = new BoneChest(); jambes = new BoneLegs(); break; case ArmorClass.Plaque: tete = new PlateHelm(); gorget = new PlateGorget(); bras = new PlateArms(); mains = new PlateGloves(); torse = new PlateChest(); jambes = new PlateLegs(); break; case ArmorClass.PlaqueLourde: tete = new ArmureDaedricHelm(); gorget = new ArmureDaedricGorget(); bras = new ArmureDaedricGreaves(); mains = new ArmureDaedricGloves(); torse = new ArmureDaedricTunic(); jambes = new ArmureDaedricLeggings(); break; } if (tete != null) { tete.Resource = res; tete.Quality = qual; AddItem(tete); } if (gorget != null) { gorget.Resource = res; gorget.Quality = qual; AddItem(gorget); } if (bras != null) { bras.Resource = res; bras.Quality = qual; AddItem(bras); } if (mains != null) { mains.Resource = res; mains.Quality = qual; AddItem(mains); } if (torse != null) { torse.Resource = res; torse.Quality = qual; AddItem(torse); } if (jambes != null) { jambes.Resource = res; jambes.Quality = qual; AddItem(jambes); } }
public WoodElfEliteWarrior() : base(AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4) { Body = 0x190; Name = NameList.RandomName("male"); Hue = 0x597; SetStr(60, 80); SetDex(81, 95); SetInt(70, 100); SetHits(80, 100); SetStam(81, 95); SetDamage(10, 30); SetSkill(SkillName.Swords, 60.0, 100.0); //we dont need to give him uberskillz SetSkill(SkillName.Tactics, 50.0, 100.0); SetSkill(SkillName.MagicResist, 15.0, 38.0); SetSkill(SkillName.Wrestling, 25.0, 40.0); Fame = 0; Karma = Utility.RandomMinMax(-2500, -5000); VirtualArmor = 18; //AddItem(Server.Items.Hair.GetRandomHair(Female)); AddItem(new Sandals(Utility.RandomNeutralHue())); AddItem(new VikingSword()); AddItem(new WoodenShield()); AddItem(new Goatee(Serial.NewItem)); AddItem(new MetalKiteShield()); StuddedChest che = new StuddedChest(); che.Hue = 0x045e; StuddedGloves glo = new StuddedGloves(); glo.Hue = 0x045e; StuddedLegs leg = new StuddedLegs(); leg.Hue = 0x0599; StuddedArms arm = new StuddedArms(); arm.Hue = 0x0599; StuddedGorget gor = new StuddedGorget(); gor.Hue = 0x045e; BodySash sas = new BodySash(); sas.Hue = 0x0599; Cloak cape = new Cloak(); cape.Hue = 0x045e; AddItem(cape); AddItem(gor); AddItem(sas); AddItem(arm); AddItem(glo); AddItem(leg); AddItem(che); }
public SailorArcher() : base(AIType.AI_Archer, FightMode.Aggressor, 10, 1, 0.2, 0.4) { SpeechHue = Utility.RandomDyedHue(); switch (Utility.RandomMinMax(0, 4)) { case 0: Title = "the sailor"; break; case 1: Title = "the fisherman"; break; case 2: Title = "the mariner"; break; case 3: Title = "the archer"; break; case 4: Title = "the seafarer"; break; } Hue = Utility.RandomSkinHue(); if (this.Female = Utility.RandomBool()) { Body = 0x191; Name = NameList.RandomName("female"); AddItem(new Skirt(RandomThings.GetRandomColor(0))); Utility.AssignRandomHair(this); HairHue = Utility.RandomHairHue(); } else { Body = 0x190; Name = NameList.RandomName("male"); AddItem(new ShortPants(RandomThings.GetRandomColor(0))); Utility.AssignRandomHair(this); int HairColor = Utility.RandomHairHue(); FacialHairItemID = Utility.RandomList(0, 8254, 8255, 8256, 8257, 8267, 8268, 8269); HairHue = HairColor; FacialHairHue = HairColor; } SetStr(86, 100); SetDex(81, 95); SetInt(61, 75); SetDamage(10, 23); SetSkill(SkillName.Archery, 80.1, 90.0); SetSkill(SkillName.Wrestling, 66.0, 97.5); SetSkill(SkillName.MagicResist, 25.0, 47.5); SetSkill(SkillName.Tactics, 65.0, 87.5); Fame = 2000; Karma = 2000; AddItem(new Boots(Utility.RandomNeutralHue())); AddItem(new FancyShirt(RandomThings.GetRandomColor(0))); AddItem(new SkullCap(RandomThings.GetRandomColor(0))); int lHue = Utility.RandomMetalHue(); if (Utility.RandomMinMax(1, 3) == 3) { Item cloth1 = new StuddedChest(); cloth1.Hue = lHue; AddItem(cloth1); Item cloth2 = new StuddedArms(); cloth2.Hue = lHue; AddItem(cloth2); Item cloth3 = new StuddedLegs(); cloth3.Hue = lHue; AddItem(cloth3); Item cloth4 = new StuddedGorget(); cloth4.Hue = lHue; AddItem(cloth4); } else { Item cloth1 = new LeatherArms(); cloth1.Hue = lHue; AddItem(cloth1); Item cloth2 = new LeatherChest(); cloth2.Hue = lHue; AddItem(cloth2); Item cloth3 = new LeatherGorget(); cloth3.Hue = lHue; AddItem(cloth3); Item cloth4 = new LeatherLegs(); cloth4.Hue = lHue; AddItem(cloth4); } switch (Utility.Random(2)) { case 0: AddItem(new Crossbow()); PackItem(new Bolt(Utility.RandomMinMax(15, 55))); break; case 1: AddItem(new Bow()); PackItem(new Arrow(Utility.RandomMinMax(15, 55))); break; } }
public override void InitOutfit() { Name = "Grog-muk Nag"; Body = 400; Female = false; Race = Race.Human; Hue = 2212; HairItemID = 8265; HairHue = 1109; FacialHairItemID = 0; FacialHairHue = 0; SetStr(287); SetDex(159); SetInt(78); SetSkill(SkillName.ArmsLore, 64.0, 100.0); SetSkill(SkillName.Blacksmith, 65.0, 88.0); SetSkill(SkillName.Fencing, 45.0, 68.0); SetSkill(SkillName.Macing, 45.0, 68.0); SetSkill(SkillName.Swords, 45.0, 68.0); SetSkill(SkillName.Tactics, 36.0, 68.0); PackGold(42, 68); AddItem(new OrcishKinMask(2212)); StuddedArms arms = new StuddedArms(); arms.Hue = 2423; arms.Movable = false; AddItem(arms); StuddedChest chest = new StuddedChest(); chest.Hue = 2423; chest.Movable = false; AddItem(chest); StuddedGloves gloves = new StuddedGloves(); gloves.Hue = 2423; gloves.Movable = false; AddItem(gloves); StuddedGorget gorget = new StuddedGorget(); gorget.Hue = 2423; gorget.Movable = false; AddItem(gorget); StuddedLegs legs = new StuddedLegs(); legs.Hue = 2423; legs.Movable = false; AddItem(legs); DoubleBladedStaff weapon = new DoubleBladedStaff(); weapon.Movable = false; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); AddItem(new Boots(993)); }
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 BarFlyWarriorWest() : base( ) { if (Utility.RandomMinMax(1, 2) == 1) { Body = 401; Name = NameList.RandomName("female"); } else { Body = 400; Name = NameList.RandomName("male"); FacialHairItemID = Utility.RandomList(0, 0, 8254, 8255, 8256, 8257, 8267, 8268, 8269); } Direction = Direction.West; Blessed = true; CantWalk = true; Title = TavernPatrons.GetTitle(); Hue = Utility.RandomSkinHue(); Utility.AssignRandomHair(this); SpeechHue = Utility.RandomDyedHue(); NameHue = Utility.RandomOrangeHue(); SetStr(386, 400); SetDex(151, 165); SetInt(161, 175); SetHits(300, 400); SetDamage(8, 10); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 35, 45); SetResistance(ResistanceType.Fire, 25, 30); SetResistance(ResistanceType.Cold, 25, 30); SetResistance(ResistanceType.Poison, 10, 20); SetResistance(ResistanceType.Energy, 10, 20); SetSkill(SkillName.DetectHidden, 80.0); SetSkill(SkillName.Anatomy, 125.0); SetSkill(SkillName.Poisoning, 60.0, 82.5); SetSkill(SkillName.MagicResist, 83.5, 92.5); SetSkill(SkillName.Swords, 125.0); SetSkill(SkillName.Tactics, 125.0); SetSkill(SkillName.Wrestling, 100); Fame = 0; Karma = 0; VirtualArmor = 30; PackItem(new Longsword()); AddItem(new Boots(Utility.RandomNeutralHue())); if (1 == Utility.RandomMinMax(1, 2)) { AddItem(new Cloak(RandomThings.GetRandomColor(0))); } int aHue = Utility.RandomList(0x973, 0x966, 0x96D, 0x972, 0x8A5, 0x979, 0x89F, 0x8AB, 0, Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue()); int lHue = Utility.RandomList(0x8AC, 0x845, 0x851, 0x47E, 0x4AA, 0xB85, 0x497, 0x89F, 0x483, 0, Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue(), Utility.RandomMetalHue()); int iArmor = Utility.RandomMinMax(1, 4); if (iArmor == 1) { Item cloth1 = new PlateArms(); cloth1.Hue = aHue; AddItem(cloth1); Item cloth2 = new PlateGorget(); cloth2.Hue = aHue; AddItem(cloth2); Item cloth3 = new PlateLegs(); cloth3.Hue = aHue; AddItem(cloth3); Item cloth4 = new PlateChest(); cloth4.Hue = aHue; AddItem(cloth4); } else if (iArmor == 2) { Item cloth1 = new ChainChest(); cloth1.Hue = aHue; AddItem(cloth1); Item cloth2 = new ChainLegs(); cloth2.Hue = aHue; AddItem(cloth2); Item cloth3 = new RingmailArms(); cloth3.Hue = aHue; AddItem(cloth3); Item cloth4 = new PlateGorget(); cloth4.Hue = aHue; AddItem(cloth4); } else if (iArmor == 3) { Item cloth1 = new StuddedChest(); cloth1.Hue = lHue; AddItem(cloth1); Item cloth2 = new StuddedArms(); cloth2.Hue = lHue; AddItem(cloth2); Item cloth3 = new StuddedLegs(); cloth3.Hue = lHue; AddItem(cloth3); Item cloth4 = new StuddedGorget(); cloth4.Hue = lHue; AddItem(cloth4); } else { Item cloth1 = new LeatherArms(); cloth1.Hue = lHue; AddItem(cloth1); Item cloth2 = new LeatherChest(); cloth2.Hue = lHue; AddItem(cloth2); Item cloth3 = new LeatherGorget(); cloth3.Hue = lHue; AddItem(cloth3); Item cloth4 = new LeatherLegs(); cloth4.Hue = lHue; AddItem(cloth4); } int HairColor = Utility.RandomHairHue(); HairHue = HairColor; FacialHairHue = HairColor; }
public Mercenary() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the mercenary"; Name = NameList.RandomName(Female ? "female" : "male"); Hue = Utility.RandomSkinHue(); SetStr(25, 88); SetDex(25, 88); SetInt(37, 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); switch (Utility.Random(5)) { case 0: item = new PlateChest(); break; case 1: item = new ChainChest(); break; case 2: item = new StuddedChest(); break; case 3: item = new RingmailChest(); break; case 4: default: item = new LeatherChest(); break; } AddItem(item); switch (Utility.Random(5)) { case 0: item = new PlateLegs(); break; case 1: item = new ChainLegs(); break; case 2: item = new StuddedLegs(); break; case 3: item = new RingmailLegs(); break; case 4: default: item = new LeatherLegs(); break; } AddItem(item); switch (Utility.Random(4)) { case 0: item = new PlateArms(); break; case 1: item = new RingmailArms(); break; case 2: item = new StuddedArms(); break; case 3: default: item = new LeatherArms(); break; } AddItem(item); switch (Utility.Random(3)) { case 0: item = new PlateGloves(); break; case 1: item = new StuddedGloves(); break; case 2: default: item = new LeatherGloves(); break; } 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); switch (Utility.Random(7)) { case 0: item = new BronzeShield(); break; case 1: item = new Buckler(); break; case 2: item = new HeaterShield(); break; case 3: item = new MetalKiteShield(); break; case 4: item = new MetalShield(); break; case 5: item = new WoodenKiteShield(); break; case 6: default: item = new WoodenShield(); break; } AddItem(item); switch (Utility.Random(4)) { case 0: item = new PlateGorget(); break; case 1: item = new StuddedGorget(); break; default: case 2: item = new LeatherGorget(); break; } AddItem(item); item = Loot.RandomWeapon(); AddItem(item); PackGold(15, 100); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); switch (Utility.Random(5)) { case 0: item = new PlateChest(); break; case 1: item = new ChainChest(); break; case 2: item = new StuddedChest(); break; case 3: item = new RingmailChest(); break; case 4: default: item = new LeatherChest(); break; } AddItem(item); switch (Utility.Random(5)) { case 0: item = new PlateLegs(); break; case 1: item = new ChainLegs(); break; case 2: item = new StuddedLegs(); break; case 3: item = new RingmailLegs(); break; case 4: default: item = new LeatherLegs(); break; } AddItem(item); switch (Utility.Random(3)) { case 0: item = new PlateGloves(); break; case 1: item = new StuddedGloves(); break; case 2: default: item = new LeatherGloves(); break; } 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); switch (Utility.Random(7)) { case 0: item = new BronzeShield(); break; case 1: item = new Buckler(); break; case 2: item = new HeaterShield(); break; case 3: item = new MetalKiteShield(); break; case 4: item = new MetalShield(); break; case 5: item = new WoodenKiteShield(); break; case 6: default: item = new WoodenShield(); break; } AddItem(item); switch (Utility.Random(4)) { case 0: item = new PlateGorget(); break; case 1: item = new StuddedGorget(); break; default: case 2: item = new LeatherGorget(); break; } AddItem(item); item = Loot.RandomWeapon(); AddItem(item); PackGold(15, 100); } }
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 NightGuard() : base(AIType.AI_Melee, FightMode.Aggressor, 14, 1, 0.8, 1.6) { SpeechHue = Utility.RandomDyedHue(); Title = "A Night Guard"; Name = NameList.RandomName("male"); Hue = Utility.RandomSkinHue(); Body = 0x190; InitStats(115, 100, 85); SetHits(100); SetDamage(22); Skills[SkillName.Anatomy].Base = 120.0; Skills[SkillName.Tactics].Base = 120.0; Skills[SkillName.Fencing].Base = 120.0; Skills[SkillName.MagicResist].Base = 120.0; Skills[SkillName.DetectHidden].Base = 100.0; StuddedChest sChest = new StuddedChest(); sChest.Hue = 1899; AddItem(sChest); StuddedArms sArms = new StuddedArms(); sArms.Hue = 1899; AddItem(sArms); StuddedGloves sGloves = new StuddedGloves(); sGloves.Hue = 1899; AddItem(sGloves); StuddedGorget sGorget = new StuddedGorget(); sGorget.Hue = 1899; AddItem(sGorget); StuddedLegs sLegs = new StuddedLegs(); sLegs.Hue = 1899; AddItem(sLegs); AddItem(new Boots(1899)); AddItem(new SkullCap(1899)); Kryss k = new Kryss(); k.Hue = 1899; AddItem(k); SetStr(95); SetDex(100); SetInt(60); SetHits(210); SetDamage(30); SetDamageType(ResistanceType.Physical, 5); SetDamageType(ResistanceType.Cold, 5); SetDamageType(ResistanceType.Fire, 5); SetDamageType(ResistanceType.Energy, 5); SetDamageType(ResistanceType.Poison, 80); SetResistance(ResistanceType.Physical, 25); SetResistance(ResistanceType.Cold, 25); SetResistance(ResistanceType.Fire, 25); SetResistance(ResistanceType.Energy, 25); SetResistance(ResistanceType.Poison, 100); Fame = 3500; Karma = 3500; VirtualArmor = 40; PackGold(700, 900); }