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

@ -9,8 +9,8 @@ namespace Server.Mobiles
{
public abstract class BaseChampion : BaseCreature
{
public override bool CanMoveOverObstacles { get { return true; } }
public override bool CanDestroyObstacles { get { return true; } }
public override bool CanMoveOverObstacles => true;
public override bool CanDestroyObstacles => true;
public BaseChampion( AIType aiType ) : this( aiType, FightMode.Closest )
{
@ -65,7 +65,7 @@ namespace Server.Mobiles
return null;
int random = Utility.Random( list.Length );
Type type = list[random];
Item artifact = Loot.Construct( type );
@ -294,7 +294,7 @@ namespace Server.Mobiles
return;
Gold g = new Gold( 500, 1000 );
g.MoveToWorld( new Point3D( m_X, m_Y, z ), m_Map );
if ( 0.5 >= Utility.RandomDouble() )
@ -326,4 +326,4 @@ namespace Server.Mobiles
}
}
}
}
}