diff --git a/Scripts/Mobiles/Animals/Town Critters/Bird.cs b/Scripts/Mobiles/Animals/Town Critters/Bird.cs index cdabffa29..22768177b 100644 --- a/Scripts/Mobiles/Animals/Town Critters/Bird.cs +++ b/Scripts/Mobiles/Animals/Town Critters/Bird.cs @@ -44,8 +44,8 @@ namespace Server.Mobiles SetSkill( SkillName.Tactics, 4.0, 6.0 ); SetSkill( SkillName.MagicResist, 4.0, 5.0 ); - SetFameLevel( 1 ); - SetKarmaLevel( 0 ); + Fame = 150; + Karma = 0; Tamable = true; ControlSlots = 1; @@ -105,8 +105,8 @@ namespace Server.Mobiles SetSkill( SkillName.Tactics, 4.0, 6.0 ); SetSkill( SkillName.MagicResist, 4.0, 5.0 ); - SetFameLevel( 1 ); - SetKarmaLevel( 0 ); + Fame = 150; + Karma = 0; Tamable = true; ControlSlots = 1; diff --git a/Scripts/Mobiles/Monsters/Humanoid/Magic/SavageShaman.cs b/Scripts/Mobiles/Monsters/Humanoid/Magic/SavageShaman.cs index 338999037..d98eb473c 100644 --- a/Scripts/Mobiles/Monsters/Humanoid/Magic/SavageShaman.cs +++ b/Scripts/Mobiles/Monsters/Humanoid/Magic/SavageShaman.cs @@ -115,6 +115,9 @@ namespace Server.Mobiles public void BeginSavageDance() { + if( this.Map == null ) + return; + ArrayList list = new ArrayList(); foreach ( Mobile m in this.GetMobilesInRange( 8 ) ) diff --git a/Scripts/Mobiles/Monsters/Misc/Melee/PlagueBeast.cs b/Scripts/Mobiles/Monsters/Misc/Melee/PlagueBeast.cs index 1742cd630..7ce57a827 100644 --- a/Scripts/Mobiles/Monsters/Misc/Melee/PlagueBeast.cs +++ b/Scripts/Mobiles/Monsters/Misc/Melee/PlagueBeast.cs @@ -53,7 +53,7 @@ namespace Server.Mobiles public override void OnDamagedBySpell( Mobile caster ) { - if ( caster != this && 0.25 > Utility.RandomDouble() ) + if ( this.Map != null && caster != this && 0.25 > Utility.RandomDouble() ) { BaseCreature spawn = new PlagueSpawn( this ); @@ -71,7 +71,7 @@ namespace Server.Mobiles public override void OnGotMeleeAttack( Mobile attacker ) { - if ( attacker != this && 0.25 > Utility.RandomDouble() ) + if ( this.Map != null && attacker != this && 0.25 > Utility.RandomDouble() ) { BaseCreature spawn = new PlagueSpawn( this ); diff --git a/Scripts/Mobiles/Monsters/SE/Yamandon.cs b/Scripts/Mobiles/Monsters/SE/Yamandon.cs index fa98d964c..d3a6c0e47 100644 --- a/Scripts/Mobiles/Monsters/SE/Yamandon.cs +++ b/Scripts/Mobiles/Monsters/SE/Yamandon.cs @@ -81,6 +81,9 @@ namespace Server.Mobiles private void DoCounter( Mobile attacker ) { + if( this.Map == null ) + return; + if ( attacker is BaseCreature && ((BaseCreature)attacker).BardProvoked ) return; diff --git a/Scripts/Mobiles/Special/LordOaks.cs b/Scripts/Mobiles/Special/LordOaks.cs index b39df3d65..3591c7dbc 100644 --- a/Scripts/Mobiles/Special/LordOaks.cs +++ b/Scripts/Mobiles/Special/LordOaks.cs @@ -132,6 +132,9 @@ namespace Server.Mobiles public void CheckQueen() { + if( this.Map == null ) + return; + if ( !m_SpawnedQueen ) { this.Say( 1042153 ); // Come forth my queen! diff --git a/Scripts/Mobiles/Special/Neira.cs b/Scripts/Mobiles/Special/Neira.cs index 41ed86639..81ad43e3b 100644 --- a/Scripts/Mobiles/Special/Neira.cs +++ b/Scripts/Mobiles/Special/Neira.cs @@ -222,6 +222,9 @@ namespace Server.Mobiles public void AddUnholyBone( Mobile target, double chanceToThrow ) { + if( this.Map == null ) + return; + if ( chanceToThrow >= Utility.RandomDouble() ) { Direction = GetDirectionTo( target ); diff --git a/Scripts/Mobiles/Special/Semidar.cs b/Scripts/Mobiles/Special/Semidar.cs index 8e7b94274..5695902dc 100644 --- a/Scripts/Mobiles/Special/Semidar.cs +++ b/Scripts/Mobiles/Special/Semidar.cs @@ -70,6 +70,9 @@ namespace Server.Mobiles public void DrainLife() { + if( this.Map == null ) + return; + ArrayList list = new ArrayList(); foreach ( Mobile m in this.GetMobilesInRange( 2 ) ) diff --git a/Scripts/Mobiles/Special/Serado.cs b/Scripts/Mobiles/Special/Serado.cs index 4b014fda6..ac5596f46 100644 --- a/Scripts/Mobiles/Special/Serado.cs +++ b/Scripts/Mobiles/Special/Serado.cs @@ -88,6 +88,7 @@ namespace Server.Mobiles ScaleResistances(); DoCounter( attacker ); + } private void ScaleResistances() @@ -103,7 +104,7 @@ namespace Server.Mobiles private void DoCounter( Mobile attacker ) { - if ( attacker is BaseCreature && ((BaseCreature)attacker).BardProvoked ) + if ( this.Map == null && attacker is BaseCreature && ((BaseCreature)attacker).BardProvoked ) return; if ( 0.2 > Utility.RandomDouble() )