This commit is contained in:
parent
d1958569a3
commit
98e948eeb3
2 changed files with 7 additions and 0 deletions
|
|
@ -720,6 +720,10 @@ namespace Server.Engines.CannedEvil
|
|||
|
||||
if( Map.CanSpawnMobile( new Point2D( x, y ), z ) )
|
||||
return new Point3D( x, y, z );
|
||||
|
||||
/* try @ platform Z if map z fails */
|
||||
else if( Map.CanSpawnMobile( new Point2D( x, y ), m_Platform.Location.Z ) )
|
||||
return new Point3D( x, y, m_Platform.Location.Z );
|
||||
}
|
||||
|
||||
return Location;
|
||||
|
|
|
|||
|
|
@ -279,6 +279,9 @@ namespace Server.Items
|
|||
{
|
||||
BaseCreature pet = this.Pet;
|
||||
|
||||
if ( pet == null )
|
||||
return;
|
||||
|
||||
Charges--;
|
||||
|
||||
if ( pet.IsStabled )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue