public override void InitOutfit() { Name = "Mohrgana the healer"; Body = 606; Female = true; Race = Race.Elf; Hue = 2405; HairItemID = 12236; HairHue = 1114; SetStr(298, 325); SetDex(86, 101); SetInt(301, 364); SetSkill(SkillName.EvalInt, 25.8, 33.7); SetSkill(SkillName.Forensics, 80.0, 100.0); SetSkill(SkillName.Healing, 60.0, 83.0); SetSkill(SkillName.MagicResist, 118.7, 128.2); SetSkill(SkillName.SpiritSpeak, 80.0, 100.0); PackGold(46, 61); CrystalStaff weapon = new CrystalStaff(); weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); AddItem(new PlumeCloak(98)); AddItem(new MoonElfPlainDress(98)); AddItem(new HighBoots(98)); }
public ChesterBenedict() : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2) { Name = "Chester Benedict - (Monster Party)"; Body = 400; Female = false; Race = Race.Human; Hue = 33821; HairItemID = 0; HairHue = 0; FacialHairItemID = 8268; FacialHairHue = 1116; InitStats(100, 100, 25); SetSkill(SkillName.Meditation, 60.0, 80.0); SetSkill(SkillName.Focus, 60.0, 80.0); AddItem(new FancyRobe(148)); AddItem(new HeavyBoots(653)); LeatherGloves gloves = new LeatherGloves(); gloves.Movable = true; AddItem(gloves); CrystalStaff weapon = new CrystalStaff(); weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); }
public override void GenerateLoot() { AddLoot(LootPack.Average); AddLoot(LootPack.Potions); if (Utility.RandomDouble() < 0.15) { BaseWeapon weapon = Loot.RandomWeapon(true); switch (Utility.Random(4)) { case 0: weapon = new QuarterStaff(); break; case 1: weapon = new BlackStaff(); break; case 2: weapon = new CrystalStaff(); break; default: weapon = new GnarledStaff(); break; } BaseRunicTool.ApplyAttributesTo(weapon, 2, 10, 20); PackItem(weapon); } }
public override void InitOutfit() { SetStr(76); SetDex(69); SetInt(89); SetSkill(SkillName.Alchemy, 85.0, 100.0); SetSkill(SkillName.EvalInt, 65.0, 88.0); SetSkill(SkillName.Magery, 64.0, 100.0); SetSkill(SkillName.MagicResist, 65.0, 88.0); SetSkill(SkillName.TasteID, 65.0, 88.0); SetSkill(SkillName.Wrestling, 60.0, 83.0); LeatherGloves gloves = new LeatherGloves(); gloves.Movable = true; AddItem(gloves); CrystalStaff weapon = new CrystalStaff(); weapon.Movable = true; weapon.Quality = WeaponQuality.Exceptional; AddItem(weapon); 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(17)) { case 0: AddItem(new CitizenDress(Utility.RandomBlueHue())); break; case 1: AddItem(new CommonerDress(Utility.RandomGreenHue())); break; case 2: AddItem(new ConfessorDress(Utility.RandomRedHue())); break; case 3: AddItem(new ElegantGown(Utility.RandomYellowHue())); break; case 4: AddItem(new FancyDress(Utility.RandomBlueHue())); break; case 5: AddItem(new FlowerDress(Utility.RandomGreenHue())); break; case 6: AddItem(new FormalDress(Utility.RandomRedHue())); break; case 7: AddItem(new GildedDress(Utility.RandomYellowHue())); break; case 8: AddItem(new MaidensDress(Utility.RandomBlueHue())); break; case 9: AddItem(new MedievalLongDress(Utility.RandomGreenHue())); break; case 10: AddItem(new NobleDress(Utility.RandomRedHue())); break; case 11: AddItem(new NocturnalDress(Utility.RandomYellowHue())); break; case 12: AddItem(new PartyDress(Utility.RandomBlueHue())); break; case 13: AddItem(new PlainDress(Utility.RandomGreenHue())); break; case 14: AddItem(new ReinassanceDress(Utility.RandomRedHue())); break; case 15: AddItem(new TheaterDress(Utility.RandomYellowHue())); break; case 16: AddItem(new VictorianDress(Utility.RandomNeutralHue())); break; } 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(8)) { case 0: AddItem(new FancyShirt(Utility.RandomBlueHue())); break; case 1: AddItem(new FancyTunic(Utility.RandomGreenHue())); break; case 2: AddItem(new FormalShirt(Utility.RandomRedHue())); break; case 3: AddItem(new LeatherShirt(Utility.RandomYellowHue())); break; case 4: AddItem(new ReinassanceShirt(Utility.RandomBlueHue())); break; case 5: AddItem(new Shirt(Utility.RandomGreenHue())); break; case 6: AddItem(new Surcoat(Utility.RandomRedHue())); break; case 7: AddItem(new Tunic(Utility.RandomNeutralHue())); break; } switch (Utility.Random(9)) { case 0: AddItem(new FancyPants(Utility.RandomNeutralHue())); break; case 1: AddItem(new FurSarong(Utility.RandomNeutralHue())); break; case 2: AddItem(new Hakama(Utility.RandomNeutralHue())); break; case 3: AddItem(new Kilt(Utility.RandomNeutralHue())); break; case 4: AddItem(new LeatherPants(Utility.RandomNeutralHue())); break; case 5: AddItem(new LongPants(Utility.RandomNeutralHue())); break; case 6: AddItem(new ReinassancePants(Utility.RandomNeutralHue())); break; case 7: AddItem(new ShortPants(Utility.RandomNeutralHue())); break; case 8: AddItem(new TattsukeHakama(Utility.RandomNeutralHue())); break; } 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); } } if (0.05 > Utility.RandomDouble()) { AddItem(new BodySash(Utility.RandomDyedHue())); } if (0.05 > Utility.RandomDouble()) { switch (Utility.Random(6)) { case 0: AddItem(new Bandana(Utility.RandomDyedHue())); break; case 1: AddItem(new Bonnet(Utility.RandomDyedHue())); break; case 2: AddItem(new Cap(Utility.RandomDyedHue())); break; case 3: AddItem(new FeatheredHat(Utility.RandomDyedHue())); break; case 4: AddItem(new SkullCap(Utility.RandomDyedHue())); break; case 5: AddItem(new WideBrimHat(Utility.RandomDyedHue())); break; } } }
public ZaythalorAdventurer() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Title = "the sun elf adventurer"; SetStr(128, 160); SetDex(87, 100); SetInt(250, 300); SetHits(125, 150); SetMana(1150, 1200); SetSkill(SkillName.EvalInt, 76.7, 85.7); SetSkill(SkillName.Magery, 82.6, 93.1); SetSkill(SkillName.MagicResist, 55.9, 58.5); SetSkill(SkillName.Meditation, 99.2, 99.9); SetSkill(SkillName.Wrestling, 49.4, 57.6); Fame = -2500; Karma = 2500; PackReg(15, 25); AddItem(new GemmedCirclet()); AddItem(new Sandals(2129)); CrystalStaff weapon = new CrystalStaff(); weapon.Hue = 2129; weapon.Movable = true; AddItem(weapon); LeafGloves gloves = new LeafGloves(); gloves.Hue = 2129; gloves.Movable = true; AddItem(gloves); if (this.Female = Utility.RandomBool()) { Body = 606; Name = NameList.RandomName("elven female"); Hue = Utility.RandomList(1002, 1003, 1009, 1010, 1011, 1016, 1017, 1023, 1030); HairHue = Utility.RandomList(1502, 1507, 1513, 2213, 2216, 2218); HairItemID = Utility.RandomList(12224, 12225, 12236, 12237, 12238, 12239); SunElfFancyRobe robe = new SunElfFancyRobe(); robe.Hue = 2129; robe.Movable = true; AddItem(robe); } else { Body = 605; Name = NameList.RandomName("elven male"); Hue = Utility.RandomList(1002, 1003, 1009, 1010, 1011, 1016, 1017, 1023, 1030); HairHue = Utility.RandomList(1502, 1507, 1513, 2213, 2216, 2218); HairItemID = Utility.RandomList(12224, 12225, 12236, 12237, 12238, 12239); SunElfFancyRobe robe = new SunElfFancyRobe(); robe.Hue = 2129; robe.Movable = true; AddItem(robe); } Container pack = new Backpack(); pack.DropItem(new Pitcher(BeverageType.Water)); pack.DropItem(new Gold(Utility.RandomMinMax(5, 8))); pack.DropItem(new BlackPearl(Utility.RandomMinMax(5, 10))); pack.DropItem(new Bloodmoss(Utility.RandomMinMax(5, 10))); pack.DropItem(new Garlic(Utility.RandomMinMax(5, 10))); pack.DropItem(new Ginseng(Utility.RandomMinMax(5, 10))); pack.DropItem(new MandrakeRoot(Utility.RandomMinMax(5, 10))); pack.DropItem(new Nightshade(Utility.RandomMinMax(5, 10))); pack.DropItem(new SpidersSilk(Utility.RandomMinMax(5, 10))); pack.DropItem(new SulfurousAsh(Utility.RandomMinMax(5, 10))); PackItem(pack); switch (Utility.Random(32)) { case 0: PackItem(new ClumsyScroll()); break; case 1: PackItem(new CreateFoodScroll()); break; case 2: PackItem(new FeeblemindScroll()); break; case 3: PackItem(new HealScroll()); break; case 4: PackItem(new MagicArrowScroll()); break; case 5: PackItem(new NightSightScroll()); break; case 6: PackItem(new ReactiveArmorScroll()); break; case 7: PackItem(new WeakenScroll()); break; case 8: PackItem(new AgilityScroll()); break; case 9: PackItem(new CunningScroll()); break; case 10: PackItem(new CureScroll()); break; case 11: PackItem(new HarmScroll()); break; case 12: PackItem(new MagicTrapScroll()); break; case 13: PackItem(new MagicUnTrapScroll()); break; case 14: PackItem(new ProtectionScroll()); break; case 15: PackItem(new StrengthScroll()); break; case 16: PackItem(new BlessScroll()); break; case 17: PackItem(new FireballScroll()); break; case 18: PackItem(new MagicLockScroll()); break; case 19: PackItem(new PoisonScroll()); break; case 20: PackItem(new TelekinisisScroll()); break; case 21: PackItem(new TeleportScroll()); break; case 22: PackItem(new UnlockScroll()); break; case 23: PackItem(new WallOfStoneScroll()); break; case 24: PackItem(new ArchCureScroll()); break; case 25: PackItem(new ArchProtectionScroll()); break; case 26: PackItem(new CurseScroll()); break; case 27: PackItem(new FireFieldScroll()); break; case 28: PackItem(new GreaterHealScroll()); break; case 29: PackItem(new LightningScroll()); break; case 30: PackItem(new ManaDrainScroll()); break; case 31: PackItem(new RecallScroll()); break; } }