public void Solve(Mobile from) { Effects.PlaySound(Location, Map, 0x211); Effects.PlaySound(Location, Map, 0x1F3); Effects.SendLocationEffect(Location, Map, 0x36B0, 4, 4); Effects.SendLocationEffect(new Point3D(X - 1, Y - 1, Z + 2), Map, 0x36B0, 4, 4); Effects.SendLocationEffect(new Point3D(X - 2, Y - 1, Z + 2), Map, 0x36B0, 4, 4); from.SendMessage("You scrounge some gems from the wreckage."); for (int i = 0; i < SideLength; i++) { from.AddToBackpack(new ArcaneGem()); } from.AddToBackpack(new Diamond(SideLength)); Item ore = new ShadowIronOre(9); ore.MoveToWorld(new Point3D(X - 1, Y, Z + 2), Map); ore = new ShadowIronOre(14); ore.MoveToWorld(new Point3D(X - 2, Y - 1, Z + 2), Map); Delete(); }
public ShadowIronElemental( int oreAmount ) : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "a shadow iron elemental"; Body = 111; BaseSoundID = 268; SetStr( 226, 255 ); SetDex( 126, 145 ); SetInt( 71, 92 ); SetHits( 136, 153 ); SetDamage( 9, 16 ); SetDamageType( ResistanceType.Physical, 100 ); SetResistance( ResistanceType.Physical, 30, 40 ); SetResistance( ResistanceType.Fire, 30, 40 ); SetResistance( ResistanceType.Cold, 20, 30 ); SetResistance( ResistanceType.Poison, 10, 20 ); SetResistance( ResistanceType.Energy, 30, 40 ); SetSkill( SkillName.MagicResist, 50.1, 95.0 ); SetSkill( SkillName.Tactics, 60.1, 100.0 ); SetSkill( SkillName.Wrestling, 60.1, 100.0 ); Fame = 4500; Karma = -4500; VirtualArmor = 23; Item ore = new ShadowIronOre( oreAmount ); ore.ItemID = 0x19B9; PackItem( ore ); }
public ShadowIronElemental(int oreAmount) : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Body = 111; BaseSoundID = 268; Hue = m_DefaultHue; Alignment = Alignment.Elemental; SetStr(226, 255); SetDex(126, 145); SetInt(71, 92); SetHits(136, 153); SetDamage(9, 16); SetSkill(SkillName.MagicResist, 50.1, 95.0); SetSkill(SkillName.Tactics, 60.1, 100.0); SetSkill(SkillName.Wrestling, 60.1, 100.0); Fame = 4500; Karma = -4500; VirtualArmor = 23; Item ore = new ShadowIronOre(oreAmount); ore.ItemID = 0x19B9; PackItem(ore); }
public AntLion() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "an ant lion"; Body = 787; BaseSoundID = 1006; SetStr( 296, 320 ); SetDex( 81, 105 ); SetInt( 36, 60 ); SetHits( 151, 162 ); SetDamage( 7, 21 ); SetDamageType( ResistanceType.Physical, 70 ); SetDamageType( ResistanceType.Poison, 30 ); SetResistance( ResistanceType.Physical, 45, 60 ); SetResistance( ResistanceType.Fire, 25, 35 ); SetResistance( ResistanceType.Cold, 30, 40 ); SetResistance( ResistanceType.Poison, 40, 50 ); SetResistance( ResistanceType.Energy, 30, 35 ); SetSkill( SkillName.MagicResist, 70.0 ); SetSkill( SkillName.Tactics, 90.0 ); SetSkill( SkillName.Wrestling, 90.0 ); Fame = 4500; Karma = -4500; VirtualArmor = 45; PackItem( new Bone( 3 ) ); PackItem( new FertileDirt( Utility.RandomMinMax( 1, 5 ) ) ); if ( Core.ML && Utility.RandomDouble() < .33 ) PackItem( Engines.Plants.Seed.RandomPeculiarSeed(2) ); Item dullore = new DullCopperOre( Utility.RandomMinMax( 1, 10 ) ); dullore.ItemID = 0x19B9; Item shadowore = new ShadowIronOre( Utility.RandomMinMax( 1, 10 ) ); shadowore.ItemID = 0x19B9; Item copperore = new CopperOre( Utility.RandomMinMax( 1, 10 ) ); copperore.ItemID = 0x19B9; Item bronzeore = new BronzeOre( Utility.RandomMinMax( 1, 10 ) ); bronzeore.ItemID = 0x19B9; switch ( Utility.Random( 4 ) ) { case 0: PackItem( dullore ); break; case 1: PackItem( shadowore ); break; case 2: PackItem( copperore ); break; case 3: PackItem( bronzeore ); break; } // TODO: skeleton }
public AntLion() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Name = "um formiga leão"; Body = 787; BaseSoundID = 1006; SetStr( 296, 320 ); SetDex( 81, 105 ); SetInt( 36, 60 ); SetHits( 151, 162 ); SetDamage( 7, 21 ); SetDamageType( ResistanceType.Physical, 70 ); SetDamageType( ResistanceType.Poison, 30 ); SetResistance( ResistanceType.Physical, 45, 60 ); SetResistance( ResistanceType.Fire, 25, 35 ); SetResistance( ResistanceType.Cold, 30, 40 ); SetResistance( ResistanceType.Poison, 40, 50 ); SetResistance( ResistanceType.Energy, 30, 35 ); SetSkill( SkillName.MagicResist, 70.0 ); SetSkill( SkillName.Tactics, 90.0 ); SetSkill( SkillName.Wrestling, 90.0 ); Fame = 4500; Karma = -4500; VirtualArmor = 45; PackItem( new Bone( 3 ) ); PackItem( new FertileDirt( Utility.RandomMinMax( 1, 5 ) ) ); if ( Core.ML && Utility.RandomDouble() < .33 ) PackItem( Engines.Plants.Seed.RandomPeculiarSeed(2) ); Item orepile = null; /* no trust, no love :( */ switch (Utility.Random(4)) { case 0: orepile = new DullCopperOre(); break; case 1: orepile = new ShadowIronOre(); break; case 2: orepile = new CopperOre(); break; default: orepile = new BronzeOre(); break; } orepile.Amount = Utility.RandomMinMax(1, 10); orepile.ItemID = 0x19B9; PackItem(orepile); // TODO: skeleton }
public AntLion() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { Body = 787; BaseSoundID = 1006; SetStr(296, 320); SetDex(81, 105); SetInt(36, 60); SetHits(151, 162); SetDamage(7, 21); SetSkill(SkillName.MagicResist, 70.0); SetSkill(SkillName.Tactics, 90.0); SetSkill(SkillName.Wrestling, 90.0); Fame = 4500; Karma = -4500; VirtualArmor = 45; PackItem(new Bone(3)); PackItem(new FertileDirt(Utility.RandomMinMax(1, 5))); Item orepile = null; /* no trust, no love :( */ switch (Utility.Random(4)) { case 0: orepile = new DullCopperOre(); break; case 1: orepile = new ShadowIronOre(); break; case 2: orepile = new CopperOre(); break; default: orepile = new BronzeOre(); break; } orepile.Amount = Utility.RandomMinMax(1, 10); orepile.ItemID = 0x19B9; PackItem(orepile); PackItem(new FertileDirt(Utility.RandomMinMax(1, 5))); // TODO: skeleton }
public OrcBrute() : base(AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4) { this.Body = 189; this.Name = "an orc brute"; this.BaseSoundID = 0x45A; this.SetStr(767, 945); this.SetDex(66, 75); this.SetInt(46, 70); this.SetHits(476, 552); this.SetDamage(20, 25); this.SetDamageType(ResistanceType.Physical, 100); this.SetResistance(ResistanceType.Physical, 45, 55); this.SetResistance(ResistanceType.Fire, 40, 50); this.SetResistance(ResistanceType.Cold, 25, 35); this.SetResistance(ResistanceType.Poison, 25, 35); this.SetResistance(ResistanceType.Energy, 25, 35); this.SetSkill(SkillName.Macing, 90.1, 100.0); this.SetSkill(SkillName.MagicResist, 125.1, 140.0); this.SetSkill(SkillName.Tactics, 90.1, 100.0); this.SetSkill(SkillName.Wrestling, 90.1, 100.0); this.Fame = 15000; this.Karma = -15000; this.VirtualArmor = 50; Item ore = new ShadowIronOre(25); ore.ItemID = 0x19B9; this.PackItem(ore); this.PackItem(new IronIngot(10)); if (0.05 > Utility.RandomDouble()) this.PackItem(new OrcishKinMask()); if (0.2 > Utility.RandomDouble()) this.PackItem(new BolaBall()); PackItem(new Yeast()); }
public void Solve( Mobile from ) { Effects.PlaySound( Location, Map, 0x211 ); Effects.PlaySound( Location, Map, 0x1F3 ); Effects.SendLocationEffect( Location, Map, 0x36B0, 4, 4 ); Effects.SendLocationEffect( new Point3D( X - 1, Y - 1, Z + 2 ), Map, 0x36B0, 4, 4 ); Effects.SendLocationEffect( new Point3D( X - 2, Y - 1, Z + 2 ), Map, 0x36B0, 4, 4 ); from.SendMessage( "You scrounge some gems from the wreckage." ); for ( int i = 0; i < SideLength; i++ ) { from.AddToBackpack( new ArcaneGem() ); } from.AddToBackpack( new Diamond( SideLength ) ); Item ore = new ShadowIronOre( 9 ); ore.MoveToWorld( new Point3D( X - 1, Y, Z + 2 ), Map ); ore = new ShadowIronOre( 14 ); ore.MoveToWorld( new Point3D( X - 2, Y - 1, Z + 2 ), Map ); Delete(); }
public AntLion() : base() { Name = "an ant lion"; Body = 787; BaseSoundID = 1006; SetStr( 296, 320 ); SetDex( 81, 105 ); SetInt( 36, 60 ); SetHits( 151, 162 ); SetDamage( 7, 21 ); SetDamageType( ResistanceType.Physical, 70 ); SetDamageType( ResistanceType.Poison, 30 ); SetResistance( ResistanceType.Physical, 45, 60 ); SetResistance( ResistanceType.Fire, 25, 35 ); SetResistance( ResistanceType.Cold, 30, 40 ); SetResistance( ResistanceType.Poison, 40, 50 ); SetResistance( ResistanceType.Energy, 30, 35 ); SetSkill( SkillName.MagicResist, 70.0 ); SetSkill( SkillName.Tactics, 90.0 ); SetSkill( SkillName.Wrestling, 90.0 ); Fame = 4500; Karma = -4500; VirtualArmor = 45; PackGem(); PackGem(); PackItem( new Bone( 3 ) ); PackItem( new FertileDirt( Utility.RandomMinMax( 1, 5 ) ) ); if ( Core.ML && Utility.RandomDouble() < .33 ) PackItem( Engines.Plants.Seed.RandomPeculiarSeed(2) ); Item orepile = null; /* no trust, no love :( */ switch (Utility.Random(4)) { case 0: orepile = new DullCopperOre(); break; case 1: orepile = new ShadowIronOre(); break; case 2: orepile = new CopperOre(); break; default: orepile = new BronzeOre(); break; } orepile.Amount = Utility.RandomMinMax(1, 10); orepile.ItemID = 0x19B9; PackItem(orepile); PackItem( new FertileDirt( 5 ) ); BoneRemains.PackSmallBonesAndLargeBones( Backpack, Utility.Random( 1, 2 ) ); SetDigDelay(); }
public AntLion() : base( AIType.AI_Melee, FightMode.Closest, 10, 1, 0.2, 0.4 ) { Name = "an ant lion"; Body = 787; BaseSoundID = 1006; SpeechHue = 0x3B2; SetStr( 296, 320 ); SetDex( 81, 105 ); SetInt( 36, 60 ); SetHits( 151, 162 ); SetDamage( 7, 21 ); SetDamageType( ResistanceType.Physical, 70 ); SetDamageType( ResistanceType.Poison, 30 ); SetResistance( ResistanceType.Physical, 45, 60 ); SetResistance( ResistanceType.Fire, 25, 35 ); SetResistance( ResistanceType.Cold, 30, 40 ); SetResistance( ResistanceType.Poison, 40, 50 ); SetResistance( ResistanceType.Energy, 30, 35 ); SetSkill( SkillName.MagicResist, 70.0 ); SetSkill( SkillName.Tactics, 90.0 ); SetSkill( SkillName.Wrestling, 90.0 ); Fame = 4500; Karma = -4500; VirtualArmor = 45; PackItem( new FertileDirt( Utility.RandomMinMax( 1, 5 ) ) ); if ( Core.ML && Utility.RandomDouble() < .33 ) PackItem( Engines.Plants.Seed.RandomPeculiarSeed(2) ); Item orepile = null; /* no trust, no love :( */ switch (Utility.Random(4)) { case 0: orepile = new DullCopperOre(); break; case 1: orepile = new ShadowIronOre(); break; case 2: orepile = new CopperOre(); break; default: orepile = new BronzeOre(); break; } orepile.Amount = Utility.RandomMinMax(1, 10); orepile.ItemID = 0x19B9; PackItem(orepile); for ( int i = 0; i < 3; i++ ) { switch ( Utility.Random( 5 ) ) { case 0: PackItem( new BoneShards() ); break; case 1: PackItem( new SpineBone() ); break; case 2: PackItem( new RibCage() ); break; ; case 3: PackItem( new PelvisBone() ); break; case 4: PackItem( new Skull() ); break; } } if ( 0.07 >= Utility.RandomDouble() ) { switch ( Utility.Random( 3 ) ) { case 0: PackItem( new UnknownBardSkeleton() ); break; case 1: PackItem( new UnknownMageSkeleton() ); break; case 2: PackItem( new UnknownRogueSkeleton() ); break; } } }