This commit is contained in:
parent
0b6d25874d
commit
adb7bf95bf
4 changed files with 13 additions and 13 deletions
|
|
@ -230,11 +230,11 @@ namespace Server.Mobiles
|
||||||
|
|
||||||
if( myNecro >= 100 )
|
if( myNecro >= 100 )
|
||||||
{
|
{
|
||||||
possibles = 4;
|
possibles = 5;
|
||||||
}
|
}
|
||||||
switch( Utility.Random( possibles ) )
|
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 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 );
|
case 1: m_Mobile.DebugSay( "Poison Strike" ); return new PoisonStrikeSpell( m_Mobile, null );
|
||||||
|
|
@ -401,7 +401,6 @@ namespace Server.Mobiles
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 7:
|
case 7:
|
||||||
case 8:
|
|
||||||
{
|
{
|
||||||
//m_Mobile.DebugSay( "Attempting to Invis" );
|
//m_Mobile.DebugSay( "Attempting to Invis" );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,8 +33,8 @@ namespace Server.Mobiles
|
||||||
SetResistance( ResistanceType.Energy, 40, 50 );
|
SetResistance( ResistanceType.Energy, 40, 50 );
|
||||||
|
|
||||||
|
|
||||||
SetSkill( SkillName.Necromancy, 120, 120.0 );
|
SetSkill( SkillName.Necromancy, 89, 99.1 );
|
||||||
SetSkill( SkillName.SpiritSpeak, 120.0, 120.0 );
|
SetSkill( SkillName.SpiritSpeak, 90.0, 99.0 );
|
||||||
|
|
||||||
SetSkill( SkillName.EvalInt, 100.0 );
|
SetSkill( SkillName.EvalInt, 100.0 );
|
||||||
SetSkill( SkillName.Magery, 70.1, 80.0 );
|
SetSkill( SkillName.Magery, 70.1, 80.0 );
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,8 @@ namespace Server.Mobiles
|
||||||
SetResistance( ResistanceType.Poison, 50, 60 );
|
SetResistance( ResistanceType.Poison, 50, 60 );
|
||||||
SetResistance( ResistanceType.Energy, 40, 50 );
|
SetResistance( ResistanceType.Energy, 40, 50 );
|
||||||
|
|
||||||
SetSkill( SkillName.Necromancy, 120, 120.0 );
|
SetSkill( SkillName.Necromancy, 90, 110.0 );
|
||||||
SetSkill( SkillName.SpiritSpeak, 120.0, 120.0 );
|
SetSkill( SkillName.SpiritSpeak, 190.0, 110.0 );
|
||||||
|
|
||||||
SetSkill( SkillName.EvalInt, 90.1, 100.0 );
|
SetSkill( SkillName.EvalInt, 90.1, 100.0 );
|
||||||
SetSkill( SkillName.Magery, 90.1, 100.0 );
|
SetSkill( SkillName.Magery, 90.1, 100.0 );
|
||||||
|
|
|
||||||
|
|
@ -154,16 +154,13 @@ namespace Server.Mobiles
|
||||||
{
|
{
|
||||||
base.OnGaveMeleeAttack( defender );
|
base.OnGaveMeleeAttack( defender );
|
||||||
|
|
||||||
if( Utility.RandomDouble() < 0.15 )
|
if( Utility.RandomDouble() < 0.25 )
|
||||||
CacophonicAttack( defender );
|
CacophonicAttack( defender );
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void OnDamage( int amount, Mobile from, bool willKill )
|
public override void OnDamage( int amount, Mobile from, bool willKill )
|
||||||
{
|
{
|
||||||
if( Utility.RandomDouble() < 0.15 )
|
if( Utility.RandomDouble() < 0.1 )
|
||||||
CacophonicAttack( from );
|
|
||||||
|
|
||||||
if( Utility.RandomDouble() < 0.3 )
|
|
||||||
DropOoze();
|
DropOoze();
|
||||||
|
|
||||||
base.OnDamage( amount, from, willKill );
|
base.OnDamage( amount, from, willKill );
|
||||||
|
|
@ -434,7 +431,11 @@ namespace Server.Mobiles
|
||||||
|
|
||||||
public virtual void Damage( Mobile m )
|
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 ) )
|
if( ValidMobile( m ) )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue