updates to spawner, added area which works with range, comments reflect such. Added accessor for basecreature spawner, since home may no longer find the spawner.

This commit is contained in:
xavier 2013-02-06 19:48:45 +00:00
parent 0cb8782d87
commit 741e8a3301
2 changed files with 91 additions and 15 deletions

View file

@ -411,6 +411,27 @@ namespace Server.Mobiles
private DateTime m_BondingBegin;
private DateTime m_OwnerAbandonTime;
[CommandProperty( AccessLevel.GameMaster )]
public Spawner MySpawner
{
get
{
if( Spawner is Spawner )
{
return ( Spawner as Spawner );
}
return null;
}
set
{
if( value is ISpawner )
{
Spawner = value as ISpawner;
}
}
}
[CommandProperty( AccessLevel.GameMaster )]
public Mobile LastOwner
{