Add DefaultName property to Mobiles & Items (#18)

This commit is contained in:
Kamron Batman 2018-08-09 17:18:41 -07:00 committed by GitHub
parent b06f5bf60d
commit 8ee42c8ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
713 changed files with 5112 additions and 4987 deletions

View file

@ -30,7 +30,7 @@ namespace Server.SkillHandlers
m.RevealingAction();
if ( m.CheckSkill( SkillName.SpiritSpeak, 0, 100 ) )
{
{
if ( !m.CanHearGhosts )
{
Timer t = new SpiritSpeakTimer( m );
@ -76,13 +76,13 @@ namespace Server.SkillHandlers
{
private static SpellInfo m_Info = new SpellInfo( "Spirit Speak", "", 269 );
public override bool BlockedByHorrificBeast{ get{ return false; } }
public override bool BlockedByHorrificBeast => false;
public SpiritSpeakSpell( Mobile caster ) : base( caster, null, m_Info )
{
}
public override bool ClearHandsOnCast{ get{ return false; } }
public override bool ClearHandsOnCast => false;
public override double CastDelayFastScalar { get { return 0; } }
public override TimeSpan CastDelayBase { get { return TimeSpan.FromSeconds( 1.0 ); } }
@ -108,7 +108,7 @@ namespace Server.SkillHandlers
return true;
}
public override bool CheckNextSpellTime{ get{ return false; } }
public override bool CheckNextSpellTime => false;
public override void OnDisturb( DisturbType type, bool message )
{
@ -198,4 +198,4 @@ namespace Server.SkillHandlers
}
}
}
}
}