public Ciiss() { Name = "Ciiss"; Title = "the Snake Worshipper"; Body = 401; CantWalk = true; Hue = 2006; Item Boots = new Boots(); Boots.Movable=false; Boots.Hue=1175; EquipItem( Boots ); Item HoodedShroudOfShadows = new HoodedShroudOfShadows(); HoodedShroudOfShadows.Movable=false; HoodedShroudOfShadows.Hue=1175; EquipItem( HoodedShroudOfShadows ); Item LeatherGloves = new LeatherGloves(); LeatherGloves.Movable=false; LeatherGloves.Hue=1175; EquipItem( LeatherGloves ); int hairHue = 1741; AddItem( new LongHair( hairHue ) ); Blessed = true; }
public override void InitOutfit() { AddItem( new Backpack() ); AddItem( new Sandals( 0x8FD ) ); AddItem( new BoneHelm() ); Item item; item = new LeatherLegs(); item.Hue = 0x2C3; AddItem( item ); item = new LeatherGloves(); item.Hue = 0x2C3; AddItem( item ); item = new LeatherGorget(); item.Hue = 0x2C3; AddItem( item ); item = new LeatherChest(); item.Hue = 0x2C3; AddItem( item ); item = new LeatherArms(); item.Hue = 0x2C3; AddItem( item ); }
public ArmyBase(int Team, AIType iAI, FightMode iFightMode, int iRangePerception, int iRangeFight, double dActiveSpeed, double dPassiveSpeed) : base(iAI, iFightMode, iRangePerception, iRangeFight, dActiveSpeed, dPassiveSpeed) { this.Body = 400 + Utility.Random(2); this.Hue = Utility.RandomSkinHue(); this.Team = Team; this.Skills[SkillName.DetectHidden].Base = 100; this.Skills[SkillName.MagicResist].Base = 120; int iHue = 20 + Team * 40; int jHue = 25 + Team * 40; Item hair = new Item( Utility.RandomList( 0x203C, 0x203B, 0x203C, 0x203D ) ); hair.Hue = iHue; hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); LeatherGloves glv = new LeatherGloves(); glv.Hue = iHue; glv.LootType = LootType.Newbied; AddItem(glv); Container pack = new Backpack(); pack.Movable = false; AddItem( pack ); m_Timer = new AutokillTimer(this); m_Timer.Start(); }
public FamousPirates(AIType iAI, FightMode iFightMode, int iRangePerception, int iRangeFight, double dActiveSpeed, double dPassiveSpeed) : base(iAI, iFightMode, iRangePerception, iRangeFight, dActiveSpeed, dPassiveSpeed) { this.Body = 400; this.Hue = Utility.RandomSkinHue(); this.Skills[SkillName.DetectHidden].Base = 100; this.Skills[SkillName.MagicResist].Base = 100; this.Skills[SkillName.Magery].Base = 100; this.Skills[SkillName.Healing].Base = 100; int Hue = 0 ; Utility.AssignRandomHair( this, Hue ); LeatherGloves glv = new LeatherGloves(); glv.Hue = Hue; glv.LootType = LootType.Regular; AddItem(glv); Container pack = new Backpack(); pack.Movable = false; AddItem( pack ); Kills = 5; }
public override void InitOutfit() { AddItem( new Backpack() ); AddItem( new Boots( 0x1BB ) ); Item item; item = new LeatherLegs(); item.Hue = 0x6C8; AddItem( item ); item = new LeatherGloves(); item.Hue = 0x1BB; AddItem( item ); item = new LeatherChest(); item.Hue = 0x1BB; AddItem( item ); item = new LeatherArms(); item.Hue = 0x4C7; AddItem( item ); item = new CompositeBow(); item.Hue = 0x5DD; AddItem( item ); }
public Dummy(AIType iAI, FightMode iFightMode, int iRangePerception, int iRangeFight, double dActiveSpeed, double dPassiveSpeed) : base(iAI, iFightMode, iRangePerception, iRangeFight, dActiveSpeed, dPassiveSpeed) { Body = 400 + Utility.Random(2); Hue = Utility.RandomSkinHue(); Skills[SkillName.DetectHidden].Base = 100; Skills[SkillName.MagicResist].Base = 120; Team = Utility.Random(3); int iHue = 20 + Team * 40; int jHue = 25 + Team * 40; Utility.AssignRandomHair( this, iHue ); LeatherGloves glv = new LeatherGloves(); glv.Hue = iHue; glv.LootType = LootType.Newbied; AddItem(glv); Container pack = new Backpack(); pack.Movable = false; AddItem( pack ); m_Timer = new AutokillTimer(this); m_Timer.Start(); }
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 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 FreddyKruger() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "Freddy Kruger"; Body = 185; Hue = 2949; SetStr( 481, 705 ); SetDex( 291, 315 ); SetInt( 226, 350 ); SetHits(12000, 14000 ); SetDamage( 25, 40 ); 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 = 0; Karma = -10500; VirtualArmor = 90; LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 1175; gloves.Movable = false; AddItem( gloves ); LongPants legs = new LongPants(); legs.Hue = 1175; legs.Movable = false; AddItem( legs ); FingersOfFreddy weapon = new FingersOfFreddy(); weapon.Movable = false; AddItem( weapon ); Boots boots = new Boots(); boots.Hue = 1175; boots.Movable = false; AddItem( boots ); }
public MorgBergen() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { this.Title = "the Cursed"; this.Hue = 0x8596; this.Body = 0x190; this.Name = "Morg Bergen"; this.AddItem(new ShortPants(0x59C)); Bardiche bardiche = new Bardiche(); LeatherGloves gloves = new LeatherGloves(); LeatherArms arms = new LeatherArms(); bardiche.Hue = 0x96F; bardiche.Movable = false; gloves.Hue = 0x96F; arms.Hue = 0x96F; this.AddItem(bardiche); this.AddItem(gloves); this.AddItem(arms); this.SetStr(111, 120); this.SetDex(111, 120); this.SetInt(51, 60); this.SetHits(180, 207); this.SetMana(0); this.SetDamage(9, 17); this.SetDamageType(ResistanceType.Physical, 40); this.SetDamageType(ResistanceType.Cold, 60); this.SetResistance(ResistanceType.Physical, 35, 45); this.SetResistance(ResistanceType.Fire, 25, 30); this.SetResistance(ResistanceType.Cold, 50, 60); this.SetResistance(ResistanceType.Poison, 25, 35); this.SetResistance(ResistanceType.Energy, 25, 35); this.SetSkill(SkillName.Swords, 90.1, 100.0); this.SetSkill(SkillName.Tactics, 90.1, 100.0); this.SetSkill(SkillName.MagicResist, 80.1, 90.0); this.SetSkill(SkillName.Anatomy, 90.1, 100.0); this.Fame = 5000; this.Karma = -1000; }
public Sparrow() { Name = "Captian Jack Sparrow"; Title = "The Pirate"; Body = 400; CantWalk = true; Hue = Utility.RandomSkinHue(); LeatherArms LeatherArms = new LeatherArms(); LeatherArms.Hue = 1157; AddItem( LeatherArms ); LeatherCap LeatherCap = new LeatherCap(); LeatherCap.Hue = 1157; AddItem( LeatherCap ); LeatherGloves LeatherGloves = new LeatherGloves(); LeatherGloves.Hue = 1157; AddItem( LeatherGloves ); LeatherLegs LeatherLegs = new LeatherLegs(); LeatherLegs.Hue = 1157; AddItem( LeatherLegs ); LeatherChest LeatherChest = new LeatherChest(); LeatherChest.Hue = 1157; AddItem( LeatherChest ); LeatherGorget LeatherGorget = new LeatherGorget(); LeatherGorget.Hue = 1157; AddItem( LeatherGorget ); int hairHue = 1153; switch ( Utility.Random( 1 ) ) { case 0: AddItem( new PonyTail( hairHue ) ); break; case 1: AddItem( new Goatee( hairHue ) ); break; } Blessed = true; }
public Stripper() : base( AIType.AI_Melee, FightMode.None, 10, 1, 0.5, 2 ) { SpeechHue = Utility.RandomDyedHue(); InitStats( 50, 50, 25 ); //Title = "The Stripper"; Hue = Utility.RandomSkinHue(); Body = 0x191; Name = "The Stripper"; //NameList.RandomName( "female" ); Fame = 100; Karma = 0; Blessed = true; AddItem(new LongHair(2213)); // AddItem( new BunsHair( Utility.RandomRedHue() ) ); AddItem( new Backpack() ); switch ( Utility.Random( 2 ) ) { case 0: AddItem( new Bonnet( Utility.RandomBlueHue() ) ); break; default: case 1: AddItem( new FeatheredHat( Utility.RandomBlueHue() ) ); break; } switch ( Utility.Random( 2 ) ) { case 0: AddItem( new ThighBoots( Utility.RandomGreenHue() ) ); break; default: case 1: AddItem( new Sandals( Utility.RandomGreenHue() ) ); break; } AddItem( new FancyShirt( Utility.RandomBlueHue() ) ); AddItem( new Doublet( Utility.RandomBlueHue() ) ); AddItem( new Cloak( Utility.RandomGreenHue() ) ); Item gloves = new LeatherGloves(); gloves.Hue = Utility.RandomBlueHue(); AddItem( gloves ); AddItem( new ShortPants( Utility.RandomBlueHue() ) ); AddItem( new StrippersLingerie()); Item skirt; switch ( Utility.Random( 2 ) ) { case 0: skirt = new Skirt(); break; default: case 1: skirt = new Kilt(); break; } skirt.Hue = Utility.RandomGreenHue(); AddItem( skirt ); AddItem( new SilverRing() ); AddItem( new SilverEarrings() ); AddItem( new SilverBracelet() ); AddItem( new SilverNecklace() ); }
public override void InitOutfit() { AddItem( new FancyShirt() ); AddItem( new LongPants( 0x66D ) ); AddItem( new ThighBoots() ); AddItem( new TricorneHat( 0x1 ) ); AddItem( new BodySash( 0x66D ) ); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 0x66D; AddItem( gloves ); AddItem( new LongBeard( 0x455 ) ); Item sword = new Cutlass(); sword.Movable = false; AddItem( sword ); }
public override void InitOutfit() { this.AddItem(new FancyShirt()); this.AddItem(new LongPants(0x66D)); this.AddItem(new ThighBoots()); this.AddItem(new TricorneHat(0x1)); this.AddItem(new BodySash(0x66D)); LeatherGloves gloves = new LeatherGloves(); gloves.Hue = 0x66D; this.AddItem(gloves); this.FacialHairItemID = 0x203E; // Long Beard this.FacialHairHue = 0x455; Item sword = new Cutlass(); sword.Movable = false; this.AddItem(sword); }
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 Santa() : base(AIType.AI_Mage, FightMode.Agressor, 10, 1, 0.45, 0.8) { Female = false; Body = 400; Title = ""; Name = "Santa"; Hue = 0x83ea; SetStr( 150, 250 ); SetDex( 91, 115 ); SetInt( 500, 1000 ); Karma = +125; SetSkill( SkillName.Tactics, 65, 87.5 ); SetSkill( SkillName.MagicResist, 75, 97.5 ); SetSkill( SkillName.Parry, 65, 87.5 ); SetSkill( SkillName.Magery, 95.1, 105.0 ); SetSkill( SkillName.Wrestling, 20.2, 60 ); VirtualArmor = 30; SetDamage( 3, 12 ); Item item = null; item = new ShortHair(); item.Hue = 0x47E; AddItem( item ); item = new MediumShortBeard(); item.Hue = 0x47E; AddItem( item ); item = new LeatherGloves(); item.Hue = 0x455; AddItem( item ); AddItem( new FancyShirt( 0x26 ) ); AddItem( new LongPants( 0x26 ) ); AddItem( new Boots() ); LootPack.Average.Generate( this ); }
public BagofLeatherArmor() { Movable = true; Hue = 0x55; Name = "a bag of Leather Armor"; LeatherChest chest = new LeatherChest(); chest.Quality = Quality.Exceptional; chest.LootType = LootType.Blessed; DropItem(chest); LeatherArms arms = new LeatherArms(); arms.Quality = Quality.Exceptional; arms.LootType = LootType.Blessed; DropItem(arms); LeatherGloves gloves = new LeatherGloves(); gloves.Quality = Quality.Exceptional; gloves.LootType = LootType.Blessed; DropItem(gloves); LeatherGorget gorget = new LeatherGorget(); gorget.Quality = Quality.Exceptional; gorget.LootType = LootType.Blessed; DropItem(gorget); LeatherLegs legs = new LeatherLegs(); legs.Quality = Quality.Exceptional; legs.LootType = LootType.Blessed; DropItem(legs); LeatherCap cap = new LeatherCap(); cap.Quality = Quality.Exceptional; cap.LootType = LootType.Blessed; DropItem(cap); }
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 MorgBergen() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Title = "the Cursed"; Hue = 0x8596; Body = 0x190; AddItem( new ShortPants( 0x59C ) ); Bardiche bardiche = new Bardiche(); LeatherGloves gloves = new LeatherGloves(); LeatherArms arms = new LeatherArms(); bardiche.Hue = 0x96F; gloves.Hue = 0x96F; arms.Hue = 0x96F; AddItem( Immovable(bardiche) ); AddItem( Immovable(gloves) ); AddItem( Immovable(arms) ); SetStr( 111, 120 ); SetDex( 111, 120 ); SetInt( 51, 60 ); SetHits( 180, 207 ); SetMana( 0 ); SetDamage( 9, 17 ); SetSkill( SkillName.Swords, 90.1, 100.0 ); SetSkill( SkillName.Tactics, 90.1, 100.0 ); SetSkill( SkillName.MagicResist, 80.1, 90.0 ); SetSkill( SkillName.Anatomy, 90.1, 100.0 ); Fame = 5000; Karma = -1000; }
public Andric() : base(AIType.AI_Vendor, FightMode.None, 2, 1, 0.5, 2) { Name = "Andric"; Title = "o treinador de arqueirismo"; Race = Race.Human; BodyValue = 0x190; Female = false; Hue = Race.RandomSkinHue(); InitStats( 100, 100, 25 ); Utility.AssignRandomHair( this, true ); SetSkill( SkillName.Archery, 60.0, 80.0 ); AddItem( new Backpack() ); Item item; item = new LeatherChest(); item.Hue = 0x1BB; AddItem( item ); item = new LeatherLegs(); item.Hue = 0x6AD; AddItem( item ); item = new LeatherArms(); item.Hue = 0x6AD; AddItem( item ); item = new LeatherGloves(); item.Hue = 0x1BB; AddItem( item ); AddItem( new Boots( 0x1BB ) ); AddItem( new CompositeBow() ); }
public HoneycombProcessingKettleQuestNPC() { Name = "Old Man"; Body = 400; Hue = Utility.RandomSkinHue(); LeatherArms LeatherArms = new LeatherArms(); LeatherArms.Hue = 2418; AddItem( LeatherArms ); LeatherGloves LeatherGloves = new LeatherGloves(); LeatherGloves.Hue = 2418; AddItem( LeatherGloves ); LeatherLegs LeatherLegs = new LeatherLegs(); LeatherLegs.Hue = 2418; AddItem( LeatherLegs ); LeatherChest LeatherChest = new LeatherChest(); LeatherChest.Hue = 2418; AddItem( LeatherChest ); LeatherGorget LeatherGorget = new LeatherGorget(); LeatherGorget.Hue = 2418; AddItem( LeatherGorget ); int hairHue = 2406; switch ( Utility.Random( 1 ) ) { case 0: AddItem( new PonyTail( hairHue ) ); break; case 1: AddItem( new Goatee( hairHue ) ); break; } Blessed = true; }
public static void EquipSociety(Armament a, Mobile m) { if (a == Armament.LightCavalry) a = (Armament)1; else if (a == Armament.HeavyCavalry) a = (Armament)3; switch (a) { case Armament.Light: { LeatherChest chest = new LeatherChest(); chest.Resource = CraftResource.BeastLeather; chest.Hue = 2830; LeatherArms arms = new LeatherArms(); arms.Resource = CraftResource.BeastLeather; arms.Hue = 2830; LeatherLegs legs = new LeatherLegs(); legs.Resource = CraftResource.BeastLeather; legs.Hue = 2830; LeatherGorget gorget = new LeatherGorget(); gorget.Resource = CraftResource.BeastLeather; gorget.Hue = 2830; LeatherGloves gloves = new LeatherGloves(); gloves.Resource = CraftResource.BeastLeather; gloves.Hue = 2830; ThighBoots boots = new ThighBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2830; m.EquipItem(chest); m.EquipItem(arms); m.EquipItem(legs); m.EquipItem(gorget); m.EquipItem(gloves); m.EquipItem(boots); Shortsword ss = new Shortsword(); ss.Resource = CraftResource.Bronze; m.EquipItem(ss); VhalurianMetalKiteShield shield = new VhalurianMetalKiteShield(); shield.Resource = CraftResource.Bronze; shield.Name = "Society of Rymaliel Kite Shield"; shield.Hue = 2413; shield.ItemID = 15726; m.EquipItem(shield); break; } case Armament.Medium: { ChainChest chest = new ChainChest(); chest.Resource = CraftResource.Bronze; chest.Hue = 2830; ChainArms arms = new ChainArms(); arms.Resource = CraftResource.Bronze; arms.Hue = 2830; ChainLegs legs = new ChainLegs(); legs.Resource = CraftResource.Bronze; legs.Hue = 2830; ChainGorget gorget = new ChainGorget(); gorget.Resource = CraftResource.Bronze; gorget.Hue = 2830; ChainGloves gloves = new ChainGloves(); gloves.Resource = CraftResource.Bronze; gloves.Hue = 2830; VhalurianMetalKiteShield shield = new VhalurianMetalKiteShield(); shield.Resource = CraftResource.Bronze; shield.Name = "Society of Rymaliel Kite Shield"; shield.Hue = 2413; shield.ItemID = 15726; m.EquipItem(shield); FlangedMace fm = new FlangedMace(); fm.Resource = CraftResource.Bronze; m.EquipItem(fm); ThighBoots boots = new ThighBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2989; m.EquipItem(chest); m.EquipItem(arms); m.EquipItem(legs); m.EquipItem(gorget); m.EquipItem(gloves); m.EquipItem(shield); m.EquipItem(fm); m.EquipItem(boots); break; } case Armament.Heavy: { PlateChest chest = new PlateChest(); chest.Resource = CraftResource.Bronze; chest.Hue = 2830; PlateArms arms = new PlateArms(); arms.Resource = CraftResource.Bronze; arms.Hue = 2830; PlateLegs legs = new PlateLegs(); legs.Resource = CraftResource.Bronze; legs.Hue = 2830; PlateGorget gorget = new PlateGorget(); gorget.Resource = CraftResource.Bronze; gorget.Hue = 2830; PlateGloves gloves = new PlateGloves(); gloves.Resource = CraftResource.Bronze; gloves.Hue = 2830; CloseHelm helm = new CloseHelm(); helm.Resource = CraftResource.Bronze; helm.Hue = 2830; VhalurianMetalKiteShield shield = new VhalurianMetalKiteShield(); shield.Resource = CraftResource.Bronze; shield.Name = "Society of Rymaliel Kite Shield"; shield.Hue = 2413; shield.ItemID = 15726; m.EquipItem(shield); Longsword sword = new Longsword(); sword.Resource = CraftResource.Iron; m.EquipItem(chest); m.EquipItem(arms); m.EquipItem(legs); m.EquipItem(gorget); m.EquipItem(gloves); m.EquipItem(shield); m.EquipItem(helm); m.EquipItem(sword); m.EquipItem(new ElegantCloak(2751)); break; } case Armament.Ranged: { LeatherChest chest = new LeatherChest(); chest.Resource = CraftResource.BeastLeather; chest.Hue = 2830; LongPants legs = new LongPants(); legs.Resource = CraftResource.Wool; legs.Hue = 2830; LeatherGorget gorget = new LeatherGorget(); gorget.Resource = CraftResource.BeastLeather; gorget.Hue = 2830; LeatherGloves gloves = new LeatherGloves(); gloves.Resource = CraftResource.BeastLeather; gloves.Hue = 2830; ThighBoots boots = new ThighBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2830; WingedHelm helm = new WingedHelm(); helm.Resource = CraftResource.Copper; CompositeBow bow = new CompositeBow(); bow.Resource = CraftResource.Ash; m.EquipItem(chest); m.EquipItem(legs); m.EquipItem(gorget); m.EquipItem(gloves); m.EquipItem(boots); m.EquipItem(helm); m.EquipItem(bow); if (m is BaseCreature) { BaseCreature bc = m as BaseCreature; bc.AI = AIType.AI_Archer; bc.PackItem(new Arrow(Utility.RandomMinMax(10, 20))); } break; } } Surcoat coat = new Surcoat(); coat.ItemID = 15483; coat.Name = "A Surcoat of the Society of Rymaliel"; m.EquipItem(coat); }
public static void EquipImperial(Armament a, Mobile m) { if (a == Armament.LightCavalry) a = (Armament)1; else if (a == Armament.HeavyCavalry) a = (Armament)3; Surcoat coat = new Surcoat(); coat.ItemID = 15476; coat.Name = "A Surcoat of the Imperial Legion"; coat.Hue = 2751; m.EquipItem(coat); switch (a) { case Armament.Light: { LeatherBoots boots = new LeatherBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 1899; m.EquipItem(boots); WolfMask mask = new WolfMask(); mask.Hue = 1899; m.EquipItem(mask); StuddedChest sc = new StuddedChest(); sc.Resource = CraftResource.BeastLeather; sc.Hue = 1899; m.EquipItem(sc); StuddedLegs sl = new StuddedLegs(); sl.Resource = CraftResource.BeastLeather; sl.Hue = 1899; m.EquipItem(sl); StuddedArms sa = new StuddedArms(); sa.Resource = CraftResource.BeastLeather; sa.Hue = 1899; m.EquipItem(sa); StuddedGloves sg = new StuddedGloves(); sg.Resource = CraftResource.BeastLeather; sg.Hue = 1899; m.EquipItem(sg); StuddedGorget so = new StuddedGorget(); so.Resource = CraftResource.BeastLeather; so.Hue = 1899; m.EquipItem(so); VhalurianGladius vg = new VhalurianGladius(); vg.Resource = CraftResource.Iron; vg.Hue = 0; m.EquipItem(vg); WoodenShield ws = new WoodenShield(); ws.Resource = CraftResource.Ash; m.EquipItem(ws); break; } case Armament.Medium: { ChainChest cc = new ChainChest(); cc.Resource = CraftResource.Bronze; cc.Hue = 1899; m.EquipItem(cc); ChainLegs cl = new ChainLegs(); cl.Resource = CraftResource.Bronze; cl.Hue = 1899; m.EquipItem(cl); ChainCoif co = new ChainCoif(); co.Resource = CraftResource.Bronze; co.Hue = 1899; m.EquipItem(co); RingmailArms ra = new RingmailArms(); ra.Resource = CraftResource.Bronze; ra.Hue = 1899; m.EquipItem(ra); RingmailGloves rg = new RingmailGloves(); rg.Resource = CraftResource.Bronze; rg.Hue = 1899; m.EquipItem(rg); TyreanKiteShield vmks = new TyreanKiteShield(); vmks.Resource = CraftResource.Bronze; vmks.Hue = 1899; m.EquipItem(vmks); LeatherBoots boots = new LeatherBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 1899; m.EquipItem(boots); TyreanOrnateAxe axe = new TyreanOrnateAxe(); axe.Resource = CraftResource.Iron; m.EquipItem(axe); break; } case Armament.Heavy: { VhalurianOrnatePlateLegs vopl = new VhalurianOrnatePlateLegs(); vopl.Resource = CraftResource.Bronze; vopl.Hue = 1899; m.EquipItem(vopl); VhalurianOrnatePlateGorget vopo = new VhalurianOrnatePlateGorget(); vopo.Resource = CraftResource.Bronze; vopo.Hue = 1899; m.EquipItem(vopo); PlateSabatons ps = new PlateSabatons(); ps.Resource = CraftResource.Bronze; ps.Hue = 1899; m.EquipItem(ps); VhalurianOrnateKiteShield voks = new VhalurianOrnateKiteShield(); voks.Resource = CraftResource.Bronze; voks.Hue = 1899; m.EquipItem(voks); VhalurianWarHammer hammer = new VhalurianWarHammer(); hammer.Resource = CraftResource.Iron; m.EquipItem(hammer); TyreanHalfPlateChest thpc = new TyreanHalfPlateChest(); thpc.Resource = CraftResource.Bronze; thpc.Hue = 1899; m.EquipItem(thpc); TyreanHalfPlateArms thpa = new TyreanHalfPlateArms(); thpa.Resource = CraftResource.Bronze; thpa.Hue = 1899; m.EquipItem(thpa); TyreanHalfPlateGloves thpg = new TyreanHalfPlateGloves(); thpg.Resource = CraftResource.Bronze; thpg.Hue = 1899; m.EquipItem(thpg); TyreanWingedHelm twh = new TyreanWingedHelm(); twh.Resource = CraftResource.Bronze; twh.Hue = 1899; m.EquipItem(twh); m.EquipItem(new ElegantCloak(2751)); break; } case Armament.Ranged: { FurBoots boots = new FurBoots(); boots.Resource = CraftResource.RegularLeather; boots.Hue = 1899; m.EquipItem(boots); Bandana bandana = new Bandana(); bandana.Hue = 1899; m.EquipItem(bandana); LeatherChest lc = new LeatherChest(); lc.Resource = CraftResource.RegularLeather; lc.Hue = 1899; m.EquipItem(lc); Quiver qv = new Quiver(); qv.Layer = Layer.Earrings; m.EquipItem(qv); RaggedPants rp = new RaggedPants(); rp.Resource = CraftResource.Cotton; rp.Hue = 1899; m.EquipItem(rp); LeatherGloves lg = new LeatherGloves(); lg.Resource = CraftResource.RegularLeather; lg.Hue = 1899; m.EquipItem(lg); VhalurianLongbow bow = new VhalurianLongbow(); bow.Resource = CraftResource.Yew; m.EquipItem(bow); if (m is BaseCreature) { BaseCreature bc = m as BaseCreature; bc.AI = AIType.AI_Archer; bc.PackItem(new Arrow(Utility.RandomMinMax(10, 20))); } break; } } }
public static void EquipAzhuran(Armament a, Mobile m) { if (a == Armament.LightCavalry) a = (Armament)1; else if (a == Armament.HeavyCavalry) a = (Armament)3; switch (a) { case Armament.Light: { Sandals sandals = new Sandals(); sandals.Resource = CraftResource.BeastLeather; sandals.Hue = 2810; m.EquipItem(sandals); LeatherLegs ll = new LeatherLegs(); ll.Resource = CraftResource.ScaledLeather; m.EquipItem(ll); LeatherGloves lg = new LeatherGloves(); lg.Resource = CraftResource.ScaledLeather; m.EquipItem(lg); AzhuranJesterMask mask = new AzhuranJesterMask(); mask.Hue = 2810; m.EquipItem(mask); Shortsword sword = new Shortsword(); if (Utility.Random(100) + 1 > 99) sword.Resource = CraftResource.Obsidian; else sword.Resource = CraftResource.Bronze; m.EquipItem(sword); BoiledLeatherShield shield = new BoiledLeatherShield(); shield.Resource = CraftResource.Ash; m.EquipItem(shield); break; } case Armament.Medium: { AzhuranLeatherTunic chest = new AzhuranLeatherTunic(); chest.Resource = CraftResource.BeastLeather; AzhuranLeatherPauldrons pauldrons = new AzhuranLeatherPauldrons(); pauldrons.Resource = CraftResource.BeastLeather; AzhuranLeatherBoots boots = new AzhuranLeatherBoots(); boots.Resource = CraftResource.BeastLeather; AzhuranLeatherLegs legs = new AzhuranLeatherLegs(); legs.Resource = CraftResource.BeastLeather; LeatherGloves gloves = new LeatherGloves(); gloves.Resource = CraftResource.BeastLeather; LeatherArms arms = new LeatherArms(); arms.Resource = CraftResource.BeastLeather; AzhuranSpear spear = new AzhuranSpear(); spear.Resource = CraftResource.Bronze; m.EquipItem(chest); m.EquipItem(pauldrons); m.EquipItem(new Bandana(2810)); m.EquipItem(spear); m.EquipItem(boots); m.EquipItem(legs); m.EquipItem(gloves); m.EquipItem(arms); break; } case Armament.Heavy: { AzhuranHelm helm = new AzhuranHelm(); helm.Resource = CraftResource.Bronze; AzhuranSpikedChainChest chest = new AzhuranSpikedChainChest(); chest.Resource = CraftResource.Bronze; RingmailArms arms = new RingmailArms(); arms.Resource = CraftResource.Bronze; ChainLegs legs = new ChainLegs(); legs.Resource = CraftResource.Bronze; RingmailGloves gloves = new RingmailGloves(); gloves.Resource = CraftResource.Bronze; m.EquipItem(helm); m.EquipItem(chest); Sandals sandals = new Sandals(); sandals.Resource = CraftResource.BeastLeather; sandals.Hue = 2810; m.EquipItem(sandals); m.EquipItem(gloves); m.EquipItem(arms); m.EquipItem(legs); m.EquipItem(new Cloak(2810)); if (m.Female) { AzhuranKiteShield shield = new AzhuranKiteShield(); shield.Resource = CraftResource.Bronze; AzhuranHookedClub club = new AzhuranHookedClub(); club.Resource = CraftResource.Bronze; m.EquipItem(shield); m.EquipItem(club); m.EquipItem(new ElegantWaistCloth(2810)); } else { AzhuranRoundShield shield = new AzhuranRoundShield(); shield.Resource = CraftResource.Bronze; AzhuranBroadsword sword = new AzhuranBroadsword(); sword.Resource = CraftResource.Bronze; m.EquipItem(shield); m.EquipItem(sword); } break; } case Armament.Ranged: { Sandals sandals = new Sandals(); sandals.Resource = CraftResource.BeastLeather; sandals.Hue = 2810; m.EquipItem(sandals); if (m.Female) { AzhuranShortbow bow = new AzhuranShortbow(); bow.Resource = CraftResource.Redwood; m.EquipItem(bow); m.EquipItem(new MetallicBra()); m.EquipItem(new WaistCloth(2810)); } else { AzhuranBoomerang bow = new AzhuranBoomerang(); bow.Resource = CraftResource.Redwood; m.EquipItem(bow); m.EquipItem(new LoinCloth(2810)); } if (m is BaseCreature) { BaseCreature bc = m as BaseCreature; bc.AI = AIType.AI_Archer; if (m.Female) bc.PackItem(new Arrow(Utility.RandomMinMax(10, 20))); } break; } } }
public AmazonTreeSettlementTreasureChest() : base(0xE43) { Name = "a treasure chest -10-"; Movable = true; Weight = 1000.0; TrapPower = 0; Locked = true; RequiredSkill = 10; LockLevel = 10; MaxLockLevel = 15; // Gold if (Utility.RandomDouble() < 0.25) { DropItem(new Gold(Utility.Random(15, 200))); } /////////////////////////////////////// Supplies if (Utility.RandomDouble() < 0.10) { DropItem(new Arrow(Utility.Random(2, 6))); } if (Utility.RandomDouble() < 0.10) { DropItem(new Bolt(Utility.Random(2, 6))); } Item ReagentLoot = Loot.RandomReagent(); ReagentLoot.Amount = Utility.Random(2, 6); DropItem(ReagentLoot); if (Utility.RandomDouble() < 0.10) { DropItem(new Bandage(Utility.Random(2, 6))); } if (Utility.RandomDouble() < 0.10) { DropItem(new Bedroll()); } if (Utility.RandomDouble() < 0.10) { DropItem(new Bottle(Utility.Random(2, 6))); } if (Utility.RandomDouble() < 0.10) { DropItem(new Lockpick(Utility.Random(2, 6))); } Item PotionLoot = Loot.RandomPotion(); DropItem(PotionLoot); /////////////////////////////////////// Tools if (Utility.RandomDouble() < 0.10) { DropItem(new FishingPole()); } if (Utility.RandomDouble() < 0.10) { DropItem(new Shovel()); } if (Utility.RandomDouble() < 0.10) { DropItem(new Skillet()); } /////////////////////////////////////// Rare Items if (Utility.RandomDouble() < 0.01) { DropItem(new DyeTub()); } if (Utility.RandomDouble() < 0.05) { DropItem(new AmazonianFighterBelt()); } if (Utility.RandomDouble() < 0.05) { DropItem(new AmazonianFighterBoots()); } if (Utility.RandomDouble() < 0.05) { DropItem(new AmazonianFighterBustier()); } if (Utility.RandomDouble() < 0.05) { DropItem(new AmazonianFighterGloves()); } if (Utility.RandomDouble() < 0.05) { DropItem(new AmazonianFighterHelmet()); } if (Utility.RandomDouble() < 0.10) { BaseWeapon weapon = Loot.RandomWeapon(true); switch (Utility.Random(21)) { case 0: weapon = new Hatchet(); break; case 1: weapon = new Bow(); break; case 2: weapon = new Crossbow(); break; case 3: weapon = new Club(); break; case 4: weapon = new Mace(); break; case 5: weapon = new Maul(); break; case 6: weapon = new Pitchfork(); break; case 7: weapon = new ShortSpear(); break; case 8: weapon = new GnarledStaff(); break; case 9: weapon = new ShepherdsCrook(); break; case 10: weapon = new Cutlass(); break; case 11: weapon = new Katana(); break; case 12: weapon = new Kryss(); break; case 13: weapon = new Scimitar(); break; case 14: weapon = new AssassinSpike(); break; case 15: weapon = new DiamondMace(); break; case 16: weapon = new Leafblade(); break; case 17: weapon = new MagicalShortbow(); break; case 18: weapon = new RadiantScimitar(); break; case 19: weapon = new WildStaff(); break; default: weapon = new Dagger(); break; } BaseRunicTool.ApplyAttributesTo(weapon, 2, 10, 15); weapon.DamageLevel = (WeaponDamageLevel)Utility.Random(2); weapon.AccuracyLevel = (WeaponAccuracyLevel)Utility.Random(2); weapon.DurabilityLevel = (WeaponDurabilityLevel)Utility.Random(2); weapon.Quality = WeaponQuality.Regular; DropItem(weapon); } if (Utility.RandomDouble() < 0.10) { BaseArmor armor = Loot.RandomArmor(true); switch (Utility.Random(10)) { case 0: armor = new FemaleLeatherChest(); break; case 1: armor = new LeatherBustierArms(); break; case 2: armor = new LeatherArms(); break; case 3: armor = new LeatherCap(); break; case 4: armor = new LeatherGloves(); break; case 5: armor = new LeatherGorget(); break; case 6: armor = new LeatherLegs(); break; case 7: armor = new LeatherShorts(); break; case 8: armor = new LeatherSkirt(); break; default: armor = new LeatherChest(); break; } BaseRunicTool.ApplyAttributesTo(armor, 3, 10, 15); armor.ProtectionLevel = (ArmorProtectionLevel)Utility.Random(3); armor.Durability = (ArmorDurabilityLevel)Utility.Random(3); armor.Quality = ArmorQuality.Regular; DropItem(armor); } if (Utility.RandomDouble() < 0.10) { BaseHat hat = Loot.RandomHat(true); switch (Utility.Random(5)) { case 0: hat = new BearMask(); break; case 1: hat = new DeerMask(); break; case 2: hat = new FeatheredHat(); break; case 3: hat = new WizardsHat(); break; default: hat = new TribalMask(); break; } BaseRunicTool.ApplyAttributesTo(hat, 3, 10, 15); DropItem(hat); } if (Utility.RandomDouble() < 0.10) { BaseClothing clothing = Loot.RandomClothing(true); BaseRunicTool.ApplyAttributesTo(clothing, 3, 10, 15); DropItem(clothing); } if (Utility.RandomDouble() < 0.10) { BaseShield shield = new MetalShield(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(shield, 3, 10, 15); } DropItem(shield); } if (Utility.RandomDouble() < 0.10) { BaseJewel bracelet = new GoldBracelet(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(bracelet, 3, 10, 15); } DropItem(bracelet); } if (Utility.RandomDouble() < 0.10) { BaseJewel earrings = new GoldEarrings(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(earrings, 3, 10, 15); } DropItem(earrings); } if (Utility.RandomDouble() < 0.10) { BaseJewel necklace = new GoldNecklace(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(necklace, 3, 10, 15); } DropItem(necklace); } if (Utility.RandomDouble() < 0.10) { BaseJewel ring = new GoldRing(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(ring, 3, 10, 15); } DropItem(ring); } }
public NewPlayerPackage() { Name = "New Player Welcome Package"; Hue = 1281; LootType = LootType.Newbied; /* * Spellbook book1 = new Spellbook(); * book1.Content = ulong.MaxValue; * DropItem(book1); * book1.Location = new Point3D(16, 83, 0); * * BookOfChivalry book2 = new BookOfChivalry(); * book2.Content = 1023;//all spells * DropItem(book2); * book2.Location = new Point3D(33, 83, 0); * * NecromancerSpellbook book3 = new NecromancerSpellbook(); * book3.Content = 0x1FFFF; * DropItem(book3); * book3.Location = new Point3D(49, 83, 0); */ BaseArmor armor = new LeatherChest(); armor.Hue = 537; armor.LootType = LootType.Newbied; armor.ArmorAttributes.DurabilityBonus = 20; armor.Attributes.LowerManaCost = 2; armor.Attributes.LowerRegCost = 5; armor.Attributes.Luck = 10; armor.Attributes.BonusMana = 3; armor.Attributes.RegenMana = 1; armor.ColdBonus = 1; armor.EnergyBonus = 1; armor.FireBonus = 1; //armor.ArmorRatingBonus = 2; armor.PoisonBonus = 1; DropItem(armor); armor.Location = new Point3D(61, 74, 0); armor = new LeatherLegs(); armor.Hue = 537; armor.LootType = LootType.Newbied; armor.ArmorAttributes.DurabilityBonus = 20; armor.Attributes.RegenHits = 1; armor.Attributes.BonusHits = 3; armor.Attributes.LowerManaCost = 2; armor.Attributes.LowerRegCost = 5; armor.Attributes.Luck = 10; armor.ColdBonus = 1; armor.EnergyBonus = 1; armor.FireBonus = 1; //armor.ArmorRatingBonus = 2; armor.PoisonBonus = 1; DropItem(armor); armor.Location = new Point3D(71, 78, 0); armor = new LeatherArms(); armor.Hue = 537; armor.LootType = LootType.Newbied; armor.ArmorAttributes.DurabilityBonus = 20; armor.Attributes.LowerManaCost = 2; armor.Attributes.LowerRegCost = 5; armor.Attributes.Luck = 10; armor.Attributes.BonusStam = 3; armor.Attributes.RegenStam = 1; armor.ColdBonus = 1; armor.EnergyBonus = 1; armor.FireBonus = 1; //armor.ArmorRatingBonus = 2; armor.PoisonBonus = 1; DropItem(armor); armor.Location = new Point3D(94, 84, 0); armor = new LeatherGloves(); armor.Hue = 537; armor.LootType = LootType.Newbied; armor.ArmorAttributes.DurabilityBonus = 20; armor.Attributes.LowerManaCost = 2; armor.Attributes.LowerRegCost = 5; armor.Attributes.Luck = 10; armor.Attributes.BonusStr = 2; armor.ColdBonus = 1; armor.EnergyBonus = 1; armor.FireBonus = 1; //armor.ArmorRatingBonus = 2; armor.PoisonBonus = 1; DropItem(armor); armor.Location = new Point3D(108, 85, 0); armor = new LeatherGorget(); armor.Hue = 537; armor.LootType = LootType.Newbied; armor.ArmorAttributes.DurabilityBonus = 20; armor.Attributes.LowerManaCost = 2; armor.Attributes.LowerRegCost = 5; armor.Attributes.BonusInt = 2; armor.Attributes.Luck = 10; armor.ColdBonus = 1; armor.EnergyBonus = 1; armor.FireBonus = 1; //armor.ArmorRatingBonus = 2; armor.PoisonBonus = 1; DropItem(armor); armor.Location = new Point3D(122, 79, 0); armor = new LeatherCap(); armor.Hue = 537; armor.LootType = LootType.Newbied; armor.ArmorAttributes.DurabilityBonus = 20; armor.Attributes.BonusDex = 2; armor.Attributes.LowerManaCost = 2; armor.Attributes.LowerRegCost = 5; armor.Attributes.Luck = 10; armor.ColdBonus = 1; armor.EnergyBonus = 1; armor.FireBonus = 1; //armor.ArmorRatingBonus = 2; armor.PoisonBonus = 1; DropItem(armor); armor.Location = new Point3D(115, 88, 0); armor = new MetalShield(); armor.Hue = 537; armor.LootType = LootType.Newbied; armor.ArmorAttributes.DurabilityBonus = 20; armor.Attributes.AttackChance = 5; armor.Attributes.DefendChance = 5; armor.Attributes.SpellChanneling = 1; armor.Attributes.Luck = 10; armor.ColdBonus = 1; armor.EnergyBonus = 1; armor.FireBonus = 1; //armor.ArmorRatingBonus = 2; armor.PoisonBonus = 1; DropItem(armor); armor.Location = new Point3D(132, 85, 0); BaseJewel ring = new GoldRing(); ring.LootType = LootType.Newbied; ring.Attributes.NightSight = 1; ring.Attributes.SpellDamage = 5; ring.Attributes.WeaponDamage = 5; DropItem(ring); ring.Location = new Point3D(140, 60, 0); Item item = new Bandage(100); DropItem(item); item.Location = new Point3D(135, 66, 0); }
public SamuraiScholar() : base( AIType.AI_Mage, FightMode.Weakest, 10, 1, 0.175, 0.3) { Name = "Samurai Scholar"; Title= ", Defiance Cult Clan"; Body = 400; Hue = 33820; SpeechHue= 1150; BaseSoundID = 0; Team = 0; //new EtherealHorse().Rider = this; SetStr( 155, 175); SetDex( 130, 140); SetInt( 260, 450); SetHits(125, 145); SetSkill( SkillName.Tactics, 100.7, 100.4); SetSkill( SkillName.Magery, 110.7, 110.8); SetSkill( SkillName.EvalInt, 115.7, 115.7); SetSkill( SkillName.MagicResist, 110.4, 115.7); SetSkill( SkillName.Wrestling, 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 Spellbook = new Spellbook(); Spellbook.Movable=false; Spellbook.Hue=0; Spellbook.Name="Tome of Ancient Wisdom"; EquipItem( Spellbook ); Item Kasa = new Kasa(); Kasa.Movable=false; Kasa.Hue=0; EquipItem( Kasa ); Item Shirt = new Shirt(); Shirt.Movable=false; Shirt.Hue=0; EquipItem( Shirt ); Item LeatherGloves = new LeatherGloves(); LeatherGloves.Movable=false; LeatherGloves.Hue=0; EquipItem( LeatherGloves ); Item MaleKimono = new MaleKimono(); MaleKimono.Movable=false; MaleKimono.Hue=0; EquipItem( MaleKimono ); Item Sandals = new Sandals(); Sandals.Movable=false; Sandals.Hue=0; EquipItem( Sandals ); Item hair = new Item( 0x203D); hair.Hue = 0; hair.Layer = Layer.Hair; hair.Movable = false; AddItem( hair ); Item beard = new Item( 0x203E); beard.Hue = 0; beard.Layer = Layer.FacialHair; beard.Movable = false; AddItem( beard ); PackGold( 140, 255); PackMagicItems( 3, 7); PackMagicItems( 3, 7); PackMagicItems( 3, 7); PackMagicItems( 3, 7); switch ( Utility.Random( 125 )) { case 0: PackItem( new HakamaShita() ); break; } }
public static void EquipTyrean(Armament a, Mobile m) { if (a == Armament.LightCavalry) a = (Armament)1; else if (a == Armament.HeavyCavalry) a = (Armament)3; Surcoat coat = new Surcoat(); coat.ItemID = 15477; coat.Name = "A Surcoat of the Jarlsgaard"; coat.Hue = 2741; m.EquipItem(coat); switch (a) { case Armament.Light: { StuddedChest lc = new StuddedChest(); lc.Resource = CraftResource.BeastLeather; lc.Hue = 1899; m.EquipItem(lc); StuddedLegs ll = new StuddedLegs(); ll.Resource = CraftResource.BeastLeather; ll.Hue = 1899; m.EquipItem(ll); StuddedArms la = new StuddedArms(); la.Resource = CraftResource.BeastLeather; la.Hue = 1899; m.EquipItem(ll); StuddedGloves lg = new StuddedGloves(); lg.Resource = CraftResource.BeastLeather; lg.Hue = 1899; m.EquipItem(lg); StuddedGorget lo = new StuddedGorget(); lo.Resource = CraftResource.BeastLeather; lo.Hue = 1899; m.EquipItem(lo); BearMask mask = new BearMask(); mask.Hue = 1899; m.EquipItem(mask); FurBoots boots = new FurBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2741; m.EquipItem(boots); TyreanThrowingAxe tta = new TyreanThrowingAxe(); tta.Resource = CraftResource.Bronze; m.EquipItem(tta); LeatherShield ls = new LeatherShield(); ls.Resource = CraftResource.Yew; m.EquipItem(ls); break; } case Armament.Medium: { ChainChest cc = new ChainChest(); cc.Resource = CraftResource.Bronze; cc.Hue = 1899; m.EquipItem(cc); ChainLegs cl = new ChainLegs(); cl.Resource = CraftResource.Bronze; cl.Hue = 1899; m.EquipItem(cl); RingmailArms ra = new RingmailArms(); ra.Resource = CraftResource.Bronze; ra.Hue = 1899; m.EquipItem(ra); RingmailGloves rg = new RingmailGloves(); rg.Resource = CraftResource.Bronze; rg.Hue = 1899; m.EquipItem(rg); TyreanHornedHelm thh = new TyreanHornedHelm(); thh.Resource = CraftResource.Bronze; thh.Hue = 1899; m.EquipItem(thh); FurBoots boots = new FurBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2741; m.EquipItem(boots); bool WeaponChance = Utility.RandomBool(); if (WeaponChance) { TyreanHarpoon weapon = new TyreanHarpoon(); weapon.Resource = CraftResource.Bronze; m.EquipItem(weapon); } else { TyreanBattleAxe weapon = new TyreanBattleAxe(); weapon.Resource = CraftResource.Bronze; m.EquipItem(weapon); } break; } case Armament.Heavy: { TyreanHalfPlateChest thpc = new TyreanHalfPlateChest(); thpc.Resource = CraftResource.Bronze; thpc.Hue = 1899; m.EquipItem(thpc); TyreanHalfPlateLegs thpl = new TyreanHalfPlateLegs(); thpl.Resource = CraftResource.Bronze; thpl.Hue = 1899; m.EquipItem(thpl); TyreanHalfPlateSabatons thps = new TyreanHalfPlateSabatons(); thps.Resource = CraftResource.Bronze; thps.Hue = 1899; m.EquipItem(thps); TyreanHalfPlateArms thpa = new TyreanHalfPlateArms(); thpa.Resource = CraftResource.Bronze; thpa.Hue = 1899; m.EquipItem(thpa); TyreanHalfPlateGloves thpg = new TyreanHalfPlateGloves(); thpg.Resource = CraftResource.Bronze; thpg.Hue = 1899; m.EquipItem(thpg); TyreanHalfPlateGorget thpo = new TyreanHalfPlateGorget(); thpo.Resource = CraftResource.Bronze; thpo.Hue = 1899; m.EquipItem(thpo); TyreanKiteShield tks = new TyreanKiteShield(); tks.Resource = CraftResource.Bronze; tks.Hue = 1899; m.EquipItem(tks); m.EquipItem(new Cloak(1445)); TyreanWingedHelm twh = new TyreanWingedHelm(); twh.Resource = CraftResource.Bronze; twh.Hue = 1899; m.EquipItem(twh); bool WeaponChance = Utility.RandomBool(); if (WeaponChance) { TyreanWarAxe axe = new TyreanWarAxe(); axe.Resource = CraftResource.Bronze; m.EquipItem(axe); } else { TyreanOrnateAxe axe = new TyreanOrnateAxe(); axe.Resource = CraftResource.Bronze; m.EquipItem(axe); } break; } case Armament.Ranged: { FancyShirt shirt = new FancyShirt(); shirt.Resource = CraftResource.Wool; shirt.Hue = 1899; m.EquipItem(shirt); LeatherChest lc = new LeatherChest(); lc.Resource = CraftResource.BeastLeather; lc.Hue = 1899; m.EquipItem(lc); LeatherLegs ll = new LeatherLegs(); ll.Resource = CraftResource.BeastLeather; ll.Hue = 1899; m.EquipItem(ll); LeatherGloves lg = new LeatherGloves(); lg.Resource = CraftResource.BeastLeather; lg.Hue = 1899; m.EquipItem(lg); FurBoots boots = new FurBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2741; m.EquipItem(boots); m.EquipItem(new Cloak(1445)); TyreanCompositeBow bow = new TyreanCompositeBow(); bow.Resource = CraftResource.Redwood; m.EquipItem(bow); if (m is BaseCreature) { BaseCreature bc = m as BaseCreature; bc.AI = AIType.AI_Archer; bc.PackItem(new Arrow(Utility.RandomMinMax(10, 20))); } break; } } }
public GrimmochDrummel() : base( AIType.AI_Archer, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Title = "the Cursed"; Hue = 0x8596; Body = 0x190; Name = "Grimmoch Drummel"; HairItemID = 0x204A; //Krisna Bow bow = new Bow(); bow.Movable = false; AddItem( bow ); AddItem( new Boots( 0x8A4 ) ); AddItem( new BodySash( 0x8A4 ) ); Backpack backpack = new Backpack(); backpack.Movable = false; AddItem( backpack ); LeatherGloves gloves = new LeatherGloves(); LeatherChest chest = new LeatherChest(); gloves.Hue = 0x96F; chest.Hue = 0x96F; AddItem( gloves ); AddItem( chest ); SetStr( 111, 120 ); SetDex( 151, 160 ); SetInt( 41, 50 ); SetHits( 180, 207 ); SetMana( 0 ); SetDamage( 13, 16 ); SetResistance( ResistanceType.Physical, 35, 45 ); SetResistance( ResistanceType.Fire, 25, 30 ); SetResistance( ResistanceType.Cold, 45, 55 ); SetResistance( ResistanceType.Poison, 30, 40 ); SetResistance( ResistanceType.Energy, 20, 25 ); SetSkill( SkillName.Archery, 90.1, 110.0 ); SetSkill( SkillName.Swords, 60.1, 70.0 ); SetSkill( SkillName.Tactics, 90.1, 100.0 ); SetSkill( SkillName.MagicResist, 60.1, 70.0 ); SetSkill( SkillName.Anatomy, 90.1, 100.0 ); Fame = 5000; Karma = -1000; PackItem( new Arrow( 40 ) ); if ( 3 > Utility.Random( 100 ) ) PackItem( new FireHorn() ); if ( 1 > Utility.Random( 3 ) ) PackItem( Loot.RandomGrimmochJournal() ); }
public MongbatHideoutTreasureChest1() : base(0xE43) { Name = "a treasure chest -40-"; Movable = true; Weight = 1000.0; TrapPower = 0; Locked = true; RequiredSkill = 40; LockLevel = 40; MaxLockLevel = 80; /////////////////////////////////// Gold if (Utility.RandomDouble() < 0.25) { DropItem(new Gold(Utility.Random(20, 300))); } /////////////////////////////////////// Supplies switch (Utility.Random(19)) { case 0: DropItem(new Board(60)); break; case 1: DropItem(new BoltOfCloth(60)); break; case 2: DropItem(new Bottle(60)); break; case 3: DropItem(new CopperWire(60)); break; case 4: DropItem(new Cotton(60)); break; case 5: DropItem(new DarkYarn(60)); break; case 6: DropItem(new Feather(60)); break; case 7: DropItem(new Flax(60)); break; case 8: DropItem(new Gears(60)); break; case 9: DropItem(new GoldWire(60)); break; case 10: DropItem(new IronIngot(60)); break; case 11: DropItem(new IronWire(60)); break; case 12: DropItem(new Leather(60)); break; case 13: DropItem(new LightYarn(60)); break; case 14: DropItem(new Shaft(60)); break; case 15: DropItem(new SilverWire(60)); break; case 16: DropItem(new SpoolOfThread(60)); break; case 17: DropItem(new Springs(60)); break; case 18: DropItem(new Wool(60)); break; } switch (Utility.Random(5)) { case 0: DropItem(new BeetleEgg(15)); break; case 1: DropItem(new FishScale(15)); break; case 2: DropItem(new Nirnroot(15)); break; case 3: DropItem(new SerpentScale(15)); break; case 4: DropItem(new ThunderStone(15)); break; } Item ReagentLoot = Loot.RandomReagent(); ReagentLoot.Amount = Utility.RandomMinMax(5, 10); DropItem(ReagentLoot); if (Utility.RandomDouble() < 0.05) { DropItem(new SackFlour()); } /////////////////////////////////////// Rare Items if (Utility.RandomDouble() < 0.01) { DropItem(new DyeTub()); } /////////////////////////////////////// LV 1-15 if (Utility.RandomDouble() < 0.10) { BaseWeapon weapon = Loot.RandomWeapon(true); switch (Utility.Random(36)) { case 0: weapon = new Hatchet(); break; // Lv1 case 1: weapon = new Axe(); break; // Lv5 case 2: weapon = new BattleAxe(); break; // Lv10 case 3: weapon = new Bow(); break; // Lv1 case 4: weapon = new Crossbow(); break; // Lv1 case 5: weapon = new Balestra(); break; // Lv5 case 6: weapon = new ElvenLeafBow(); break; // Lv5 case 7: weapon = new MagicalShortbow(); break; // Lv10 case 8: weapon = new RepeatingCrossbow(); break; // Lv10 case 9: weapon = new SkinningKnife(); break; // Lv1 case 10: weapon = new Cleaver(); break; // Lv5 case 11: weapon = new Dagger(); break; // Lv5 case 12: weapon = new ButcherKnife(); break; // Lv10 case 13: weapon = new EbonyDagger(); break; // Lv10 case 14: weapon = new Sai(); break; // Lv15 case 15: weapon = new Club(); break; // Lv1 case 16: weapon = new Nunchaku(); break; // Lv1 case 17: weapon = new Mace(); break; // Lv5 case 18: weapon = new Maul(); break; // Lv10 case 19: weapon = new Scepter(); break; // Lv15 case 20: weapon = new Pitchfork(); break; // Lv1 case 21: weapon = new ShortSpear(); break; // Lv5 case 22: weapon = new Pilum(); break; // Lv10 case 23: weapon = new Pike(); break; // Lv15 case 24: weapon = new GnarledStaff(); break; // Lv1 case 25: weapon = new ShepherdsCrook(); break; // Lv1 case 26: weapon = new QuarterStaff(); break; // Lv10 case 27: weapon = new ReptilianStaff(); break; // Lv15 case 28: weapon = new Bokuto(); break; // Lv1 case 29: weapon = new BoneHarvester(); break; // Lv1 case 30: weapon = new Cutlass(); break; // Lv1 case 31: weapon = new ElvenMachete(); break; // Lv1 case 32: weapon = new Kryss(); break; // Lv1 case 33: weapon = new EbonyRapier(); break; // Lv10 case 34: weapon = new Scimitar(); break; // Lv10 default: weapon = new Leafblade(); break; // Lv1 } switch (Utility.Random(14)) { case 0: weapon.Attributes.AttackChance = Utility.RandomMinMax(1, 5); break; case 1: weapon.Attributes.DefendChance = Utility.RandomMinMax(1, 5); break; case 2: weapon.Attributes.Luck = Utility.RandomMinMax(1, 10); break; case 3: weapon.Attributes.WeaponSpeed = Utility.RandomMinMax(1, 25); break; case 4: weapon.WeaponAttributes.HitDispel = Utility.RandomMinMax(2, 10); break; case 5: weapon.WeaponAttributes.HitFireball = Utility.RandomMinMax(2, 10); break; case 6: weapon.WeaponAttributes.HitHarm = Utility.RandomMinMax(2, 10); break; case 7: weapon.WeaponAttributes.HitLeechHits = Utility.RandomMinMax(2, 10); break; case 8: weapon.WeaponAttributes.HitLeechMana = Utility.RandomMinMax(2, 10); break; case 9: weapon.WeaponAttributes.HitLeechStam = Utility.RandomMinMax(2, 10); break; case 10: weapon.WeaponAttributes.HitLightning = Utility.RandomMinMax(2, 10); break; case 11: weapon.WeaponAttributes.HitLowerAttack = Utility.RandomMinMax(2, 10); break; case 12: weapon.WeaponAttributes.HitLowerDefend = Utility.RandomMinMax(2, 10); break; default: weapon.Attributes.WeaponDamage = Utility.RandomMinMax(1, 10); break; } DropItem(weapon); } /////////////////////////////////////// LV 1-15 if (Utility.RandomDouble() < 0.10) { BaseArmor armor = Loot.RandomArmor(true); switch (Utility.Random(39)) { case 0: armor = new LeatherArms(); break; // Lv1 case 1: armor = new LeatherBustierArms(); break; // Lv1 case 2: armor = new LeatherCap(); break; // Lv1 case 3: armor = new LeatherChest(); break; // Lv1 case 4: armor = new LeatherGloves(); break; // Lv1 case 5: armor = new LeatherGorget(); break; // Lv1 case 6: armor = new LeatherLegs(); break; // Lv1 case 7: armor = new LeatherShorts(); break; // Lv1 case 8: armor = new LeatherSkirt(); break; // Lv1 case 9: armor = new FemaleLeafChest(); break; // Lv1 case 10: armor = new LeafArms(); break; // Lv3 case 11: armor = new LeafChest(); break; // Lv3 case 12: armor = new LeafGloves(); break; // Lv3 case 13: armor = new LeafGorget(); break; // Lv3 case 14: armor = new LeafLegs(); break; // Lv3 case 15: armor = new LeafTonlet(); break; // Lv3 case 16: armor = new LeatherDo(); break; // Lv6 case 17: armor = new LeatherHaidate(); break; // Lv6 case 18: armor = new LeatherHiroSode(); break; // Lv6 case 19: armor = new LeatherJingasa(); break; // Lv6 case 20: armor = new LeatherMempo(); break; // Lv6 case 21: armor = new LeatherNinjaHood(); break; // Lv6 case 22: armor = new LeatherNinjaJacket(); break; // Lv6 case 23: armor = new LeatherNinjaMitts(); break; // Lv6 case 24: armor = new LeatherNinjaPants(); break; // Lv6 case 25: armor = new LeatherSuneate(); break; // Lv6 case 26: armor = new EbonsilkArms(); break; // Lv9 case 27: armor = new EbonsilkChest(); break; // Lv9 case 28: armor = new EbonsilkGloves(); break; // Lv9 case 29: armor = new EbonsilkGorget(); break; // Lv9 case 30: armor = new EbonsilkLegs(); break; // Lv9 case 31: armor = new EbonsilkTiara(); break; // Lv9 case 32: armor = new ChitinArms(); break; // Lv12 case 33: armor = new ChitinChest(); break; // Lv12 case 34: armor = new ChitinGloves(); break; // Lv12 case 35: armor = new ChitinGorget(); break; // Lv12 case 36: armor = new ChitinHelmet(); break; // Lv12 case 37: armor = new ChitinLegs(); break; // Lv12 default: armor = new FemaleLeatherChest(); break; // Lv1 } BaseRunicTool.ApplyAttributesTo(armor, 3, 5, 50); DropItem(armor); } if (Utility.RandomDouble() < 0.05) { BaseHat hat = Loot.RandomHat(true); BaseRunicTool.ApplyAttributesTo(hat, 3, 5, 10); DropItem(hat); } if (Utility.RandomDouble() < 0.05) { BaseClothing clothing = Loot.RandomClothing(true); BaseRunicTool.ApplyAttributesTo(clothing, 3, 5, 10); DropItem(clothing); } if (Utility.RandomDouble() < 0.05) { BaseShield shield1 = new Buckler(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(shield1, 3, 5, 50); } DropItem(shield1); } if (Utility.RandomDouble() < 0.05) { BaseShield shield2 = new WoodenShield(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(shield2, 3, 5, 50); } DropItem(shield2); } if (Utility.RandomDouble() < 0.05) { BaseShield shield3 = new AmmoniteShield(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(shield3, 3, 5, 50); } DropItem(shield3); } if (Utility.RandomDouble() < 0.05) { BaseShield shield4 = new BronzeShield(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(shield4, 3, 5, 50); } DropItem(shield4); } if (Utility.RandomDouble() < 0.05) { BaseShield shield5 = new MetalShield(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(shield5, 3, 5, 50); } DropItem(shield5); } if (Utility.RandomDouble() < 0.05) { BaseShield shield6 = new WoodenKiteShield(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(shield6, 3, 5, 50); } DropItem(shield6); } if (Utility.RandomDouble() < 0.05) { BaseJewel bracelet = new SilverBracelet(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(bracelet, 3, 5, 10); } DropItem(bracelet); } if (Utility.RandomDouble() < 0.05) { BaseJewel earrings = new SilverEarrings(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(earrings, 3, 5, 10); } DropItem(earrings); } if (Utility.RandomDouble() < 0.05) { BaseJewel necklace = new SilverNecklace(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(necklace, 3, 5, 10); } DropItem(necklace); } if (Utility.RandomDouble() < 0.05) { BaseJewel ring = new SilverRing(); if (Core.AOS) { BaseRunicTool.ApplyAttributesTo(ring, 3, 5, 10); } DropItem(ring); } }
public static void EquipVhalurian(Armament a, Mobile m) { if (a == Armament.LightCavalry) a = (Armament)1; else if (a == Armament.HeavyCavalry) a = (Armament)3; Surcoat coat = new Surcoat(); coat.Name = "A Surcoat of the Rivergate Militia"; coat.Hue = 2932; coat.ItemID = 15479; m.EquipItem(coat); switch (a) { case Armament.Light: { LeatherBoots boots = new LeatherBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2101; m.EquipItem(boots); Beret beret = new Beret(); beret.Hue = 2932; m.EquipItem(beret); StuddedChest sc = new StuddedChest(); sc.Resource = CraftResource.BeastLeather; sc.Hue = 2101; m.EquipItem(sc); StuddedLegs sl = new StuddedLegs(); sl.Resource = CraftResource.BeastLeather; sl.Hue = 2101; m.EquipItem(sl); StuddedArms sa = new StuddedArms(); sa.Resource = CraftResource.BeastLeather; sa.Hue = 2101; m.EquipItem(sa); StuddedGloves sg = new StuddedGloves(); sg.Resource = CraftResource.BeastLeather; sg.Hue = 2101; m.EquipItem(sg); StuddedGorget so = new StuddedGorget(); so.Resource = CraftResource.BeastLeather; so.Hue = 2101; m.EquipItem(so); VhalurianMace vm = new VhalurianMace(); vm.Resource = CraftResource.Iron; vm.Hue = 0; m.EquipItem(vm); WoodenShield ws = new WoodenShield(); ws.Resource = CraftResource.Oak; ws.Hue = 0; m.EquipItem(ws); break; } case Armament.Medium: { ChainChest cc = new ChainChest(); cc.Resource = CraftResource.Bronze; cc.Hue = 2101; m.EquipItem(cc); ChainLegs cl = new ChainLegs(); cl.Resource = CraftResource.Bronze; cl.Hue = 2101; m.EquipItem(cl); ChainCoif co = new ChainCoif(); co.Resource = CraftResource.Bronze; co.Hue = 2101; m.EquipItem(co); RingmailArms ra = new RingmailArms(); ra.Resource = CraftResource.Bronze; ra.Hue = 2101; m.EquipItem(ra); RingmailGloves rg = new RingmailGloves(); rg.Resource = CraftResource.Bronze; rg.Hue = 2101; m.EquipItem(rg); VhalurianMetalKiteShield vmks = new VhalurianMetalKiteShield(); vmks.Resource = CraftResource.Bronze; vmks.Hue = 2101; m.EquipItem(vmks); LeatherBoots boots = new LeatherBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2101; m.EquipItem(boots); if (m.Female) { VhalurianGladius sword = new VhalurianGladius(); sword.Resource = CraftResource.Bronze; m.EquipItem(sword); } else { VhalurianBroadsword sword = new VhalurianBroadsword(); sword.Resource = CraftResource.Bronze; m.EquipItem(sword); } break; } case Armament.Heavy: { VhalurianOrnatePlateChest vopc = new VhalurianOrnatePlateChest(); vopc.Resource = CraftResource.Bronze; vopc.Hue = 2101; m.EquipItem(vopc); VhalurianOrnatePlateLegs vopl = new VhalurianOrnatePlateLegs(); vopl.Resource = CraftResource.Bronze; vopl.Hue = 2101; m.EquipItem(vopl); VhalurianOrnatePlateGorget vopo = new VhalurianOrnatePlateGorget(); vopo.Resource = CraftResource.Bronze; vopo.Hue = 2101; m.EquipItem(vopo); PlateSabatons ps = new PlateSabatons(); ps.Resource = CraftResource.Bronze; ps.Hue = 2105; m.EquipItem(ps); VhalurianOrnatePlateArms vopa = new VhalurianOrnatePlateArms(); vopa.Resource = CraftResource.Bronze; vopa.Hue = 2101; m.EquipItem(vopa); VhalurianOrnatePlateGloves vopg = new VhalurianOrnatePlateGloves(); vopg.Resource = CraftResource.Bronze; vopg.Hue = 2101; m.EquipItem(vopg); VhalurianOrnateKiteShield voks = new VhalurianOrnateKiteShield(); voks.Resource = CraftResource.Bronze; voks.Hue = 2102; m.EquipItem(voks); m.EquipItem(new Cloak(1133)); if (m.Female) { VhalurianWarHammer hammer = new VhalurianWarHammer(); hammer.Resource = CraftResource.Bronze; m.EquipItem(hammer); VhalurianOrnateHelm voh = new VhalurianOrnateHelm(); voh.Resource = CraftResource.Bronze; voh.Hue = 2102; m.EquipItem(voh); } else { VhalurianBastardSword sword = new VhalurianBastardSword(); sword.Resource = CraftResource.Bronze; m.EquipItem(sword); VhalurianOrnatePlateHelm voph = new VhalurianOrnatePlateHelm(); voph.Resource = CraftResource.Bronze; voph.Hue = 2102; m.EquipItem(voph); } break; } case Armament.Ranged: { LeatherBoots boots = new LeatherBoots(); boots.Resource = CraftResource.BeastLeather; boots.Hue = 2101; m.EquipItem(boots); LeatherCap cap = new LeatherCap(); cap.Resource = CraftResource.RegularLeather; cap.Hue = 2101; m.EquipItem(cap); LeatherChest lc = new LeatherChest(); lc.Resource = CraftResource.RegularLeather; lc.Hue = 2101; m.EquipItem(lc); Quiver qv = new Quiver(); qv.Layer = Layer.Earrings; m.EquipItem(qv); LongPants lp = new LongPants(); lp.Resource = CraftResource.Cotton; lp.Hue = 2101; m.EquipItem(lp); LeatherArms la = new LeatherArms(); la.Resource = CraftResource.RegularLeather; la.Hue = 2101; m.EquipItem(la); LeatherGloves lg = new LeatherGloves(); lg.Resource = CraftResource.RegularLeather; lg.Hue = 2101; m.EquipItem(lg); VhalurianLongbow bow = new VhalurianLongbow(); bow.Resource = CraftResource.Yew; m.EquipItem(bow); if (m is BaseCreature) { BaseCreature bc = m as BaseCreature; bc.AI = AIType.AI_Archer; bc.PackItem(new Arrow(Utility.RandomMinMax(10, 20))); } break; } } }
public override void InitOutfit() { this.AddItem(new Backpack()); this.AddItem(new SmithHammer()); this.AddItem(new Boots(0x3B2)); this.AddItem(new ShortPants(0x1BB)); this.AddItem(new Shirt(0x71F)); this.AddItem(new FullApron(0x3B2)); Item item; item = new LeatherGloves(); item.Hue = 0x3B2; this.AddItem(item); }
public Death() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "Death"; Title = " The 4th Horseman"; Body = 400; SpeechHue = 2128; Hue = 161; VirtualArmor = 45; Kills = 10; SetStr( 125 ); SetDex( 251 ); SetInt( 130 ); SetHits(12000); SetDamage(25,45); SetDamageType(ResistanceType.Poison, 100); SetResistance(ResistanceType.Physical, 45,55); SetResistance(ResistanceType.Fire, 45, 55); SetResistance(ResistanceType.Cold, 45, 55); SetResistance(ResistanceType.Energy, 45, 55); SetResistance(ResistanceType.Poison, 100); SetSkill(SkillName.Wrestling, 85.0, 92.5); SetSkill(SkillName.Tactics, 78.5, 87.2); SetSkill(SkillName.Anatomy, 68.7, 85.6); SetSkill(SkillName.Fencing, 92.5, 95.6); Fame = 0; Karma = -10000; Item Weapon = new ScytheOfDeath(); Weapon.Movable = false; AddItem(Weapon); // PackItem(new MasterCoin(40)); VirtualArmor = 30; new PaleHorse().Rider = this; Item apron = new HalfApron(161); apron.Movable = false; AddItem( apron ); Item hair = new ShortHair( 161 ); hair.Movable = false; AddItem( hair ); Item shoes = new Sandals(161); shoes.Movable = false; AddItem( shoes ); Item mask = new OrcishKinMask(161); mask.Movable = false; AddItem( mask ); Item robe = new Robe(161); robe.Movable = false; AddItem( robe ); Item gloves = new LeatherGloves(); gloves.Movable = false; gloves.Hue = 161; AddItem( gloves ); Item gorget = new LeatherGorget(); gorget.Movable = false; gorget.Hue = 161; AddItem( gorget ); }
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); }