Renames trapable to trappable. (#4)

This commit is contained in:
Kamron Batman 2018-02-20 11:08:02 -08:00 committed by GitHub
parent bb8f09752f
commit 9a4aeaba0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 22 additions and 22 deletions

View file

@ -11,7 +11,7 @@ namespace Server.Items
public virtual int MaxRespawnMinutes { get { return 90; } }
public virtual bool IsLockable { get { return true; } }
public virtual bool IsTrapable { get { return IsLockable; } }
public virtual bool IsTrappable { get { return IsLockable; } }
public virtual int SpawnThreshold { get { return 2; } }
@ -153,7 +153,7 @@ namespace Server.Items
RequiredSkill = difficulty;
}
if( IsTrapable && ( m_Content.Level > 1 || 4 > Utility.Random( 5 ) ) )
if( IsTrappable && ( m_Content.Level > 1 || 4 > Utility.Random( 5 ) ) )
{
if( m_Content.Level > Utility.Random( 5 ) )
TrapType = TrapType.PoisonTrap;