public HireMage() : base(AIType.AI_Mage) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Name = NameList.RandomName( Female ? "female" : "male" ); Title = "the mage"; Hue = Utility.RandomSkinHue(); SetStr( 61, 75 ); SetDex( 25, 50 ); SetInt( 61, 75 ); Karma = Utility.RandomMinMax( 13, -45 ); SetSkill( SkillName.Tactics, 55, 77.5 ); SetSkill( SkillName.MagicResist, 65, 80 ); SetSkill( SkillName.Parry, 55, 77.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); SetSkill( SkillName.Magery, 65, 80 ); SetSkill( SkillName.Inscribe, 50.1, 65 ); Item item = null; item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new Robe(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new BodySash(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); }
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 ExchangeNPC() : base() { Category = Config.NPCCategories.BlackSmith; m_ItemHue = ItemHues.Turquoise; InitStats(100, 100, 25); Title = "the trader"; Hue = Utility.RandomSkinHue(); Body = 0x190; Hue = 33770; Name = NameList.RandomName("male"); HairItemID = 8252; Blessed = true; HairHue = 2125; FacialHairItemID = 8267; FacialHairHue = 2125; Item sash = new BodySash(); sash.Hue = 1195; sash.Name = "I can make thee rich!"; sash.Layer = Layer.Talisman; AddItem(sash); Equip(new Tunic()); Equip(new FurBoots()); Equip(new FurCape()); Equip(new Kilt()); Equip(new LongPants()); Equip(new Necklace()); Equip(new GoldRing()); Equip(new SilverBracelet()); Direction = Direction.Down; }
public Rexxar () : base( AIType.AI_Melee, FightMode.Closest ) { Name = "Rexxar"; Title = "The murderer"; Body = 400; BaseSoundID = 427; Hue = 1175; SetStr( 200, 400 ); SetDex( 100, 150 ); SetInt( 46, 70 ); SetHits( 9000 ); SetDamage( 20, 25 ); SetSkill( SkillName.MagicResist, 125.1, 140.0 ); SetSkill( SkillName.Tactics, 90.1, 100.0 ); SetSkill( SkillName.Wrestling, 90.1, 100.0 ); Fame = 150000; Karma = -150000; VirtualArmor = 50; Bandana bandana = new Bandana(); bandana.Hue = 1175; bandana.Movable = false; AddItem( bandana ); ChainChest chest = new ChainChest(); chest.Hue = 1645; chest.Movable = false; AddItem( chest ); PlateArms arms = new PlateArms(); arms.Hue = 1645; arms.Movable = false; AddItem( arms ); PlateLegs legs = new PlateLegs(); legs.Hue = 1645; legs.Movable = false; AddItem( legs ); BodySash sash = new BodySash(); sash.Hue = 1175; sash.Movable = false; AddItem( sash ); DoubleAxe axe = new DoubleAxe(); axe.Hue = 1175; axe.Movable = false; AddItem( axe ); }
public BookCollector() : base() //----------------------------------------------------------------------------------------------------// { Body = 400; Hue = Utility.RandomSkinHue(); if (Female = Utility.RandomBool()) { Body = 401; Name = NameList.RandomName("female"); } else { Name = NameList.RandomName("male"); } //----------------------------------------------------------------------------------------------------// //Title = "[A Book Collector]"; //CantWalk = true; Direction = Direction.South; Hue = Utility.RandomSkinHue(); Utility.AssignRandomHair(this); Blessed = true; BodySash bs = new BodySash(); bs.Hue = 33; AddItem(bs); //PlateArms pa = new PlateArms(); //pa.Hue = 0; //AddItem(pa); FormalShirt pc = new FormalShirt(); pc.Hue = 0; AddItem(pc); //PlateGloves pg = new PlateGloves(); //pg.Hue = 0; //AddItem(pg); LongPants pl = new LongPants(); pl.Hue = 0; AddItem(pl); Sandals pt = new Sandals(); pt.Hue = 0; AddItem(pt); //----------------------------------------------------------------------------------------------------// }
public WeaponsCollector() : base() //----------------------------------------------------------------------------------------------------// { Body = 400; Hue = Utility.RandomSkinHue(); if (Female = Utility.RandomBool()) { Body = 401; Name = NameList.RandomName("female"); } else { Name = NameList.RandomName("male"); } //----------------------------------------------------------------------------------------------------// //Title = "[A Weapons Collector]"; //CantWalk = true; Direction = Direction.South; Hue = Utility.RandomSkinHue(); Utility.AssignRandomHair(this); Blessed = true; BodySash bs = new BodySash(); bs.Hue = 33; AddItem(bs); PlateArms pa = new PlateArms(); pa.Hue = 0; AddItem(pa); PlateChest pc = new PlateChest(); pc.Hue = 0; AddItem(pc); PlateGloves pg = new PlateGloves(); pg.Hue = 0; AddItem(pg); PlateLegs pl = new PlateLegs(); pl.Hue = 0; AddItem(pl); PlateGorget pt = new PlateGorget(); pt.Hue = 0; AddItem(pt); //----------------------------------------------------------------------------------------------------// }
public Mayor() : base(AIType.AI_Melee, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = Utility.RandomBool(); Body = Female ? 401 : 400; Title = "the mayor"; Name = NameList.RandomName( Female ? "female" : "male" ); Hue = Utility.RandomSkinHue(); SetStr( 36, 50 ); SetDex( 36, 50 ); SetInt( 51, 65 ); Karma = Utility.RandomMinMax( 53, -5 ); SetSkill( SkillName.Tactics, 25, 47.5 ); SetSkill( SkillName.MagicResist, 25, 47.5 ); SetSkill( SkillName.Parry, 25, 47.5 ); SetSkill( SkillName.Swords, 15, 37.5 ); SetSkill( SkillName.Macing, 15, 37.5 ); SetSkill( SkillName.Fencing, 15, 37.5 ); SetSkill( SkillName.Wrestling, 15, 37.5 ); Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new LongPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); item = new BodySash(); item.Hue = Utility.RandomRedHue(); AddItem( item ); LootPack.Rich.Generate( this ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Skirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); item = new BodySash(); item.Hue = Utility.RandomRedHue(); AddItem( item ); LootPack.Rich.Generate( this ); } }
public Finlor() { Name = "Finlor"; Title = "the Sea Captain"; Body = 0x190; Hue = Utility.RandomSkinHue(); Blessed = true; CantWalk = true; Direction = Direction.South; ThighBoots tb = new ThighBoots(); tb.Hue = 0; AddItem( tb ); LongPants lp = new LongPants(); lp.Hue = 6; AddItem( lp ); FancyShirt fs = new FancyShirt(); fs.Hue = 0; AddItem( fs ); TricorneHat th = new TricorneHat(); th.Hue = 52; AddItem( th ); BodySash bs = new BodySash(); bs.Hue = 6; AddItem( bs ); Cloak cl = new Cloak(); cl.Hue = 38; AddItem( cl ); Scimitar sc = new Scimitar(); AddItem( sc ); GoldBeadNecklace gn = new GoldBeadNecklace(); AddItem( gn ); GoldBracelet gb = new GoldBracelet(); AddItem( gb ); GoldEarrings ge = new GoldEarrings(); AddItem( ge ); GoldRing gr = new GoldRing(); AddItem( gr ); AddItem( new PonyTail(1149)); AddItem( new Vandyke(1149)); }
public override void InitOutfit() { Item item = null; if ( !Female ) { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = AddRandomFacialHair( item.Hue ); item = new FancyShirt(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new LongPants(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new Cloak(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new BodySash(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); item = new Longsword(); AddItem( item ); PackGold( 100, 150 ); } else { item = AddRandomHair(); item.Hue = Utility.RandomHairHue(); item = new FancyDress(); item.Hue = Utility.RandomNeutralHue(); AddItem( item ); item = new Cloak(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = new BodySash(); item.Hue = Utility.RandomNondyedHue(); AddItem( item ); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem( item ); item = new Longsword(); AddItem( item ); PackGold( 100, 150 ); } }
public override void InitOutfit() { Item item = null; int hairHue = Utility.RandomHairHue(); Utility.AssignRandomHair(this, hairHue); item = new Cloak(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); item = new BodySash(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); item = Utility.RandomBool() ? (Item)new Boots() : (Item)new ThighBoots(); AddItem(item); item = new Longsword(); AddItem(item); AddLoot(LootPack.FilthyRich); if (!Female) { Utility.AssignRandomFacialHair(this, hairHue); item = new FancyShirt(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); item = new LongPants(); AddItem(item); item.Hue = Utility.RandomNondyedHue(); } else { item = new FancyDress(); AddItem(item); item.Hue = Utility.RandomNeutralHue(); } }
public override void InitOutfit() { WipeLayers(); AddItem( new SkullCap( Utility.RandomRedHue() ) ); if ( Utility.RandomBool() ) { Item shirt = new Shirt( Utility.RandomRedHue() ); AddItem( shirt ); } Item sash = new BodySash(0x85); Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2049, 0x204A ) ); Item pants = new LongPants( Utility.RandomRedHue() ); Item boots = new Boots( Utility.RandomRedHue() ); hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); AddItem( sash ); AddItem( pants ); AddItem( boots ); }
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 ); }
//[Constructable] 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 DreadLord() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.1, 0.1 ) { SpeechHue = 0; Hue = Utility.RandomSkinHue(); Body = 0x190; Name = "Dread Lord"; SetStr( 200, 250 ); SetDex( 100, 150 ); SetInt( 71, 85 ); SetHits( 200, 250 ); SetDex( 100, 150 ); SetInt( 71, 85 ); SetDamage( 10, 20 ); SetSkill( SkillName.Parry, 75.0, 98.0 ); SetSkill( SkillName.Poisoning, 90.0, 100.0 ); SetSkill( SkillName.MagicResist, 65.0, 88.0 ); SetSkill( SkillName.Swords, 80.0, 95.0 ); SetSkill( SkillName.Tactics, 80.0, 98.0 ); SetSkill( SkillName.Wrestling, 67.0, 90.0 ); SetSkill( SkillName.DetectHidden, 90.0, 100.0 ); Fame = 6000; Karma = -10000; VirtualArmor = 30; Item temp; temp = new PlateGloves(); temp.Movable = false; AddItem( temp ); temp = new PlateHelm(); temp.Movable = false; AddItem( temp ); temp = new PlateArms(); temp.Movable = false; AddItem( temp ); temp = new PlateGorget(); temp.Movable = false; AddItem( temp ); temp = new PlateLegs(); temp.Movable = false; AddItem( temp ); temp = new PlateChest(); temp.Movable = false; AddItem( temp ); temp = new VikingSword(); temp.Movable = false; AddItem( temp ); temp = new Cloak(); temp.Hue = 0x0020; temp.Movable = true; AddItem( temp ); temp = new BodySash(); temp.Hue = 0x0020; temp.Movable = true; AddItem( temp ); temp = new HalfApron(); temp.Hue = 0x0020; temp.Movable = false; AddItem( temp ); AddItem( new KrisnaHair( Utility.RandomHairHue() ) ); Spellbook book = new Spellbook(); book.Content = ulong.MaxValue; book.LootType = LootType.Regular; AddItem(book); }
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); }
public override void InitOutfit() { WipeLayers(); // black captain's hat TricorneHat hat = CaptainsHat(); hat.LootType = LootType.Newbied; AddItem(hat); if (Utility.RandomBool()) { Item shirt = new Shirt(Utility.RandomRedHue()); AddItem(shirt); } Item sash = new BodySash(0x85); Item hair = new Item(Utility.RandomList(0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2049, 0x204A)); Item pants = new LongPants(Utility.RandomRedHue()); Item boots = new Boots(Utility.RandomRedHue()); hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; Item sword; if (Utility.RandomBool()) sword = new Scimitar(); else sword = new Cutlass(); sword.LootType = LootType.Newbied; AddItem(hair); AddItem(sash); AddItem(pants); AddItem(boots); AddItem(sword); if (!this.Female) { Item beard = new Item(Utility.RandomList(0x203E, 0x203F, 0x2040, 0x2041, 0x204B, 0x204C, 0x204D)); beard.Hue = hair.Hue; beard.Layer = Layer.FacialHair; beard.Movable = false; AddItem(beard); } }
public DrowAssassin() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { SpeechHue = Utility.RandomDyedHue(); Title = "Drow Assasino"; Hue = 902; if (this.Female = Utility.RandomBool()) { Body = 0x191; Name = NameList.RandomName("female"); } else { Body = 0x190; Name = NameList.RandomName("male"); } SetStr(186, 800); SetDex(81, 145); SetInt(61, 75); SetHits(222, 408); SetDamage(33, 48); SetSkill(SkillName.Fencing, 86.5, 177.5); SetSkill(SkillName.MagicResist, 95.5, 127.5); SetSkill(SkillName.Swords, 85.5, 177.5); SetSkill(SkillName.Tactics, 85.5, 177.5); SetSkill(SkillName.Wrestling, 95.5, 177.5); Fame = 1000; Karma = -1000; Item bodySash = new BodySash(); bodySash.Hue = 422; AddItem(bodySash); Item bandana = new Bandana(); bandana.Hue = 422; AddItem(bandana); //AddItem(new Piwafwi()); AddItem(new Boots()); //AddItem(new DrowRingmailGloves()); //AddItem(new DrowChainChest()); //AddItem(new DrowChainLegs()); switch (Utility.Random(5)) { case 0: AddItem(new Longsword()); break; case 1: AddItem(new Kryss()); break; case 2: AddItem(new Katana()); break; case 3: AddItem(new Dagger()); break; case 4: AddItem(new Spear()); break; } Item hair = new Item(Utility.RandomList(0x203B, 0x2049, 0x2048, 0x204A)); hair.Hue = 1153; hair.Layer = Layer.Hair; hair.Movable = false; AddItem(hair); PackGold(500, 2500); PackArmor(2, 5, 0.8); PackWeapon(3, 5, 0.8); PackSlayer(); }
public DungeonGuard() : base( AIType.AI_Melee ) { Name = NameList.RandomName( "male" ); Title = "the Guard"; Fame = 5000; Karma = -5000; Hue = 1175; BodyValue = 400;; SetStr( 150 ); SetDex( 100 ); SetInt( 200 ); SetHits( 1000 ); SetSkill( SkillName.MagicResist, 200.0 ); SetSkill( SkillName.Tactics, 100.0 ); SetSkill( SkillName.Swords, 120.0 ); SetSkill( SkillName.DetectHidden, 100.0, 120.0 ); PlateArms a = new PlateArms(); a.Hue = 1109; a.LootType = LootType.Blessed; AddItem( a ); Cloak c = new Cloak(); c.Hue = 1157; c.LootType = LootType.Blessed; AddItem( c ); BodySash b = new BodySash(); b.Hue = 1157; b.LootType = LootType.Blessed; AddItem( b ); PlateGloves g = new PlateGloves(); g.Hue = 1109; g.LootType = LootType.Blessed; AddItem( g ); PlateLegs l = new PlateLegs(); l.Hue = 1109; l.LootType = LootType.Blessed; AddItem( l ); PlateChest t = new PlateChest(); t.Hue = 1109; t.LootType = LootType.Blessed; AddItem( t ); PlateGorget n = new PlateGorget(); n.Hue = 1109; n.LootType = LootType.Blessed; AddItem( n ); PlateHelm h = new PlateHelm(); h.Hue = 1109; h.LootType = LootType.Blessed; AddItem( h ); VikingSword w = new VikingSword(); w.Hue = 1109; w.Movable = false; w.LootType = LootType.Blessed; AddItem( w ); ChaosShield s = new ChaosShield(); s.Hue = 1109; s.Movable = false; s.LootType = LootType.Blessed; AddItem( s ); }
public PirateLeader() : base( AIType.AI_Melee/*, FightMode.Closest, 10, 1, 0.15, 0.4*/ ) { Name = "Pirate Lord"; if ( Female = Utility.RandomBool() ) Body = 186; else Body = 185; SetStr( 578, 620 ); SetDex( 450, 500 ); SetInt( 200, 300 ); SetHits( 4000, 6000); SetDamage( 40, 55 ); SetDamageType( ResistanceType.Physical, 100 ); SetSkill( SkillName.Fencing, 100.5, 120.0 ); SetSkill( SkillName.Healing, 60.3, 100.0 ); SetSkill( SkillName.Macing, 100.5, 140.0 ); SetSkill( SkillName.Poisoning, 60.0, 100.5 ); SetSkill( SkillName.MagicResist, 72.5, 100.0 ); SetSkill( SkillName.Swords, 100.5, 150.0 ); SetSkill( SkillName.Tactics, 72.5, 170.0 ); Fame = 50000; Karma = -50000; CanSwim = true; Tamable = false; ControlSlots = 1; MinTameSkill = 99.1; MF_Displacer = true; MF_Bomber = true; MF_HumanRevealer = true; PackItem( new Gold( 6500, 15000 ) ); //PackItem( new Musket2() ); //new ThoroughbredHorse().Rider = this; switch ( Utility.Random( 5 )) { case 0: PackItem( new SOS() ); break; case 1: PackItem( new SpecialFishingNet() ); break; } Item LongPants = new LongPants(); LongPants.Movable = false; AddItem( LongPants ); LongPants.Hue = 1; Item LeatherGloves = new LeatherGloves(); LeatherGloves.Hue = 1; LeatherGloves.Movable = false; AddItem( LeatherGloves ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 143; FancyShirt.Movable = false; AddItem( FancyShirt ); Item BodySash = new BodySash(); BodySash.Hue = 1; BodySash.Movable = false; AddItem( BodySash ); Item TricorneHat = new TricorneHat(); TricorneHat.Hue = 1; TricorneHat.Movable = false; AddItem( TricorneHat ); Item ThighBoots = new ThighBoots(); ThighBoots.Hue = 143; ThighBoots.Movable = false; AddItem( ThighBoots ); switch (Utility.Random(5)) { case 0: AddItem(new Bow()); break; case 1: AddItem(new CompositeBow()); break; case 2: AddItem(new Crossbow()); break; case 3: AddItem(new RepeatingCrossbow()); break; case 4: AddItem(new HeavyCrossbow()); break; } /*Item Musket2 = new Musket2(); Musket2.LootType = LootType.Blessed; Musket2.Movable = false; AddItem( Musket2 ); switch ( Utility.Random( 1 )) { case 0: PackItem( new ClothingBlessDeed() ); break; }*/ }
public DrowWarrior() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { SpeechHue = Utility.RandomDyedHue(); Title = "Drow Guerreiro"; Hue = 902; if (this.Female = Utility.RandomBool()) { Body = 0x191; Name = NameList.RandomName("female"); } else { Body = 0x190; Name = NameList.RandomName("male"); } SetStr(400, 800); SetDex(150, 175); SetInt(275, 325); SetHits(1400, 1600); SetDamage(33, 58); SetSkill(SkillName.MagicResist, 95.5, 127.5); SetSkill(SkillName.Swords, 95.5, 177.5); SetSkill(SkillName.Tactics, 95.5, 177.5); SetSkill(SkillName.Wrestling, 95.5, 177.5); SetSkill(SkillName.Meditation, 100.0, 177.5); SetSkill(SkillName.Magery, 100.0, 177.5); SetSkill(SkillName.Chivalry, 100.0, 177.5); Nightmare montaria = new Nightmare(); montaria.Hue = 33; montaria.Rider = this; montaria.MinTameSkill = 115.1; Fame = 2000; Karma = -2000; VirtualArmor = 55; Item bodySash = new BodySash(); bodySash.Hue = 422; AddItem(bodySash); //AddItem(new Piwafwi()); AddItem(new Boots()); //AddItem(new DrowRingmailGloves()); //AddItem(new DrowChainChest()); //AddItem(new DrowChainLegs()); switch (Utility.Random(3)) { case 0: AddItem(new Longsword()); break; case 1: AddItem(new Katana()); break; case 2: AddItem(new VikingSword()); break; } Item hair = new Item(Utility.RandomList(0x203B, 0x2049, 0x2048, 0x204A)); hair.Hue = 1153; hair.Layer = Layer.Hair; hair.Movable = false; AddItem(hair); PackGold(500, 2500); PackArmor(2, 5, 0.8); PackWeapon(3, 5, 0.8); PackSlayer(); }
public DragonKnightSwordAndShield() : base( AIType.AI_Melee, FightMode.Evil, 10, 1, 0.2, 0.4 ) { Title = "a DragonKnight Swordsman"; Name = NameList.RandomName( "male" ); Body = 0x191; Hue = 33805; Female = false; SetStr( 1025, 1425 ); SetDex( 81, 148 ); SetInt( 475, 675 ); Fame = 1000; Karma = 1000; SetHits( 1000, 2000 ); SetDamage( 24, 33 ); SetDamageType( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Physical, 60, 85 ); SetResistance(ResistanceType.Fire, 65, 90); SetResistance(ResistanceType.Cold, 40, 55); SetResistance( ResistanceType.Poison, 40, 60 ); SetResistance( ResistanceType.Energy, 50, 75 ); SetSkill( SkillName.Archery, 100, 140 ); SetSkill( SkillName.Tactics, 100, 140 ); SetSkill( SkillName.MagicResist, 100, 140 ); SetSkill( SkillName.Tactics, 100, 140 ); SetSkill( SkillName.Wrestling, 100, 140 ); SetSkill( SkillName.Swords, 100, 140 ); SetSkill( SkillName.Magery, 100, 140 ); SetSkill( SkillName.Focus, 100, 140 ); VirtualArmor = 80; VikingSword vikingsword = new VikingSword(); vikingsword.Movable = false; AddItem(vikingsword); OrderShield ordershield = new OrderShield(); ordershield.Movable = false; AddItem(ordershield); //AddItem(new Bolt(100)); HumilityCloak cloak = new HumilityCloak(); cloak.Movable = false; AddItem(cloak); SpiritualityHelm spiritualityhelm = new SpiritualityHelm(); spiritualityhelm.Movable = false; AddItem(spiritualityhelm); HonestyGorget honestygorget = new HonestyGorget(); honestygorget.Movable = false; AddItem(honestygorget); JusticeBreastplate justicebreastplate = new JusticeBreastplate(); justicebreastplate.Movable = false; AddItem(justicebreastplate); BodySash bodysash = new BodySash(); bodysash.Movable = false; bodysash.Name = "Royal DragonKnight"; AddItem(bodysash); CompassionArms compassionarms = new CompassionArms(); compassionarms.Movable = false; AddItem(compassionarms); ValorGauntlets valorgauntlets = new ValorGauntlets(); valorgauntlets.Movable = false; AddItem(valorgauntlets); HonorLegs honorlegs = new HonorLegs(); honorlegs.Movable = false; AddItem(honorlegs); SacrificeSollerets sacrificesollerets = new SacrificeSollerets(); sacrificesollerets.Movable = false; AddItem(sacrificesollerets); // PlateChest chest = new PlateChest(); // chest.Movable = false; // chest.Hue = 137; // AddItem(chest); VampiriacSteed vampiriacsteed = new VampiriacSteed(); vampiriacsteed.Hue = 2219; //horse.Hits = 200; //horse.Karma = 500; vampiriacsteed.Rider = this; //new VampiriacSteed().Rider = this; vikingsword.Hue = 253; ordershield.Hue = 253; cloak.Hue = 253; spiritualityhelm.Hue = 2406; honestygorget.Hue = 2406; justicebreastplate.Hue = 2406; bodysash.Hue = 253; compassionarms.Hue = 2406; valorgauntlets.Hue = 2406; honorlegs.Hue = 2406; sacrificesollerets.Hue = 2406; }
public Pirate2() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.15, 0.4 ) { Name = "Pirate"; if ( Female = Utility.RandomBool() ) Body = 186; else Body = 185; SetStr( 578, 620 ); SetDex( 450, 500 ); SetInt( 200, 300 ); SetHits( 100, 150); SetDamage( 30, 45 ); SetDamageType( ResistanceType.Physical, 100 ); SetSkill( SkillName.Fencing, 72.5, 100.0 ); SetSkill( SkillName.Healing, 60.3, 100.0 ); SetSkill( SkillName.Macing, 72.5, 100.0 ); SetSkill( SkillName.Poisoning, 60.0, 100.5 ); SetSkill( SkillName.MagicResist, 72.5, 100.0 ); SetSkill( SkillName.Swords, 72.5, 100.0 ); SetSkill( SkillName.Tactics, 72.5, 100.0 ); Fame = 1000; Karma = -1000; CanSwim = true; Tamable = false; ControlSlots = 1; MinTameSkill = 99.1; PackItem( new Gold( 650, 1500 ) ); //PackItem( new Musket2() ); new Horse().Rider = this; switch ( Utility.Random( 5 )) { case 0: PackItem( new SOS() ); break; case 1: PackItem( new SpecialFishingNet() ); break; } Item LongPants = new LongPants(); LongPants.Movable = false; AddItem( LongPants ); LongPants.Hue = 1; Item LeatherGloves = new LeatherGloves(); LeatherGloves.Hue = 1; LeatherGloves.Movable = false; AddItem( LeatherGloves ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 43; FancyShirt.Movable = false; AddItem( FancyShirt ); Item BodySash = new BodySash(); BodySash.Hue = 1; BodySash.Movable = false; AddItem( BodySash ); Item TricorneHat = new TricorneHat(); TricorneHat.Hue = 1; TricorneHat.Movable = false; AddItem( TricorneHat ); Item ThighBoots = new ThighBoots(); ThighBoots.Hue = 1; ThighBoots.Movable = false; AddItem( ThighBoots ); /*Item Musket2 = new Musket2(); Musket2.LootType = LootType.Blessed; Musket2.Movable = false; AddItem( Musket2 ); switch ( Utility.Random( 1 )) { case 0: PackItem( new ClothingBlessDeed() ); break; }*/ }
public BarbarianShaman() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { int hairHue = Utility.RandomHairHue(); Hue = Utility.RandomSkinHue(); Body = 0x190; Name = "Barbarian Shaman"; AddItem( new LongHair( hairHue ) ); AddItem( new ShortBeard( hairHue ) ); Item temp; temp = new ThighBoots(); temp.Hue = 0x01bb; temp.Movable = false; AddItem( temp ); temp = new Kilt(); temp.Hue = 0x01bb; temp.Movable = false; AddItem( temp ); temp = new BodySash(); temp.Hue = 0x01bb; temp.Movable = false; AddItem( temp ); temp = new GnarledStaff(); temp.Movable = false; AddItem( temp ); SetStr( 100, 150 ); SetDex( 81, 95 ); SetInt( 20, 30 ); SetHits( 150, 200 ); SetStam( 81, 95 ); SetMana( 100 ); SetDamage( 20, 25 ); SetSkill( SkillName.Magery, 60.0, 75.0 ); SetSkill( SkillName.Parry, 75.0, 100.0 ); SetSkill( SkillName.MagicResist, 40.0, 55.0 ); SetSkill( SkillName.Macing, 100.0 ); SetSkill( SkillName.Tactics, 80.0, 95.0 ); SetSkill( SkillName.Wrestling, 80.0, 95.0 ); Fame = Utility.RandomMinMax( 3500, 5000 ); Karma = Utility.RandomMinMax( -4000, -6000 ); VirtualArmor = 20; if (Utility.RandomDouble() <= 0.7) { Spellbook book = new Spellbook(); book.Content = ulong.MaxValue; book.LootType = LootType.Regular; AddItem(book); } }
public override void InitOutfit() { WipeLayers(); switch( Utility.Random( 2 ) ) { case 0: AddItem( new SkullCap( Utility.RandomRedHue() ) ); break; case 1: AddItem( new TricorneHat( Utility.RandomRedHue() ) ); break; } if ( Utility.RandomBool() ) { Item shirt = new Shirt( Utility.RandomRedHue() ); AddItem( shirt ); } Item sash = new BodySash(0x85); Item hair = new Item( Utility.RandomList( 0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2049, 0x204A ) ); Item pants = new LongPants( Utility.RandomRedHue() ); Item boots = new Boots( Utility.RandomRedHue() ); hair.Hue = Utility.RandomHairHue(); hair.Layer = Layer.Hair; hair.Movable = false; Item sword; if ( Utility.RandomBool() ) sword = new Scimitar(); else sword = new Cutlass(); AddItem( hair ); AddItem( sash ); AddItem( pants ); AddItem( boots ); AddItem( sword ); sword.Movable = false; if( !this.Female ) { Item beard = new Item( Utility.RandomList( 0x203E, 0x203F, 0x2040, 0x2041, 0x204B, 0x204C, 0x204D ) ); beard.Hue = hair.Hue; beard.Layer = Layer.FacialHair; beard.Movable = false; AddItem( beard ); } }
public CrazySanta() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "Crazy Santa Clause"; Title = "Of Red Christmas"; 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( 60000, 100000); }
public static Item RandomIOB() { switch (Utility.Random(7)) { case 0: // Undead - GUL { if (Utility.RandomBool()) return new BloodDrenchedBandana(); else { BodySash sash = new BodySash(); sash.Hue = 0x66C; sash.IOBAlignment = IOBAlignment.Council; sash.Name = "blood drenched sash"; sash.Dyable = false; sash.Scissorable = false; return sash; } } case 1: // Undead - UND { Sandals sandals = new Sandals(); if (Utility.RandomBool()) sandals.Hue = 0x66C; else sandals.Hue = 0x1; sandals.IOBAlignment = IOBAlignment.Undead; sandals.Name = "sandals of the walking dead"; sandals.Dyable = false; sandals.Scissorable = false; return sandals; } case 2: // Orcish { if (Utility.RandomBool()) { // green mask (brute color) if (Utility.RandomBool()) return new OrcishKinMask(); else { // old style mask (orc colored) OrcishKinMask mask = new OrcishKinMask(); mask.Hue = 0; return mask; } } else { return new OrcishKinHelm(); } } case 3: //Savage { if (Utility.RandomBool()) { if (Utility.RandomBool()) { BearMask mask = new BearMask(); mask.IOBAlignment = IOBAlignment.Savage; mask.Name = "bear mask of savage kin"; mask.Dyable = false; return mask; } else { DeerMask mask = new DeerMask(); mask.IOBAlignment = IOBAlignment.Savage; mask.Name = "deer mask of savage kin"; mask.Dyable = false; return mask; } } else { SavageMask mask = new SavageMask(); mask.IOBAlignment = IOBAlignment.Savage; mask.Name = "tribal mask of savage kin"; mask.Dyable = false; return mask; } } case 4: // Pirates { if (Utility.RandomBool()) { if (Utility.RandomBool()) { SkullCap skullcap = new SkullCap(); skullcap.IOBAlignment = IOBAlignment.Pirate; skullcap.Name = "a pirate skullcap"; skullcap.Hue = 0x66C; skullcap.Dyable = false; skullcap.Scissorable = false; return skullcap; } else { Boots boots = new Boots(); boots.IOBAlignment = IOBAlignment.Pirate; boots.Name = "pirate kin boots"; boots.Hue = 0x66c; boots.Dyable = false; boots.Scissorable = false; return boots; } } else { return new PirateHat(); } } case 5: // Brigands { if (Utility.RandomBool()) { return new BrigandKinBandana(); } else { return new BrigandKinBoots(); } } case 6: // Good { switch ( Utility.Random( 4 )) { case 0: Boots boots = new Boots(0x5E4); boots.IOBAlignment = IOBAlignment.Good; boots.Name = "Britannian Militia"; boots.Dyable = false; return boots; case 1: Cloak cloak = new Cloak(Utility.RandomSpecialVioletHue()); cloak.IOBAlignment = IOBAlignment.Good; cloak.Name = "Britannian Militia"; cloak.Dyable = false; cloak.Scissorable = false; return cloak; case 2: Surcoat surcoat = new Surcoat(Utility.RandomSpecialVioletHue()); surcoat.IOBAlignment = IOBAlignment.Good; surcoat.Name = "Britannian Militia"; surcoat.Dyable = false; surcoat.Scissorable = false; return surcoat; case 3: BodySash bodySash = new BodySash(Utility.RandomSpecialRedHue()); bodySash.IOBAlignment = IOBAlignment.Good; bodySash.Name = "Britannian Militia"; bodySash.Dyable = false; bodySash.Scissorable = false; return bodySash; } break; } } return null; }
public Rackham() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "Rackham"; Title = "the Bloody Pirate"; Body = 0x190; Hue = Utility.RandomSkinHue(); ThighBoots tb = new ThighBoots(); tb.Hue = 0; AddItem( tb ); LongPants lp = new LongPants(); lp.Hue = 633; AddItem( lp ); FancyShirt fs = new FancyShirt(); fs.Hue = 907; AddItem( fs ); SkullCap sk = new SkullCap(); sk.Hue = 413; AddItem( sk ); BodySash bs = new BodySash(); bs.Hue = 633; AddItem( bs ); Cloak cl = new Cloak(); cl.Hue = 688; AddItem( cl ); Scimitar sc = new Scimitar(); sc.Hue = 533; AddItem( sc ); GoldBeadNecklace gn = new GoldBeadNecklace(); AddItem( gn ); GoldBracelet gb = new GoldBracelet(); AddItem( gb ); GoldEarrings ge = new GoldEarrings(); AddItem( ge ); GoldRing gr = new GoldRing(); AddItem( gr ); AddItem( new PonyTail(1149)); AddItem( new Vandyke(1149)); SetStr( 120, 140 ); SetDex( 90, 105 ); SetInt( 25, 40 ); SetHits( 450, 500 ); SetMana( 0 ); SetDamage( 20, 28 ); SetDamageType( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Physical, 56, 67 ); SetResistance( ResistanceType.Fire, 40, 50 ); SetResistance( ResistanceType.Poison, 40, 50 ); SetResistance( ResistanceType.Cold, 40, 45 ); SetResistance( ResistanceType.Energy, 40, 55 ); SetSkill( SkillName.MagicResist, 55.1, 65.0 ); SetSkill( SkillName.Tactics, 85.3, 105.0 ); SetSkill( SkillName.Wrestling, 90.3, 105.0 ); SetSkill( SkillName.Swords, 90.3, 105.0 ); Fame = 9900; Karma = -9900; VirtualArmor = 25; PackItem( new SeafaringBracelet() ); PackItem( new TreasureMap( 1, Map.Felucca ) ); }
public DreadLordCaptain() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.1, 0.1 ) { SpeechHue = Utility.RandomDyedHue(); Hue = Utility.RandomSkinHue(); Body = 0x190; Name = "Dread Lord Captain"; SetStr( 400 ); SetDex( 200, 250 ); SetInt( 200, 250 ); SetHits( 350, 400 ); SetStam( 200, 250 ); SetMana( 200, 250 ); SetDamage( 10, 20 ); SetSkill( SkillName.Parry, 85.0, 98.0 ); SetSkill( SkillName.Wrestling, 67.0, 90.0 ); SetSkill( SkillName.Magery, 90.0, 100.0 ); SetSkill( SkillName.Poisoning, 90.0, 100.0 ); SetSkill( SkillName.MagicResist, 65.0, 88.0 ); SetSkill( SkillName.Swords, 90.0, 95.0 ); SetSkill( SkillName.Tactics, 90.0, 98.0 ); Fame = 7500; Karma = -10000; VirtualArmor = 40; Item temp; temp = new PlateGloves(); temp.Movable = false; AddItem( temp ); temp = new PlateHelm(); temp.Movable = false; AddItem( temp ); temp = new PlateArms(); temp.Movable = false; AddItem( temp ); temp = new PlateGorget(); temp.Movable = false; AddItem( temp ); temp = new PlateLegs(); temp.Movable = false; AddItem( temp ); temp = new PlateChest(); temp.Movable = false; AddItem( temp ); temp = new VikingSword(); temp.Movable = false; AddItem( temp ); temp = new Cloak(); temp.Hue = 0x0493; temp.Movable = true; AddItem( temp ); temp = new BodySash(); temp.Hue = 0x0493; temp.Movable = true; AddItem( temp ); temp = new HalfApron(); temp.Hue = 0x1; temp.Movable = false; AddItem( temp ); Item hair = new Item( Utility.RandomList( 0x203B, 0x2049, 0x2048, 0x204A ) ); hair.Hue = Utility.RandomNondyedHue(); hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); //PackGold(800, 1200); PackGem( 4 ); }
private void Dress() { AddItem(new FancyShirt(0)); Item pants = new LongPants(); pants.Hue = 1; AddItem(pants); Item shoes = new Shoes(); shoes.Hue = 1; AddItem(shoes); Item sash = new BodySash(); sash.Hue = 1; AddItem(sash); Utility.AssignRandomHair(this); }
public Samurai() : base( AIType.AI_Melee, FightMode.Weakest, 10, 1, 0.175, 0.3) { Name = "Samurai Assassin"; Title= ", Defiance Cult Clan"; Hue= 1; Body = 400; SpeechHue= 2305; BaseSoundID = 0; Team = 0; //new EtherealHorse().Rider = this; SetStr( 185, 215); SetDex( 130, 140); SetInt( 0, 0); SetHits(185, 300); SetSkill( SkillName.Tactics, 100.7, 100.4); SetSkill( SkillName.MagicResist, 191.4, 191.7); SetSkill( SkillName.Swords, 110.4, 110.7); SetSkill( SkillName.Anatomy, 110.4, 110.7); SetSkill( SkillName.Parry, 75.1, 100.1); Fame=15000; Karma=-15000; VirtualArmor= 75; Item Bokuto = new Bokuto(); Bokuto.Movable=false; Bokuto.Hue=1150; Bokuto.Name="Samurai Bokuto"; EquipItem( Bokuto ); Item Buckler = new Buckler(); Buckler.Movable=false; Buckler.Hue=1253; EquipItem( Buckler ); Item AncientSamuraiHelm = new AncientSamuraiHelm(); AncientSamuraiHelm.Movable=false; AncientSamuraiHelm.Hue=0; EquipItem( AncientSamuraiHelm ); Item StuddedChest = new StuddedChest(); StuddedChest.Movable=false; StuddedChest.Hue=1109; StuddedChest.Name="Samurai Clan"; EquipItem( StuddedChest ); Item BoneArms = new BoneArms(); BoneArms.Movable=false; BoneArms.Hue=1109; EquipItem( BoneArms ); Item Kamishimo = new Kamishimo(); Kamishimo.Movable=false; Kamishimo.Hue=2407; EquipItem( Kamishimo ); Item Sandals = new Sandals(); Sandals.Movable=false; Sandals.Hue=1; EquipItem( Sandals ); Item BodySash = new BodySash(); BodySash.Movable=false; BodySash.Hue=4; BodySash.Name="Samurai Clan Member."; EquipItem( BodySash ); Item hair = new Item( 0x203D); hair.Hue = 1; hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); PackGold( 550, 2000); PackMagicItems( 3, 7); PackMagicItems( 3, 7); PackMagicItems( 3, 7); PackMagicItems( 3, 7); switch ( Utility.Random( 50 )) { case 0: PackItem( new Bokuto() ); break; } }