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:
parent
0cb8782d87
commit
741e8a3301
2 changed files with 91 additions and 15 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue