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 RaresVendor() : base( "the custom provisioner" ) { Item temp; temp = new Shoes(); temp.Hue = 1953; temp.Movable = false; AddItem(temp); temp = new LongPants(); temp.Hue = 01; temp.Movable = false; AddItem(temp); temp = new Doublet(); temp.Hue = 1953; temp.Movable = false; AddItem(temp); temp = new FancyShirt(); temp.Hue = 01; temp.Movable = false; AddItem(temp); temp = new FloppyHat(); temp.Hue = 1953; temp.Movable = false; AddItem(temp); temp = new Cloak(); temp.Hue = 1953; temp.Movable = false; AddItem(temp); }
public KhaldunSummoner() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Body = 0x190; Name = "Zealot of Khaldun"; Title = "the Summoner"; SetStr( 351, 400 ); SetDex( 101, 150 ); SetInt( 502, 700 ); SetHits( 421, 480 ); SetDamage( 5, 15 ); SetDamageType( ResistanceType.Physical, 75 ); SetDamageType( ResistanceType.Cold, 25 ); SetResistance( ResistanceType.Physical, 35, 40 ); SetResistance( ResistanceType.Fire, 25, 30 ); SetResistance( ResistanceType.Cold, 50, 60 ); SetResistance( ResistanceType.Poison, 25, 35 ); SetResistance( ResistanceType.Energy, 25, 35 ); SetSkill( SkillName.Wrestling, 90.1, 100.0 ); SetSkill( SkillName.Tactics, 90.1, 100.0 ); SetSkill( SkillName.MagicResist, 90.1, 100.0 ); SetSkill( SkillName.Magery, 90.1, 100.0 ); SetSkill( SkillName.EvalInt, 100.0 ); SetSkill( SkillName.Meditation, 120.1, 130.0 ); VirtualArmor = 16; Fame = 10000; Karma = -10000; LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 0x66D; AddItem( gloves ); BoneHelm helm = new BoneHelm(); helm.Hue = 0x835; AddItem( helm ); Necklace necklace = new Necklace(); necklace.Hue = 0x66D; AddItem( necklace ); Cloak cloak = new Cloak(); cloak.Hue = 0x66D; AddItem( cloak ); Kilt kilt = new Kilt(); kilt.Hue = 0x66D; AddItem( kilt ); Sandals sandals = new Sandals(); sandals.Hue = 0x66D; AddItem( sandals ); }
public KhaldunSummoner():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Body = 0x190; Title = "the Summoner"; SetStr(1254, 1381); SetDex(93, 135); SetInt(745, 810); SetHits(694, 875); SetDamage(12, 20); SetSkill( SkillName.Wrestling, 90.1, 100.0 ); SetSkill( SkillName.Tactics, 90.1, 100.0 ); SetSkill( SkillName.MagicResist, 90.1, 100.0 ); SetSkill( SkillName.Magery, 90.1, 100.0 ); SetSkill( SkillName.EvalInt, 100.0 ); SetSkill( SkillName.Meditation, 120.1, 130.0 ); VirtualArmor = 36; Fame = 10000; Karma = -10000; LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 0x66D; gloves.Identified = true; AddItem( Immovable(gloves) ); BoneHelm helm = new BoneHelm(); helm.Hue = 0x835; helm.Identified = true; AddItem( Immovable(helm) ); Necklace necklace = new Necklace(); necklace.Hue = 0x66D; AddItem( Immovable(necklace) ); Cloak cloak = new Cloak(); cloak.Hue = 0x66D; AddItem( Immovable(cloak) ); Kilt kilt = new Kilt(); kilt.Hue = 0x66D; AddItem( Immovable(kilt) ); Sandals sandals = new Sandals(); sandals.Hue = 0x66D; AddItem( Immovable(sandals) ); }
public override void InitOutfit() { AddItem( new LordBritishSuit()); Item cape = new Cloak(); cape.Hue = 38; cape.Movable = false; AddItem( cape ); }
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 Sprite() : base( AIType.AI_SphereMelee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "Sprite"; Hue = 0x045e; Body = 0x191; Female = true; AddItem( new PonyTail( 0x0597 ) ); SetStr( 86, 90 ); SetDex( 91, 100 ); SetInt( 71, 85 ); SetHits( 86, 90 ); SetStam( 91, 100 ); SetMana( 0 ); SetDamage( 6, 10 ); SetDamageType( ResistanceType.Physical, 100 ); SetSkill( SkillName.Fencing, 65.0, 88.0 ); SetSkill( SkillName.MagicResist, 60.0, 80.0 ); SetSkill( SkillName.Tactics, 75.0, 85.0 ); SetSkill( SkillName.Wrestling, 35.0, 58.0 ); Fame = Utility.RandomMinMax( 1200, 3200 ); VirtualArmor = 5; Item temp; temp = new ThighBoots(); temp.Hue = 0x0599; temp.Movable = false; AddItem( temp ); temp = new FemaleLeatherChest(); temp.Hue = 0x0599; temp.Movable = false; AddItem( temp ); temp = new Cloak(); temp.Hue = 0x0599; temp.Movable = false; AddItem( temp ); temp = new Kryss(); temp.Hue = 0x0599; temp.Movable = false; AddItem( temp ); temp = new LeatherLegs(); temp.Hue = 0x0599; temp.Movable = false; AddItem( temp ); }
public PriestOfRessurection() : base(AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Delevawn"; Body = 400; Title = "The Priest of Ressurection"; SetStr(1235, 1391); SetDex(128, 139); SetInt(537, 664); SetHits(20000); SetDamage(21, 28); SetDamageType(ResistanceType.Physical, 60); SetDamageType(ResistanceType.Fire, 20); SetDamageType(ResistanceType.Energy, 20); SetResistance(ResistanceType.Physical, 55, 65); SetResistance(ResistanceType.Fire, 55, 65); SetResistance(ResistanceType.Cold, 55, 65); SetResistance(ResistanceType.Poison, 80, 90); SetResistance(ResistanceType.Energy, 60, 75); SetSkill(SkillName.Anatomy, 110.6, 116.1); SetSkill(SkillName.EvalInt, 100.0, 114.4); SetSkill(SkillName.Archery, 115.0, 120.0); SetSkill(SkillName.Magery, 100.0); SetSkill(SkillName.Meditation, 118.2, 127.8); SetSkill(SkillName.MagicResist, 120.0); SetSkill(SkillName.Tactics, 111.9, 134.5); SetSkill(SkillName.Wrestling, 119.7, 128.9); HoodedShroudOfShadows shroud = new HoodedShroudOfShadows(); shroud.Hue = 1175; AddItem(shroud); Cloak cloak = new Cloak(); cloak.Hue = 1175; AddItem(cloak); Fame = 10000; Karma = -10000; VirtualArmor = 70; }
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 Pilock() { Name = "Pilock"; Title = "the farmer"; Body = 0x190; CantWalk = true; Hue = Utility.RandomSkinHue(); Item Boots = new Boots(); Boots.Hue = 2112; Boots.Name = "Farming Boots"; Boots.Movable = false; AddItem( Boots ); Item FancyShirt = new FancyShirt(); FancyShirt.Hue = 1267; FancyShirt.Name = "Farming Shirt"; FancyShirt.Movable = false; AddItem( FancyShirt ); Item LongPants = new LongPants(); LongPants.Hue = 847; LongPants.Name = "Farming Pants"; LongPants.Movable = false; AddItem( LongPants ); Item Cloak = new Cloak(); Cloak.Hue = 1267; Cloak.Name = "Farming Cloak"; Cloak.Movable = false; AddItem( Cloak ); int hairHue = 1814; switch ( Utility.Random( 1 ) ) { case 0: AddItem( new PonyTail( hairHue ) ); break; case 1: AddItem( new Goatee( hairHue ) ); break; } Blessed = true; }
public Armond():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Body = 0x190; Name = "Armond"; Title = "The Dark One"; SetStr( 356, 396 ); SetDex( 105, 135 ); SetInt( 530, 653 ); SetSkill( SkillName.Wrestling, 91.3, 97.8 ); SetSkill( SkillName.Tactics, 91.5, 99.0 ); SetSkill( SkillName.MagicResist, 90.6, 96.8); SetSkill( SkillName.Magery, 91.7, 99.0 ); SetSkill( SkillName.EvalInt, 100.1, 100.1 ); SetSkill( SkillName.Meditation, 121.1, 128.1 ); VirtualArmor = 64; new Kirin().Rider = this; SetFameLevel( 8 ); SetKarmaLevel( -8 ); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 1; AddItem( gloves ); HoodedShroudOfShadows shroud = new HoodedShroudOfShadows(); shroud.Hue = 1157; AddItem( shroud ); Cloak cloak = new Cloak(); cloak.Hue = 1157; AddItem( cloak ); Kilt kilt = new Kilt(); kilt.Hue = 1; AddItem( kilt ); Sandals sandals = new Sandals(); sandals.Hue = 1; AddItem( sandals ); }
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 KhaldunSummoner():base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Body = 0x190; Name = "Khaldun Zealot"; SetStr( 356, 396 ); SetDex( 105, 135 ); SetInt( 530, 653 ); SetSkill( SkillName.Wrestling, 91.3, 97.8 ); SetSkill( SkillName.Tactics, 91.5, 99.0 ); SetSkill( SkillName.MagicResist, 90.6, 96.8); SetSkill( SkillName.Magery, 91.7, 99.0 ); SetSkill( SkillName.EvalInt, 100.1, 100.1 ); SetSkill( SkillName.Meditation, 121.1, 128.1 ); VirtualArmor = 36; SetFameLevel( 4 ); SetKarmaLevel( 4 ); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 32; AddItem( gloves ); BoneHelm helm = new BoneHelm(); helm.Hue = 0x3A8; helm.LootType = LootType.Blessed; AddItem( helm ); Cloak cloak = new Cloak(); cloak.Hue = 32; AddItem( cloak ); Kilt kilt = new Kilt(); kilt.Hue = 32; AddItem( kilt ); Sandals sandals = new Sandals(); sandals.Hue = 32; AddItem( sandals ); }
public override void InitOutfit() { HairItemID = 0x203C; FacialHairItemID = 0x204D; HairHue = FacialHairHue = 0x8A7; AddItem( new Sandals() ); Item item; item = new Cloak(); item.ItemID = 0x26AD; item.Hue = 0x455; AddItem( item ); item = new Robe(); item.ItemID = 0x26AE; item.Hue = 0x4AB; AddItem( item ); item = new Backpack(); item.Movable = false; AddItem( item ); }
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 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 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 EquipItems( Mobile Player, int TeamHue ) { Player.SendMessage( "Equiping Team Items" ); Player.AddItem( new PBArmor( TeamHue, 5136, Layer.Arms ) ); Player.AddItem( new PBArmor( TeamHue, 5137, Layer.Pants ) ); Player.AddItem( new PBArmor( TeamHue, 5138, Layer.Helm ) ); Player.AddItem( new PBArmor( TeamHue, 5139, Layer.Neck ) ); Player.AddItem( new PBArmor( TeamHue, 5140, Layer.Gloves ) ); Player.AddItem( new PBArmor( TeamHue, 5141, Layer.InnerTorso ) ); Player.AddItem( new PBWeapon( TeamHue, this ) ); Cloak cloak = new Cloak( TeamHue ); cloak.Movable = false; Player.AddItem( cloak ); Player.AddToBackpack( new PaintBall( TeamHue, 200 ) ); if (m_Mod == 0) { for (int i = 0; i < m_NumNades; ++i) { Player.AddToBackpack(new PBGrenade(TeamHue, this)); } } if ( TeamHue == m_Team1Hue) { Player.Name = Player.Name + " (" + m_Team1Name + ")"; foreach( Mobile mob in Announcers ) { mob.PublicOverheadMessage( MessageType.Regular, 0x22, false, Player.Name + " Has Joined " + m_Team1Name ); } Player.MoveToWorld( Team1Dest, MapDest ); m_Team1 += 1; } else if ( TeamHue == m_Team2Hue ) { Player.Name = Player.Name + " (" + m_Team2Name + ")"; foreach( Mobile mob in Announcers ) { mob.PublicOverheadMessage( MessageType.Regular, 0x22, false, Player.Name + " Has Joined " + m_Team2Name ); } Player.MoveToWorld( Team2Dest, MapDest ); m_Team2 += 1; } else if ( TeamHue == m_Team3Hue ) { Player.Name = Player.Name + " (" + m_Team3Name + ")"; foreach( Mobile mob in Announcers ) { mob.PublicOverheadMessage( MessageType.Regular, 0x22, false, Player.Name + " Has Joined " + m_Team3Name ); } Player.MoveToWorld( Team3Dest, MapDest ); m_Team3 += 1; } else if ( TeamHue == m_Team4Hue ) { Player.Name = Player.Name + " (" + m_Team4Name + ")"; foreach( Mobile mob in Announcers ) { mob.PublicOverheadMessage( MessageType.Regular, 0x22, false, Player.Name + " Has Joined " + m_Team4Name ); } Player.MoveToWorld( Team4Dest, MapDest ); m_Team4 += 1; } Player.Frozen = true; }
public SoulBinder() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Soul Binder"; Title= "from Hell"; Hue= 0xFFFF; Body = 400; SpeechHue= 1258; BaseSoundID = 0; Team = 0; new EtherealHorse().Rider = this; SetStr( 275, 375); SetDex( 40, 75); SetInt( 100, 150); SetHits(230, 375); SetMana(100, 150); SetDamage( 10, 15); SetSkill( SkillName.Tactics, 100.7, 100.4); SetSkill( SkillName.Anatomy, 100.5, 100.3); SetSkill( SkillName.MagicResist, 220.4, 220.7); SetSkill( SkillName.Magery, 120.4, 120.7); SetSkill( SkillName.Macing, 110.4, 110.7); SetSkill( SkillName.EvalInt, 110.4, 110.7); Fame=7000; Karma=-10000; VirtualArmor= 70; Item GnarledStaff = new GnarledStaff(); GnarledStaff.Movable=false; GnarledStaff.Hue=1; EquipItem( GnarledStaff ); Item BoneHelm = new BoneHelm(); BoneHelm.Movable=false; BoneHelm.Hue=38; EquipItem( BoneHelm ); Item HoodedShroudOfShadows = new HoodedShroudOfShadows(); HoodedShroudOfShadows.Movable=false; HoodedShroudOfShadows.Hue=0xFFFF; EquipItem( HoodedShroudOfShadows ); Item PlateGloves = new PlateGloves(); PlateGloves.Movable=false; PlateGloves.Hue=38; EquipItem( PlateGloves ); Item LongPants = new LongPants(); LongPants.Movable=false; LongPants.Hue=1; EquipItem( LongPants ); Item Sandals = new Sandals(); Sandals.Movable=false; Sandals.Hue=1; EquipItem( Sandals ); Item Cloak = new Cloak(); Cloak.Movable=false; Cloak.Hue=0xFFFF; EquipItem( Cloak ); Item hair = new Item( 0x203B); hair.Hue = 38; hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); PackGold( 1800, 3100); PackMagicItems( 3, 7); switch ( Utility.Random( 1 )) { case 0: PackItem( new SoulGem() ); break; } }
public VivreGuard(String townName) : base(AIType.AI_VivreGuard, FightMode.Closest, 18, 1, 0.12, 1) // 0.15 echapable à pied, 0.05 = très rapide { m_TownName = townName; InitStats(200, 200, 200); SpeechHue = Utility.RandomDyedHue(); Hue = Utility.RandomSkinHue(); Body = 0x190; Name = NameList.RandomName("male"); Title = ", Garde de " + m_TownName; Karma = 12000; PlateChest chest = new PlateChest(); chest.Hue = 0; chest.Resource = CraftResource.MBronze; chest.Movable = false; AddItem(chest); PlateArms arms = new PlateArms(); arms.Hue = 0; arms.Movable = false; arms.Resource = CraftResource.MBronze; AddItem(arms); PlateGloves gloves = new PlateGloves(); gloves.Hue = 0; gloves.Movable = false; gloves.Resource = CraftResource.MBronze; AddItem(gloves); PlateGorget gorget = new PlateGorget(); gorget.Hue = 0; gorget.Movable = false; gorget.Resource = CraftResource.MBronze; AddItem(gorget); PlateLegs legs = new PlateLegs(); legs.Hue = 0; legs.Movable = false; legs.Resource = CraftResource.MBronze; AddItem(legs); NorseHelm helm = new NorseHelm(); helm.Hue = 0; helm.Movable = false; helm.Resource = CraftResource.MBronze; AddItem(helm); Surcoat surcoat = new Surcoat(); surcoat.Hue = 0; surcoat.Movable = false; AddItem(surcoat); Cloak cloak = new Cloak(); cloak.Hue = TownHue; cloak.Movable = false; AddItem(cloak); HairItemID = Utility.RandomList(0x203B, 0x203C, 0x203D, 0x2044, 0x2045, 0x2047, 0x2049, 0x204A); HairHue = Utility.RandomHairHue(); if (Utility.RandomBool()) { FacialHairItemID = Utility.RandomList(0x203E, 0x203F, 0x2040, 0x2041, 0x204B, 0x204C, 0x204D); FacialHairHue = HairHue; } Halberd weapon = new Halberd(); weapon.Movable = false; weapon.Crafter = this; weapon.Quality = WeaponQuality.Exceptional; VirtualArmor = 100; AddItem(weapon); Skills[SkillName.Anatomy].Base = 100.0; Skills[SkillName.Tactics].Base = 110.0; Skills[SkillName.Swords].Base = 160.0; Skills[SkillName.MagicResist].Base = 110.0; Skills[SkillName.DetectHidden].Base = 100.0; }
public void KillPlayer( Mobile player ) { player.SendMessage( "You have been Painted!" ); player.Warmode = false; int team = -1; if( player.FindItemOnLayer( Layer.Cloak ) != null ) team = player.FindItemOnLayer( Layer.Cloak ).Hue; else if( player.FindItemOnLayer( Layer.TwoHanded ) != null ) { team = player.FindItemOnLayer( Layer.TwoHanded ).Hue; player.FindItemOnLayer( Layer.TwoHanded ).Delete(); Cloak cloak = new Cloak( team ); cloak.Movable = false; player.AddItem( cloak ); } bool Decrement = true; foreach( Item i in player.Backpack.Items ) if( i is Squash ) Decrement = false; if( Decrement ) { Squash squash = new Squash(); squash.Visible = false; player.AddToBackpack( squash ); } switch( team ) { case 3: { player.MoveToWorld( Exit1Dest, MapDest ); if( Decrement )m_Team1 -= 1; break; } case 38: { player.MoveToWorld( Exit2Dest, MapDest ); if( Decrement )m_Team2 -= 1; break; } case 68: { player.MoveToWorld( Exit3Dest, MapDest ); if( Decrement )m_Team3 -= 1; break; } case 53: { player.MoveToWorld( Exit4Dest, MapDest ); if( Decrement )m_Team4 -= 1; break; } default: break; } }
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 Vampire() : base( AIType.AI_SphereMage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Hue = 0x497; Body = 0x190; Name = "Vampire"; SetStr( 450 ); SetDex( 200, 300 ); SetInt( 150, 200 ); SetHits( 200, 300 ); SetStam( 200, 300 ); SetMana( 150, 200 ); SetDamage( 10, 20 ); SetSkill( SkillName.Parry, 75.0, 80.0 ); SetSkill( SkillName.Poisoning, 90.0, 100.0 ); SetSkill( SkillName.MagicResist, 75.0, 88.0 ); SetSkill( SkillName.Swords, 75.0, 85.0 ); SetSkill( SkillName.Tactics, 80.0, 90.0 ); SetSkill( SkillName.Wrestling, 67.0, 80.0 ); SetSkill( SkillName.Magery, 65.0, 80.0 ); SetSkill(SkillName.EvalInt, 75.0, 85.0); Fame = 4000; Karma = -4000; VirtualArmor = 20; Item temp = new PlateGloves {Movable = false, Hue = 0x0590, Name = "Vampire Plate Gauntlets"}; AddItem( temp ); temp = new PlateArms {Hue = 0x0845, Movable = false, Name = "Vampire Plate Arms"}; AddItem( temp ); temp = new PlateGorget {Movable = false, Hue = 0x0590, Name = "Vampire Plate Gorget"}; AddItem( temp ); temp = new PlateLegs {Movable = false, Hue = 0x0590, Name = "Vampire Plate Legs"}; AddItem( temp ); temp = new PlateChest {Movable = false, Hue = 0x0590, Name = "Vampire Plate Chest"}; AddItem( temp ); temp = new Cloak( 0x1 ) {Movable = false}; AddItem( temp ); HairItemID = 8252; HairHue = Utility.RandomHairHue(); BaseSword twep; switch( Utility.Random( 8 ) ) { case 0: twep = new Broadsword(); break; case 1: twep = new Cutlass(); break; case 2: twep = new Scimitar(); break; case 3: twep = new Katana(); break; case 4: twep = new Kryss(); break; case 5: twep = new Longsword(); break; case 6: twep = new ThinLongsword(); break; default: twep = new VikingSword(); break; } switch( Utility.Random( 3 ) ) { case 0: twep.DamageLevel = WeaponDamageLevel.Ruin; break; case 1: twep.DamageLevel = WeaponDamageLevel.Might; break; case 2: twep.DamageLevel = WeaponDamageLevel.Force; break; } AddItem( twep ); }
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 ) ); }
private void EquipItems( Mobile Player, int TeamHue ) { Player.SendMessage( "Equiping Team Items" ); Player.AddItem( new PBArmor( TeamHue, 5136, Layer.Arms ) ); Player.AddItem( new PBArmor( TeamHue, 5137, Layer.Pants ) ); Player.AddItem( new PBArmor( TeamHue, 5138, Layer.Helm ) ); Player.AddItem( new PBArmor( TeamHue, 5139, Layer.Neck ) ); Player.AddItem( new PBArmor( TeamHue, 5140, Layer.Gloves ) ); Player.AddItem( new PBArmor( TeamHue, 5141, Layer.InnerTorso ) ); Player.AddItem( new PBWeapon( TeamHue, this ) ); Cloak cloak = new Cloak( TeamHue ); cloak.Movable = false; Player.AddItem( cloak ); Player.AddToBackpack( new PaintBall( TeamHue, 200 ) ); switch( TeamHue ) { case 3: {Player.MoveToWorld( Team1Dest, MapDest ); m_Team1+=1; break;} case 38: {Player.MoveToWorld( Team2Dest, MapDest ); m_Team2+=1; break;} case 68: {Player.MoveToWorld( Team3Dest, MapDest ); m_Team3+=1; break;} case 53: {Player.MoveToWorld( Team4Dest, MapDest ); m_Team4+=1; break;} default: {Player.MoveToWorld( Team1Dest, MapDest ); m_Team1+=1; break;} } Player.Frozen = true; }
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 override bool OnBeforeDeath() { BoneMagi rm = new BoneMagi(); rm.Team = this.Team; rm.MoveToWorld( this.Location, this.Map ); Effects.SendLocationEffect( Location,Map, 0x3709, 13, 0x3B2, 0 ); Container bag = new Bag(); switch ( Utility.Random( 9 )) { case 0: bag.DropItem( new Amber() ); break; case 1: bag.DropItem( new Amethyst() ); break; case 2: bag.DropItem( new Citrine() ); break; case 3: bag.DropItem( new Diamond() ); break; case 4: bag.DropItem( new Emerald() ); break; case 5: bag.DropItem( new Ruby() ); break; case 6: bag.DropItem( new Sapphire() ); break; case 7: bag.DropItem( new StarSapphire() ); break; case 8: bag.DropItem( new Tourmaline() ); break; } switch ( Utility.Random( 8 )) { case 0: bag.DropItem( new SpidersSilk( 3 ) ); break; case 1: bag.DropItem( new BlackPearl( 3 ) ); break; case 2: bag.DropItem( new Bloodmoss( 3 ) ); break; case 3: bag.DropItem( new Garlic( 3 ) ); break; case 4: bag.DropItem( new MandrakeRoot( 3 ) ); break; case 5: bag.DropItem( new Nightshade( 3 ) ); break; case 6: bag.DropItem( new SulfurousAsh( 3 ) ); break; case 7: bag.DropItem( new Ginseng( 3 ) ); break; } bag.DropItem( new Gold( 1000, 1500 )); rm.AddItem( bag ); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 32; AddItem( gloves ); BoneHelm helm = new BoneHelm(); helm.Hue = 0x3A8; helm.LootType = LootType.Blessed; AddItem( helm ); Cloak cloak = new Cloak(); cloak.Hue = 32; AddItem( cloak ); Kilt kilt = new Kilt(); kilt.Hue = 32; AddItem( kilt ); Sandals sandals = new Sandals(); sandals.Hue = 32; AddItem( sandals ); this.Delete(); return false; }
public Vampire() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { switch ( Utility.Random( 16 )) { case 0: Name = "Asasabonsam"; break; case 1: Name = "Bhuta"; break; case 2: Name = "Chedipe"; break; case 3: Name = "Brahmaparusha"; break; case 4: Name = "Churel"; break; case 5: Name = "Maneden"; break; case 6: Name = "Pisachas"; break; case 7: Name = "Polong"; break; case 8: Name = "Asema"; break; case 9: Name = "Civateto"; break; case 10: Name = "Tlahuelpuchi"; break; case 11: Name = "Bruxa"; break; case 12: Name = "Strigoiu"; break; case 13: Name = "Dhampir"; break; case 14: Name = "Djadadjii"; break; case 15: Name = "Ustrel"; break; } Title = "the vampire"; Female = Utility.RandomBool(); Body = 400 + (Female ? 1 : 0); Hue = 0x0; SetStr( 80, 100 ); SetDex( 72, 150 ); SetInt( 150, 250 ); SetHits( 700, 1000 ); Stam = Dex; SetDamage( 10, 25 ); SetSkill( SkillName.MagicResist, 150.0 ); SetSkill( SkillName.Wrestling, 100.0 ); Fame = 10000; Karma = -10000; VirtualArmor = 30; FancyShirt shirt = new FancyShirt(); shirt.Hue = 1175; shirt.Movable = false; AddItem( shirt ); LongPants pants = new LongPants(); pants.Hue = 1175; pants.Movable = false; AddItem( pants ); Boots boots = new Boots(); boots.Hue = 1175; boots.Movable = false; AddItem( boots ); Cloak cloak = new Cloak(); cloak.Hue = 1175; cloak.Movable = false; AddItem( cloak ); Hair hair = new LongHair(); hair.Hue = 1175; hair.Movable = false; AddItem( hair ); }