Add DefaultName property to Mobiles & Items (#18)
This commit is contained in:
parent
b06f5bf60d
commit
8ee42c8ea2
713 changed files with 5112 additions and 4987 deletions
|
|
@ -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
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue