This commit is contained in:
xavier 2011-09-04 01:59:03 +00:00
parent 0b6d25874d
commit adb7bf95bf
4 changed files with 13 additions and 13 deletions

View file

@ -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" );

View file

@ -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 );

View file

@ -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 );

View file

@ -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 ) )
{