From 98e948eeb3542b09cf565689f522f2dea0ed713f Mon Sep 17 00:00:00 2001 From: mark Date: Sun, 14 Oct 2012 01:18:50 +0000 Subject: [PATCH] --- Scripts/Engines/CannedEvil/ChampionSpawn.cs | 4 ++++ Scripts/Items/Special/Solen Items/BallOfSummoning.cs | 3 +++ 2 files changed, 7 insertions(+) diff --git a/Scripts/Engines/CannedEvil/ChampionSpawn.cs b/Scripts/Engines/CannedEvil/ChampionSpawn.cs index 316ac9dd5..45963e2a4 100644 --- a/Scripts/Engines/CannedEvil/ChampionSpawn.cs +++ b/Scripts/Engines/CannedEvil/ChampionSpawn.cs @@ -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; diff --git a/Scripts/Items/Special/Solen Items/BallOfSummoning.cs b/Scripts/Items/Special/Solen Items/BallOfSummoning.cs index 9f3e0d5ab..0cfcab0f5 100644 --- a/Scripts/Items/Special/Solen Items/BallOfSummoning.cs +++ b/Scripts/Items/Special/Solen Items/BallOfSummoning.cs @@ -279,6 +279,9 @@ namespace Server.Items { BaseCreature pet = this.Pet; + if ( pet == null ) + return; + Charges--; if ( pet.IsStabled )