public Aulan() : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2) { Name = "Aulan"; Title = "the expeditionist"; Race = Race.Elf; BodyValue = 0x25D; Female = false; Hue = Race.RandomSkinHue(); InitStats(100, 100, 25); Utility.AssignRandomHair(this, true); SetSkill(SkillName.Meditation, 60.0, 80.0); SetSkill(SkillName.Focus, 60.0, 80.0); Item item; item = new ElvenBoots(); item.Hue = Utility.RandomYellowHue(); AddItem(item); AddItem(new ElvenPants(Utility.RandomGreenHue())); AddItem(new Cloak(Utility.RandomGreenHue())); AddItem(new Circlet()); item = new HideChest(); item.Hue = Utility.RandomYellowHue(); AddItem(item); item = new HideGloves(); item.Hue = Utility.RandomYellowHue(); AddItem(item); }
public Syth() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { SpeechHue = Utility.RandomTalkHue(); Title = "the Syth"; Hue = Utility.RandomSkinColor(); if (Utility.RandomBool()) { Hue = Utility.RandomList(0x6F6, 0x97F, 0x99B, 0x6E4, 0x5E0, 0xB38, 0xB2B); } if (this.Female = Utility.RandomBool()) { Body = 0x191; Name = NameList.RandomName("dark_elf_prefix_male") + NameList.RandomName("dark_elf_suffix_female"); Utility.AssignRandomHair(this); HairHue = Utility.RandomHairHue(); } else { Body = 0x190; Name = NameList.RandomName("dark_elf_prefix_female") + NameList.RandomName("dark_elf_suffix_male"); Utility.AssignRandomHair(this); int HairColor = Utility.RandomHairHue(); FacialHairItemID = Utility.RandomList(0, 8254, 8255, 8256, 8257, 8267, 8268, 8269); HairHue = HairColor; FacialHairHue = HairColor; } SetStr(350, 400); SetDex(177, 255); SetInt(350, 400); SetHits(502, 531); SetDamage(22, 29); SetDamageType(ResistanceType.Physical, 50); SetDamageType(ResistanceType.Energy, 50); SetResistance(ResistanceType.Physical, 45, 55); SetResistance(ResistanceType.Fire, 30, 40); SetResistance(ResistanceType.Cold, 30, 40); SetResistance(ResistanceType.Poison, 40, 50); SetResistance(ResistanceType.Energy, 60, 70); SetSkill(SkillName.EvalInt, 100.5, 150.0); SetSkill(SkillName.Magery, 100.5, 150.0); SetSkill(SkillName.Meditation, 100.5, 150.0); SetSkill(SkillName.MagicResist, 100.5, 150.0); SetSkill(SkillName.Anatomy, 100.5, 150.0); SetSkill(SkillName.MagicResist, 100.5, 150.0); SetSkill(SkillName.Wrestling, 100.5, 150.0); SetSkill(SkillName.Swords, 100.5, 150.0); SetSkill(SkillName.Tactics, 100.5, 150.0); Fame = 14000; Karma = -14000; int color = Utility.RandomList(0xB80, 0xB5E, 0xB39, 0xB3A, 0xA9F, 0x99E, 0x997, 0x8D9, 0x8DA, 0x8DB, 0x8DC, 0x8B9); VirtualArmor = 90; Item robe = new AssassinRobe(color); robe.Name = "Syth robe"; AddItem(robe); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(robe, this); } Item boots = new ElvenBoots(color); boots.Name = "Syth boots"; AddItem(boots); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(boots, this); } if (Utility.RandomBool()) { Item cloak = new Cloak(color); cloak.Name = "Syth cloak"; AddItem(cloak); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(cloak, this); } } if (Utility.RandomBool()) { Item gloves = new LeatherGloves(); gloves.Hue = color; gloves.Name = "Syth gloves"; AddItem(gloves); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(gloves, this); } } Item hood = new FloppyHat(color); hood.Name = "Syth hood"; hood.ItemID = 0x4CDA; if (Utility.RandomMinMax(1, 4) == 1) { hood.Name = "Syth cowl"; hood.ItemID = 0x4CDC; } AddItem(hood); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(hood, this); } if (Utility.RandomMinMax(1, 5) == 1) { if (Utility.RandomMinMax(1, 5) == 1) { Item sword = new DoubleLaserSword(); sword.Name = "Syth double laser sword"; ((BaseWeapon)sword).Attributes.SpellChanneling = 1; AddItem(sword); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(sword, this); } } else { Item sword = new LightSword(); sword.Name = "Syth laser sword"; ((BaseWeapon)sword).Attributes.SpellChanneling = 1; AddItem(sword); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(sword, this); } } } else { Item sword = new Longsword(); sword.Name = "Syth sword"; ((BaseWeapon)sword).Attributes.SpellChanneling = 1; AddItem(sword); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(sword, this); } if (Server.Misc.MaterialInfo.IsMetalItem(sword) && Utility.RandomMinMax(1, 20) == 1) { ((BaseWeapon)sword).Resource = CraftResource.Xormite; } else if (Server.Misc.MaterialInfo.IsMetalItem(sword)) { Server.Misc.MorphingTime.MakeSpaceAceMetalArmorWeapon(sword, null); } } }
public LockeCole() : base(AIType.AI_Arcade, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Locke Cole"; Body = 400; Hue = 1162; SpecialTitle = "Undead Treasure Hunter"; TitleHue = 1174; BaseSoundID = 362; SetStr(500); SetDex(400); SetInt(100); SetHits(400000); SetDamage(2, 4); foreach (SkillName skill in _Skills) { SetSkill(skill, 80.0, 140.0); } SpeechHue = YellHue = 34; VirtualArmor = 90; PackGold(3000, 3500); PackMagicItems(5, 5, 0.95, 0.95); PackMagicItems(5, 5, 0.80, 0.65); PackMagicItems(5, 5, 0.80, 0.65); PackMagicItems(6, 6, 0.80, 0.65); Damagers = new Dictionary <PlayerMobile, int>(); var helm = new SkullCap(); helm.Name = "Locke's Bandana"; helm.Hue = 4; helm.Identified = true; AddItem(Immovable(helm)); var arms = new JinBaori(); arms.Name = "Locke's Jacket"; arms.Hue = 4; arms.Identified = true; AddItem(Immovable(arms)); var gloves = new LeatherGloves(); gloves.Name = "Locke's Gloves"; gloves.Hue = 4; gloves.Identified = true; AddItem(Immovable(gloves)); var tunic = new Shirt(); tunic.Name = "Locke's Shirt"; tunic.Hue = 0; tunic.Identified = true; AddItem(Immovable(tunic)); var legs = new LeatherNinjaPants(); legs.Name = "Locke's Pants"; legs.Hue = 4; legs.Identified = true; AddItem(Immovable(legs)); var boots = new ElvenBoots(); boots.Name = "Locke's Boots"; boots.Hue = 1175; boots.Identified = true; AddItem(Immovable(boots)); var spellbook = new Dagger(); spellbook.Name = "Thief Dagger"; spellbook.Hue = 0; spellbook.Movable = false; AddItem(Immovable(spellbook)); }
public EvilMinionone() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "The Evil Minion"; Body = 400; Hue = 33770; BaseSoundID = 343; SetStr(301, 420); SetDex(81, 90); SetInt(301, 320); SetHits(478, 595); SetDamage(40, 120); SetDamageType(ResistanceType.Cold, 20); SetDamageType(ResistanceType.Energy, 50); SetResistance(ResistanceType.Physical, 50); SetResistance(ResistanceType.Fire, 50); SetResistance(ResistanceType.Cold, 15); SetResistance(ResistanceType.Poison, 60); SetResistance(ResistanceType.Energy, 80); SetSkill(SkillName.EvalInt, 200.0); SetSkill(SkillName.Magery, 200.0); SetSkill(SkillName.Meditation, 200.0); SetSkill(SkillName.MagicResist, 200.0); SetSkill(SkillName.Tactics, 100.0); SetSkill(SkillName.Wrestling, 200.0); Fame = 1500; Karma = -50000; VirtualArmor = 40; JesterHat hat = new JesterHat(); hat.Name = "Elf Hat"; hat.Hue = 64; hat.Movable = false; AddItem(hat); ElvenPants legs = new ElvenPants(); legs.Hue = 64; legs.Movable = false; AddItem(legs); FancyShirt chest = new FancyShirt(); chest.Hue = 64; chest.Movable = false; AddItem(chest); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 64; gloves.Movable = false; AddItem(gloves); ElvenBoots boots = new ElvenBoots(); boots.Hue = 64; boots.Movable = false; AddItem(boots); BodySash bodysash = new BodySash(); bodysash.Hue = 64; bodysash.Movable = false; AddItem(bodysash); HalfApron halfapron = new HalfApron(); halfapron.Hue = 64; halfapron.Movable = false; AddItem(halfapron); Cloak cloak = new Cloak(); cloak.Hue = 64; cloak.Movable = false; AddItem(cloak); PackGold(6000, 10000); }
public EvilSanta() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = " The Evil Santa"; Title = "of Chaos"; Body = 400; Hue = 33770; BaseSoundID = 343; SetStr(500, 625); SetDex(300, 550); SetInt(1000, 2000); SetHits(10000); SetStam(500, 700); SetDamage(50, 120); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 60, 70); SetResistance(ResistanceType.Fire, 50, 60); SetResistance(ResistanceType.Cold, 50, 60); SetResistance(ResistanceType.Poison, 40, 50); SetResistance(ResistanceType.Energy, 40, 50); SetSkill(SkillName.MagicResist, 100.0); SetSkill(SkillName.Tactics, 97.6, 100.0); SetSkill(SkillName.Wrestling, 97.6, 100.0); Fame = 22500; Karma = -22500; VirtualArmor = 70; FacialHairItemID = 8267; FacialHairHue = 1153; LongPants legs = new LongPants(); legs.Hue = 1157; legs.Movable = false; AddItem(legs); FancyShirt chest = new FancyShirt(); chest.Hue = 1157; chest.Movable = false; AddItem(chest); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 1153; gloves.Movable = false; AddItem(gloves); ElvenBoots boots = new ElvenBoots(); boots.Hue = 1153; boots.Movable = false; AddItem(boots); Item hair = new Item(Utility.RandomList(8252)); hair.Hue = 1153; hair.Layer = Layer.Hair; hair.Movable = false; AddItem(hair); BodySash bodysash = new BodySash(); bodysash.Hue = 1153; bodysash.Movable = false; AddItem(bodysash); HalfApron halfapron = new HalfApron(); halfapron.Hue = 1153; halfapron.Movable = false; AddItem(halfapron); Cloak cloak = new Cloak(); cloak.Hue = 1153; cloak.Movable = false; AddItem(cloak); PackGold(6000, 10000); }
public LockeColeMirrorImagePortal() : base(AIType.AI_Arcade, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Locke Cole"; Body = 400; Hue = 1162; SpecialTitle = "Mirror Image"; TitleHue = 1174; BaseSoundID = 362; SetStr(10, 10); SetDex(200); SetInt(706, 726); SetHits(2000); SetDamage(1, 1); foreach (SkillName skill in _Skills) { SetSkill(skill, 65.0, 70.0); } SpeechHue = YellHue = 34; VirtualArmor = 90; PackGold(500, 1000); PackMagicItems(5, 5, 0.95, 0.95); var helm = new SkullCap(); helm.Name = "Locke's Bandana"; helm.Hue = 4; helm.Identified = true; AddItem(Immovable(helm)); var arms = new JinBaori(); arms.Name = "Locke's Jacket"; arms.Hue = 4; arms.Identified = true; AddItem(Immovable(arms)); var gloves = new LeatherGloves(); gloves.Name = "Locke's Gloves"; gloves.Hue = 4; gloves.Identified = true; AddItem(Immovable(gloves)); var tunic = new Shirt(); tunic.Name = "Locke's Shirt"; tunic.Hue = 0; tunic.Identified = true; AddItem(Immovable(tunic)); var legs = new LeatherNinjaPants(); legs.Name = "Locke's Pants"; legs.Hue = 4; legs.Identified = true; AddItem(Immovable(legs)); var boots = new ElvenBoots(); boots.Name = "Locke's Boots"; boots.Hue = 1175; boots.Identified = true; AddItem(Immovable(boots)); var spellbook = new Dagger(); spellbook.Name = "Thief Dagger"; spellbook.Hue = 0; spellbook.Movable = false; AddItem(Immovable(spellbook)); }
public Jedi() : base(AIType.AI_Mage, FightMode.Evil, 10, 1, 0.2, 0.4) { SpeechHue = Utility.RandomTalkHue(); Title = "the Jedi"; Hue = Utility.RandomSkinColor(); if (this.Female = Utility.RandomBool()) { Body = 0x191; Name = NameList.RandomName("female"); Utility.AssignRandomHair(this); HairHue = Utility.RandomHairHue(); } else { Body = 0x190; Name = NameList.RandomName("male"); Utility.AssignRandomHair(this); int HairColor = Utility.RandomHairHue(); FacialHairItemID = Utility.RandomList(0, 8254, 8255, 8256, 8257, 8267, 8268, 8269); HairHue = HairColor; FacialHairHue = HairColor; } SetStr(350, 400); SetDex(177, 255); SetInt(350, 400); SetHits(502, 531); SetDamage(22, 29); SetDamageType(ResistanceType.Physical, 50); SetDamageType(ResistanceType.Energy, 50); SetResistance(ResistanceType.Physical, 45, 55); SetResistance(ResistanceType.Fire, 30, 40); SetResistance(ResistanceType.Cold, 30, 40); SetResistance(ResistanceType.Poison, 40, 50); SetResistance(ResistanceType.Energy, 60, 70); SetSkill(SkillName.EvalInt, 100.5, 150.0); SetSkill(SkillName.Magery, 100.5, 150.0); SetSkill(SkillName.Meditation, 100.5, 150.0); SetSkill(SkillName.MagicResist, 100.5, 150.0); SetSkill(SkillName.Anatomy, 100.5, 150.0); SetSkill(SkillName.MagicResist, 100.5, 150.0); SetSkill(SkillName.Wrestling, 100.5, 150.0); SetSkill(SkillName.Swords, 100.5, 150.0); SetSkill(SkillName.Tactics, 100.5, 150.0); Fame = 14000; Karma = 14000; int color = Utility.RandomNeutralHue(); VirtualArmor = 90; Item robe = new Robe(color); robe.Name = "Jedi robe"; AddItem(robe); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(robe, this); } Item boots = new ElvenBoots(); boots.Name = "Jedi boots"; AddItem(boots); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(boots, this); } if (Utility.RandomBool()) { Item cloak = new Cloak(Utility.RandomNeutralHue()); cloak.Name = "Jedi cloak"; AddItem(cloak); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(cloak, this); } } if (Utility.RandomBool()) { Item gloves = new LeatherGloves(); gloves.Name = "Jedi gloves"; AddItem(gloves); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(gloves, this); } } Item hood = new ClothHood(color); hood.Name = "Jedi hood"; AddItem(hood); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(hood, this); } if (Utility.RandomMinMax(1, 5) == 1) { if (Utility.RandomMinMax(1, 5) == 1) { Item sword = new DoubleLaserSword(); sword.Name = "Jedi double laser sword"; ((BaseWeapon)sword).Attributes.SpellChanneling = 1; AddItem(sword); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(sword, this); } } else { Item sword = new LightSword(); sword.Name = "Jedi laser sword"; ((BaseWeapon)sword).Attributes.SpellChanneling = 1; AddItem(sword); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(sword, this); } } } else { Item sword = new Longsword(); sword.Name = "Jedi sword"; ((BaseWeapon)sword).Attributes.SpellChanneling = 1; AddItem(sword); if (Utility.RandomMinMax(1, 10) == 1) { SpecialItem(sword, this); } if (Server.Misc.MaterialInfo.IsMetalItem(sword) && Utility.RandomMinMax(1, 20) == 1) { ((BaseWeapon)sword).Resource = CraftResource.Xormite; } else if (Server.Misc.MaterialInfo.IsMetalItem(sword)) { Server.Misc.MorphingTime.MakeSpaceAceMetalArmorWeapon(sword, null); } } }
public CrazySanta1() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Evil Santa Clause"; Title = "Of The Christmas Dungeon"; Body = 400; Hue = 33770; BaseSoundID = 343; SetStr(401, 520); SetDex(81, 90); SetInt(401, 520); SetHits(678, 695); SetDamage(50, 120); SetDamageType(ResistanceType.Cold, 50); SetDamageType(ResistanceType.Energy, 50); SetResistance(ResistanceType.Physical, 50); SetResistance(ResistanceType.Fire, 50); SetResistance(ResistanceType.Cold, 100); SetResistance(ResistanceType.Poison, 60); SetResistance(ResistanceType.Energy, 80); SetSkill(SkillName.EvalInt, 200.0); SetSkill(SkillName.Magery, 200.0); SetSkill(SkillName.Meditation, 200.0); SetSkill(SkillName.MagicResist, 200.0); SetSkill(SkillName.Tactics, 100.0); SetSkill(SkillName.Wrestling, 200.0); Fame = -1500; Karma = 550000; VirtualArmor = 40; //PackItem( new SantasHat() ); if (1 > Utility.RandomDouble()) { switch (Utility.Random(24)) { case 0: PackItem(new MaceOfWinter()); break; case 1: PackItem(new ChristmasKatana()); break; case 2: PackItem(new SantasStaff()); break; case 3: PackItem(new ArmsOfChristmas()); break; case 4: PackItem(new ChestOfChristmas()); break; case 5: PackItem(new GlovesOfChristmas()); break; case 6: PackItem(new GorgetOfChristmas()); break; case 7: PackItem(new HelmOfChristmas()); break; case 8: PackItem(new LegsOfChristmas()); break; case 9: PackItem(new HelmOfWinter()); break; case 10: PackItem(new LegsOfWinter()); break; case 11: PackItem(new FemaleChestOfWinter()); break; case 12: PackItem(new GlovesOfWinter()); break; case 13: PackItem(new ArmsOfWinter()); break; case 14: PackItem(new ChestOfWinter()); break; case 16: PackItem(new XmasArms()); break; case 17: PackItem(new XmasChest()); break; case 18: PackItem(new XmasGloves()); break; case 19: PackItem(new XmasHelm()); break; case 20: PackItem(new XmasLegs()); break; case 21: PackItem(new XmasHalberd()); break; case 22: PackItem(new SwordOfChristmas()); break; case 23: PackItem(new BowOfChristmas()); break; } } FacialHairItemID = 8267; FacialHairHue = 1153; LongPants legs = new LongPants(); legs.Hue = 1157; legs.Movable = false; AddItem(legs); FancyShirt chest = new FancyShirt(); chest.Hue = 1157; chest.Movable = false; AddItem(chest); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 1153; gloves.Movable = false; AddItem(gloves); ElvenBoots boots = new ElvenBoots(); boots.Hue = 1153; boots.Movable = false; AddItem(boots); Item hair = new Item(Utility.RandomList(8252)); hair.Hue = 1153; hair.Layer = Layer.Hair; hair.Movable = false; AddItem(hair); BodySash bodysash = new BodySash(); bodysash.Hue = 1153; bodysash.Movable = false; AddItem(bodysash); HalfApron halfapron = new HalfApron(); halfapron.Hue = 1153; halfapron.Movable = false; AddItem(halfapron); Cloak cloak = new Cloak(); cloak.Hue = 1153; cloak.Movable = false; AddItem(cloak); PackGold(6000, 10000); }
public SantaHelper() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Santa's Evil Little Helper"; Body = 400; Hue = 33770; BaseSoundID = 343; SetStr(301, 420); SetDex(81, 90); SetInt(301, 320); SetHits(478, 595); SetDamage(40, 120); SetDamageType(ResistanceType.Cold, 20); SetDamageType(ResistanceType.Energy, 50); SetResistance(ResistanceType.Physical, 50); SetResistance(ResistanceType.Fire, 50); SetResistance(ResistanceType.Cold, 15); SetResistance(ResistanceType.Poison, 60); SetResistance(ResistanceType.Energy, 80); SetSkill(SkillName.EvalInt, 200.0); SetSkill(SkillName.Magery, 200.0); SetSkill(SkillName.Meditation, 200.0); SetSkill(SkillName.MagicResist, 200.0); SetSkill(SkillName.Tactics, 100.0); SetSkill(SkillName.Wrestling, 200.0); Fame = -1500; Karma = 50000; VirtualArmor = 40; PackItem(new BowOfChristmas()); if (1 > Utility.RandomDouble()) { switch (Utility.Random(24)) { case 0: PackItem(new MaceOfWinter()); break; case 1: PackItem(new ChristmasKatana()); break; case 2: PackItem(new SantasStaff()); break; case 3: PackItem(new ArmsOfChristmas()); break; case 4: PackItem(new ChestOfChristmas()); break; case 5: PackItem(new GlovesOfChristmas()); break; case 6: PackItem(new GorgetOfChristmas()); break; case 7: PackItem(new HelmOfChristmas()); break; case 8: PackItem(new LegsOfChristmas()); break; case 9: PackItem(new HelmOfWinter()); break; case 10: PackItem(new LegsOfWinter()); break; case 11: PackItem(new FemaleChestOfWinter()); break; case 12: PackItem(new GlovesOfWinter()); break; case 13: PackItem(new ArmsOfWinter()); break; case 14: PackItem(new ChestOfWinter()); break; case 16: PackItem(new XmasArms()); break; case 17: PackItem(new XmasChest()); break; case 18: PackItem(new XmasGloves()); break; case 19: PackItem(new XmasHelm()); break; case 20: PackItem(new XmasLegs()); break; case 21: PackItem(new XmasHalberd()); break; case 22: PackItem(new SwordOfChristmas()); break; case 23: PackItem(new BowOfChristmas()); break; } } JesterHat hat = new JesterHat(); hat.Name = "Elf Hat"; hat.Hue = 64; hat.Movable = false; AddItem(hat); ElvenPants legs = new ElvenPants(); legs.Hue = 64; legs.Movable = false; AddItem(legs); FancyShirt chest = new FancyShirt(); chest.Hue = 64; chest.Movable = false; AddItem(chest); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 64; gloves.Movable = false; AddItem(gloves); ElvenBoots boots = new ElvenBoots(); boots.Hue = 64; boots.Movable = false; AddItem(boots); BodySash bodysash = new BodySash(); bodysash.Hue = 64; bodysash.Movable = false; AddItem(bodysash); HalfApron halfapron = new HalfApron(); halfapron.Hue = 64; halfapron.Movable = false; AddItem(halfapron); Cloak cloak = new Cloak(); cloak.Hue = 64; cloak.Movable = false; AddItem(cloak); PackGold(60000, 100000); }