Example #1
0
 public static void Spawn(Point3D loc, Map map)
 {
     if (MaxAmount > m_Amount)
     {
         Mobile m = new Ortanord();
         m.MoveToWorld(loc, map);
     }
 }
Example #2
0
        public void SpawnOrtanords()
        {
            BaseCreature ortanords = new Ortanord();

            Point3D spawnLoc = Location;

            for (int i = 0; i < 25; i++)
            {
                int x = Utility.RandomMinMax(X - 5, X + 5);
                int y = Utility.RandomMinMax(Y - 5, Y + 5);
                int z = Map.GetAverageZ(x, y);

                Point3D p = new Point3D(x, y, z);

                if (Map.CanSpawnMobile(p))
                {
                    spawnLoc = p;
                    break;
                }
            }

            ortanords.MoveToWorld(spawnLoc, Map);
            ortanords.BoltEffect(0);
        }
Example #3
0
 public static void Spawn( Point3D loc, Map map )
 {
     if ( MaxAmount > m_Amount )
     {
         Mobile m = new Ortanord();
         m.MoveToWorld( loc, map );
     }
 }