public Kylearan() : base( ) { Body = 400; Name = "Kylearan"; Title = "the Magician"; Direction = Direction.North; CantWalk = true; Hue = 0x83EA; FacialHairItemID = 0x204C; // BEARD HairItemID = 0x203C; // LONG HAIR FacialHairHue = 0x47E; HairHue = 0x47E; AddItem(new Sandals()); Item cloth1 = new Robe(); cloth1.Hue = Utility.RandomBlueHue(); AddItem(cloth1); Item cloth2 = new WizardsHat(); cloth2.Hue = Utility.RandomBlueHue(); AddItem(cloth2); }
public ExplodingSanta() : base(AIType.AI_Melee, FightMode.None, 10, 1, 0.001, 0.001) { Name = "a santa"; Body = 400; Hue = 33814; SpeechHue = 1150; m_Target = null; SetStr(100); SetDex(100); SetInt(100); SetHits(200); SetDamage(1, 2); SetSkill(SkillName.MagicResist, 150.0); Robe robe = new Robe(); robe.Hue = 37; robe.Movable = false; AddItem(robe); WizardsHat hat = new WizardsHat(); hat.Hue = 37; hat.Movable = false; AddItem(hat); AddItem(new Boots()); }
public override bool OnBeforeDeath() { Robe robe = FindItemOnLayer(Layer.OuterTorso) as Robe; if (robe != null) { robe.Hue = Utility.RandomList(1102, 1107); robe.LootType = LootType.Regular; } WizardsHat hat = FindItemOnLayer(Layer.Helm) as WizardsHat; if (hat != null) { hat.Hue = robe.Hue; robe.LootType = LootType.Regular; } Sandals sandals = FindItemOnLayer(Layer.Shoes) as Sandals; if (sandals != null) { sandals.Hue = Utility.RandomBlueHue(); sandals.LootType = LootType.Regular; } return(base.OnBeforeDeath()); }
public LordSanta() { Name = "Lord Santa"; Title = "the Ruler of the green dudes"; Body = 0x190; CantWalk = true; Hue = Utility.RandomSkinHue(); Item Boots = new Boots(); Boots.Hue = 33; Boots.Name = "Santa Boots"; Boots.Movable = false; AddItem(Boots); Item Doublet = new Doublet(); Doublet.Hue = 33; Doublet.Name = "Santa's Doublet"; Doublet.Movable = false; AddItem(Doublet); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 33; FancyShirt.Name = "Santa's Shirt"; FancyShirt.Movable = false; AddItem(FancyShirt); Item LongPants = new LongPants(); LongPants.Hue = 33; LongPants.Name = "Santa's Pants"; LongPants.Movable = false; AddItem(LongPants); Item WizardsHat = new WizardsHat(); WizardsHat.Hue = 33; WizardsHat.Name = "Santa's Hat"; WizardsHat.Movable = false; AddItem(WizardsHat); int hairHue = 1153; switch (Utility.Random(1)) { case 0: AddItem(new LongHair(hairHue)); break; case 1: AddItem(new LongBeard(hairHue)); break; } Blessed = true; }
public InternalBuyInfo() { Add(new GenericBuyInfo("Bolt of Cloth", typeof(BoltOfCloth), BoltOfCloth.GetSBPurchaseValue(), 50, 0xf95, 0)); Add(new GenericBuyInfo("Scissors", typeof(Scissors), Scissors.GetSBPurchaseValue(), 25, 0xF9F, 0)); Add(new GenericBuyInfo("Sewing Kit", typeof(SewingKit), SewingKit.GetSBPurchaseValue(), 50, 0xF9D, 0)); Add(new GenericBuyInfo("Dyes", typeof(Dyes), Dyes.GetSBPurchaseValue(), 25, 0xFA9, 0)); Add(new GenericBuyInfo("Dye Tub", typeof(DyeTub), DyeTub.GetSBPurchaseValue(), 25, 0xFAB, 0)); //Hats Add(new GenericBuyInfo("Skull Cap", typeof(SkullCap), SkullCap.GetSBPurchaseValue(), 25, 0x1544, 0)); Add(new GenericBuyInfo("Bandana", typeof(Bandana), Bandana.GetSBPurchaseValue(), 25, 0x1540, 0)); Add(new GenericBuyInfo("Floppy Hat", typeof(FloppyHat), FloppyHat.GetSBPurchaseValue(), 25, 0x1713, 0)); Add(new GenericBuyInfo("Cap", typeof(Cap), Cap.GetSBPurchaseValue(), 25, 0x1715, 0)); Add(new GenericBuyInfo("Wide Brim Hat", typeof(WideBrimHat), WideBrimHat.GetSBPurchaseValue(), 25, 0x1714, 0)); Add(new GenericBuyInfo("Tall Straw Hat", typeof(TallStrawHat), TallStrawHat.GetSBPurchaseValue(), 25, 0x1716, 0)); Add(new GenericBuyInfo("Bonnet", typeof(Bonnet), Bonnet.GetSBPurchaseValue(), 25, 0x1719, 0)); Add(new GenericBuyInfo("Feathered Hat", typeof(FeatheredHat), FeatheredHat.GetSBPurchaseValue(), 25, 0x171A, 0)); Add(new GenericBuyInfo("Tricorne Hat", typeof(TricorneHat), TricorneHat.GetSBPurchaseValue(), 25, 0x171B, 0)); Add(new GenericBuyInfo("Jester Hat", typeof(JesterHat), JesterHat.GetSBPurchaseValue(), 25, 0x171C, 0)); Add(new GenericBuyInfo("Wizards Hat", typeof(WizardsHat), WizardsHat.GetSBPurchaseValue(), 25, 0x1718, 0)); //Shirts Add(new GenericBuyInfo("Doublet", typeof(Doublet), Doublet.GetSBPurchaseValue(), 25, 0x1F7B, 0)); Add(new GenericBuyInfo("Shirt", typeof(Shirt), Shirt.GetSBPurchaseValue(), 25, 0x1517, 0)); Add(new GenericBuyInfo("Fancy Shirt", typeof(FancyShirt), FancyShirt.GetSBPurchaseValue(), 25, 0x1EFD, 0)); Add(new GenericBuyInfo("Tunic", typeof(Tunic), Tunic.GetSBPurchaseValue(), 25, 0x1FA1, 0)); Add(new GenericBuyInfo("Surcoat", typeof(Surcoat), Surcoat.GetSBPurchaseValue(), 25, 0x1FFD, 0)); Add(new GenericBuyInfo("Jester Suit", typeof(JesterSuit), JesterSuit.GetSBPurchaseValue(), 25, 0x1F9F, 0)); Add(new GenericBuyInfo("Plain Dress", typeof(PlainDress), PlainDress.GetSBPurchaseValue(), 25, 0x1F01, 0)); Add(new GenericBuyInfo("Fancy Dress", typeof(FancyDress), FancyDress.GetSBPurchaseValue(), 25, 0x1EFF, 0)); Add(new GenericBuyInfo("Robe", typeof(Robe), Robe.GetSBPurchaseValue(), 25, 0x1F03, 0)); //Pants Add(new GenericBuyInfo("Short Pants", typeof(ShortPants), ShortPants.GetSBPurchaseValue(), 25, 0x152E, 0)); Add(new GenericBuyInfo("Long Pants", typeof(LongPants), LongPants.GetSBPurchaseValue(), 25, 0x1539, 0)); Add(new GenericBuyInfo("Kilt", typeof(Kilt), Kilt.GetSBPurchaseValue(), 25, 0x1537, 0)); Add(new GenericBuyInfo("Skirt", typeof(Skirt), Skirt.GetSBPurchaseValue(), 25, 0x1516, 0)); Add(new GenericBuyInfo("Cloak", typeof(Cloak), Cloak.GetSBPurchaseValue(), 25, 0x1515, 0)); Add(new GenericBuyInfo("Body Sash", typeof(BodySash), BodySash.GetSBPurchaseValue(), 25, 0x1541, 0)); Add(new GenericBuyInfo("Half Apron", typeof(HalfApron), HalfApron.GetSBPurchaseValue(), 25, 0x153b, 0)); Add(new GenericBuyInfo("Full Apron", typeof(FullApron), FullApron.GetSBPurchaseValue(), 25, 0x153d, 0)); //Shoes Add(new GenericBuyInfo("Sandals", typeof(Sandals), Sandals.GetSBPurchaseValue(), 25, 0x170D, 0)); Add(new GenericBuyInfo("Shoes", typeof(Shoes), Shoes.GetSBPurchaseValue(), 25, 0x170F, 0)); Add(new GenericBuyInfo("Boots", typeof(Boots), Boots.GetSBPurchaseValue(), 25, 0x170B, 0)); Add(new GenericBuyInfo("Thigh Boots", typeof(ThighBoots), ThighBoots.GetSBPurchaseValue(), 25, 0x1711, 0)); //TEST: FIX //Add( new GenericBuyInfo( typeof( SpoolOfThread ), 18, 20, 0xFA0, 0 ) ); //Add( new GenericBuyInfo( typeof( Flax ), 156, 20, 0x1A9C, 0 ) ); //Add( new GenericBuyInfo( typeof( Cotton ), 156, 20, 0xDF9, 0 ) ); //Add( new GenericBuyInfo( typeof( Wool ), 78, 20, 0xDF8, 0 ) ); }
public FakeWindcaller() : base(AIType.AI_Mage) { Name = NameList.RandomName("male"); Title = "the WindCaller"; Body = 0x190; Hue = Utility.RandomSkinHue(); SetStr(300); SetDex(300); SetInt(600); SetHits(800); SetDamage(15, 20); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 20, 30); SetResistance(ResistanceType.Fire, 35, 45); SetResistance(ResistanceType.Cold, 30, 40); SetResistance(ResistanceType.Poison, 10, 20); SetResistance(ResistanceType.Energy, 35, 45); SetSkill(SkillName.Anatomy, 120.0); SetSkill(SkillName.EvalInt, 120.0); SetSkill(SkillName.Magery, 120.0); SetSkill(SkillName.Meditation, 120.0); SetSkill(SkillName.MagicResist, 200.0); SetSkill(SkillName.Tactics, 120.0); SetSkill(SkillName.Wrestling, 120.0); Fame = 100; Karma = 100; VirtualArmor = 30; Sandals foot = new Sandals(); foot.Hue = 1154; foot.LootType = LootType.Blessed; AddItem(foot); WizardsHat top = new WizardsHat(); top.Hue = 1154; top.LootType = LootType.Blessed; AddItem(top); Skirt bottom = new Skirt(); bottom.Hue = 1154; bottom.LootType = LootType.Blessed; AddItem(bottom); }
public override void InitOutfit() { // base.InitOutfit(); // AddItem( new Server.Items.Robe( Utility.RandomBlueHue() ) ); AddItem(new Server.Items.GnarledStaff()); if (Utility.RandomBool()) { AddItem(new Shoes(Utility.RandomBlueHue())); } else { AddItem(new Sandals(Utility.RandomBlueHue())); } Item EvilMageRobe = new Robe(); EvilMageRobe.Hue = 0x1; EvilMageRobe.LootType = LootType.Newbied; AddItem(EvilMageRobe); Item EvilWizHat = new WizardsHat(); EvilWizHat.Hue = 0x1; EvilWizHat.LootType = LootType.Newbied; AddItem(EvilWizHat); Item Bracelet = new GoldBracelet(); Bracelet.LootType = LootType.Newbied; AddItem(Bracelet); Item Ring = new GoldRing(); Ring.LootType = LootType.Newbied; AddItem(Ring); Item hair = new LongHair(); hair.Hue = 0x47E; hair.Layer = Layer.Hair; hair.Movable = false; AddItem(hair); if (!this.Female) { Item beard = new MediumLongBeard(); beard.Hue = 0x47E; beard.Movable = false; beard.Layer = Layer.FacialHair; AddItem(beard); } }
public CrazyMage() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = NameList.RandomName("male") + ", the insane mage"; Body = 400; Hue = Utility.RandomSkinHue(); HairItemID = Hair.LongHair; FacialHairItemID = Beard.MediumLongBeard; HairHue = FacialHairHue = Utility.RandomHairHue(); Robe robe = new Robe(); robe.Hue = Utility.RandomList(1157, 1109, 1156, 1175, 1); robe.Name = "a ragged robe"; AddItem(robe); WizardsHat hat = new WizardsHat(); hat.Hue = Utility.RandomMetalHue(); hat.Name = "a well-used wizard's hat"; AddItem(hat); SetStr(120, 150); SetDex(80, 100); SetInt(150, 180); SetHits(200, 300); SetMana(200, 250); SetDamage(5, 10); SetDamageType(ResistanceType.Energy, 100); SetResistance(ResistanceType.Physical, 40, 50); SetResistance(ResistanceType.Cold, 20, 30); SetResistance(ResistanceType.Fire, 25, 35); SetResistance(ResistanceType.Energy, 50, 60); SetResistance(ResistanceType.Poison, 35, 45); SetSkill(SkillName.EvalInt, 85, 95); SetSkill(SkillName.Meditation, 75, 80); SetSkill(SkillName.Magery, 95, 100); SetSkill(SkillName.Tactics, 70, 80); SetSkill(SkillName.Wrestling, 60, 75); Fame = 3000; Karma = -15000; VirtualArmor = 20; PackItem(new BagOfReagents(50)); }
public BloodStoneWitch() : base(AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = NameList.RandomName("female"); Title = "the Blood Stone Witch"; Body = 0x0191; Hue = 0x0493; Female = true; SetStr(100, 150); SetDex(100, 150); SetInt(200); SetHits(100, 150); SetStam(100, 150); SetMana(200); SetDamage(30, 40); AddItem(new LongHair(1)); Item temp; temp = new FancyShirt(0); temp.Movable = false; AddItem(temp); temp = new Skirt(1); temp.Movable = false; AddItem(temp); temp = new WizardsHat(1); temp.Movable = false; AddItem(temp); temp = new ThighBoots(1); temp.Movable = false; AddItem(temp); temp = new GnarledStaff(); AddItem(temp); //PackGold(100, 200); SetSkill(SkillName.MagicResist, 80.0, 90.0); SetSkill(SkillName.Magery, 100.0, 150.0); SetSkill(SkillName.Macing, 55.0, 75.0); SetSkill(SkillName.Tactics, 70.0, 90.0); SetSkill(SkillName.Wrestling, 40.0, 55.0); Fame = Utility.RandomMinMax(2000, 4000); Karma = Utility.RandomMinMax(-3000, -5000); VirtualArmor = 45; PackItem(new Sandals()); }
public BloodStoneHighWitch() : base(AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = NameList.RandomName("female"); Title = "the Blood Stone High Witch"; Body = 0x0191; Hue = 0x0493; Female = true; SetStr(200, 250); SetDex(100, 200); SetInt(300); SetHits(200, 250); SetStam(100, 200); SetMana(300); SetDamage(40, 50); AddItem(new LongHair(Utility.RandomHairHue())); Item temp; temp = new PlainDress(1); temp.Movable = false; AddItem(temp); temp = new WizardsHat(1); temp.Movable = false; AddItem(temp); temp = new ThighBoots(1); temp.Movable = false; AddItem(temp); temp = new BlackStaff(); AddItem(temp); //PackGold(200, 300); AddItem(new EyesOfNewt(Utility.RandomMinMax(1, 5))); AddItem(new BatWing(2)); PackPotion(); PackPotion(); SetSkill(SkillName.MagicResist, 90.0, 95.0); SetSkill(SkillName.Magery, 200.0, 250.0); SetSkill(SkillName.Macing, 75.0, 95.0); SetSkill(SkillName.Tactics, 80.0, 90.0); SetSkill(SkillName.Wrestling, 40.0, 55.0); Fame = -2000; Karma = -6000; VirtualArmor = 55; PackItem(new Sandals()); }
public override void InitOutfit() { WipeLayers(); if (Utility.RandomBool()) { AddItem(new Shoes(Utility.RandomBlueHue())); } else { AddItem(new Sandals(Utility.RandomBlueHue())); } //New Fall Fashions! Item EvilMageRobe = new Robe(); EvilMageRobe.Hue = 0x1; EvilMageRobe.LootType = LootType.Newbied; AddItem(EvilMageRobe); Item EvilWizHat = new WizardsHat(); EvilWizHat.Hue = 0x1; EvilWizHat.LootType = LootType.Newbied; AddItem(EvilWizHat); Item Bracelet = new GoldBracelet(); Bracelet.LootType = LootType.Newbied; AddItem(Bracelet); Item Ring = new GoldRing(); Ring.LootType = LootType.Newbied; AddItem(Ring); Item hair = new LongHair(); hair.Hue = 0x47E; hair.Layer = Layer.Hair; hair.Movable = false; AddItem(hair); Item beard = new MediumLongBeard(); beard.Hue = 0x47E; beard.Movable = false; beard.Layer = Layer.FacialHair; AddItem(beard); //End Fashion Statement }
public Mangar() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Mangar"; Title = "the Dark"; Body = 400; Hue = 0x83EA; FacialHairItemID = 0x204C; // BEARD FacialHairHue = 0x455; HairItemID = 0x203C; // LONG HAIR HairHue = 0x455; EmoteHue = 123; NameHue = 0x22; AddItem(new Boots()); Item cloth1 = new Robe(); cloth1.Hue = 0x497; AddItem(cloth1); Item cloth2 = new WizardsHat(); cloth2.Hue = 0x497; AddItem(cloth2); SetStr(151, 175); SetDex(261, 285); SetInt(196, 220); SetHits(149, 163); SetDamage(8, 14); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 35, 40); SetResistance(ResistanceType.Fire, 30, 40); SetResistance(ResistanceType.Cold, 30, 40); SetResistance(ResistanceType.Poison, 30, 40); SetResistance(ResistanceType.Energy, 30, 40); SetSkill(SkillName.EvalInt, 80.2, 100.0); SetSkill(SkillName.Magery, 95.1, 100.0); SetSkill(SkillName.Meditation, 27.5, 50.0); SetSkill(SkillName.MagicResist, 77.5, 100.0); SetSkill(SkillName.Tactics, 65.0, 87.5); SetSkill(SkillName.Wrestling, 20.3, 80.0); Fame = 12500; Karma = -12500; VirtualArmor = 22; }
public Mangar() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Mangar"; Title = "the Dark"; Body = 400; Hue = 0x83EA; FacialHairItemID = 0x204C; // BEARD FacialHairHue = 0x455; HairItemID = 0x203C; // LONG HAIR HairHue = 0x455; EmoteHue = 123; NameHue = 0x22; AddItem(new Boots()); Item cloth1 = new Robe(); cloth1.Hue = 0x497; AddItem(cloth1); Item cloth2 = new WizardsHat(); cloth2.Hue = 0x497; AddItem(cloth2); SetStr(476, 505); SetDex(76, 95); SetInt(301, 325); SetHits(286, 303); SetDamage(7, 14); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 45, 60); SetResistance(ResistanceType.Fire, 50, 60); SetResistance(ResistanceType.Cold, 30, 40); SetResistance(ResistanceType.Poison, 20, 30); SetResistance(ResistanceType.Energy, 30, 40); SetSkill(SkillName.EvalInt, 70.1, 80.0); SetSkill(SkillName.Magery, 70.1, 80.0); SetSkill(SkillName.MagicResist, 85.1, 95.0); SetSkill(SkillName.Tactics, 70.1, 80.0); SetSkill(SkillName.Wrestling, 60.1, 80.0); Fame = 15000; Karma = -15000; VirtualArmor = 58; }
public InternalSellInfo() { Add(typeof(BoltOfCloth), BoltOfCloth.GetSBSellValue()); Add(typeof(Scissors), Scissors.GetSBSellValue()); Add(typeof(SewingKit), SewingKit.GetSBSellValue()); Add(typeof(Dyes), Dyes.GetSBSellValue()); Add(typeof(DyeTub), DyeTub.GetSBSellValue()); Add(typeof(SkullCap), SkullCap.GetSBSellValue()); Add(typeof(Bandana), Bandana.GetSBSellValue()); Add(typeof(FloppyHat), FloppyHat.GetSBSellValue()); Add(typeof(Cap), Cap.GetSBSellValue()); Add(typeof(WideBrimHat), WideBrimHat.GetSBSellValue()); Add(typeof(TallStrawHat), TallStrawHat.GetSBSellValue()); Add(typeof(Bonnet), Bonnet.GetSBSellValue()); Add(typeof(FeatheredHat), FeatheredHat.GetSBSellValue()); Add(typeof(TricorneHat), TricorneHat.GetSBSellValue()); Add(typeof(JesterHat), JesterHat.GetSBSellValue()); Add(typeof(WizardsHat), WizardsHat.GetSBSellValue()); Add(typeof(Doublet), Doublet.GetSBSellValue()); Add(typeof(Shirt), Shirt.GetSBSellValue()); Add(typeof(FancyShirt), FancyShirt.GetSBSellValue()); Add(typeof(Tunic), Tunic.GetSBSellValue()); Add(typeof(Surcoat), Surcoat.GetSBSellValue()); Add(typeof(JesterSuit), JesterSuit.GetSBSellValue()); Add(typeof(PlainDress), PlainDress.GetSBSellValue()); Add(typeof(FancyDress), FancyDress.GetSBSellValue()); Add(typeof(Robe), Robe.GetSBSellValue()); Add(typeof(ShortPants), ShortPants.GetSBSellValue()); Add(typeof(LongPants), LongPants.GetSBSellValue()); Add(typeof(Kilt), Kilt.GetSBSellValue()); Add(typeof(Skirt), Skirt.GetSBSellValue()); Add(typeof(Cloak), Cloak.GetSBSellValue()); Add(typeof(BodySash), BodySash.GetSBSellValue()); Add(typeof(HalfApron), HalfApron.GetSBSellValue()); Add(typeof(FullApron), FullApron.GetSBSellValue()); Add(typeof(Sandals), Sandals.GetSBSellValue()); Add(typeof(Shoes), Shoes.GetSBSellValue()); Add(typeof(Boots), Boots.GetSBSellValue()); Add(typeof(ThighBoots), ThighBoots.GetSBSellValue()); }
public SpriteSorceress() : base(AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Sprite Sorceress"; Hue = 0x045e; Body = 0x191; Female = true; AddItem(new LongHair(0x0597)); SetStr(86, 90); SetDex(91, 100); SetInt(71, 85); SetHits(86, 95); SetStam(91, 100); SetMana(100); SetDamage(6, 10); SetDamageType(ResistanceType.Physical, 100); SetSkill(SkillName.Magery, 75.0, 95.0); SetSkill(SkillName.MagicResist, 70.0, 85.0); SetSkill(SkillName.Wrestling, 68.0, 88.0); Fame = Utility.RandomMinMax(1700, 3700); Karma = Utility.RandomMinMax(-2000, -6500); VirtualArmor = 5; Item temp; temp = new Sandals(); temp.Hue = 0x0599; temp.Movable = false; AddItem(temp); temp = new WizardsHat(); temp.Hue = 0x0599; temp.Movable = false; AddItem(temp); temp = new Robe(); temp.Hue = 0x0595; temp.Movable = false; AddItem(temp); }
public EvilTokenMageLord(int hue, string title) : base() { Name = NameList.RandomName("golem controller"); //'evil mage lord' also contains a title Title = String.Format("the {0} Wizard", title); Robe robe = FindItemOnLayer(Layer.OuterTorso) as Robe; if (robe != null) { robe.Hue = hue; robe.LootType = LootType.Newbied; } WizardsHat hat = FindItemOnLayer(Layer.Helm) as WizardsHat; if (hat != null) { hat.Hue = hue; hat.LootType = LootType.Newbied; } Sandals sandals = FindItemOnLayer(Layer.Shoes) as Sandals; if (sandals != null) { sandals.Hue = hue; sandals.LootType = LootType.Newbied; } Str += 10; Int += 10; Dex += 10; SetSkill(SkillName.EvalInt, 85.2, 110.0); SetSkill(SkillName.Magery, 100.1, 110.0); SetSkill(SkillName.Meditation, 32.5, 60.0); SetSkill(SkillName.MagicResist, 82.5, 110.0); SetSkill(SkillName.Tactics, 75.0, 87.5); SetSkill(SkillName.Wrestling, 30.3, 80.0); }
public Windcaller() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.15, 0.2) { Title = "the Windcaller"; Hue = Utility.RandomSkinHue(); Body = 0x190; Name = NameList.RandomName("male"); BaseSoundID = 0; Kills = 10; ShortTermMurders = 10; Item WizardsHat = new WizardsHat(); WizardsHat.Movable = false; WizardsHat.Hue = 1154; EquipItem(WizardsHat); Item Skirt = new Skirt(); Skirt.Movable = false; Skirt.Hue = 1154; EquipItem(Skirt); Item Sandals = new Sandals(); Sandals.Movable = false; Sandals.Hue = 1154; EquipItem(Sandals); SetStr(110, 120); SetDex(86, 95); SetInt(161, 170); SetHits(120, 130); SetDamage(5, 13); SetSkill(SkillName.Wrestling, 70.3, 77.8); SetSkill(SkillName.Tactics, 80.5, 87.0); SetSkill(SkillName.MagicResist, 90.6, 92.8); SetSkill(SkillName.Magery, 94.7, 96.0); SetSkill(SkillName.EvalInt, 40.1, 44.1); SetSkill(SkillName.Meditation, 21.1, 30.1); Fame = 10000; Karma = -10000; VirtualArmor = 20; switch (Utility.Random(175)) { case 0: PackItem(new EnchantedWood()); break; } PackGold(400, 700); PackReg(Utility.RandomMinMax(2, 16)); PackSlayer(); PackScroll(1, 7); switch (Utility.Random(2)) { case 0: PackWeapon(0, 5); break; case 1: PackArmor(0, 5); break; } switch (Utility.Random(3)) { case 0: PackWeapon(0, 5); break; case 1: PackArmor(0, 5); break; } switch (Utility.Random(5)) { case 0: PackWeapon(1, 5); break; case 1: PackArmor(1, 5); break; } if (0.05 > Utility.RandomDouble()) { PackItem(new Obsidian()); } }
public BarFlyWizardWest() : 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); } Blessed = true; CantWalk = true; Direction = Direction.West; Title = TavernPatrons.GetTitle(); Hue = Utility.RandomSkinHue(); Utility.AssignRandomHair(this); SpeechHue = Utility.RandomDyedHue(); NameHue = Utility.RandomOrangeHue(); SetStr(161, 175); SetDex(151, 165); SetInt(386, 400); SetHits(160, 175); 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.EvalInt, 125.0); SetSkill(SkillName.Poisoning, 60.0, 82.5); SetSkill(SkillName.MagicResist, 83.5, 92.5); SetSkill(SkillName.Magery, 125.0); SetSkill(SkillName.Tactics, 125.0); SetSkill(SkillName.Wrestling, 100); Fame = 0; Karma = 0; VirtualArmor = 30; PackItem(new BlackStaff()); int aHue = RandomThings.GetRandomColor(0); AddItem(new Boots(Utility.RandomNeutralHue())); if (1 == Utility.RandomMinMax(1, 2)) { AddItem(new Cloak(aHue)); } int iArmor = Utility.RandomMinMax(1, 3); if (iArmor == 1) { Item cloth1 = new Robe(); cloth1.Hue = aHue; AddItem(cloth1); Item cloth2 = new WizardsHat(); cloth2.Hue = aHue; AddItem(cloth2); } else if (iArmor == 2) { Item cloth1 = new Robe(); cloth1.Hue = aHue; AddItem(cloth1); } else { Item cloth1 = new FancyShirt(); cloth1.Hue = aHue; AddItem(cloth1); Item cloth2 = new LongPants(); cloth2.Hue = Utility.RandomNeutralHue(); AddItem(cloth2); } int HairColor = Utility.RandomHairHue(); HairHue = HairColor; FacialHairHue = HairColor; }
public override void InitOutfit() { WipeLayers(); if (Core.UOAI || Core.UOAR) { if (Utility.RandomBool()) { AddItem(new Shoes(Utility.RandomBlueHue())); } else { AddItem(new Sandals(Utility.RandomBlueHue())); } //New Fall Fashions! Item EvilMageRobe = new Robe(); EvilMageRobe.Hue = 0x1; EvilMageRobe.LootType = LootType.Newbied; AddItem(EvilMageRobe); Item EvilWizHat = new WizardsHat(); EvilWizHat.Hue = 0x1; EvilWizHat.LootType = LootType.Newbied; AddItem(EvilWizHat); Item Bracelet = new GoldBracelet(); Bracelet.LootType = LootType.Newbied; AddItem(Bracelet); Item Ring = new GoldRing(); Ring.LootType = LootType.Newbied; AddItem(Ring); Item hair = new LongHair(); hair.Hue = 0x47E; hair.Layer = Layer.Hair; hair.Movable = false; AddItem(hair); Item beard = new MediumLongBeard(); beard.Hue = 0x47E; beard.Movable = false; beard.Layer = Layer.FacialHair; AddItem(beard); } else { if (Blackthorns_Revenge == false) { // not Todd's graphocs, so we dress // evil mage lord colors 1106 1109 AddItem(new Robe(Utility.Random(1106, 4))); // Don't think we should drop the sandals .. stratics is unclear when it comes to clothes. // http://web.archive.org/web/20020414131123/uo.stratics.com/hunters/evilmagelord.shtml // Blue Robe: 200 to 250 Gold, Gems, Scrolls (circles 4-7), Reagents /*Sandals shoes = new Sandals(); * if (Core.UOSP || Core.UOMO) * shoes.LootType = LootType.Newbied; * AddItem(shoes);*/ /* Publish 8 * Shopkeeper Changes * NPC shopkeepers will no longer have colored sandals. Evil NPC Mages will carry these items. */ if (Core.Publish >= 4) { // http://forums.uosecondage.com/viewtopic.php?f=8&t=22266 // runuo.com/community/threads/evil-mage-hues.91540/ if (0.20 >= Utility.RandomDouble()) { AddItem(new Shoes(Utility.RandomBlueHue())); } else { AddItem(new Sandals(Utility.RandomBlueHue())); } } else { AddItem(new Sandals()); } } Item hair = null; switch (Utility.Random(4)) { case 0: // bald break; case 1: hair = new ShortHair(); break; case 2: hair = new LongHair(); break; case 3: hair = new ReceedingHair(); break; } if (hair != null) { hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; AddItem(hair); } Item beard = null; switch (Utility.Random(4)) { case 0: // clean shaven break; case 1: beard = new LongBeard(); break; case 2: beard = new ShortBeard(); break; case 3: beard = new MediumLongBeard(); break; case 4: beard = new MediumShortBeard(); break; } if (beard != null) { beard.Hue = (hair != null) ? hair.Hue : Utility.RandomHairHue(); // do the drapes match the carpet? beard.Movable = false; beard.Layer = Layer.FacialHair; AddItem(beard); } } }
public Archmage() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.15, 0.2) { Title = "the Archmage"; Hue = Utility.RandomSkinHue(); Body = 0x190; Name = NameList.RandomName("male"); BaseSoundID = 0; Kills = 10; ShortTermMurders = 10; Item WizardsHat = new WizardsHat(); WizardsHat.Movable = false; WizardsHat.Hue = 2118; EquipItem(WizardsHat); Item Robe = new Robe(); Robe.Movable = false; Robe.Hue = 2118; EquipItem(Robe); Item Sandals = new Sandals(); Sandals.Movable = false; Sandals.Hue = 2118; EquipItem(Sandals); SetStr(101, 110); SetDex(66, 75); SetInt(161, 170); SetHits(140, 150); SetDamage(7, 15); SetSkill(SkillName.Wrestling, 80.3, 87.8); SetSkill(SkillName.Tactics, 80.5, 97.0); SetSkill(SkillName.MagicResist, 120.6, 136.8); SetSkill(SkillName.Magery, 97.7, 100.0); SetSkill(SkillName.EvalInt, 75.1, 87.1); SetSkill(SkillName.Meditation, 41.1, 50.1); Fame = 12500; Karma = -12500; VirtualArmor = 10; switch (Utility.Random(100)) { case 0: PackItem(new EnchantedWood()); break; } PackGold(600, 800); PackReg(Utility.RandomMinMax(2, 20)); PackArmor(0, 5); PackWeapon(0, 5); PackSlayer(); PackScroll(8, 8); if (0.05 > Utility.RandomDouble()) { PackItem(new Obsidian()); } }
public EthyDarkMaster() : base() { ms_Active = true; Name = "Deimos"; Title = "the Dark Master"; Hue = 22222; BodyValue = 400; BaseSoundID = 1001; Team = 2; SetStr(1500); SetDex(250); SetInt(50000); SetHits(50000); SetDamage(30, 30); SetSkill(SkillName.Anatomy, 150.0); SetSkill(SkillName.EvalInt, 200.0); SetSkill(SkillName.Magery, 220.0); SetSkill(SkillName.Poisoning, 200.0); SetSkill(SkillName.MagicResist, 250.0); SetSkill(SkillName.Wrestling, 150.0); SetSkill(SkillName.Tactics, 150.0); SetSkill(SkillName.Meditation, 600.0); SetSkill(SkillName.DetectHidden, 200.0); Fame = 50000; Karma = -50000; VirtualArmor = 200; WizardsHat hat = new WizardsHat(); hat.Hue = 1150; hat.LootType = LootType.Blessed; AddItem(hat); Sandals foot = new Sandals(); foot.Hue = 1150; foot.LootType = LootType.Blessed; AddItem(foot); Robe robe = new Robe(); robe.Hue = 22222; robe.LootType = LootType.Blessed; AddItem(robe); Cloak back = new Cloak(); back.Hue = 1150; back.LootType = LootType.Blessed; AddItem(back); Spellbook book = new Spellbook(); book.Hue = 1150; book.Content = 18446744073709551615; book.Movable = false; AddItem(book); BodySash top = new BodySash(); top.Hue = 1150; top.Layer = Layer.Earrings; top.LootType = LootType.Blessed; AddItem(top); m_Timer = new AppearTimer(this); m_Timer.Start(); }
public ClonedDarkMaster(Mobile owner) : base() { Name = "Deimos"; Title = "the Dark Master"; Hue = 22222; BodyValue = 400; BaseSoundID = 1001; SetStr(500); SetDex(100); SetInt(1500); SetHits(500); SetDamage(10, 15); 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.Anatomy, 100.0); SetSkill(SkillName.EvalInt, 100.0); SetSkill(SkillName.Magery, 115.0); SetSkill(SkillName.Poisoning, 100.0); SetSkill(SkillName.MagicResist, 150.0); SetSkill(SkillName.Wrestling, 105.0); SetSkill(SkillName.Tactics, 105.0); SetSkill(SkillName.Meditation, 200.0); Fame = 5000; Karma = -5000; VirtualArmor = 100; m_Owner = owner; WizardsHat hat = new WizardsHat(); hat.Hue = 1157; hat.LootType = LootType.Blessed; AddItem(hat); Sandals foot = new Sandals(); foot.Hue = 1157; foot.LootType = LootType.Blessed; AddItem(foot); Robe robe = new Robe(); robe.Hue = 22222; robe.LootType = LootType.Blessed; AddItem(robe); Cloak back = new Cloak(); back.Hue = 1157; back.LootType = LootType.Blessed; AddItem(back); Spellbook book = new Spellbook(); book.Hue = 1157; book.Content = 18446744073709551615; book.Movable = false; AddItem(book); BodySash top = new BodySash(); top.Hue = 1157; top.Layer = Layer.Earrings; top.LootType = LootType.Blessed; AddItem(top); }
public SailorWizard() : base(AIType.AI_Mage, FightMode.Aggressor, 10, 1, 0.2, 0.4) { if (this.Female = Utility.RandomBool()) { Body = 0x191; Name = NameList.RandomName("female"); switch (Utility.RandomMinMax(0, 8)) { case 0: Title = "the wizard"; break; case 1: Title = "the sorceress"; break; case 2: Title = "the mage"; break; case 3: Title = "the conjurer"; break; case 4: Title = "the magician"; break; case 5: Title = "the sailor"; break; case 6: Title = "the fisherman"; break; case 7: Title = "the sailor"; break; case 8: Title = "the fisherman"; break; } Utility.AssignRandomHair(this); HairHue = Utility.RandomHairHue(); } else { Body = 0x190; Name = NameList.RandomName("male"); switch (Utility.RandomMinMax(0, 8)) { case 0: Title = "the wizard"; break; case 1: Title = "the sorcerer"; break; case 2: Title = "the mage"; break; case 3: Title = "the conjurer"; break; case 4: Title = "the magician"; break; case 5: Title = "the sailor"; break; case 6: Title = "the fisherman"; break; case 7: Title = "the sailor"; break; case 8: Title = "the fisherman"; break; } Utility.AssignRandomHair(this); int HairColor = Utility.RandomHairHue(); FacialHairItemID = Utility.RandomList(0, 8254, 8255, 8256, 8257, 8267, 8268, 8269); HairHue = HairColor; FacialHairHue = HairColor; } Hue = Utility.RandomSkinHue(); int clothHue = Utility.RandomMinMax(0, 12); Robe robe = new Robe( ); robe.Hue = RandomThings.GetRandomColor(clothHue); AddItem(robe); if (50 > Utility.Random(100)) { WizardsHat hat = new WizardsHat( ); hat.Hue = RandomThings.GetRandomColor(clothHue); AddItem(hat); } Item boots = new ThighBoots( ); boots.Hue = Utility.RandomNeutralHue(); AddItem(boots); SetStr(76, 100); SetDex(76, 95); SetInt(36, 60); SetHits(46, 60); SetDamage(7, 11); SetDamageType(ResistanceType.Physical, 50); SetDamageType(ResistanceType.Cold, 50); SetResistance(ResistanceType.Physical, 25, 30); SetResistance(ResistanceType.Cold, 15, 25); SetResistance(ResistanceType.Poison, 10, 20); SetSkill(SkillName.EvalInt, 55.1, 70.0); SetSkill(SkillName.Magery, 55.1, 70.0); SetSkill(SkillName.MagicResist, 55.1, 70.0); SetSkill(SkillName.Tactics, 45.1, 60.0); SetSkill(SkillName.Wrestling, 45.1, 55.0); Fame = 2500; Karma = 2500; VirtualArmor = 28; PackReg(Utility.RandomMinMax(2, 8)); PackReg(Utility.RandomMinMax(2, 8)); PackReg(Utility.RandomMinMax(2, 8)); }
public MadSorceress() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.2) { Hue = 33770; Body = 401; SetStr(175, 275); SetDex(80, 95); SetInt(250, 300); SetHits(250, 325); SetMana(350, 450); SetDamage(7, 12); SetSkill(SkillName.Tactics, 95.7, 98.4); SetSkill(SkillName.MagicResist, 77.4, 87.7); SetSkill(SkillName.Magery, 98.4, 99.7); SetSkill(SkillName.Parry, 97.4, 98.7); SetSkill(SkillName.Wrestling, 89.4, 95.7); SetSkill(SkillName.EvalInt, 75.4, 80.7); Fame = 8000; Karma = -8000; VirtualArmor = 10; Female = true; Item BronzeShield = new BronzeShield(); BronzeShield.Movable = false; BronzeShield.Hue = 1156; EquipItem(BronzeShield); Item WizardsHat = new WizardsHat(); WizardsHat.Movable = false; WizardsHat.Hue = 1153; EquipItem(WizardsHat); Item LeatherGloves = new LeatherGloves(); LeatherGloves.Movable = false; LeatherGloves.Hue = 1153; EquipItem(LeatherGloves); Item Robe = new Robe(); Robe.Movable = false; Robe.Hue = 1156; EquipItem(Robe); Item Sandals = new Sandals(); Sandals.Movable = false; Sandals.Hue = 1153; EquipItem(Sandals); Item GoldEarrings = new GoldEarrings(); GoldEarrings.Movable = false; GoldEarrings.Hue = 1153; EquipItem(GoldEarrings); Item GoldNecklace = new GoldNecklace(); GoldNecklace.Movable = false; GoldNecklace.Hue = 1153; EquipItem(GoldNecklace); HairItemID = 0x203C; HairHue = 1156; int gems = Utility.RandomMinMax(1, 5); for (int i = 0; i < gems; ++i) { PackGem(); } switch (Utility.Random(6)) { case 0: PackItem(new BlackPearl(Utility.RandomMinMax(10, 15))); break; case 1: PackItem(new MandrakeRoot(Utility.RandomMinMax(10, 15))); break; case 2: PackItem(new SulfurousAsh(Utility.RandomMinMax(10, 15))); break; } PackGold(200, 250); PackScroll(1, 8); PackSlayer(); switch (Utility.Random(10)) { case 0: PackItem(new MortarPestle()); break; case 1: PackItem(new GreaterExplosionPotion()); break; } switch (Utility.Random(2)) { case 0: PackWeapon(0, 5); break; case 1: PackArmor(0, 5); break; } switch (Utility.Random(3)) { case 0: PackWeapon(0, 5); break; case 1: PackArmor(0, 5); break; } switch (Utility.Random(4)) { case 0: PackWeapon(1, 5); break; case 1: PackArmor(1, 5); break; } }
public Worshipper() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.15, 0.2) { Title = "the Worshipper"; Hue = Utility.RandomSkinHue(); Body = 0x190; Name = NameList.RandomName("male"); BaseSoundID = 0; Kills = 10; ShortTermMurders = 10; Item WizardsHat = new WizardsHat(); WizardsHat.Movable = false; WizardsHat.Hue = 1; EquipItem(WizardsHat); Item Skirt = new Skirt(); Skirt.Movable = false; Skirt.Hue = 1; EquipItem(Skirt); Item Shirt = new Shirt(); Shirt.Movable = false; Shirt.Hue = 1; EquipItem(Shirt); Item Sandals = new Sandals(); Sandals.Movable = false; Sandals.Hue = 1; EquipItem(Sandals); SetStr(110, 120); SetDex(86, 95); SetInt(461, 570); SetHits(320, 350); SetDamage(10, 13); SetSkill(SkillName.Wrestling, 80.3, 87.8); SetSkill(SkillName.Tactics, 80.5, 87.0); SetSkill(SkillName.MagicResist, 108.6, 112.8); SetSkill(SkillName.Magery, 91.7, 100.0); SetSkill(SkillName.EvalInt, 65.1, 80.1); SetSkill(SkillName.Meditation, 31.1, 40.1); Fame = 15000; Karma = -15000; VirtualArmor = 15; switch (Utility.Random(25)) { case 0: PackItem(new EnchantedWood()); break; } PackGold(900, 1300); PackArmor(0, 5); PackWeapon(0, 5); switch (Utility.Random(5)) { case 0: PackReg(36); break; case 1: PackScroll(7, 7); break; case 2: PackScroll(8, 8); break; case 3: PackReg(33); break; case 4: PackReg(31); break; } if (0.05 > Utility.RandomDouble()) { PackItem(new Obsidian()); } }
public Archmage() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Body = 0x190; Name = NameList.RandomName("evil mage"); Title = "the mad archmage"; EmoteHue = 11; Hue = Utility.RandomSkinColor(); Utility.AssignRandomHair(this); int HairColor = Utility.RandomHairHue(); FacialHairItemID = Utility.RandomList(0, 8254, 8255, 8256, 8257, 8267, 8268, 8269); HairHue = HairColor; FacialHairHue = HairColor; Robe robe = new Robe( ); robe.Hue = 0xA2A; robe.LootType = LootType.Blessed; AddItem(robe); WizardsHat hat = new WizardsHat( ); hat.Hue = 0xA2A; hat.LootType = LootType.Blessed; AddItem(hat); Item boots = new ThighBoots( ); boots.Hue = 0x497; boots.LootType = LootType.Blessed; AddItem(boots); if (Utility.RandomMinMax(1, 4) > 1) { QuarterStaff staff = new QuarterStaff(); staff.Name = "staff"; staff.ItemID = Utility.RandomList(0xDF0, 0x13F8, 0xE89, 0x2D25, 0x26BC, 0x26C6, 0xDF2, 0xDF3, 0xDF4, 0xDF5); if (staff.ItemID == 0x26BC || staff.ItemID == 0x26C6) { staff.Name = "scepter"; } if (staff.ItemID == 0xDF2 || staff.ItemID == 0xDF3 || staff.ItemID == 0xDF4 || staff.ItemID == 0xDF5) { staff.Name = "magic wand"; } staff.LootType = LootType.Blessed; staff.Attributes.SpellChanneling = 1; AddItem(staff); } SetStr(986, 1185); SetDex(177, 255); SetInt(196, 220); SetHits(592, 711); SetDamage(22, 29); SetDamageType(ResistanceType.Physical, 50); SetDamageType(ResistanceType.Fire, 25); SetDamageType(ResistanceType.Energy, 25); SetResistance(ResistanceType.Physical, 65, 80); SetResistance(ResistanceType.Fire, 60, 80); SetResistance(ResistanceType.Cold, 50, 60); SetResistance(ResistanceType.Poison, 100); SetResistance(ResistanceType.Energy, 40, 50); SetSkill(SkillName.Anatomy, 25.1, 50.0); SetSkill(SkillName.EvalInt, 90.1, 100.0); SetSkill(SkillName.Magery, 95.5, 100.0); SetSkill(SkillName.Meditation, 25.1, 50.0); SetSkill(SkillName.MagicResist, 100.5, 150.0); SetSkill(SkillName.Tactics, 90.1, 100.0); SetSkill(SkillName.Wrestling, 90.1, 100.0); Fame = 24000; Karma = -24000; VirtualArmor = 90; PackReg(30, 275); }
public DeadWizard() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { switch (Utility.Random(3)) { case 0: Hue = 1150; BaseSoundID = 412; AddItem(new LightSource()); break; // GHOST case 1: Hue = 0x430; BaseSoundID = 0x4FB; break; // SKELETON case 2: Hue = 0xB97; BaseSoundID = 471; break; // ZOMBIE } if (this.Female = Utility.RandomBool()) { this.Body = 0x191; this.Name = NameList.RandomName("female"); switch (Utility.RandomMinMax(0, 5)) { case 0: Title = "the undead wizard"; break; case 1: Title = "the undead sorceress"; break; case 2: Title = "the undead mage"; break; case 3: Title = "the undead conjurer"; break; case 4: Title = "the undead magician"; break; case 5: Title = "the undead witch"; break; } } else { this.Body = 0x190; this.Name = NameList.RandomName("male"); switch (Utility.RandomMinMax(0, 5)) { case 0: Title = "the undead wizard"; break; case 1: Title = "the undead sorcerer"; break; case 2: Title = "the undead mage"; break; case 3: Title = "the undead conjurer"; break; case 4: Title = "the undead magician"; break; case 5: Title = "the undead warlock"; break; } } int clothHue = Utility.RandomMinMax(0, 12); Robe robe = new Robe( ); robe.Hue = Utility.RandomColor(clothHue); AddItem(robe); if (50 > Utility.Random(100)) { WizardsHat hat = new WizardsHat( ); hat.Hue = Utility.RandomColor(clothHue); AddItem(hat); } Item boots = new ThighBoots( ); boots.Hue = Utility.RandomNeutralHue(); AddItem(boots); if (Utility.RandomMinMax(1, 4) > 1) { QuarterStaff staff = new QuarterStaff(); staff.Name = "staff"; staff.ItemID = Utility.RandomList(0xDF0, 0x13F8, 0xE89, 0x2D25, 0x26BC, 0x26C6, 0xDF2, 0xDF3, 0xDF4, 0xDF5); if (staff.ItemID == 0x26BC || staff.ItemID == 0x26C6) { staff.Name = "scepter"; } if (staff.ItemID == 0xDF2 || staff.ItemID == 0xDF3 || staff.ItemID == 0xDF4 || staff.ItemID == 0xDF5) { staff.Name = "magic wand"; } staff.LootType = LootType.Blessed; staff.Attributes.SpellChanneling = 1; AddItem(staff); } SetStr(235, 280); SetDex(76, 95); SetInt(301, 325); SetHits(190, 235); SetDamage(7, 14); SetDamageType(ResistanceType.Physical, 100); SetResistance(ResistanceType.Physical, 45, 60); SetResistance(ResistanceType.Fire, 30, 40); SetResistance(ResistanceType.Cold, 30, 40); SetResistance(ResistanceType.Poison, 50, 60); SetResistance(ResistanceType.Energy, 30, 40); SetSkill(SkillName.EvalInt, 90.1, 100.0); SetSkill(SkillName.Magery, 90.1, 100.0); SetSkill(SkillName.MagicResist, 85.1, 95.0); SetSkill(SkillName.Tactics, 90.1, 100.0); SetSkill(SkillName.Wrestling, 90.1, 100.0); SetSkill(SkillName.Macing, 90.1, 100.0); Fame = 9000; Karma = -9000; VirtualArmor = 20; PackReg(Utility.RandomMinMax(2, 10)); PackReg(Utility.RandomMinMax(2, 10)); PackReg(Utility.RandomMinMax(2, 10)); }
public WindSummoner() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.2) { Title = "the Wind Summoner"; Hue = Utility.RandomSkinHue(); Body = 0x190; Name = NameList.RandomName("male"); BaseSoundID = 0; Item hat = new WizardsHat(); hat.Movable = false; hat.Hue = 1154; EquipItem(hat); Item shirt = new Shirt(); shirt.Movable = false; shirt.Hue = 1154; EquipItem(shirt); Item skirt = new Skirt(); skirt.Movable = false; skirt.Hue = 1154; EquipItem(skirt); Item Sandals = new Sandals(); Sandals.Movable = false; Sandals.Hue = 1154; EquipItem(Sandals); SetStr(110, 120); SetDex(86, 95); SetInt(161, 170); SetHits(120, 130); SetDamage(5, 13); SetSkill(SkillName.Wrestling, 70.3, 77.8); SetSkill(SkillName.Tactics, 80.5, 87.0); SetSkill(SkillName.MagicResist, 90.6, 92.8); SetSkill(SkillName.Magery, 94.7, 96.0); SetSkill(SkillName.EvalInt, 40.1, 44.1); SetSkill(SkillName.Meditation, 21.1, 30.1); Fame = 9000; Karma = -9000; VirtualArmor = 45; PackPotion(); PackItem(new Bandage(Utility.RandomMinMax(5, 10))); if (0.005 > Utility.RandomDouble()) { PackItem(new ObsidianStatue()); } }
public Witch() : base(AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = NameList.RandomName("female"); Title = "the Witch"; Body = 0x0191; Hue = 0x0599; Female = true; SetStr(70, 90); SetDex(81, 95); SetInt(80, 100); SetHits(70, 90); SetStam(81, 95); SetMana(100); SetDamage(15, 20); AddItem(new LongHair(Utility.RandomHairHue())); Item temp; temp = new FancyShirt(0); temp.Movable = false; AddItem(temp); temp = new Skirt(1); temp.Movable = false; AddItem(temp); temp = new WizardsHat(1); temp.Movable = false; AddItem(temp); temp = new ThighBoots(1); temp.Movable = false; AddItem(temp); temp = new GnarledStaff(); AddItem(temp); //PackGold(50, 80); AddItem(new EyesOfNewt(Utility.RandomMinMax(1, 5))); AddItem(new BatWing(Utility.RandomMinMax(1, 5))); PackPotion(); PackPotion(); SetSkill(SkillName.MagicResist, 80.0, 90.0); SetSkill(SkillName.Magery, 65.0, 85.0); SetSkill(SkillName.Macing, 55.0, 75.0); SetSkill(SkillName.Tactics, 70.0, 90.0); SetSkill(SkillName.Wrestling, 40.0, 55.0); Fame = Utility.RandomMinMax(2000, 4000); Karma = Utility.RandomMinMax(-3000, -5000); VirtualArmor = 16; PackItem(new Sandals()); if (Utility.RandomDouble() <= 0.7) { Spellbook book = new Spellbook(); book.Content = ulong.MaxValue; book.LootType = LootType.Regular; AddItem(book); } }
public KrassKringle() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Krass Kringle"; Title = "The Anti Claus"; Female = false; Body = 0x190; Hue = 1873; NameHue = 1272; FancyShirt shirt = new FancyShirt(); shirt.Hue = 1; shirt.Movable = false; AddItem(shirt); Surcoat surcoat = new Surcoat(); surcoat.Hue = 1; surcoat.Movable = false; AddItem(surcoat); LongPants longpants = new LongPants(); longpants.Hue = 1; longpants.Movable = false; AddItem(longpants); Boots boots = new Boots(); boots.Hue = 1; boots.Movable = false; AddItem(boots); WizardsHat hat = new WizardsHat(); hat.Hue = 1; hat.Movable = false; AddItem(hat); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 1; gloves.Movable = false; AddItem(gloves); HairItemID = 0x203C; HairHue = 1153; FacialHairItemID = 0x204B; FacialHairHue = 1153; { } SetStr(410, 580); SetDex(185, 210); SetInt(300, 450); SetDamage(40, 75); SetHits(5000, 10000); SetMana(5000); SetResistance(ResistanceType.Physical, 65, 75); SetResistance(ResistanceType.Fire, 35, 45); SetResistance(ResistanceType.Cold, 100, 110); SetResistance(ResistanceType.Poison, 75, 90); SetResistance(ResistanceType.Energy, 60, 75); SetSkill(SkillName.Fencing, 96.0, 117.5); SetSkill(SkillName.Macing, 95.0, 107.5); SetSkill(SkillName.MagicResist, 85.0, 107.5); SetSkill(SkillName.Swords, 85.0, 119.5); SetSkill(SkillName.Tactics, 95.0, 119.5); SetSkill(SkillName.Wrestling, 75.0, 97.5); SetSkill(SkillName.Anatomy, 90.1, 100.0); SetSkill(SkillName.MagicResist, 140.1, 150.0); SetSkill(SkillName.Necromancy, 100.5, 110.9); SetSkill(SkillName.Healing, 70.2, 79.4); Fame = 1000; Karma = -15000; VirtualArmor = 72; switch (Utility.Random(7)) { case 0: AddItem(new Longsword()); break; case 1: AddItem(new Cutlass()); break; case 2: AddItem(new Broadsword()); break; case 3: AddItem(new Axe()); break; case 4: AddItem(new Club()); break; case 5: AddItem(new Dagger()); break; case 6: AddItem(new Spear()); break; } }