This commit is contained in:
mark 2009-07-05 04:03:37 +00:00
parent 879e2fc778
commit f2b9f04620
29 changed files with 62 additions and 55 deletions

View file

@ -29,7 +29,7 @@ namespace Server.Mobiles
SetDex( 151, 170 );
SetInt( 251, 282 );
SetDamage( 4, 5 );
SetDamage( 21, 28 );
SetDamageType( ResistanceType.Physical, 0 );
SetDamageType( ResistanceType.Cold, 50 );
@ -77,7 +77,7 @@ namespace Server.Mobiles
Item pads = from.FindItemOnLayer( Layer.Shoes );
if ( pads is PadsOfTheCuSidhe )
from.SendMessage( "Your boots allow you to mount the Cu Sidhe", null, 0x3B2 );
from.SendLocalizedMessage( 1071981 ); // Your boots allow you to mount the Cu Sidhe.
else
{
from.SendLocalizedMessage( 1072203 ); // Only Elves may use this.

View file

@ -21,7 +21,7 @@ namespace Server.Mobiles
SetHits( 751, 930 );
SetMana( 0 );
SetDamage( 6, 7 );
SetDamage( 18, 23 );
SetDamageType( ResistanceType.Physical, 100 );

View file

@ -20,7 +20,7 @@ namespace Server.Mobiles
SetHits( 551, 650 );
SetDamage( 11, 13 );
SetDamage( 21, 25 );
SetDamageType( ResistanceType.Physical, 30 );
SetDamageType( ResistanceType.Poison, 70 );

View file

@ -21,7 +21,7 @@ namespace Server.Mobiles
SetHits( 1500 );
SetStam( 150 );
SetDamage( 5, 6 );
SetDamage( 16, 19 );
SetDamageType( ResistanceType.Physical, 30 );
SetDamageType( ResistanceType.Fire, 70 );

View file

@ -34,7 +34,7 @@ namespace Server.Mobiles
SetHits(304, 321);
SetDamage(6, 11);
SetDamage(11, 20);
SetDamageType(ResistanceType.Physical, 100);

View file

@ -32,7 +32,7 @@ namespace Server.Mobiles
SetHits(353, 399);
SetDamage(6, 11);
SetDamage(13, 24);
SetDamageType(ResistanceType.Physical, 100);

View file

@ -26,7 +26,7 @@ namespace Server.Mobiles
SetHits( 61, 69 );
SetDamage( 2, 21 );
SetDamage( 4, 40 );
SetDamageType( ResistanceType.Physical, 100 );

View file

@ -24,7 +24,7 @@ namespace Server.Mobiles
SetHits( 1170, 1320 );
SetDamage( 3, 4 ); // Estimate until Anat/Tactics is verified
SetDamage( 26, 35 );
SetDamageType( ResistanceType.Physical, 100 );

View file

@ -21,7 +21,7 @@ namespace Server.Mobiles
SetHits( 301, 340 );
SetDamage( 5, 8 );
SetDamage( 11, 20 );
SetDamageType( ResistanceType.Physical, 100 );

View file

@ -21,7 +21,7 @@ namespace Server.Mobiles
SetHits( 401, 440 );
SetDamage( 4, 7 );
SetDamage( 11, 20 );
SetDamageType( ResistanceType.Physical, 100 );

View file

@ -22,7 +22,7 @@ namespace Server.Mobiles
SetHits( 354, 383 );
SetDamage( 4, 7 );
SetDamage( 11, 20 );
SetDamageType( ResistanceType.Physical, 100 );

View file

@ -29,7 +29,7 @@ namespace Server.Mobiles
SetHits( 415, 445 );
SetDamage( 4, 7 );
SetDamage( 13, 23 );
SetDamageType( ResistanceType.Physical, 40 );
SetDamageType( ResistanceType.Cold, 20 );

View file

@ -23,7 +23,7 @@ namespace Server.Mobiles
SetHits( 302, 340 );
SetDamage( 5, 6 );
SetDamage( 11, 14 );
SetDamageType( ResistanceType.Physical, 100 );
@ -48,7 +48,8 @@ namespace Server.Mobiles
}
public override bool CanHeal { get { return true; } }
public override bool CanHeal { get { return true; } }
public override void GenerateLoot()
{
AddLoot( LootPack.Rich ); // Need to verify

View file

@ -21,7 +21,7 @@ namespace Server.Mobiles
SetInt( 475, 675 );
SetHits( 1000, 2000 );
SetStam( 120, 135 );
SetStam( 120, 135 );
SetDamage( 24, 33 );
@ -33,11 +33,11 @@ namespace Server.Mobiles
SetResistance( ResistanceType.Poison, 40, 60 );
SetResistance( ResistanceType.Energy, 50, 75 );
SetSkill( SkillName.Meditation, 0 );
SetSkill( SkillName.Meditation, 0 );
SetSkill( SkillName.EvalInt, 110.0, 140.0 );
SetSkill( SkillName.Magery, 110.0, 140.0 );
SetSkill( SkillName.Poisoning, 0 );
SetSkill( SkillName.Anatomy, 0 );
SetSkill( SkillName.Poisoning, 0 );
SetSkill( SkillName.Anatomy, 0 );
SetSkill( SkillName.MagicResist, 110.0, 140.0 );
SetSkill( SkillName.Tactics, 110.0, 140.0 );
SetSkill( SkillName.Wrestling, 115.0, 145.0 );
@ -90,11 +90,13 @@ namespace Server.Mobiles
base.Deserialize( reader );
int version = reader.ReadInt();
SetDamage( 24, 33 );
if( version == 0 )
{
Server.SkillHandlers.AnimalTaming.ScaleStats( this, 0.50 );
Server.SkillHandlers.AnimalTaming.ScaleSkills( this, 0.80, 0.90 ); // 90% * 80% = 72% of original skills trainable to 90%
Skills[25].Base = Skills[25].Cap; // Greater dragons have a 90% cap reduction and 90% skill reduction on magery
Skills[SkillName.Magery].Base = Skills[SkillName.Magery].Cap; // Greater dragons have a 90% cap reduction and 90% skill reduction on magery
}
}
}

View file

@ -68,6 +68,7 @@ namespace Server.Mobiles
}
public override bool AutoDispel{ get{ return true; } }
public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
public override void OnGotMeleeAttack( Mobile attacker )
{

View file

@ -51,14 +51,7 @@ namespace Server.Mobiles
public override void OnThink()
{
bool expired;
expired = ( DateTime.Now >= m_ExpireTime );
if ( !expired && m_Owner != null )
expired = m_Owner.Deleted || Map != m_Owner.Map || !InRange( m_Owner, 16 );
if ( expired )
if ( m_Owner != null && ( DateTime.Now >= m_ExpireTime || m_Owner.Deleted || Map != m_Owner.Map || !InRange( m_Owner, 16 ) ) )
{
PlaySound( GetIdleSound() );
Delete();

View file

@ -1026,7 +1026,7 @@ namespace Server.Mobiles
strBase = this.Str; //this.Str already includes GetStatOffset/str
strOffs = AosAttributes.GetValue( this, AosAttribute.BonusHits );
if ( Core.ML && strOffs > 25 )
if ( Core.ML && strOffs > 25 && AccessLevel <= AccessLevel.Player )
strOffs = 25;
if ( AnimalForm.UnderTransformation( this, typeof( BakeKitsune ) ) || AnimalForm.UnderTransformation( this, typeof( GreyWolf ) ) )