From adb7bf95bf82876e68e41c4d4f9c54bcd7441ec1 Mon Sep 17 00:00:00 2001 From: xavier Date: Sun, 4 Sep 2011 01:59:03 +0000 Subject: [PATCH] --- Scripts/Mobiles/AI/MageAI.cs | 5 ++--- Scripts/Mobiles/Monsters/Humanoid/Magic/Lich.cs | 4 ++-- Scripts/Mobiles/Monsters/Humanoid/Magic/LichLord.cs | 4 ++-- Scripts/Mobiles/Monsters/ML/Special/Ilhenir.cs | 13 +++++++------ 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Scripts/Mobiles/AI/MageAI.cs b/Scripts/Mobiles/AI/MageAI.cs index efb52c016..035ada208 100644 --- a/Scripts/Mobiles/AI/MageAI.cs +++ b/Scripts/Mobiles/AI/MageAI.cs @@ -230,11 +230,11 @@ namespace Server.Mobiles if( myNecro >= 100 ) { - possibles = 4; + possibles = 5; } switch( Utility.Random( possibles ) ) { - default: m_Mobile.DebugSay( "Wengeful Spritii" ); return new VengefulSpiritSpell( m_Mobile, null ); + default: m_Mobile.DebugSay( "Vengeful Spirit" ); return new VengefulSpiritSpell( m_Mobile, null ); case 0: m_Mobile.DebugSay( "Pain Spike" ); return new PainSpikeSpell( m_Mobile, null ); case 1: m_Mobile.DebugSay( "Poison Strike" ); return new PoisonStrikeSpell( m_Mobile, null ); @@ -401,7 +401,6 @@ namespace Server.Mobiles break; } case 7: - case 8: { //m_Mobile.DebugSay( "Attempting to Invis" ); diff --git a/Scripts/Mobiles/Monsters/Humanoid/Magic/Lich.cs b/Scripts/Mobiles/Monsters/Humanoid/Magic/Lich.cs index f5f6071a1..a5c371d25 100644 --- a/Scripts/Mobiles/Monsters/Humanoid/Magic/Lich.cs +++ b/Scripts/Mobiles/Monsters/Humanoid/Magic/Lich.cs @@ -33,8 +33,8 @@ namespace Server.Mobiles SetResistance( ResistanceType.Energy, 40, 50 ); - SetSkill( SkillName.Necromancy, 120, 120.0 ); - SetSkill( SkillName.SpiritSpeak, 120.0, 120.0 ); + SetSkill( SkillName.Necromancy, 89, 99.1 ); + SetSkill( SkillName.SpiritSpeak, 90.0, 99.0 ); SetSkill( SkillName.EvalInt, 100.0 ); SetSkill( SkillName.Magery, 70.1, 80.0 ); diff --git a/Scripts/Mobiles/Monsters/Humanoid/Magic/LichLord.cs b/Scripts/Mobiles/Monsters/Humanoid/Magic/LichLord.cs index 807945fc1..7fb630bf8 100644 --- a/Scripts/Mobiles/Monsters/Humanoid/Magic/LichLord.cs +++ b/Scripts/Mobiles/Monsters/Humanoid/Magic/LichLord.cs @@ -32,8 +32,8 @@ namespace Server.Mobiles SetResistance( ResistanceType.Poison, 50, 60 ); SetResistance( ResistanceType.Energy, 40, 50 ); - SetSkill( SkillName.Necromancy, 120, 120.0 ); - SetSkill( SkillName.SpiritSpeak, 120.0, 120.0 ); + SetSkill( SkillName.Necromancy, 90, 110.0 ); + SetSkill( SkillName.SpiritSpeak, 190.0, 110.0 ); SetSkill( SkillName.EvalInt, 90.1, 100.0 ); SetSkill( SkillName.Magery, 90.1, 100.0 ); diff --git a/Scripts/Mobiles/Monsters/ML/Special/Ilhenir.cs b/Scripts/Mobiles/Monsters/ML/Special/Ilhenir.cs index 69f77cbb6..eb177619f 100644 --- a/Scripts/Mobiles/Monsters/ML/Special/Ilhenir.cs +++ b/Scripts/Mobiles/Monsters/ML/Special/Ilhenir.cs @@ -154,16 +154,13 @@ namespace Server.Mobiles { base.OnGaveMeleeAttack( defender ); - if( Utility.RandomDouble() < 0.15 ) + if( Utility.RandomDouble() < 0.25 ) CacophonicAttack( defender ); } public override void OnDamage( int amount, Mobile from, bool willKill ) { - if( Utility.RandomDouble() < 0.15 ) - CacophonicAttack( from ); - - if( Utility.RandomDouble() < 0.3 ) + if( Utility.RandomDouble() < 0.1 ) DropOoze(); base.OnDamage( amount, from, willKill ); @@ -434,7 +431,11 @@ namespace Server.Mobiles public virtual void Damage( Mobile m ) { - if( m != null ) + if( m == null || m.Deleted || !m.Alive || m.Map == null || m.Map == Map.Internal ) /* cant have that happen again */ + { + StopTimer( m ); + } + else { if( ValidMobile( m ) ) {