Respawn() public méthode

public Respawn ( ) : void
Résultat void
Exemple #1
0
        private static void ImportSpawner(XmlElement node)
        {
            int count     = int.Parse(GetText(node["count"], "1"));
            int homeRange = int.Parse(GetText(node["homerange"], "4"));

            int walkingRange = int.Parse(GetText(node["walkingrange"], "-1"));

            int team = int.Parse(GetText(node["team"], "0"));

            bool          group         = bool.Parse(GetText(node["group"], "False"));
            TimeSpan      maxDelay      = TimeSpan.Parse(GetText(node["maxdelay"], "10:00"));
            TimeSpan      minDelay      = TimeSpan.Parse(GetText(node["mindelay"], "05:00"));
            List <string> creaturesName = LoadCreaturesName(node["creaturesname"]);

            string  name     = GetText(node["name"], "Spawner");
            Point3D location = Point3D.Parse(GetText(node["location"], "Error"));
            Map     map      = Map.Parse(GetText(node["map"], "Error"));

            Spawner spawner = new Spawner(count, minDelay, maxDelay, team, homeRange, creaturesName);

            if (walkingRange >= 0)
            {
                spawner.WalkingRange = walkingRange;
            }

            spawner.Name = name;
            spawner.MoveToWorld(location, map);
            if (spawner.Map == Map.Internal)
            {
                spawner.Delete();
                throw new Exception("Spawner created on Internal map.");
            }
            spawner.Respawn();
        }
        private static void ImportSpawner(XmlElement node, string mapa, string tipo)
        {
            int count     = int.Parse(GetText(node["count"], "1"));
            int homeRange = int.Parse(GetText(node["homerange"], "4"));
            int team      = int.Parse(GetText(node["team"], "0"));

            bool      group         = bool.Parse(GetText(node["group"], "False"));
            TimeSpan  maxDelay      = TimeSpan.Parse(GetText(node["maxdelay"], "10:00"));
            TimeSpan  minDelay      = TimeSpan.Parse(GetText(node["mindelay"], "05:00"));
            ArrayList creaturesName = LoadCreaturesName(node["creaturesname"]);

            string  name     = GetText(node["name"], "Spawner");
            Point3D location = Point3D.Parse(GetText(node["location"], "Error"));
            Map     map      = Map.Parse(GetText(node["map"], "Error"));

            if (map.Name == mapa)
            {
                if (tipo == "odbc")
                {
                    ODBCSpawner spawner = new ODBCSpawner(count, minDelay, maxDelay, team, homeRange, creaturesName);
                    spawner.Name = name;
                    spawner.MoveToWorld(location, map);
                    if (spawner.Map == Map.Internal)
                    {
                        spawner.Delete();
                        throw new Exception("Spawner created on Internal map.");
                    }
                    spawner.Respawn();
                }
                else
                {
                    // Genova: necessário converter creaturesName para list<string>.
                    List <string> listaCreaturesName = new List <string>();
                    listaCreaturesName.CopyTo(creaturesName.ToArray(typeof(string)) as string[]);
                    Spawner spawner = new Spawner(count, minDelay, maxDelay, team, homeRange, listaCreaturesName);
                    spawner.Name = name;
                    spawner.MoveToWorld(location, map);
                    if (spawner.Map == Map.Internal)
                    {
                        spawner.Delete();
                        throw new Exception("Spawner created on Internal map.");
                    }
                    spawner.Respawn();
                }
            }
        }
Exemple #3
0
        private static void RespawnAllSpawnerSpawners_OnCommand(CommandEventArgs args)
        {
            List <Spawner> spawners = new List <Spawner>();

            foreach (Item item in World.Items.Values)
            {
                Spawner s = item as Spawner;
                if (s != null)
                {
                    spawners.Add(s);
                }
            }
            foreach (Spawner s in spawners)
            {
                s.Respawn();
            }
        }
Exemple #4
0
        public static void RespawnAll_OnCommand(CommandEventArgs args)
        {
            args.Mobile.SendAsciiMessage("Respawning all spawners... this may be a little slow.");
            ArrayList spawners = new ArrayList();

            foreach (Item item in World.Items.Values)
            {
                if (item is Spawner && ((Spawner)item).Running)
                {
                    spawners.Add(item);
                }
            }

            int count = 0;

            for (int i = 0; i < spawners.Count; i++)
            {
                Spawner s = (Spawner)spawners[i];
                s.Respawn();
                count += s.Count;
            }
            args.Mobile.SendAsciiMessage("Respawn compelete, spawned {0} objects from {1} spawners.", count, spawners.Count);
        }
        public override void OnResponse(NetState state, RelayInfo info)
        {
            if (m_Spawner.Deleted || state.Mobile.AccessLevel < AccessLevel.GameMaster)
            {
                return;
            }

            switch (info.ButtonID)
            {
            case 0:     // Closed
            {
                return;
            }

            case 1:     // Apply
            {
                m_Spawner.SpawnNames = CreateArray(info, state.Mobile);

                break;
            }

            case 2:     // Bring to Home
            {
                m_Spawner.BringToHome();

                break;
            }

            case 3:     // Total Respawn
            {
                m_Spawner.Respawn();

                break;
            }

            default:
            {
                int buttonID = info.ButtonID - 4;
                int index    = buttonID / 2;
                int type     = buttonID % 2;

                TextRelay entry = info.GetTextEntry(index);

                if (entry != null && entry.Text.Length > 0)
                {
                    if (type == 0)         // Spawn creature
                    {
                        m_Spawner.Spawn(entry.Text);
                    }
                    else         // Remove creatures
                    {
                        m_Spawner.RemoveSpawned(entry.Text);
                    }

                    m_Spawner.SpawnNames = CreateArray(info, state.Mobile);
                }

                break;
            }
            }

            state.Mobile.SendGump(new SpawnerGump(m_Spawner));
        }
		public override void OnResponse( NetState state, RelayInfo info )
		{
			Mobile from = state.Mobile;
			switch ( info.ButtonID ) 
		{ 
		case 0:
		{ 
                                    from.CloseGump( typeof( StartStopMontorilsh ) ); 
		        from.SendGump( new CityInvasion( from ) );
                                    break;  
                             }  
		case 1:
		{
			Point3D loc = new Point3D( 568, 1311, 0 );
			WayPoint point = new WayPoint();
			WayPoint point1 = new WayPoint();
			WayPoint point2 = new WayPoint();
			//WayPoint point3 = new WayPoint();

			point.Name = "MontorInvasionIlshenar";
			point1.Name = "MontorInvasionIlshenar";
			point2.Name = "MontorInvasionIlshenar";

			Spawner spawner1 = new Spawner( 1, 1440, 1441, 0, 6, "OrcBrute" );
			spawner1.MoveToWorld( new Point3D(  950, 284, -90  ), Map.Malas );
			spawner1.WayPoint = point;
			point.MoveToWorld( new Point3D(  950, 265, -90  ), Map.Malas );
			point.NextPoint = point2;
			point2.MoveToWorld( new Point3D(  950, 275, -90  ), Map.Malas );
          			spawner1.Name = "MontorInvasionIlshenar";
			spawner1.Respawn();

			Spawner spawner2 = new Spawner( 1, 1440, 1441, 0, 6, "OrcBomber" );
			spawner2.MoveToWorld( new Point3D(  952, 284, -90  ), Map.Malas );
			spawner2.WayPoint = point1;
			point1.MoveToWorld( new Point3D(  952, 265, -90  ), Map.Malas );
			spawner2.Name = "MontorInvasionIlshenar";
			spawner2.Respawn();

			Spawner spawner3 = new Spawner( 1, 1440, 1441, 0, 6, "Savage" );
			spawner3.MoveToWorld( new Point3D(  950, 244, -90  ), Map.Malas );
			spawner3.WayPoint = point;
			spawner3.Name = "MontorInvasionIlshenar";
			spawner3.Respawn();

			Spawner spawner4 = new Spawner( 1, 1440, 1441, 0, 6, "SavageRider" );
			spawner4.MoveToWorld( new Point3D(  952, 244, -90  ), Map.Malas );
			spawner4.WayPoint = point1;
			spawner4.Name = "MontorInvasionIlshenar";
			spawner4.Respawn();

                                           World.Broadcast( 33, true, "Montor Ilshenar is under invasion." );
		               from.SendGump( new CityInvasion( from ) );
                                   	 break; 
                            }  
		case 2:
		{
			MontorInvasionStone monilsh = new MontorInvasionStone();
			monilsh.StopMontorIlshenar();
                                          World.Broadcast( 33, true, "Montor Ilshenar's invasion was successfully beaten back. No more invaders are left in the city." );
		              from.SendGump( new CityInvasion( from ) );
                                   	break; 
				}
			}
		}
Exemple #7
0
        public override void OnResponse(NetState state, RelayInfo info)
        {
            if (m_Spawner.Deleted)
            {
                return;
            }

            Mobile from = state.Mobile;

            int val = info.ButtonID - 1;

            if (val < 0)
            {
                return;
            }

            int type  = val % 10;
            int index = val / 10;

            switch (type)
            {
            case 0:                     //Cancel
                return;

            case 1:
            {
                switch (index)
                {
                case 0:
                {
                    if (m_Spawner.Entries != null && m_Page > 0)
                    {
                        m_Page--;
                        m_Entry = null;
                    }
                    break;
                }

                case 1:
                {
                    if (m_Spawner.Entries != null && (m_Page + 1) * 13 <= m_Spawner.Entries.Count)
                    {
                        m_Page++;
                        m_Entry = null;
                    }
                    break;
                }

                case 2:                                 //Okay
                {
                    CreateArray(info, state.Mobile, m_Spawner);
                    return;
                }

                case 3:
                {
                    m_Spawner.BringToHome();
                    break;
                }

                case 4:                                 // Complete respawn
                {
                    m_Spawner.Respawn();
                    break;
                }

                case 5:
                {
                    CreateArray(info, state.Mobile, m_Spawner);
                    break;
                }
                }
                break;
            }

            case 2:
            {
                int entryindex = (index / 2) + (m_Page * 13);
                int buttontype = index % 2;

                if (entryindex >= 0 && entryindex < m_Spawner.Entries.Count)
                {
                    SpawnerEntry entry = m_Spawner.Entries[entryindex];
                    if (buttontype == 0)                               // Spawn creature
                    {
                        if (m_Entry != null && m_Entry == entry)
                        {
                            m_Entry = null;
                        }
                        else
                        {
                            m_Entry = entry;
                        }
                    }
                    else                             // Remove creatures
                    {
                        m_Spawner.RemoveSpawn(entryindex);
                    }
                }

                CreateArray(info, state.Mobile, m_Spawner);
                break;
            }
            }

            if (m_Entry != null && m_Spawner.Entries.Contains(m_Entry))
            {
                state.Mobile.SendGump(new SpawnerGump(m_Spawner, m_Entry, m_Page));
            }
            else
            {
                state.Mobile.SendGump(new SpawnerGump(m_Spawner, null, m_Page));
            }
        }
        private static void ImportSpawner(XmlElement node, string mapa, string tipo)
        {
            int count = int.Parse(GetText(node["count"], "1"));
            int homeRange = int.Parse(GetText(node["homerange"], "4"));
            int team = int.Parse(GetText(node["team"], "0"));

            bool group = bool.Parse(GetText(node["group"], "False"));
            TimeSpan maxDelay = TimeSpan.Parse(GetText(node["maxdelay"], "10:00"));
            TimeSpan minDelay = TimeSpan.Parse(GetText(node["mindelay"], "05:00"));
            ArrayList creaturesName = LoadCreaturesName(node["creaturesname"]);

            string name = GetText(node["name"], "Spawner");
            Point3D location = Point3D.Parse(GetText(node["location"], "Error"));
            Map map = Map.Parse(GetText(node["map"], "Error"));

            if (map.Name == mapa)
            {

                if (tipo == "odbc")
                {

                    ODBCSpawner spawner = new ODBCSpawner(count, minDelay, maxDelay, team, homeRange, creaturesName);
                    spawner.Name = name;
                    spawner.MoveToWorld(location, map);
                    if (spawner.Map == Map.Internal)
                    {
                        spawner.Delete();
                        throw new Exception("Spawner created on Internal map.");
                    }
                    spawner.Respawn();
                }
                else
                {
                    // Genova: necessário converter creaturesName para list<string>.
                    List<string> listaCreaturesName = new List<string>();
                    listaCreaturesName.CopyTo(creaturesName.ToArray(typeof(string)) as string[]);
                    Spawner spawner = new Spawner(count, minDelay, maxDelay, team, homeRange, listaCreaturesName);
                    spawner.Name = name;
                    spawner.MoveToWorld(location, map);
                    if (spawner.Map == Map.Internal)
                    {
                        spawner.Delete();
                        throw new Exception("Spawner created on Internal map.");
                    }
                    spawner.Respawn();
                }
            }
        }
		public override void OnResponse( NetState state, RelayInfo info )
		{
			Mobile from = state.Mobile;
			switch ( info.ButtonID ) 
		{ 
		case 0:
		{ 
                                    from.CloseGump( typeof( StartStopMaginciafel ) ); 
		        from.SendGump( new CityInvasion( from ) );
                                    break;  
                             }  
		case 1:
		{
			Point3D loc = new Point3D( 568, 1311, 0 );

			WayPoint point = new WayPoint();
			WayPoint point1 = new WayPoint();
			WayPoint point2 = new WayPoint();
			WayPoint point3 = new WayPoint();
			WayPoint point4 = new WayPoint();
			WayPoint point5 = new WayPoint();
			WayPoint point6 = new WayPoint();
			WayPoint point7 = new WayPoint();
			WayPoint point8 = new WayPoint();
			WayPoint point9 = new WayPoint();

			WayPoint point10 = new WayPoint();
			WayPoint point11 = new WayPoint();
			/*WayPoint point12 = new WayPoint();
			WayPoint point13 = new WayPoint();
			WayPoint point14 = new WayPoint();
			WayPoint point15 = new WayPoint();
			WayPoint point16 = new WayPoint();
			WayPoint point17 = new WayPoint();
			WayPoint point18 = new WayPoint();
			WayPoint point19 = new WayPoint();

			WayPoint point20 = new WayPoint();
			WayPoint point21 = new WayPoint();
			WayPoint point22 = new WayPoint();
			WayPoint point23 = new WayPoint();
			WayPoint point24 = new WayPoint();
			WayPoint point25 = new WayPoint();
			WayPoint point26 = new WayPoint();
			WayPoint point27 = new WayPoint();
			WayPoint point28 = new WayPoint();
			WayPoint point29 = new WayPoint();

			WayPoint point30 = new WayPoint();
			WayPoint point31 = new WayPoint();
			WayPoint point32 = new WayPoint();
			WayPoint point33 = new WayPoint();
			WayPoint point34 = new WayPoint();
			WayPoint point35 = new WayPoint();
			WayPoint point36 = new WayPoint();
			WayPoint point37 = new WayPoint();
			WayPoint point38 = new WayPoint();
			WayPoint point39 = new WayPoint();

			WayPoint point40 = new WayPoint();
			WayPoint point41 = new WayPoint();
			WayPoint point42 = new WayPoint();
			WayPoint point43 = new WayPoint();
			WayPoint point44 = new WayPoint();
			WayPoint point45 = new WayPoint();
			WayPoint point46 = new WayPoint();
			WayPoint point47 = new WayPoint();
			WayPoint point48 = new WayPoint();
			WayPoint point49 = new WayPoint();

			WayPoint point50 = new WayPoint();
			WayPoint point51 = new WayPoint();
			WayPoint point52 = new WayPoint();
			WayPoint point53 = new WayPoint();
			WayPoint point54 = new WayPoint();
			WayPoint point55 = new WayPoint();
			WayPoint point56 = new WayPoint();
			WayPoint point57 = new WayPoint();
			WayPoint point58 = new WayPoint();
			WayPoint point59 = new WayPoint();

			WayPoint point60 = new WayPoint();
			WayPoint point61 = new WayPoint();
			WayPoint point62 = new WayPoint();
			WayPoint point63 = new WayPoint();
			WayPoint point64 = new WayPoint();
			WayPoint point65 = new WayPoint();
			WayPoint point66 = new WayPoint();
			WayPoint point67 = new WayPoint();
			WayPoint point68 = new WayPoint();
			WayPoint point69 = new WayPoint();

			WayPoint point70 = new WayPoint();
			WayPoint point71 = new WayPoint();
			WayPoint point72 = new WayPoint();
			WayPoint point73 = new WayPoint();
			WayPoint point74 = new WayPoint();
			WayPoint point75 = new WayPoint();
			WayPoint point76 = new WayPoint();
			WayPoint point77 = new WayPoint();
			WayPoint point78 = new WayPoint();
			WayPoint point79 = new WayPoint();
			WayPoint point80 = new WayPoint();
			WayPoint point81 = new WayPoint();

			WayPoint point82 = new WayPoint();
			WayPoint point83 = new WayPoint();
			WayPoint point84 = new WayPoint();
			WayPoint point85 = new WayPoint();
			WayPoint point86 = new WayPoint();
			WayPoint point87 = new WayPoint();
			WayPoint point88 = new WayPoint();
			WayPoint point89 = new WayPoint();
			WayPoint point90 = new WayPoint();
			WayPoint point91 = new WayPoint();
			WayPoint point92 = new WayPoint();
			WayPoint point93 = new WayPoint();

			WayPoint point94 = new WayPoint();
			WayPoint point95 = new WayPoint();
			WayPoint point96 = new WayPoint();
			WayPoint point97 = new WayPoint();
			WayPoint point98 = new WayPoint();
			WayPoint point99 = new WayPoint();
			WayPoint point100 = new WayPoint();
			WayPoint point101 = new WayPoint();
			WayPoint point102 = new WayPoint();
			WayPoint point103 = new WayPoint();
			WayPoint point104 = new WayPoint();
			WayPoint point105 = new WayPoint();

			WayPoint point106 = new WayPoint();
			WayPoint point107 = new WayPoint();
			WayPoint point108 = new WayPoint();
			WayPoint point109 = new WayPoint();
			WayPoint point110 = new WayPoint();
			WayPoint point111 = new WayPoint();
			WayPoint point112 = new WayPoint();
			WayPoint point113 = new WayPoint();
			WayPoint point114 = new WayPoint();
			WayPoint point115 = new WayPoint();
			WayPoint point116 = new WayPoint();
			WayPoint point117 = new WayPoint();
			WayPoint point118 = new WayPoint();
			WayPoint point119 = new WayPoint();
			WayPoint point120 = new WayPoint();*/

			point.Name = "MaginciaInvasionFelucca";
			point1.Name = "MaginciaInvasionFelucca";
			point2.Name = "MaginciaInvasionFelucca";
			point3.Name = "MaginciaInvasionFelucca";
			point4.Name = "MaginciaInvasionFelucca";
			point5.Name = "MaginciaInvasionFelucca";
			point6.Name = "MaginciaInvasionFelucca";
			point7.Name = "MaginciaInvasionFelucca";
			point8.Name = "MaginciaInvasionFelucca";
			point9.Name = "MaginciaInvasionFelucca";

			point10.Name = "MaginciaInvasionFelucca";
			point11.Name = "MaginciaInvasionFelucca";
			/*point12.Name = "MaginciaInvasionFelucca";
			point13.Name = "MaginciaInvasionFelucca";
			point14.Name = "MaginciaInvasionFelucca";
			point15.Name = "MaginciaInvasionFelucca";
			point16.Name = "MaginciaInvasionFelucca";
			point17.Name = "MaginciaInvasionFelucca";
			point18.Name = "MaginciaInvasionFelucca";
			point19.Name = "MaginciaInvasionFelucca";

			point20.Name = "MaginciaInvasionFelucca";
			point21.Name = "MaginciaInvasionFelucca";
			point22.Name = "MaginciaInvasionFelucca";
			point23.Name = "MaginciaInvasionFelucca";
			point24.Name = "MaginciaInvasionFelucca";
			point25.Name = "MaginciaInvasionFelucca";
			point26.Name = "MaginciaInvasionFelucca";
			point27.Name = "MaginciaInvasionFelucca";
			point28.Name = "MaginciaInvasionFelucca";
			point29.Name = "MaginciaInvasionFelucca";

			point30.Name = "MaginciaInvasionFelucca";
			point31.Name = "MaginciaInvasionFelucca";
			point32.Name = "MaginciaInvasionFelucca";
			point33.Name = "MaginciaInvasionFelucca";
			point34.Name = "MaginciaInvasionFelucca";
			point35.Name = "MaginciaInvasionFelucca";
			point36.Name = "MaginciaInvasionFelucca";
			point37.Name = "MaginciaInvasionFelucca";
			point38.Name = "MaginciaInvasionFelucca";
			point39.Name = "MaginciaInvasionFelucca";

			point40.Name = "MaginciaInvasionFelucca";
			point41.Name = "MaginciaInvasionFelucca";
			point42.Name = "MaginciaInvasionFelucca";
			point43.Name = "MaginciaInvasionFelucca";
			point44.Name = "MaginciaInvasionFelucca";
			point45.Name = "MaginciaInvasionFelucca";
			point46.Name = "MaginciaInvasionFelucca";
			point47.Name = "MaginciaInvasionFelucca";
			point48.Name = "MaginciaInvasionFelucca";
			point49.Name = "MaginciaInvasionFelucca";

			point50.Name = "MaginciaInvasionFelucca";
			point51.Name = "MaginciaInvasionFelucca";
			point52.Name = "MaginciaInvasionFelucca";
			point53.Name = "MaginciaInvasionFelucca";
			point54.Name = "MaginciaInvasionFelucca";
			point55.Name = "MaginciaInvasionFelucca";
			point56.Name = "MaginciaInvasionFelucca";
			point57.Name = "MaginciaInvasionFelucca";
			point58.Name = "MaginciaInvasionFelucca";
			point59.Name = "MaginciaInvasionFelucca";

			point60.Name = "MaginciaInvasionFelucca";
			point61.Name = "MaginciaInvasionFelucca";
			point62.Name = "MaginciaInvasionFelucca";
			point63.Name = "MaginciaInvasionFelucca";
			point64.Name = "MaginciaInvasionFelucca";
			point65.Name = "MaginciaInvasionFelucca";
			point66.Name = "MaginciaInvasionFelucca";
			point67.Name = "MaginciaInvasionFelucca";
			point68.Name = "MaginciaInvasionFelucca";
			point69.Name = "MaginciaInvasionFelucca";

			point70.Name = "MaginciaInvasionFelucca";
			point71.Name = "MaginciaInvasionFelucca";
			point72.Name = "MaginciaInvasionFelucca";
			point73.Name = "MaginciaInvasionFelucca";
			point74.Name = "MaginciaInvasionFelucca";
			point75.Name = "MaginciaInvasionFelucca";
			point76.Name = "MaginciaInvasionFelucca";
			point77.Name = "MaginciaInvasionFelucca";
			point78.Name = "MaginciaInvasionFelucca";
			point79.Name = "MaginciaInvasionFelucca";
			point80.Name = "MaginciaInvasionFelucca";
			point81.Name = "MaginciaInvasionFelucca";

			point82.Name = "MaginciaInvasionFelucca";
			point83.Name = "MaginciaInvasionFelucca";
			point84.Name = "MaginciaInvasionFelucca";
			point85.Name = "MaginciaInvasionFelucca";
			point86.Name = "MaginciaInvasionFelucca";
			point87.Name = "MaginciaInvasionFelucca";
			point88.Name = "MaginciaInvasionFelucca";
			point89.Name = "MaginciaInvasionFelucca";
			point90.Name = "MaginciaInvasionFelucca";
			point91.Name = "MaginciaInvasionFelucca";
			point92.Name = "MaginciaInvasionFelucca";
			point93.Name = "MaginciaInvasionFelucca";

			point94.Name = "MaginciaInvasionFelucca";
			point95.Name = "MaginciaInvasionFelucca";
			point96.Name = "MaginciaInvasionFelucca";
			point97.Name = "MaginciaInvasionFelucca";
			point98.Name = "MaginciaInvasionFelucca";
			point99.Name = "MaginciaInvasionFelucca";
			point100.Name = "MaginciaInvasionFelucca";
			point101.Name = "MaginciaInvasionFelucca";
			point102.Name = "MaginciaInvasionFelucca";
			point103.Name = "MaginciaInvasionFelucca";
			point104.Name = "MaginciaInvasionFelucca";
			point105.Name = "MaginciaInvasionFelucca";

			point106.Name = "MaginciaInvasionFelucca";
			point107.Name = "MaginciaInvasionFelucca";
			point108.Name = "MaginciaInvasionFelucca";
			point109.Name = "MaginciaInvasionFelucca";
			point110.Name = "MaginciaInvasionFelucca";
			point111.Name = "MaginciaInvasionFelucca";
			point112.Name = "MaginciaInvasionFelucca";
			point113.Name = "MaginciaInvasionFelucca";
			point114.Name = "MaginciaInvasionFelucca";
			point115.Name = "MaginciaInvasionFelucca";
			point116.Name = "MaginciaInvasionFelucca";
			point117.Name = "MaginciaInvasionFelucca";
			point118.Name = "MaginciaInvasionFelucca";
			point119.Name = "MaginciaInvasionFelucca";
			point120.Name = "MaginciaInvasionFelucca";*/

			GuardedRegion reg = from.Region as GuardedRegion;

			if ( reg == null )
			{
				from.SendMessage( 33, "You are not in the guarded part of Magincia, Felucca." );
				from.SendMessage( 33, "You will have to go there and use [toggleguarded to turn the guards off." );
			}
			 else if ( reg.Disabled )
                                           {
				from.SendMessage( 3, "The guards in this region have not changed." );
                                           }
			else if ( !reg.Disabled )
                                           {
				reg.Disabled = !reg.Disabled;
			              from.SendMessage( 3, "The guards in this region have been disabled." );
                                           }
                                           if ( DummyMessage  && reg != null )
                                          {
				from.SendMessage( 33, "If you are not in the guarded part of Magincia, Felucca." );
				from.SendMessage( 33, "You will have to go there and use [toggleguarded to turn the guards off." );
                                          }
			Spawner spawner1 = new Spawner( 4, 5, 15, 0, 10, "OrcBomber" );
			spawner1.MoveToWorld( new Point3D(  3654, 2070, 20  ), Map.Felucca );
			spawner1.WayPoint = point;
			point.MoveToWorld( new Point3D(  3708, 2090, 5  ), Map.Felucca );
			point.NextPoint = point1;
			point1.MoveToWorld( new Point3D(  3707, 2180, 20  ), Map.Felucca );
			point1.NextPoint = point2;
			point2.MoveToWorld( new Point3D(  3675, 2180, 20  ), Map.Felucca );
			point2.NextPoint = point3;
			point3.MoveToWorld( new Point3D(  3675, 2235, 20  ), Map.Felucca );
			point3.NextPoint = point4;
			point4.MoveToWorld( new Point3D(  3741, 2235, 20  ), Map.Felucca );
			point4.NextPoint = point5;
			point5.MoveToWorld( new Point3D(  3741, 2188, 20  ), Map.Felucca );
			point5.NextPoint = point6;
			point6.MoveToWorld( new Point3D(  3707, 2188, 20  ), Map.Felucca );
			point6.NextPoint = point7;
			point7.MoveToWorld( new Point3D(  3707, 2180, 20  ), Map.Felucca );
			point7.NextPoint = point8;
			point8.MoveToWorld( new Point3D(  3675, 2180, 20  ), Map.Felucca );
			point8.NextPoint = point9;
			point9.MoveToWorld( new Point3D(  3675, 2115, 20  ), Map.Felucca );
			point9.NextPoint = point10;
			point10.MoveToWorld( new Point3D(  3754, 2115, 20  ), Map.Felucca );
			point10.NextPoint = point11;
			point11.MoveToWorld( new Point3D(  3708, 2115, 20  ), Map.Felucca );
			point11.NextPoint = point;
          	spawner1.Name = "MaginciaInvasionFelucca";
			spawner1.Respawn();

            Spawner spawner2 = new Spawner(4, 5, 15, 0, 8, "OrcishLord");
            spawner2.MoveToWorld(new Point3D(3797, 2263, 40), Map.Felucca);
            spawner2.Name = "MaginciaInvasionFelucca";
            spawner2.Respawn();

            Spawner spawner3 = new Spawner(4, 5, 15, 0, 8, "OrcCaptain");
            spawner3.MoveToWorld(new Point3D(3796, 2262, 40), Map.Felucca);
            spawner3.Name = "MaginciaInvasionFelucca";
            spawner3.Respawn();

            Spawner spawner4 = new Spawner(4, 5, 15, 0, 8, "OrcSoldier");
            spawner4.MoveToWorld(new Point3D(3797, 2262, 40), Map.Felucca);
            spawner4.Name = "MaginciaInvasionFelucca";
            spawner4.Respawn();

            Spawner spawner5 = new Spawner(4, 5, 15, 0, 8, "OrcishMage");
            spawner5.MoveToWorld(new Point3D(3798, 2262, 40), Map.Felucca);
            spawner5.Name = "MaginciaInvasionFelucca";
            spawner5.Respawn();

            Spawner spawner6 = new Spawner(1, 2, 2, 0, 2, "OrcKing");
            spawner6.MoveToWorld(new Point3D(3799, 2262, 40), Map.Felucca);
            spawner6.Name = "MaginciaInvasionFelucca";
            spawner6.Respawn();

            Spawner spawner7 = new Spawner(10, 5, 15, 0, 8, "Orc");
            spawner7.MoveToWorld(new Point3D(3798, 2262, 40), Map.Felucca);
            spawner7.Name = "MaginciaInvasionFelucca";
            spawner7.Respawn();

            Spawner spawner8 = new Spawner(1, 5, 15, 0, 1, "OrcCamp");
            spawner8.MoveToWorld(new Point3D(3739, 2255, 20), Map.Felucca);
            spawner8.Name = "MaginciaInvasionFelucca";
            spawner8.Respawn();

            Spawner spawner41 = new Spawner(1, 5, 15, 0, 1, "OrcCamp");
            spawner41.MoveToWorld(new Point3D(3752, 2237, 20), Map.Felucca);
            spawner41.Name = "MaginciaInvasionFelucca";
            spawner41.Respawn();

            Spawner spawner9 = new Spawner(2, 5, 15, 0, 5, "OrcBomber");
            spawner9.MoveToWorld(new Point3D(3744, 2237, 20), Map.Felucca);
            spawner9.Name = "MaginciaInvasionFelucca";
            spawner9.Respawn();

            Spawner spawner10 = new Spawner(2, 5, 15, 0, 5, "OrcBomber");
            spawner10.MoveToWorld(new Point3D(3739, 2251, 20), Map.Felucca);
            spawner10.Name = "MaginciaInvasionFelucca";
            spawner10.Respawn();

            Spawner spawner11 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner11.MoveToWorld(new Point3D(3727, 2224, 20), Map.Felucca);
            spawner11.Name = "MaginciaInvasionFelucca";
            spawner11.Respawn();

            Spawner spawner12 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner12.MoveToWorld(new Point3D(3727, 2224, 20), Map.Felucca);
            spawner12.Name = "MaginciaInvasionFelucca";
            spawner12.Respawn();

            Spawner spawner13 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner13.MoveToWorld(new Point3D(3727, 2220, 20), Map.Felucca);
            spawner13.Name = "MaginciaInvasionFelucca";
            spawner13.Respawn();

            Spawner spawner14 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner14.MoveToWorld(new Point3D(3727, 2220, 20), Map.Felucca);
            spawner14.Name = "MaginciaInvasionFelucca";
            spawner14.Respawn();

            Spawner spawner15 = new Spawner(3, 5, 15, 0, 20, "OrcScout");
            spawner15.MoveToWorld(new Point3D(3764, 2237, 30), Map.Felucca);
            spawner15.Name = "MaginciaInvasionFelucca";
            spawner15.Respawn();

            Spawner spawner16 = new Spawner(3, 5, 15, 0, 20, "OrcScout");
            spawner16.MoveToWorld(new Point3D(3752, 2260, 30), Map.Felucca);
            spawner16.Name = "MaginciaInvasionFelucca";
            spawner16.Respawn();

            Spawner spawner17 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner17.MoveToWorld(new Point3D(3700, 2250, 20), Map.Felucca);
            spawner17.Name = "MaginciaInvasionFelucca";
            spawner17.Respawn();

            Spawner spawner18 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner18.MoveToWorld(new Point3D(3700, 2250, 20), Map.Felucca);
            spawner18.Name = "MaginciaInvasionFelucca";
            spawner18.Respawn();

            Spawner spawner19 = new Spawner(20, 5, 15, 0, 8, "Orc");
            spawner19.MoveToWorld(new Point3D(3715, 2235, 20), Map.Felucca);
            spawner19.Name = "MaginciaInvasionFelucca";
            spawner19.Respawn();

            Spawner spawner20 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner20.MoveToWorld(new Point3D(3700, 2221, 41), Map.Felucca);
            spawner20.Name = "MaginciaInvasionFelucca";
            spawner20.Respawn();

            Spawner spawner21 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner21.MoveToWorld(new Point3D(3700, 2221, 41), Map.Felucca);
            spawner21.Name = "MaginciaInvasionFelucca";
            spawner21.Respawn();

            Spawner spawner22 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner22.MoveToWorld(new Point3D(3700, 2221, 20), Map.Felucca);
            spawner22.Name = "MaginciaInvasionFelucca";
            spawner22.Respawn();

            Spawner spawner23 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner23.MoveToWorld(new Point3D(3700, 2221, 20), Map.Felucca);
            spawner23.Name = "MaginciaInvasionFelucca";
            spawner23.Respawn();

            Spawner spawner24 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner24.MoveToWorld(new Point3D(3690, 2226, 20), Map.Felucca);
            spawner24.Name = "MaginciaInvasionFelucca";
            spawner24.Respawn();

            Spawner spawner25 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner25.MoveToWorld(new Point3D(3690, 2226, 20), Map.Felucca);
            spawner25.Name = "MaginciaInvasionFelucca";
            spawner25.Respawn();

            Spawner spawner26 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner26.MoveToWorld(new Point3D(3666, 2234, 20), Map.Felucca);
            spawner26.Name = "MaginciaInvasionFelucca";
            spawner26.Respawn();

            Spawner spawner27 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner27.MoveToWorld(new Point3D(3666, 2234, 20), Map.Felucca);
            spawner27.Name = "MaginciaInvasionFelucca";
            spawner27.Respawn();

            Spawner spawner28 = new Spawner(20, 5, 15, 0, 8, "Orc");
            spawner28.MoveToWorld(new Point3D(3676, 2238, 20), Map.Felucca);
            spawner28.Name = "MaginciaInvasionFelucca";
            spawner28.Respawn();

            Spawner spawner29 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner29.MoveToWorld(new Point3D(3667, 2254, 20), Map.Felucca);
            spawner29.Name = "MaginciaInvasionFelucca";
            spawner29.Respawn();

            Spawner spawner30 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner30.MoveToWorld(new Point3D(3667, 2254, 20), Map.Felucca);
            spawner30.Name = "MaginciaInvasionFelucca";
            spawner30.Respawn();

            Spawner spawner31 = new Spawner(2, 5, 15, 0, 5, "OrcBomber");
            spawner31.MoveToWorld(new Point3D(3676, 2238, 20), Map.Felucca);
            spawner31.Name = "MaginciaInvasionFelucca";
            spawner31.Respawn();

            Spawner spawner32 = new Spawner(2, 5, 15, 0, 5, "OrcBomber");
            spawner32.MoveToWorld(new Point3D(3715, 2235, 20), Map.Felucca);
            spawner32.Name = "MaginciaInvasionFelucca";
            spawner32.Respawn();

            Spawner spawner33 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner33.MoveToWorld(new Point3D(3684, 2252, 20), Map.Felucca);
            spawner33.Name = "MaginciaInvasionFelucca";
            spawner33.Respawn();

            Spawner spawner34 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner34.MoveToWorld(new Point3D(3684, 2252, 20), Map.Felucca);
            spawner34.Name = "MaginciaInvasionFelucca";
            spawner34.Respawn();

            Spawner spawner35 = new Spawner(20, 5, 15, 0, 8, "Orc");
            spawner35.MoveToWorld(new Point3D(3674, 2286, -2), Map.Felucca);
            spawner35.Name = "MaginciaInvasionFelucca";
            spawner35.Respawn();

            Spawner spawner36 = new Spawner(3, 5, 15, 0, 20, "OrcScout");
            spawner36.MoveToWorld(new Point3D(3674, 2286, -2), Map.Felucca);
            spawner36.Name = "MaginciaInvasionFelucca";
            spawner36.Respawn();

            Spawner spawner37 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner37.MoveToWorld(new Point3D(3660, 2188, 20), Map.Felucca);
            spawner37.Name = "MaginciaInvasionFelucca";
            spawner37.Respawn();

            Spawner spawner38 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner38.MoveToWorld(new Point3D(3660, 2188, 20), Map.Felucca);
            spawner38.Name = "MaginciaInvasionFelucca";
            spawner38.Respawn();

            Spawner spawner39 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner39.MoveToWorld(new Point3D(3694, 2163, 20), Map.Felucca);
            spawner39.Name = "MaginciaInvasionFelucca";
            spawner39.Respawn();

            Spawner spawner40 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner40.MoveToWorld(new Point3D(3694, 2163, 20), Map.Felucca);
            spawner40.Name = "MaginciaInvasionFelucca";
            spawner40.Respawn();

            Spawner spawner42 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner42.MoveToWorld(new Point3D(3731, 2149, 20), Map.Felucca);
            spawner42.Name = "MaginciaInvasionFelucca";
            spawner42.Respawn();

            Spawner spawner43 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner43.MoveToWorld(new Point3D(3731, 2149, 20), Map.Felucca);
            spawner43.Name = "MaginciaInvasionFelucca";
            spawner43.Respawn();

            Spawner spawner44 = new Spawner(20, 5, 15, 0, 8, "Orc");
            spawner44.MoveToWorld(new Point3D(3710, 2162, 20), Map.Felucca);
            spawner44.Name = "MaginciaInvasionFelucca";
            spawner44.Respawn();

            Spawner spawner45 = new Spawner(1, 5, 15, 0, 1, "OrcCamp");
            spawner45.MoveToWorld(new Point3D(3715, 2147, 20), Map.Felucca);
            spawner45.Name = "MaginciaInvasionFelucca";
            spawner45.Respawn();

            Spawner spawner46 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner46.MoveToWorld(new Point3D(3718, 2127, 20), Map.Felucca);
            spawner46.Name = "MaginciaInvasionFelucca";
            spawner46.Respawn();

            Spawner spawner47 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner47.MoveToWorld(new Point3D(3718, 2127, 20), Map.Felucca);
            spawner47.Name = "MaginciaInvasionFelucca";
            spawner47.Respawn();

            Spawner spawner48 = new Spawner(20, 5, 15, 0, 8, "Orc");
            spawner48.MoveToWorld(new Point3D(3698, 2108, 20), Map.Felucca);
            spawner48.Name = "MaginciaInvasionFelucca";
            spawner48.Respawn();

            Spawner spawner49 = new Spawner(3, 5, 15, 0, 10, "OrcCamp");
            spawner49.MoveToWorld(new Point3D(3667, 2107, 20), Map.Felucca);
            spawner49.Name = "MaginciaInvasionFelucca";
            spawner49.Respawn();

            /*Spawner spawner50 = new Spawner(2, 5, 15, 0, 8, "OrcishMage");
            spawner50.MoveToWorld(new Point3D(3718, 2127, 20), Map.Felucca);
            spawner50.Name = "MaginciaInvasionFelucca";
            spawner50.Respawn();

            Spawner spawner51 = new Spawner(2, 5, 15, 0, 8, "OrcishLord");
            spawner51.MoveToWorld(new Point3D(3718, 2127, 20), Map.Felucca);
            spawner51.Name = "MaginciaInvasionFelucca";
            spawner51.Respawn();

			/*Spawner spawner2 = new Spawner( 4, 5, 15, 0, 15, "Orc" );
			spawner2.MoveToWorld( new Point3D(  2694, 466, 18  ), Map.Felucca );
			spawner2.WayPoint = point12;
			point12.MoveToWorld( new Point3D(  2662, 469, 15  ), Map.Felucca );
			point12.NextPoint = point13;
			point13.MoveToWorld( new Point3D(  2625, 469, 15  ), Map.Felucca );
			point13.NextPoint = point14;
			point14.MoveToWorld( new Point3D(  2613, 507, 15  ), Map.Felucca );
			point14.NextPoint = point15;
			point15.MoveToWorld( new Point3D(  2558, 513, 15  ), Map.Felucca );
			point15.NextPoint = point16;
			point16.MoveToWorld( new Point3D(  2558, 496, 0  ), Map.Felucca );
			point16.NextPoint = point17;
			point17.MoveToWorld( new Point3D(  2576, 479, 0  ), Map.Felucca );
			point17.NextPoint = point18;
			point18.MoveToWorld( new Point3D(  2558, 496, 0  ), Map.Felucca );
			point18.NextPoint = point19;
			point19.MoveToWorld( new Point3D(  2558, 528, 15  ), Map.Felucca );
			point19.NextPoint = point20;
			point20.MoveToWorld( new Point3D(  2569, 537, 15  ), Map.Felucca );
			point20.NextPoint = point21;
			point21.MoveToWorld( new Point3D(  2599, 531, 15  ), Map.Felucca );
			point21.NextPoint = point22;
			point22.MoveToWorld( new Point3D(  2599, 504, 0  ), Map.Felucca );
			point22.NextPoint = point23;
			point23.MoveToWorld( new Point3D(  2606, 502, 0  ), Map.Felucca );
			point23.NextPoint = point24;
			point24.MoveToWorld( new Point3D(  2604, 496, 20  ), Map.Felucca );
			point24.NextPoint = point25;
			point25.MoveToWorld( new Point3D(  2578, 500, 22  ), Map.Felucca );
			point25.NextPoint = point26;
			point26.MoveToWorld( new Point3D(  2582, 493, 40  ), Map.Felucca );
			point26.NextPoint = point27;
			point27.MoveToWorld( new Point3D(  2609, 469, 40  ), Map.Felucca );
			point27.NextPoint = point28;
			point28.MoveToWorld( new Point3D(  2602, 466, 60  ), Map.Felucca );
			point28.NextPoint = point29;
			point29.MoveToWorld( new Point3D(  2604, 453, 60  ), Map.Felucca );
			point29.NextPoint = point30;
			point30.MoveToWorld( new Point3D(  2591, 457, 60  ), Map.Felucca );
			point30.NextPoint = point31;
			point31.MoveToWorld( new Point3D(  2604, 453, 60  ), Map.Felucca );
			point31.NextPoint = point32;
			point32.MoveToWorld( new Point3D(  2602, 466, 60  ), Map.Felucca );
			point32.NextPoint = point33;
			point33.MoveToWorld( new Point3D(  2609, 469, 40  ), Map.Felucca );
			point33.NextPoint = point34;
			point34.MoveToWorld( new Point3D(  2582, 493, 40   ), Map.Felucca );
			point34.NextPoint = point35;
			point35.MoveToWorld( new Point3D(  2578, 500, 22  ), Map.Felucca );
			point35.NextPoint = point36;
			point36.MoveToWorld( new Point3D(  2604, 496, 20  ), Map.Felucca );
			point36.NextPoint = point37;
			point37.MoveToWorld( new Point3D(  2606, 502, 0  ), Map.Felucca );
			point37.NextPoint = point14;
			spawner2.Name = "MaginciaInvasionFelucca";
			spawner2.Respawn();

			Spawner spawner3 = new Spawner( 6, 5, 15, 0, 10, "Orc" );
			spawner3.MoveToWorld( new Point3D(  2555, 370, 15  ), Map.Felucca );
			spawner3.WayPoint = point38;
			point38.MoveToWorld( new Point3D(  2532, 389, 15  ), Map.Felucca );
			point38.NextPoint = point39;
			point39.MoveToWorld( new Point3D(  2510, 386, 15  ), Map.Felucca );
			point39.NextPoint = point40;
			point40.MoveToWorld( new Point3D(  2500, 419, 15  ), Map.Felucca );
			point40.NextPoint = point41;
			point41.MoveToWorld( new Point3D(  2445, 419, 15  ), Map.Felucca );
			point41.NextPoint = point42;
			point42.MoveToWorld( new Point3D(  2445, 447, 15  ), Map.Felucca );
			point42.NextPoint = point43;
			point43.MoveToWorld( new Point3D(  2501, 444, 15  ), Map.Felucca );
			point43.NextPoint = point44;
			point44.MoveToWorld( new Point3D(  2501, 485, 15  ), Map.Felucca );
			point44.NextPoint = point45;
			point45.MoveToWorld( new Point3D(  2469, 483, 15  ), Map.Felucca );
			point45.NextPoint = point46;
			point46.MoveToWorld( new Point3D(  2469, 461, 15  ), Map.Felucca );
			point46.NextPoint = point47;
			point47.MoveToWorld( new Point3D(  2476, 461, 15  ), Map.Felucca );
			point47.NextPoint = point48;
			point48.MoveToWorld( new Point3D(  2476, 435, 15  ), Map.Felucca );
			point48.NextPoint = point49;
			point49.MoveToWorld( new Point3D(  2467, 435, 15  ), Map.Felucca );
			point49.NextPoint = point50;
			point50.MoveToWorld( new Point3D(  2467, 418, 15  ), Map.Felucca );
			point50.NextPoint = point51;
			point51.MoveToWorld( new Point3D(  2500, 419, 15  ), Map.Felucca );
			point51.NextPoint = point39;
			spawner3.Name = "MaginciaInvasionFelucca";
			spawner3.Respawn();

			Spawner spawner4 = new Spawner( 4, 5, 15, 0, 50, "Orc" );
			spawner4.MoveToWorld( new Point3D(  2598, 747, 0  ), Map.Felucca );
			spawner4.WayPoint = point52;
			point52.MoveToWorld( new Point3D(  2579, 690, 0  ), Map.Felucca );
			point52.NextPoint = point53;
			point53.MoveToWorld( new Point3D(  2561, 623, 0  ), Map.Felucca );
			point53.NextPoint = point54;
			point54.MoveToWorld( new Point3D(  2513, 620, 0  ), Map.Felucca );
			point54.NextPoint = point55;
			point55.MoveToWorld( new Point3D(  2517, 562, 0  ), Map.Felucca );
			point55.NextPoint = point56;
			point56.MoveToWorld( new Point3D(  2486, 564, 5  ), Map.Felucca );
			point56.NextPoint = point57;
			point57.MoveToWorld( new Point3D(  2486, 544, 0  ), Map.Felucca );
			point57.NextPoint = point58;
			point58.MoveToWorld( new Point3D(  2465, 543, 0  ), Map.Felucca );
			point58.NextPoint = point59;
			point59.MoveToWorld( new Point3D(  2465, 528, 15  ), Map.Felucca );
			point59.NextPoint = point60;
			point60.MoveToWorld( new Point3D(  2455, 528, 15  ), Map.Felucca );
			point60.NextPoint = point61;
			point61.MoveToWorld( new Point3D(  2455, 513, 15  ), Map.Felucca );
			point61.NextPoint = point62;
			point62.MoveToWorld( new Point3D(  2475, 513, 15  ), Map.Felucca );
			point62.NextPoint = point63;
			point63.MoveToWorld( new Point3D(  2475, 528, 15  ), Map.Felucca );
			point63.NextPoint = point60;
			spawner4.Name = "MaginciaInvasionFelucca";
			spawner4.Respawn();

			Spawner spawner5 = new Spawner( 6, 5, 15, 0, 4, "Orc" );
			spawner5.MoveToWorld( new Point3D(  2579, 376, 5  ), Map.Felucca );
			spawner5.WayPoint = point65;
			point64.MoveToWorld( new Point3D(  2579, 398, 15  ), Map.Felucca );
			point64.NextPoint = point65;
			point65.MoveToWorld( new Point3D(  2623, 437, 15  ), Map.Felucca );
			point65.NextPoint = point66;
			point66.MoveToWorld( new Point3D(  2617, 506, 15  ), Map.Felucca );
			point66.NextPoint = point67;
			point67.MoveToWorld( new Point3D(  2562, 513, 15  ), Map.Felucca );
			point67.NextPoint = point68;
			point68.MoveToWorld( new Point3D(  2551, 501, 15  ), Map.Felucca );
			point68.NextPoint = point69;
			point69.MoveToWorld( new Point3D(  2525, 501, 15  ), Map.Felucca );
			point69.NextPoint = point70;
			point70.MoveToWorld( new Point3D(  2525, 516, 0  ), Map.Felucca );
			point70.NextPoint = point71;
			point71.MoveToWorld( new Point3D(  2489, 516, 0  ), Map.Felucca );
			point71.NextPoint = point72;
			point72.MoveToWorld( new Point3D(  2489, 482, 15  ), Map.Felucca );
			point72.NextPoint = point73;
			point73.MoveToWorld( new Point3D(  2500, 484, 15  ), Map.Felucca );
			point73.NextPoint = point74;
			point74.MoveToWorld( new Point3D(  2500, 442, 15  ), Map.Felucca );
			point74.NextPoint = point75;
			point75.MoveToWorld( new Point3D(  2514, 442, 15  ), Map.Felucca );
			point75.NextPoint = point76;
			point76.MoveToWorld( new Point3D(  2514, 419, 15  ), Map.Felucca );
			point76.NextPoint = point77;
			point77.MoveToWorld( new Point3D(  2445, 419, 15  ), Map.Felucca );
			point77.NextPoint = point78;
			point78.MoveToWorld( new Point3D(  2444, 444, 15  ), Map.Felucca );
			point78.NextPoint = point79;
			point79.MoveToWorld( new Point3D(  2531, 444, 15  ), Map.Felucca );
			point79.NextPoint = point69;
			spawner5.Name = "MaginciaInvasionFelucca";
			spawner5.Respawn();

			Spawner spawner6 = new Spawner( 1, 5, 15, 0, 0, "OrcishLord" );
			spawner6.MoveToWorld( new Point3D(  2420, 420, 15  ), Map.Felucca );
			spawner6.WayPoint = point80;
			point80.MoveToWorld( new Point3D(  2489, 419, 15  ), Map.Felucca );
			point80.NextPoint = point81;
			point81.MoveToWorld( new Point3D(  2491, 442, 15  ), Map.Felucca );
			point81.NextPoint = point82;
			point82.MoveToWorld( new Point3D(  2476, 442, 15  ), Map.Felucca );
			point82.NextPoint = point83;
			point83.MoveToWorld( new Point3D(  2475, 460, 15  ), Map.Felucca );
			point83.NextPoint = point84;
			point84.MoveToWorld( new Point3D(  2467, 460, 15  ), Map.Felucca );
			point84.NextPoint = point85;
			point85.MoveToWorld( new Point3D(  2469, 481, 15  ), Map.Felucca );
			point85.NextPoint = point86;
			point86.MoveToWorld( new Point3D(  2491, 481, 15  ), Map.Felucca );
			point86.NextPoint = point87;
			point87.MoveToWorld( new Point3D(  2488, 564, 5  ), Map.Felucca );
			point87.NextPoint = point88;
			point88.MoveToWorld( new Point3D(  2514, 561, 0  ), Map.Felucca );
			point88.NextPoint = point89;
			point89.MoveToWorld( new Point3D(  2516, 529, 0  ), Map.Felucca );
			point89.NextPoint = point90;
			point90.MoveToWorld( new Point3D(  2489, 529, 0  ), Map.Felucca );
			point90.NextPoint = point91;
			point91.MoveToWorld( new Point3D(  2489, 493, 15  ), Map.Felucca );
			point91.NextPoint = point92;
			point92.MoveToWorld( new Point3D(  2504, 482, 15  ), Map.Felucca );
			point92.NextPoint = point80;
			spawner6.Name = "MaginciaInvasionFelucca";
			spawner6.Respawn();

			Spawner spawner7 = new Spawner( 1, 5, 15, 0, 0, "OrcCaptain" );
			spawner7.MoveToWorld( new Point3D(  1351, 1757, 17  ), Map.Felucca );
			spawner7.WayPoint = point93;
			point93.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point93.NextPoint = point94;
			point94.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point94.NextPoint = point95;
			point95.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point95.NextPoint = point96;
			point96.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point96.NextPoint = point97;
			point97.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point97.NextPoint = point98;
			point98.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point98.NextPoint = point99;
			point99.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point99.NextPoint = point100;
			point100.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point100.NextPoint = point101;
			point101.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point101.NextPoint = point102;
			point102.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point102.NextPoint = point103;
			spawner7.Name = "MaginciaInvasionFelucca";
			spawner7.Respawn();

			Spawner spawner8 = new Spawner( 1, 10, 20, 0, 10, "OrcBrute" );
			spawner8.MoveToWorld( new Point3D(  1370, 1749, 3  ), Map.Felucca );
			spawner8.WayPoint = point103;
			point103.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point103.NextPoint = point104;
			point104.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point104.NextPoint = point105;
			point105.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point105.NextPoint = point106;
			point106.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point106.NextPoint = point107;
			point107.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point107.NextPoint = point108;
			point108.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point108.NextPoint = point109;
			point109.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point109.NextPoint = point110;
			point110.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point110.NextPoint = point111;
			point111.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point111.NextPoint = point112;
			point112.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point112.NextPoint = point113;
			point113.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point113.NextPoint = point114;
			point114.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point114.NextPoint = point115;
			point115.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point125.NextPoint = point116;
			point116.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point116.NextPoint = point117;
			point117.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point117.NextPoint = point118;
			point118.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point118.NextPoint = point119;
			point119.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point119.NextPoint = point120;
			point120.MoveToWorld( new Point3D(  2491, 419, 15  ), Map.Felucca );
			point120.NextPoint = point103;
			spawner8.Name = "MaginciaInvasionFelucca";
			spawner8.Respawn();*/

                                           World.Broadcast( 33, true, "Magincia Felucca is under invasion." );
		               from.SendGump( new CityInvasion( from ) );
                                   	 break; 
                            }  
		case 2:
		{
			GuardedRegion reg = from.Region as GuardedRegion;

			if ( reg == null )
			{
				from.SendMessage( 33, "You are not in a The guarded part of Magincia, Felucca." );
				from.SendMessage( 33, "You will have to go there and use [toggleguarded to turn the guards on." );
			}
                                           else if ( !reg.Disabled )
                                           {
				from.SendMessage( 3, "The guards in THIS region have not changed." );
                                           }

                                           else if ( reg.Disabled )
                                           {
			              reg.Disabled = !reg.Disabled;
			              from.SendMessage( 3, "The guards in THIS region have been enabled." );
                                           }
                                           if ( DummyMessage && reg != null  )
                                          {
				from.SendMessage( 33, "If you are not in a The guarded part of Magincia, Felucca." );
				from.SendMessage( 33, "You will have to go there and use [toggleguarded to turn the guards on." );
                                           }
			              MaginciaInvasionStone maginciafel = new MaginciaInvasionStone();
			              maginciafel.StopMaginciaFelucca();
                                                        World.Broadcast( 33, true, "Magincia Felucca's invasion was successfully beaten back. No more invaders are left in the city." );
		                            from.SendGump( new CityInvasion( from ) );
                                   	              break; 
				}
			}
		}
        private static void MakeSpawner( string[] types, int x, int y, Map map )
        {
            if ( types.Length == 0 )
                return;

            int z = GetSpawnerZ( x, y, map );

            ClearSpawners( x, y, z, map );

            for ( int i = 0; i < types.Length; ++i )
            {
                bool isGuildmaster = ( types[i].EndsWith( "Guildmaster" ) );

                Spawner sp = new Spawner( types[i] );

                if ( isGuildmaster )
                    sp.Count = 1;
                else
                    sp.Count = NPCCount;

                sp.MinDelay = MinTime;
                sp.MaxDelay = MaxTime;
                sp.Team = Team;
                sp.HomeRange = HomeRange;

                sp.MoveToWorld( new Point3D( x, y, z ), map );

                if ( TotalRespawn )
                {
                    sp.Respawn();
                    sp.BringToHome();
                }

                ++m_Count;
            }
        }
Exemple #11
0
        private static void ImportSpawner(XmlElement node)
        {
            int count = int.Parse(GetText(node["count"], "1"));
            int homeRange = int.Parse(GetText(node["homerange"], "4"));

            int walkingRange = int.Parse(GetText(node["walkingrange"], "-1"));

            int team = int.Parse(GetText(node["team"], "0"));
			
            bool group = bool.Parse(GetText(node["group"], "False"));
            TimeSpan maxDelay = TimeSpan.Parse(GetText(node["maxdelay"], "10:00"));
            TimeSpan minDelay = TimeSpan.Parse(GetText(node["mindelay"], "05:00"));
            List<string> creaturesName = LoadCreaturesName(node["creaturesname"]);
		
            string name = GetText(node["name"], "Spawner");
            Point3D location = Point3D.Parse(GetText(node["location"], "Error"));
            Map map = Map.Parse(GetText(node["map"], "Error"));
			
            Spawner spawner = new Spawner(count, minDelay, maxDelay, team, homeRange, creaturesName);
            if (walkingRange >= 0)
                spawner.WalkingRange = walkingRange;

            spawner.Name = name;
            spawner.MoveToWorld(location, map);
            if (spawner.Map == Map.Internal)
            {
                spawner.Delete();
                throw new Exception("Spawner created on Internal map.");
            }
            spawner.Respawn();
        }
Exemple #12
0
        public override void OnResponse(NetState state, RelayInfo info)
        {
            if (m_Spawner.Deleted)
            {
                return;
            }

            switch (info.ButtonID)
            {
            case 0:                     // Closed
            {
                break;
            }

            case 1:                     // Okay
            {
                m_Spawner.CreaturesName = CreateArray(info, state.Mobile);

                break;
            }

            case 2:                     // Bring everything home
            {
                m_Spawner.BringToHome();

                break;
            }

            case 3:                     // Complete respawn
            {
                m_Spawner.Respawn();

                break;
            }

            default:
            {
                int buttonID = info.ButtonID - 4;
                int index    = buttonID / 2;
                int type     = buttonID % 2;

                TextRelay entry = info.GetTextEntry(index);

                if (entry != null && entry.Text.Length > 0)
                {
                    if (type == 0)                                       // Spawn creature
                    {
                        m_Spawner.Spawn(entry.Text);
                    }
                    else                                     // Remove creatures
                    {
                        m_Spawner.RemoveCreatures(entry.Text);
                    }

                    m_Spawner.CreaturesName = CreateArray(info, state.Mobile);
                }

                break;
            }
            }
        }
		public override void OnResponse( NetState state, RelayInfo info )
		{
			Mobile from = state.Mobile;
			switch ( info.ButtonID ) 
		{ 
		case 0:
		{ 
                                    from.CloseGump( typeof( StartStopMinoctram ) ); 
		        from.SendGump( new CityInvasion( from ) );
                                    break;  
                             }  
		case 1:
		{


			Point3D loc = new Point3D( 568, 1311, 0 );

			WayPoint point = new WayPoint();
			WayPoint point1 = new WayPoint();
			WayPoint point2 = new WayPoint();
			WayPoint point3 = new WayPoint();
			WayPoint point4 = new WayPoint();
			WayPoint point5 = new WayPoint();
			WayPoint point6 = new WayPoint();
			WayPoint point7 = new WayPoint();
			WayPoint point8 = new WayPoint();
			WayPoint point9 = new WayPoint();

			WayPoint point10 = new WayPoint();
			WayPoint point11 = new WayPoint();
			WayPoint point12 = new WayPoint();
			WayPoint point13 = new WayPoint();
			WayPoint point14 = new WayPoint();
			WayPoint point15 = new WayPoint();
			WayPoint point16 = new WayPoint();
			WayPoint point17 = new WayPoint();
			WayPoint point18 = new WayPoint();
			WayPoint point19 = new WayPoint();

			WayPoint point20 = new WayPoint();
			WayPoint point21 = new WayPoint();
			WayPoint point22 = new WayPoint();
			WayPoint point23 = new WayPoint();
			WayPoint point24 = new WayPoint();
			WayPoint point25 = new WayPoint();
			WayPoint point26 = new WayPoint();
			WayPoint point27 = new WayPoint();
			WayPoint point28 = new WayPoint();
			WayPoint point29 = new WayPoint();

			WayPoint point30 = new WayPoint();
			WayPoint point31 = new WayPoint();
			WayPoint point32 = new WayPoint();
			WayPoint point33 = new WayPoint();
			WayPoint point34 = new WayPoint();
			WayPoint point35 = new WayPoint();
			WayPoint point36 = new WayPoint();
			WayPoint point37 = new WayPoint();
			WayPoint point38 = new WayPoint();
			WayPoint point39 = new WayPoint();

			WayPoint point40 = new WayPoint();
			WayPoint point41 = new WayPoint();
			WayPoint point42 = new WayPoint();
			WayPoint point43 = new WayPoint();
			WayPoint point44 = new WayPoint();
			WayPoint point45 = new WayPoint();
			WayPoint point46 = new WayPoint();
			WayPoint point47 = new WayPoint();
			WayPoint point48 = new WayPoint();
			WayPoint point49 = new WayPoint();

			WayPoint point50 = new WayPoint();
			WayPoint point51 = new WayPoint();
			WayPoint point52 = new WayPoint();
			WayPoint point53 = new WayPoint();
			WayPoint point54 = new WayPoint();
			WayPoint point55 = new WayPoint();
			WayPoint point56 = new WayPoint();
			WayPoint point57 = new WayPoint();
			WayPoint point58 = new WayPoint();
			WayPoint point59 = new WayPoint();

			WayPoint point60 = new WayPoint();
			WayPoint point61 = new WayPoint();
			WayPoint point62 = new WayPoint();
			WayPoint point63 = new WayPoint();
			WayPoint point64 = new WayPoint();
			WayPoint point65 = new WayPoint();
			WayPoint point66 = new WayPoint();
			WayPoint point67 = new WayPoint();
			WayPoint point68 = new WayPoint();
			WayPoint point69 = new WayPoint();

			WayPoint point70 = new WayPoint();
			WayPoint point71 = new WayPoint();
			WayPoint point72 = new WayPoint();
			WayPoint point73 = new WayPoint();
			WayPoint point74 = new WayPoint();
			WayPoint point75 = new WayPoint();
			WayPoint point76 = new WayPoint();
			WayPoint point77 = new WayPoint();
			WayPoint point78 = new WayPoint();
			WayPoint point79 = new WayPoint();
			WayPoint point80 = new WayPoint();
			WayPoint point81 = new WayPoint();

			WayPoint point82 = new WayPoint();
			WayPoint point83 = new WayPoint();
			WayPoint point84 = new WayPoint();
			WayPoint point85 = new WayPoint();
			WayPoint point86 = new WayPoint();
			WayPoint point87 = new WayPoint();
			WayPoint point88 = new WayPoint();
			WayPoint point89 = new WayPoint();
			WayPoint point90 = new WayPoint();
			WayPoint point91 = new WayPoint();
			WayPoint point92 = new WayPoint();
			WayPoint point93 = new WayPoint();

			WayPoint point94 = new WayPoint();
			WayPoint point95 = new WayPoint();
			WayPoint point96 = new WayPoint();
			WayPoint point97 = new WayPoint();
			WayPoint point98 = new WayPoint();
			WayPoint point99 = new WayPoint();
			WayPoint point100 = new WayPoint();
			WayPoint point101 = new WayPoint();
			WayPoint point102 = new WayPoint();
			WayPoint point103 = new WayPoint();
			WayPoint point104 = new WayPoint();
			WayPoint point105 = new WayPoint();

			WayPoint point106 = new WayPoint();
			WayPoint point107 = new WayPoint();
			WayPoint point108 = new WayPoint();
			WayPoint point109 = new WayPoint();
			WayPoint point110 = new WayPoint();
			WayPoint point111 = new WayPoint();
			WayPoint point112 = new WayPoint();
			WayPoint point113 = new WayPoint();
			WayPoint point114 = new WayPoint();
			WayPoint point115 = new WayPoint();
			WayPoint point116 = new WayPoint();
			WayPoint point117 = new WayPoint();
			WayPoint point118 = new WayPoint();
			WayPoint point119 = new WayPoint();
			WayPoint point120 = new WayPoint();

			point.Name = "MinocInvasionTrammel";
			point1.Name = "MinocInvasionTrammel";
			point2.Name = "MinocInvasionTrammel";
			point3.Name = "MinocInvasionTrammel";
			point4.Name = "MinocInvasionTrammel";
			point5.Name = "MinocInvasionTrammel";
			point6.Name = "MinocInvasionTrammel";
			point7.Name = "MinocInvasionTrammel";
			point8.Name = "MinocInvasionTrammel";
			point9.Name = "MinocInvasionTrammel";

			point10.Name = "MinocInvasionTrammel";
			point11.Name = "MinocInvasionTrammel";
			point12.Name = "MinocInvasionTrammel";
			point13.Name = "MinocInvasionTrammel";
			point14.Name = "MinocInvasionTrammel";
			point15.Name = "MinocInvasionTrammel";
			point16.Name = "MinocInvasionTrammel";
			point17.Name = "MinocInvasionTrammel";
			point18.Name = "MinocInvasionTrammel";
			point19.Name = "MinocInvasionTrammel";

			point20.Name = "MinocInvasionTrammel";
			point21.Name = "MinocInvasionTrammel";
			point22.Name = "MinocInvasionTrammel";
			point23.Name = "MinocInvasionTrammel";
			point24.Name = "MinocInvasionTrammel";
			point25.Name = "MinocInvasionTrammel";
			point26.Name = "MinocInvasionTrammel";
			point27.Name = "MinocInvasionTrammel";
			point28.Name = "MinocInvasionTrammel";
			point29.Name = "MinocInvasionTrammel";

			point30.Name = "MinocInvasionTrammel";
			point31.Name = "MinocInvasionTrammel";
			point32.Name = "MinocInvasionTrammel";
			point33.Name = "MinocInvasionTrammel";
			point34.Name = "MinocInvasionTrammel";
			point35.Name = "MinocInvasionTrammel";
			point36.Name = "MinocInvasionTrammel";
			point37.Name = "MinocInvasionTrammel";
			point38.Name = "MinocInvasionTrammel";
			point39.Name = "MinocInvasionTrammel";

			point40.Name = "MinocInvasionTrammel";
			point41.Name = "MinocInvasionTrammel";
			point42.Name = "MinocInvasionTrammel";
			point43.Name = "MinocInvasionTrammel";
			point44.Name = "MinocInvasionTrammel";
			point45.Name = "MinocInvasionTrammel";
			point46.Name = "MinocInvasionTrammel";
			point47.Name = "MinocInvasionTrammel";
			point48.Name = "MinocInvasionTrammel";
			point49.Name = "MinocInvasionTrammel";

			point50.Name = "MinocInvasionTrammel";
			point51.Name = "MinocInvasionTrammel";
			point52.Name = "MinocInvasionTrammel";
			point53.Name = "MinocInvasionTrammel";
			point54.Name = "MinocInvasionTrammel";
			point55.Name = "MinocInvasionTrammel";
			point56.Name = "MinocInvasionTrammel";
			point57.Name = "MinocInvasionTrammel";
			point58.Name = "MinocInvasionTrammel";
			point59.Name = "MinocInvasionTrammel";

			point60.Name = "MinocInvasionTrammel";
			point61.Name = "MinocInvasionTrammel";
			point62.Name = "MinocInvasionTrammel";
			point63.Name = "MinocInvasionTrammel";
			point64.Name = "MinocInvasionTrammel";
			point65.Name = "MinocInvasionTrammel";
			point66.Name = "MinocInvasionTrammel";
			point67.Name = "MinocInvasionTrammel";
			point68.Name = "MinocInvasionTrammel";
			point69.Name = "MinocInvasionTrammel";

			point70.Name = "MinocInvasionTrammel";
			point71.Name = "MinocInvasionTrammel";
			point72.Name = "MinocInvasionTrammel";
			point73.Name = "MinocInvasionTrammel";
			point74.Name = "MinocInvasionTrammel";
			point75.Name = "MinocInvasionTrammel";
			point76.Name = "MinocInvasionTrammel";
			point77.Name = "MinocInvasionTrammel";
			point78.Name = "MinocInvasionTrammel";
			point79.Name = "MinocInvasionTrammel";
			point80.Name = "MinocInvasionTrammel";
			point81.Name = "MinocInvasionTrammel";

			point82.Name = "MinocInvasionTrammel";
			point83.Name = "MinocInvasionTrammel";
			point84.Name = "MinocInvasionTrammel";
			point85.Name = "MinocInvasionTrammel";
			point86.Name = "MinocInvasionTrammel";
			point87.Name = "MinocInvasionTrammel";
			point88.Name = "MinocInvasionTrammel";
			point89.Name = "MinocInvasionTrammel";
			point90.Name = "MinocInvasionTrammel";
			point91.Name = "MinocInvasionTrammel";
			point92.Name = "MinocInvasionTrammel";
			point93.Name = "MinocInvasionTrammel";

			point94.Name = "MinocInvasionTrammel";
			point95.Name = "MinocInvasionTrammel";
			point96.Name = "MinocInvasionTrammel";
			point97.Name = "MinocInvasionTrammel";
			point98.Name = "MinocInvasionTrammel";
			point99.Name = "MinocInvasionTrammel";
			point100.Name = "MinocInvasionTrammel";
			point101.Name = "MinocInvasionTrammel";
			point102.Name = "MinocInvasionTrammel";
			point103.Name = "MinocInvasionTrammel";
			point104.Name = "MinocInvasionTrammel";
			point105.Name = "MinocInvasionTrammel";

			point106.Name = "MinocInvasionTrammel";
			point107.Name = "MinocInvasionTrammel";
			point108.Name = "MinocInvasionTrammel";
			point109.Name = "MinocInvasionTrammel";
			point110.Name = "MinocInvasionTrammel";
			point111.Name = "MinocInvasionTrammel";
			point112.Name = "MinocInvasionTrammel";
			point113.Name = "MinocInvasionTrammel";
			point114.Name = "MinocInvasionTrammel";
			point115.Name = "MinocInvasionTrammel";
			point116.Name = "MinocInvasionTrammel";
			point117.Name = "MinocInvasionTrammel";
			point118.Name = "MinocInvasionTrammel";
			point119.Name = "MinocInvasionTrammel";
			point120.Name = "MinocInvasionTrammel";

			GuardedRegion reg = from.Region as GuardedRegion;

			if ( reg == null )
			{
				from.SendMessage( 33, "You are not in the guarded part of Minoc, Trammel." );
				from.SendMessage( 33, "You will have to go there and use [toggleguarded to turn the guards off." );
			}
			 else  if ( reg.Disabled )
                                           {
				from.SendMessage( 3, "The guards in this region have not changed." );
                                           }
			 else if ( !reg.Disabled )
                                           {
				reg.Disabled = !reg.Disabled;
			              from.SendMessage( 3, "The guards in this region have been disabled." );
                                           }
                                           if ( DummyMessage  && reg != null )
                                          {
				from.SendMessage( 33, "If you are not in the guarded part of Magincia, Trammel." );
				from.SendMessage( 33, "You will have to go there and use [toggleguarded to turn the guards off." );
                                          }
			Spawner spawner1 = new Spawner( 4, 5, 15, 20, 10, "JukaLord" );
			spawner1.MoveToWorld( new Point3D(  2575, 647, 0  ), Map.Trammel );
			spawner1.WayPoint = point;
			point.MoveToWorld( new Point3D(  2518, 581, 0  ), Map.Trammel );
			point.NextPoint = point1;
			point1.MoveToWorld( new Point3D(  2518, 530, 0  ), Map.Trammel );
			point1.NextPoint = point2;
			point2.MoveToWorld( new Point3D(  2510, 530, 0  ), Map.Trammel );
			point2.NextPoint = point3;
			point3.MoveToWorld( new Point3D(  2510, 518, 0  ), Map.Trammel );
			point3.NextPoint = point4;
			point4.MoveToWorld( new Point3D(  2490, 518, 0  ), Map.Trammel );
			point4.NextPoint = point5;
			point5.MoveToWorld( new Point3D(  2489, 545, 0  ), Map.Trammel );
			point5.NextPoint = point6;
			point6.MoveToWorld( new Point3D(  2433, 545, 0  ), Map.Trammel );
			point6.NextPoint = point7;
			point7.MoveToWorld( new Point3D(   2489, 545, 0  ), Map.Trammel );
			point7.NextPoint = point8;
			point8.MoveToWorld( new Point3D(  2489, 482, 15  ), Map.Trammel );
			point8.NextPoint = point9;
			point9.MoveToWorld( new Point3D(  2490, 518, 0  ), Map.Trammel );
			point9.NextPoint = point10;
			point10.MoveToWorld( new Point3D(  2505, 518, 0  ), Map.Trammel );
			point10.NextPoint = point11;
			point11.MoveToWorld( new Point3D(  2518, 530, 0  ), Map.Trammel );
			point11.NextPoint = point;
          			spawner1.Name = "MinocInvasionTrammel";
			spawner1.Respawn();
   
   
                        Spawner spawner9 = new Spawner( 10, 20, 20, 20, 20, "JukaWarrior" );
			spawner9.MoveToWorld( new Point3D(  2575, 647, 0  ), Map.Trammel );
                        spawner9.Name = "MinocInvasionTrammel";
			spawner9.Respawn();
   
   
			Spawner spawner2 = new Spawner( 4, 5, 15, 20, 15, "JukaWarrior" );
			spawner2.MoveToWorld( new Point3D(  2694, 466, 18  ), Map.Trammel );
			spawner2.WayPoint = point12;
			point12.MoveToWorld( new Point3D(  2662, 469, 15  ), Map.Trammel );
			point12.NextPoint = point13;
			point13.MoveToWorld( new Point3D(  2625, 469, 15  ), Map.Trammel );
			point13.NextPoint = point14;
			point14.MoveToWorld( new Point3D(  2613, 507, 15  ), Map.Trammel );
			point14.NextPoint = point15;
			point15.MoveToWorld( new Point3D(  2558, 513, 15  ), Map.Trammel );
			point15.NextPoint = point16;
			point16.MoveToWorld( new Point3D(  2558, 496, 0  ), Map.Trammel );
			point16.NextPoint = point17;
			point17.MoveToWorld( new Point3D(  2576, 479, 0  ), Map.Trammel );
			point17.NextPoint = point18;
			point18.MoveToWorld( new Point3D(  2558, 496, 0  ), Map.Trammel );
			point18.NextPoint = point19;
			point19.MoveToWorld( new Point3D(  2558, 528, 15  ), Map.Trammel );
			point19.NextPoint = point20;
			point20.MoveToWorld( new Point3D(  2569, 537, 15  ), Map.Trammel );
			point20.NextPoint = point21;
			point21.MoveToWorld( new Point3D(  2599, 531, 15  ), Map.Trammel );
			point21.NextPoint = point22;
			point22.MoveToWorld( new Point3D(  2599, 504, 0  ), Map.Trammel );
			point22.NextPoint = point23;
			point23.MoveToWorld( new Point3D(  2606, 502, 0  ), Map.Trammel );
			point23.NextPoint = point24;
			point24.MoveToWorld( new Point3D(  2604, 496, 20  ), Map.Trammel );
			point24.NextPoint = point25;
			point25.MoveToWorld( new Point3D(  2578, 500, 22  ), Map.Trammel );
			point25.NextPoint = point26;
			point26.MoveToWorld( new Point3D(  2582, 493, 40  ), Map.Trammel );
			point26.NextPoint = point27;
			point27.MoveToWorld( new Point3D(  2609, 469, 40  ), Map.Trammel );
			point27.NextPoint = point28;
			point28.MoveToWorld( new Point3D(  2602, 466, 60  ), Map.Trammel );
			point28.NextPoint = point29;
			point29.MoveToWorld( new Point3D(  2604, 453, 60  ), Map.Trammel );
			point29.NextPoint = point30;
			point30.MoveToWorld( new Point3D(  2591, 457, 60  ), Map.Trammel );
			point30.NextPoint = point31;
			point31.MoveToWorld( new Point3D(  2604, 453, 60  ), Map.Trammel );
			point31.NextPoint = point32;
			point32.MoveToWorld( new Point3D(  2602, 466, 60  ), Map.Trammel );
			point32.NextPoint = point33;
			point33.MoveToWorld( new Point3D(  2609, 469, 40  ), Map.Trammel );
			point33.NextPoint = point34;
			point34.MoveToWorld( new Point3D(  2582, 493, 40   ), Map.Trammel );
			point34.NextPoint = point35;
			point35.MoveToWorld( new Point3D(  2578, 500, 22  ), Map.Trammel );
			point35.NextPoint = point36;
			point36.MoveToWorld( new Point3D(  2604, 496, 20  ), Map.Trammel );
			point36.NextPoint = point37;
			point37.MoveToWorld( new Point3D(  2606, 502, 0  ), Map.Trammel );
			point37.NextPoint = point14;
			spawner2.Name = "MinocInvasionTrammel";
			spawner2.Respawn();
   
   
                        Spawner spawner10 = new Spawner( 6, 20, 20, 20, 20, "JukaLord" );
			spawner10.MoveToWorld( new Point3D( 2694, 466, 18 ), Map.Trammel );
                        spawner10.Name = "MinocInvasionTrammel";
			spawner10.Respawn();
   
   
			Spawner spawner3 = new Spawner( 6, 5, 15, 20, 10, "JukaWarrior" );
			spawner3.MoveToWorld( new Point3D(  2555, 370, 15  ), Map.Trammel );
			spawner3.WayPoint = point38;
			point38.MoveToWorld( new Point3D(  2532, 389, 15  ), Map.Trammel );
			point38.NextPoint = point39;
			point39.MoveToWorld( new Point3D(  2510, 386, 15  ), Map.Trammel );
			point39.NextPoint = point40;
			point40.MoveToWorld( new Point3D(  2500, 419, 15  ), Map.Trammel );
			point40.NextPoint = point41;
			point41.MoveToWorld( new Point3D(  2445, 419, 15  ), Map.Trammel );
			point41.NextPoint = point42;
			point42.MoveToWorld( new Point3D(  2445, 447, 15  ), Map.Trammel );
			point42.NextPoint = point43;
			point43.MoveToWorld( new Point3D(  2501, 444, 15  ), Map.Trammel );
			point43.NextPoint = point44;
			point44.MoveToWorld( new Point3D(  2501, 485, 15  ), Map.Trammel );
			point44.NextPoint = point45;
			point45.MoveToWorld( new Point3D(  2469, 483, 15  ), Map.Trammel );
			point45.NextPoint = point46;
			point46.MoveToWorld( new Point3D(  2469, 461, 15  ), Map.Trammel );
			point46.NextPoint = point47;
			point47.MoveToWorld( new Point3D(  2476, 461, 15  ), Map.Trammel );
			point47.NextPoint = point48;
			point48.MoveToWorld( new Point3D(  2476, 435, 15  ), Map.Trammel );
			point48.NextPoint = point49;
			point49.MoveToWorld( new Point3D(  2467, 435, 15  ), Map.Trammel );
			point49.NextPoint = point50;
			point50.MoveToWorld( new Point3D(  2467, 418, 15  ), Map.Trammel );
			point50.NextPoint = point51;
			point51.MoveToWorld( new Point3D(  2500, 419, 15  ), Map.Trammel );
			point51.NextPoint = point39;
			spawner3.Name = "MinocInvasionTrammel";
			spawner3.Respawn();
   
   
                        Spawner spawner11 = new Spawner( 8, 20, 20, 20, 20, "JukaMage" );
			spawner11.MoveToWorld( new Point3D(  2555, 370, 15  ), Map.Trammel );
                        spawner11.Name = "MinocInvasionTrammel";
			spawner11.Respawn();
   
   
			Spawner spawner4 = new Spawner( 4, 5, 15, 20, 50, "JukaMage" );
			spawner4.MoveToWorld( new Point3D(  2598, 747, 0  ), Map.Trammel );
			spawner4.WayPoint = point52;
			point52.MoveToWorld( new Point3D(  2579, 690, 0  ), Map.Trammel );
			point52.NextPoint = point53;
			point53.MoveToWorld( new Point3D(  2561, 623, 0  ), Map.Trammel );
			point53.NextPoint = point54;
			point54.MoveToWorld( new Point3D(  2513, 620, 0  ), Map.Trammel );
			point54.NextPoint = point55;
			point55.MoveToWorld( new Point3D(  2517, 562, 0  ), Map.Trammel );
			point55.NextPoint = point56;
			point56.MoveToWorld( new Point3D(  2486, 564, 5  ), Map.Trammel );
			point56.NextPoint = point57;
			point57.MoveToWorld( new Point3D(  2486, 544, 0  ), Map.Trammel );
			point57.NextPoint = point58;
			point58.MoveToWorld( new Point3D(  2465, 543, 0  ), Map.Trammel );
			point58.NextPoint = point59;
			point59.MoveToWorld( new Point3D(  2465, 528, 15  ), Map.Trammel );
			point59.NextPoint = point60;
			point60.MoveToWorld( new Point3D(  2455, 528, 15  ), Map.Trammel );
			point60.NextPoint = point61;
			point61.MoveToWorld( new Point3D(  2455, 513, 15  ), Map.Trammel );
			point61.NextPoint = point62;
			point62.MoveToWorld( new Point3D(  2475, 513, 15  ), Map.Trammel );
			point62.NextPoint = point63;
			point63.MoveToWorld( new Point3D(  2475, 528, 15  ), Map.Trammel );
			point63.NextPoint = point60;
			spawner4.Name = "MinocInvasionTrammel";
			spawner4.Respawn();
   
                        Spawner spawner12 = new Spawner( 6, 20, 20, 20, 20, "JukaLord" );
			spawner12.MoveToWorld( new Point3D(  2598, 747, 0  ), Map.Trammel );
                        spawner12.Name = "MinocInvasionTrammel";
			spawner12.Respawn();
   
   
			Spawner spawner5 = new Spawner( 6, 5, 15, 20, 4, "JukaWarrior" );
			spawner5.MoveToWorld( new Point3D(  2579, 376, 5  ), Map.Trammel );
			spawner5.WayPoint = point65;
			point64.MoveToWorld( new Point3D(  2579, 398, 15  ), Map.Trammel );
			point64.NextPoint = point65;
			point65.MoveToWorld( new Point3D(  2623, 437, 15  ), Map.Trammel );
			point65.NextPoint = point66;
			point66.MoveToWorld( new Point3D(  2617, 506, 15  ), Map.Trammel );
			point66.NextPoint = point67;
			point67.MoveToWorld( new Point3D(  2562, 513, 15  ), Map.Trammel );
			point67.NextPoint = point68;
			point68.MoveToWorld( new Point3D(  2551, 501, 15  ), Map.Trammel );
			point68.NextPoint = point69;
			point69.MoveToWorld( new Point3D(  2525, 501, 15  ), Map.Trammel );
			point69.NextPoint = point70;
			point70.MoveToWorld( new Point3D(  2525, 516, 0  ), Map.Trammel );
			point70.NextPoint = point71;
			point71.MoveToWorld( new Point3D(  2489, 516, 0  ), Map.Trammel );
			point71.NextPoint = point72;
			point72.MoveToWorld( new Point3D(  2489, 482, 15  ), Map.Trammel );
			point72.NextPoint = point73;
			point73.MoveToWorld( new Point3D(  2500, 484, 15  ), Map.Trammel );
			point73.NextPoint = point74;
			point74.MoveToWorld( new Point3D(  2500, 442, 15  ), Map.Trammel );
			point74.NextPoint = point75;
			point75.MoveToWorld( new Point3D(  2514, 442, 15  ), Map.Trammel );
			point75.NextPoint = point76;
			point76.MoveToWorld( new Point3D(  2514, 419, 15  ), Map.Trammel );
			point76.NextPoint = point77;
			point77.MoveToWorld( new Point3D(  2445, 419, 15  ), Map.Trammel );
			point77.NextPoint = point78;
			point78.MoveToWorld( new Point3D(  2444, 444, 15  ), Map.Trammel );
			point78.NextPoint = point79;
			point79.MoveToWorld( new Point3D(  2531, 444, 15  ), Map.Trammel );
			point79.NextPoint = point69;
			spawner5.Name = "MinocInvasionTrammel";
			spawner5.Respawn();
   
                        Spawner spawner13 = new Spawner( 10, 20, 20, 20, 20, "JukaWarrior" );
	             	spawner13.MoveToWorld( new Point3D(  2579, 376, 5  ), Map.Trammel );
                        spawner13.Name = "MinocInvasionTrammel";
			spawner13.Respawn();
   
			Spawner spawner6 = new Spawner( 1, 5, 15, 20, 0, "JukaLord" );
			spawner6.MoveToWorld( new Point3D(  2420, 420, 15  ), Map.Trammel );
			spawner6.WayPoint = point80;
			point80.MoveToWorld( new Point3D(  2489, 419, 15  ), Map.Trammel );
			point80.NextPoint = point81;
			point81.MoveToWorld( new Point3D(  2491, 442, 15  ), Map.Trammel );
			point81.NextPoint = point82;
			point82.MoveToWorld( new Point3D(  2476, 442, 15  ), Map.Trammel );
			point82.NextPoint = point83;
			point83.MoveToWorld( new Point3D(  2475, 460, 15  ), Map.Trammel );
			point83.NextPoint = point84;
			point84.MoveToWorld( new Point3D(  2467, 460, 15  ), Map.Trammel );
			point84.NextPoint = point85;
			point85.MoveToWorld( new Point3D(  2469, 481, 15  ), Map.Trammel );
			point85.NextPoint = point86;
			point86.MoveToWorld( new Point3D(  2491, 481, 15  ), Map.Trammel );
			point86.NextPoint = point87;
			point87.MoveToWorld( new Point3D(  2488, 564, 5  ), Map.Trammel );
			point87.NextPoint = point88;
			point88.MoveToWorld( new Point3D(  2514, 561, 0  ), Map.Trammel );
			point88.NextPoint = point89;
			point89.MoveToWorld( new Point3D(  2516, 529, 0  ), Map.Trammel );
			point89.NextPoint = point90;
			point90.MoveToWorld( new Point3D(  2489, 529, 0  ), Map.Trammel );
			point90.NextPoint = point91;
			point91.MoveToWorld( new Point3D(  2489, 493, 15  ), Map.Trammel );
			point91.NextPoint = point92;
			point92.MoveToWorld( new Point3D(  2504, 482, 15  ), Map.Trammel );
			point92.NextPoint = point80;
			spawner6.Name = "MinocInvasionTrammel";
			spawner6.Respawn();
   
                        Spawner spawner14 = new Spawner( 6, 20, 20, 20, 20, "Swampdragon" );
			spawner14.MoveToWorld( new Point3D(  2420, 420, 15  ), Map.Trammel );
                        spawner14.Name = "MinocInvasionTrammel";
			spawner14.Respawn();
   
			Spawner spawner7 = new Spawner( 6, 5, 15, 20, 0, "JukaMage" );
			spawner7.MoveToWorld( new Point3D(  2534, 624, 0  ), Map.Trammel );
			spawner7.WayPoint = point93;
			point93.MoveToWorld( new Point3D(  2513, 620, 0  ), Map.Trammel );
			point93.NextPoint = point94;
			point94.MoveToWorld( new Point3D(  2517, 562, 0  ), Map.Trammel );
			point94.NextPoint = point95;
			point95.MoveToWorld( new Point3D(  2504, 562, 0  ), Map.Trammel );
			point95.NextPoint = point96;
			point96.MoveToWorld( new Point3D(  2504, 547, 0  ), Map.Trammel );
			point96.NextPoint = point97;
			point97.MoveToWorld( new Point3D(  2501, 547, 0  ), Map.Trammel );
			point97.NextPoint = point98;
			point98.MoveToWorld( new Point3D(   2504, 547, 0  ), Map.Trammel );
			point98.NextPoint = point99;
			point99.MoveToWorld( new Point3D(  2504, 562, 0  ), Map.Trammel );
			point99.NextPoint = point100;
			point100.MoveToWorld( new Point3D(  2492, 562, 0  ), Map.Trammel );
			point100.NextPoint = point101;
			point101.MoveToWorld( new Point3D(  2491, 540, 0  ), Map.Trammel );
			point101.NextPoint = point102;
			point102.MoveToWorld( new Point3D(  2517, 539, 0  ), Map.Trammel );
			point102.NextPoint = point94;
			spawner7.Name = "MinocInvasionTrammel";
			spawner7.Respawn();
   
   
                        Spawner spawner15 = new Spawner( 5, 20, 20, 20, 20, "JukaMage" );
			spawner15.MoveToWorld( new Point3D(  2534, 624, 0  ), Map.Trammel );
                        spawner15.Name = "MinocInvasionTrammel";
			spawner15.Respawn();
   
                        Spawner spawner18 = new Spawner( 5, 20, 20, 20, 20, "JukaLord" );
			spawner18.MoveToWorld( new Point3D(  2534, 624, 0  ), Map.Trammel );
                        spawner18.Name = "MinocInvasionTrammel";
			spawner18.Respawn();
   
   
			Spawner spawner8 = new Spawner( 3, 10, 20, 20, 10, "JukaLord" );
			spawner8.MoveToWorld( new Point3D(  2638, 652, 0  ), Map.Trammel );
			spawner8.WayPoint = point103;
			point103.MoveToWorld( new Point3D(  2591, 647, 0  ), Map.Trammel );
			point103.NextPoint = point104;
			point104.MoveToWorld( new Point3D(  2586, 641, 0  ), Map.Trammel );
			point104.NextPoint = point105;
			point105.MoveToWorld( new Point3D(  2584, 622, 0  ), Map.Trammel );
			point105.NextPoint = point106;
			point106.MoveToWorld( new Point3D(  2513, 620, 0  ), Map.Trammel );
			point106.NextPoint = point107;
			point107.MoveToWorld( new Point3D(  2517, 562, 0  ), Map.Trammel );
			point107.NextPoint = point108;
			point108.MoveToWorld( new Point3D(  2489, 563, 1  ), Map.Trammel );
			point108.NextPoint = point109;
			point109.MoveToWorld( new Point3D(  2489, 535, 0  ), Map.Trammel );
			point109.NextPoint = point110;
			point110.MoveToWorld( new Point3D(  2517, 535, 0  ), Map.Trammel );
			point110.NextPoint = point111;
			point111.MoveToWorld( new Point3D(  2514, 561, 0  ), Map.Trammel );
			point111.NextPoint = point112;
			point112.MoveToWorld( new Point3D(  2504, 562, 0  ), Map.Trammel );
			point112.NextPoint = point113;
			point113.MoveToWorld( new Point3D(  2504, 555, 0  ), Map.Trammel );
			point113.NextPoint = point114;
			point114.MoveToWorld( new Point3D( 2504, 562, 0  ), Map.Trammel );
			point114.NextPoint = point115;
			point115.MoveToWorld( new Point3D(  2540, 562, 0  ), Map.Trammel );
			point115.NextPoint = point116;
			point116.MoveToWorld( new Point3D(  2487, 570, 5  ), Map.Trammel );
			point116.NextPoint = point117;
			point117.MoveToWorld( new Point3D(  2473, 570, 5  ), Map.Trammel );
			point117.NextPoint = point118;
			point118.MoveToWorld( new Point3D(  2473, 565, 5  ), Map.Trammel );
			point118.NextPoint = point119;
			point119.MoveToWorld( new Point3D(  2473, 570, 5  ), Map.Trammel );
			point119.NextPoint = point120;
			point120.MoveToWorld( new Point3D(  2490, 570, 5  ), Map.Trammel );
			point120.NextPoint = point108;
			spawner8.Name = "MinocInvasionTrammel";
			spawner8.Respawn();


                        Spawner spawner16 = new Spawner( 10, 20, 20, 20, 20, "JukaWarrior" );
			spawner16.MoveToWorld( new Point3D(  2638, 652, 0  ), Map.Trammel );
                        spawner16.Name = "MinocInvasionTrammel";
			spawner16.Respawn();
   
                        Spawner spawner17 = new Spawner( 10, 20, 20, 20, 20, "JukaWarrior" );
			spawner17.MoveToWorld( new Point3D(  2476, 416, 15  ), Map.Trammel );
                        spawner17.Name = "MinocInvasionTrammel";
			spawner17.Respawn();
   
                        Spawner spawner19 = new Spawner( 5, 20, 20, 20, 20, "JukaMage" );
			spawner19.MoveToWorld( new Point3D(  2500, 463, 15  ), Map.Trammel );
                        spawner19.Name = "MinocInvasionTrammel";
			spawner19.Respawn();
   
                        Spawner spawner20 = new Spawner( 3, 20, 20, 20, 20, "JukaLord" );
			spawner20.MoveToWorld( new Point3D(  2500, 463, 15  ), Map.Trammel );
                        spawner20.Name = "MinocInvasionTrammel";
			spawner20.Respawn();
   
                        Spawner spawner21 = new Spawner( 5, 20, 20, 20, 20, "JukaWarrior" );
			spawner21.MoveToWorld( new Point3D( 2525, 479, 15 ), Map.Trammel );
                        spawner21.Name = "MinocInvasionTrammel";
			spawner21.Respawn();
   
                        Spawner spawner22 = new Spawner( 2, 2, 2, 20, 2, "JukaLord" );
			spawner22.MoveToWorld( new Point3D( 2539, 501, 30 ), Map.Trammel );
                        spawner22.Name = "MinocInvasionTrammel";
			spawner22.Respawn();
   
                        Spawner spawner23 = new Spawner( 4, 20, 20, 20, 20, "JukaLord" );
			spawner23.MoveToWorld( new Point3D( 2487, 518, 0 ), Map.Trammel );
                        spawner23.Name = "MinocInvasionTrammel";
			spawner23.Respawn();
   
                        Spawner spawner24 = new Spawner( 6, 20, 20, 20, 20, "JukaWarrior" );
			spawner24.MoveToWorld( new Point3D( 2526, 512, 7 ), Map.Trammel );
                        spawner24.Name = "MinocInvasionTrammel";
			spawner24.Respawn();
   
                        Spawner spawner25 = new Spawner( 5, 20, 20, 20, 10, "JukaWarrior" );
			spawner25.MoveToWorld( new Point3D( 2526, 512, 7 ), Map.Trammel );
                        spawner25.Name = "MinocInvasionTrammel";
			spawner25.Respawn();
   
                        Spawner spawner26 = new Spawner( 4, 20, 20, 20, 20, "JukaLord" );
			spawner26.MoveToWorld( new Point3D( 2508, 379, 0 ), Map.Trammel );
                        spawner26.Name = "MinocInvasionTrammel";
			spawner26.Respawn();
   
                        Spawner spawner27 = new Spawner( 5, 20, 20, 20, 10, "JukaWarrior" );
			spawner27.MoveToWorld( new Point3D( 2556, 342, 15 ), Map.Trammel );
                        spawner27.Name = "MinocInvasionTrammel";
			spawner27.Respawn();
   
                        Spawner spawner28 = new Spawner( 5, 20, 20, 20, 10, "JukaWarrior" );
			spawner28.MoveToWorld( new Point3D( 2527, 440, 15 ), Map.Trammel );
                        spawner28.Name = "MinocInvasionTrammel";
			spawner28.Respawn();
   
                        Spawner spawner29 = new Spawner( 3, 20, 20, 20, 10, "JukaLord" );
			spawner29.MoveToWorld( new Point3D( 2496, 572, 3 ), Map.Trammel );
                        spawner29.Name = "MinocInvasionTrammel";
			spawner29.Respawn();
   
                        Spawner spawner30 = new Spawner( 3, 20, 20, 20, 10, "JukaMage" );
			spawner30.MoveToWorld( new Point3D( 2496, 572, 3 ), Map.Trammel );
                        spawner30.Name = "MinocInvasionTrammel";
			spawner30.Respawn();
   
                        Spawner spawner31 = new Spawner( 5, 20, 20, 20, 10, "JukaWarrior" );
			spawner31.MoveToWorld( new Point3D( 2501, 619, 0 ), Map.Trammel );
                        spawner31.Name = "MinocInvasionTrammel";
			spawner31.Respawn();
   
                        Spawner spawner32 = new Spawner( 7, 20, 20, 20, 20, "JukaWarrior" );
			spawner32.MoveToWorld( new Point3D( 2519, 672, 0 ), Map.Trammel );
                        spawner32.Name = "MinocInvasionTrammel";
			spawner32.Respawn();
   
                        Spawner spawner33 = new Spawner( 3, 20, 20, 20, 10, "JukaLord" );
			spawner33.MoveToWorld( new Point3D( 2553, 706, 0 ), Map.Trammel );
                        spawner33.Name = "MinocInvasionTrammel";
			spawner33.Respawn();

                        Spawner spawner34 = new Spawner( 3, 20, 20, 20, 10, "JukaMage" );
			spawner34.MoveToWorld( new Point3D( 2553, 706, 0 ), Map.Trammel );
                        spawner34.Name = "MinocInvasionTrammel";
			spawner34.Respawn();
   
                        Spawner spawner35 = new Spawner( 10, 20, 20, 20, 20, "JukaWarrior" );
			spawner35.MoveToWorld( new Point3D( 2587, 685, 0 ), Map.Trammel );
                        spawner35.Name = "MinocInvasionTrammel";
			spawner35.Respawn();
   
                        Spawner spawner36 = new Spawner( 5, 20, 20, 20, 20, "Swampdragon" );
			spawner36.MoveToWorld( new Point3D(  2607, 669, 0  ), Map.Trammel );
                        spawner36.Name = "MinocInvasionTrammel";
			spawner36.Respawn();
   
                        Spawner spawner37 = new Spawner( 5, 20, 20, 20, 10, "JukaWarrior" );
			spawner37.MoveToWorld( new Point3D( 2453, 544, 0 ), Map.Trammel );
                        spawner37.Name = "MinocInvasionTrammel";
			spawner37.Respawn();
   
                        Spawner spawner38 = new Spawner( 8, 20, 20, 20, 10, "JukaWarrior" );
			spawner38.MoveToWorld( new Point3D( 2417, 506, 15 ), Map.Trammel );
                        spawner38.Name = "MinocInvasionTrammel";
			spawner38.Respawn();
   
                        Spawner spawner39 = new Spawner( 3, 20, 20, 20, 10, "JukaLord" );
			spawner39.MoveToWorld( new Point3D( 2426, 456, 15 ), Map.Trammel );
                        spawner39.Name = "MinocInvasionTrammel";
			spawner39.Respawn();

                        Spawner spawner40 = new Spawner( 3, 20, 20, 20, 10, "JukaMage" );
			spawner40.MoveToWorld( new Point3D( 2426, 456, 15 ), Map.Trammel );
                        spawner40.Name = "MinocInvasionTrammel";
			spawner40.Respawn();
   
                        Spawner spawner41 = new Spawner( 7, 20, 20, 20, 20, "JukaWarrior" );
			spawner41.MoveToWorld( new Point3D( 2446, 400, 15 ), Map.Trammel );
                        spawner41.Name = "MinocInvasionTrammel";
			spawner41.Respawn();
   
                        Spawner spawner42 = new Spawner( 7, 20, 20, 20, 10, "JukaWarrior" );
			spawner42.MoveToWorld( new Point3D( 2451, 469, 15 ), Map.Trammel );
                        spawner42.Name = "MinocInvasionTrammel";
			spawner42.Respawn();
   
                        Spawner spawner43 = new Spawner( 5, 20, 20, 20, 10, "JukaWarrior" );
			spawner43.MoveToWorld( new Point3D( 2511, 387, 15 ), Map.Trammel );
                        spawner43.Name = "MinocInvasionTrammel";
			spawner43.Respawn();
   
                        Spawner spawner44 = new Spawner( 1, 2, 2, 20, 1, "TheJukaGeneral" );
			spawner44.MoveToWorld( new Point3D( 2454, 477, 15 ), Map.Trammel );
                        spawner44.Name = "MinocInvasionTrammel";
			spawner44.Respawn();

                        Spawner spawner45 = new Spawner( 1, 1, 1, 20, 1, "JukaMage" );
			spawner45.MoveToWorld( new Point3D( 2449, 486, 15 ), Map.Trammel );
                        spawner45.Name = "MinocInvasionTrammel";
			spawner45.Respawn();

                        Spawner spawner46 = new Spawner( 1, 1, 1, 20, 1, "JukaMage" );
			spawner46.MoveToWorld( new Point3D( 2455, 493, 15 ), Map.Trammel );
                        spawner46.Name = "MinocInvasionTrammel";
			spawner46.Respawn();
   
                        Spawner spawner47 = new Spawner( 1, 1, 1, 20, 1, "JukaMage" );
			spawner47.MoveToWorld( new Point3D( 2458, 487, 15 ), Map.Trammel );
                        spawner47.Name = "MinocInvasionTrammel";
			spawner47.Respawn();

                        Spawner spawner48 = new Spawner( 2, 2, 2, 20, 2, "JukaLord" );
			spawner48.MoveToWorld( new Point3D( 2458, 487, 15 ), Map.Trammel );
                        spawner48.Name = "MinocInvasionTrammel";
			spawner48.Respawn();

                                           World.Broadcast( 33, true, "Minoc Trammel is under invasion." );
		               from.SendGump( new CityInvasion( from ) );
                                   	 break; 
                            }  
		case 2:
		{
			GuardedRegion reg = from.Region as GuardedRegion;

			if ( reg == null )
			{
				from.SendMessage( 33, "You are not in a The guarded part of Minoc, Trammel." );
				from.SendMessage( 33, "You will have to go there and use [toggleguarded to turn the guards on." );
			}
                                          else if ( DummyMessage)
                                          {
				from.SendMessage( 33, "If you are not in a The guarded part of Minoc, Trammel." );
				from.SendMessage( 33, "You will have to go there and use [toggleguarded to turn the guards on." );
                                           }
                                           else if ( !reg.Disabled )
                                           {
				from.SendMessage( 3, "The guards in THIS region have not changed." );
                                           }

                                           else if ( reg.Disabled )
                                           {
			              reg.Disabled = !reg.Disabled;
			              from.SendMessage( 3, "The guards in THIS region have been enabled." );
                                           }
                                           if ( DummyMessage  && reg != null )
                                          {
				from.SendMessage( 33, "If you are not in the guarded part of Magincia, Trammel." );
				from.SendMessage( 33, "You will have to go there and use [toggleguarded to turn the guards off." );
                                          }
			              MinocInvasionStone minoctram = new MinocInvasionStone();
			              minoctram.StopMinocTrammel();
                                                        World.Broadcast( 33, true, "Minoc Trammel's invasion was successfully beaten back. No more invaders are left in the city." );
		                            from.SendGump( new CityInvasion( from ) );
                                   	              break; 
				}
			}
		}
        public override void OnResponse( NetState state, RelayInfo info )
        {
            Mobile from = state.Mobile;
            switch ( info.ButtonID )
            {
            case 0:
            {

                                    from.CloseGump( typeof( StartStopCovetram ) );
                from.SendGump( new CityInvasion( from ) );
                                    break;
                             }
            case 1:
            {
            Point3D loc = new Point3D( 568, 1311, 0 );

            WayPoint point = new WayPoint();
            WayPoint point1 = new WayPoint();
            WayPoint point2 = new WayPoint();
            WayPoint point3 = new WayPoint();
            WayPoint point4 = new WayPoint();
            WayPoint point5 = new WayPoint();
            WayPoint point6 = new WayPoint();
            WayPoint point7 = new WayPoint();
            WayPoint point8 = new WayPoint();
            WayPoint point9 = new WayPoint();

            WayPoint point10 = new WayPoint();
            WayPoint point11 = new WayPoint();
            WayPoint point12 = new WayPoint();
            WayPoint point13 = new WayPoint();
            WayPoint point14 = new WayPoint();
            WayPoint point15 = new WayPoint();
            WayPoint point16 = new WayPoint();
            WayPoint point17 = new WayPoint();
            WayPoint point18 = new WayPoint();
            WayPoint point19 = new WayPoint();

            WayPoint point20 = new WayPoint();
            WayPoint point21 = new WayPoint();
            WayPoint point22 = new WayPoint();
            WayPoint point23 = new WayPoint();
            WayPoint point24 = new WayPoint();
            WayPoint point25 = new WayPoint();
            WayPoint point26 = new WayPoint();
            WayPoint point27 = new WayPoint();
            WayPoint point28 = new WayPoint();
            WayPoint point29 = new WayPoint();

            WayPoint point30 = new WayPoint();
            WayPoint point31 = new WayPoint();
            WayPoint point32 = new WayPoint();
            WayPoint point33 = new WayPoint();
            WayPoint point34 = new WayPoint();
            WayPoint point35 = new WayPoint();
            WayPoint point36 = new WayPoint();
            WayPoint point37 = new WayPoint();

            point.Name = "CoveInvasionTrammel";
            point1.Name = "CoveInvasionTrammel";
            point2.Name = "CoveInvasionTrammel";
            point3.Name = "CoveInvasionTrammel";
            point4.Name = "CoveInvasionTrammel";
            point5.Name = "CoveInvasionTrammel";
            point6.Name = "CoveInvasionTrammel";
            point7.Name = "CoveInvasionTrammel";
            point8.Name = "CoveInvasionTrammel";
            point9.Name = "CoveInvasionTrammel";

            point10.Name = "CoveInvasionTrammel";
            point11.Name = "CoveInvasionTrammel";
            point12.Name = "CoveInvasionTrammel";
            point13.Name = "CoveInvasionTrammel";
            point14.Name = "CoveInvasionTrammel";
            point15.Name = "CoveInvasionTrammel";
            point16.Name = "CoveInvasionTrammel";
            point17.Name = "CoveInvasionTrammel";
            point18.Name = "CoveInvasionTrammel";
            point19.Name = "CoveInvasionTrammel";

            point20.Name = "CoveInvasionTrammel";
            point21.Name = "CoveInvasionTrammel";
            point22.Name = "CoveInvasionTrammel";
            point23.Name = "CoveInvasionTrammel";
            point24.Name = "CoveInvasionTrammel";
            point25.Name = "CoveInvasionTrammel";
            point26.Name = "CoveInvasionTrammel";
            point27.Name = "CoveInvasionTrammel";
            point28.Name = "CoveInvasionTrammel";
            point29.Name = "CoveInvasionTrammel";

            point30.Name = "CoveInvasionTrammel";
            point31.Name = "CoveInvasionTrammel";
            point32.Name = "CoveInvasionTrammel";
            point33.Name = "CoveInvasionTrammel";
            point34.Name = "CoveInvasionTrammel";
            point35.Name = "CoveInvasionTrammel";
            point36.Name = "CoveInvasionTrammel";
            point37.Name = "CoveInvasionTrammel";

            Spawner spawner1 = new Spawner( 4, 5, 15, 0, 4, "OrcBomber" );
            spawner1.MoveToWorld( new Point3D( 2322, 1127, 0 ), Map.Trammel );
            spawner1.WayPoint = point;
            point.MoveToWorld( new Point3D( 2313, 1169, 0 ), Map.Trammel );
            point.NextPoint = point1;
            point1.MoveToWorld( new Point3D( 2285, 1210, 0 ), Map.Trammel );
            point1.NextPoint = point2;
            point2.MoveToWorld( new Point3D( 2253, 1210, 0 ), Map.Trammel );
            point2.NextPoint = point3;
            point3.MoveToWorld( new Point3D( 2236, 1216, 0 ), Map.Trammel );
            point3.NextPoint = point4;
            point4.MoveToWorld( new Point3D( 2236, 1196, 0 ), Map.Trammel );
            point4.NextPoint = point5;
            point5.MoveToWorld( new Point3D( 2243, 1196, 0 ), Map.Trammel );
            point5.NextPoint = point6;
            point6.MoveToWorld( new Point3D( 2243, 1182, 0 ), Map.Trammel );
            point6.NextPoint = point7;
            point7.MoveToWorld( new Point3D( 2227, 1166, 0 ), Map.Trammel );
            point7.NextPoint = point8;
            point8.MoveToWorld( new Point3D( 2221, 1205, 0 ), Map.Trammel );
            point8.NextPoint = point9;
            point9.MoveToWorld( new Point3D( 2237, 1210, 0 ), Map.Trammel );
            point9.NextPoint = point2;
              			spawner1.Name = "CoveInvasionTrammel";
            spawner1.Respawn();

            Spawner spawner2 = new Spawner( 4, 5, 15, 0, 10, "Orc" );
            spawner2.MoveToWorld( new Point3D(  2348, 1214, 0  ), Map.Trammel );
            spawner2.WayPoint = point10;
            point10.MoveToWorld( new Point3D(  2285, 1210, 0  ), Map.Trammel );
            point10.NextPoint = point11;
            point11.MoveToWorld( new Point3D(  2268, 1210, 0  ), Map.Trammel );
            point11.NextPoint = point12;
            point12.MoveToWorld( new Point3D(  2268, 1231, 0  ), Map.Trammel );
            point12.NextPoint = point13;
            point13.MoveToWorld( new Point3D(  2251, 1231, 0  ), Map.Trammel );
            point13.NextPoint = point14;
            point14.MoveToWorld( new Point3D(  2251, 1214, 0  ), Map.Trammel );
            point14.NextPoint = point15;
            point15.MoveToWorld( new Point3D( 2234, 1211, 0 ), Map.Trammel );
            point15.NextPoint = point16;
            point16.MoveToWorld( new Point3D( 2210, 1200, 0 ), Map.Trammel );
            point16.NextPoint = point17;
            point17.MoveToWorld( new Point3D( 2210, 1177, 0 ), Map.Trammel );
            point17.NextPoint = point18;
            point18.MoveToWorld( new Point3D( 2240, 1177, 0 ), Map.Trammel );
            point18.NextPoint = point19;
            point19.MoveToWorld( new Point3D( 2276, 1211, 0 ), Map.Trammel );
            point19.NextPoint = point11;
            spawner2.Name = "CoveInvasionTrammel";
            spawner2.Respawn();

            Spawner spawner3 = new Spawner( 6, 5, 15, 0, 0, "Orc" );
            spawner3.MoveToWorld( new Point3D( 2210, 1274, 0 ), Map.Trammel );
            spawner3.WayPoint = point20;
            point20.MoveToWorld( new Point3D( 2284, 1268, 0 ), Map.Trammel );
            point20.NextPoint = point21;
            point21.MoveToWorld( new Point3D( 2294, 1207, 0 ), Map.Trammel );
            point21.NextPoint = point22;
            point22.MoveToWorld( new Point3D( 2286, 1186, 0 ), Map.Trammel );
            point22.NextPoint = point23;
            point23.MoveToWorld( new Point3D( 2286, 1218, 0 ), Map.Trammel );
            point23.NextPoint = point22;
            spawner3.Name = "CoveInvasionTrammel";
            spawner3.Respawn();

            Spawner spawner4 = new Spawner( 4, 5, 15, 0, 20, "Orc" );
            spawner4.MoveToWorld( new Point3D( 2364, 1205, 5 ), Map.Trammel );
            spawner4.WayPoint = point24;
            point24.MoveToWorld( new Point3D( 2285, 1210, 0 ), Map.Trammel );
            point24.NextPoint = point25;
            point25.MoveToWorld( new Point3D( 2275, 1209, 0 ), Map.Trammel );
            point25.NextPoint = point26;
            point26.MoveToWorld( new Point3D( 2275, 1203, 0 ), Map.Trammel );
            point26.NextPoint = point27;
            point27.MoveToWorld( new Point3D( 2272, 1200, 2 ), Map.Trammel );
            point27.NextPoint = point28;
            point28.MoveToWorld( new Point3D( 2272, 1196, 20 ), Map.Trammel );
            point28.NextPoint = point29;
            point29.MoveToWorld( new Point3D( 2282, 1200, 20 ), Map.Trammel );
            point29.NextPoint = point30;
            point30.MoveToWorld( new Point3D( 2282, 1187, 20 ), Map.Trammel );
            point30.NextPoint = point31;
            point31.MoveToWorld( new Point3D( 2282, 1222, 20 ), Map.Trammel );
            point31.NextPoint = point32;
            point32.MoveToWorld( new Point3D( 2290, 1222, 20 ), Map.Trammel );
            point32.NextPoint = point33;
            point33.MoveToWorld( new Point3D( 2287, 1228, 20 ), Map.Trammel );
            point33.NextPoint = point34;
            point34.MoveToWorld( new Point3D( 2280, 1224, 20 ), Map.Trammel );
            point34.NextPoint = point35;
            point35.MoveToWorld( new Point3D( 2280, 1227, 7 ), Map.Trammel );
            point35.NextPoint = point36;
            point36.MoveToWorld( new Point3D( 2283, 1233, 0 ), Map.Trammel );
            point36.NextPoint = point37;
            point37.MoveToWorld( new Point3D( 2273, 1233, 0 ), Map.Trammel );
            point37.NextPoint = point26;
            spawner4.Name = "CoveInvasionTrammel";
            spawner4.Respawn();

            Spawner spawner5 = new Spawner( 4, 5, 15, 0, 8, "OrcishLord" );
            spawner5.MoveToWorld( new Point3D( 2219, 1117, 17 ), Map.Trammel );
                        spawner5.Name = "CoveInvasionTrammel";
            spawner5.Respawn();

                        Spawner spawner6 = new Spawner( 3, 5, 15, 0, 8, "OrcishMage" );
            spawner6.MoveToWorld( new Point3D( 2322, 1127, 0 ), Map.Trammel );
                        spawner6.Name = "CoveInvasionTrammel";
            spawner6.Respawn();

                        Spawner spawner7 = new Spawner( 3, 5, 15, 0, 8, "OrcishLord" );
            spawner7.MoveToWorld( new Point3D( 2348, 1214, 0 ), Map.Trammel );
                        spawner7.Name = "CoveInvasionTrammel";
            spawner7.Respawn();

                        Spawner spawner8 = new Spawner( 3, 5, 15, 0, 8, "OrcishMage" );
            spawner8.MoveToWorld( new Point3D( 2210, 1274, 0 ), Map.Trammel );
                        spawner8.Name = "CoveInvasionTrammel";
            spawner8.Respawn();

                        Spawner spawner9 = new Spawner( 3, 5, 15, 0, 8, "OrcishLord" );
            spawner9.MoveToWorld( new Point3D( 2364, 1205, 5 ), Map.Trammel );
                        spawner9.Name = "CoveInvasionTrammel";
            spawner9.Respawn();

                        Spawner spawner10 = new Spawner( 3, 5, 15, 0, 20, "OrcScout" );
            spawner10.MoveToWorld( new Point3D( 2348, 1214, 0 ), Map.Trammel );
                        spawner10.Name = "CoveInvasionTrammel";
            spawner10.Respawn();

                        Spawner spawner11 = new Spawner( 1, 5, 15, 0, 1, "OrcCamp" );
            spawner11.MoveToWorld( new Point3D( 2348, 1214, 0 ), Map.Trammel );
                        spawner11.Name = "CoveInvasionTrammel";
            spawner11.Respawn();

                        Spawner spawner12 = new Spawner( 2, 5, 15, 0, 8, "OrcishLord" );
            spawner12.MoveToWorld( new Point3D( 2225, 1168, 0 ), Map.Trammel );
                        spawner12.Name = "CoveInvasionTrammel";
            spawner12.Respawn();

                        Spawner spawner13 = new Spawner( 2, 5, 15, 0, 8, "OrcishMage" );
            spawner13.MoveToWorld( new Point3D( 2216, 1190, 0 ), Map.Trammel );
                        spawner13.Name = "CoveInvasionTrammel";
            spawner13.Respawn();

                        Spawner spawner14 = new Spawner( 2, 5, 15, 0, 8, "OrcishLord" );
            spawner14.MoveToWorld( new Point3D( 2234, 1210, 0 ), Map.Trammel );
                        spawner14.Name = "CoveInvasionTrammel";
            spawner14.Respawn();

                        Spawner spawner15 = new Spawner( 2, 5, 15, 0, 8, "OrcishMage" );
            spawner15.MoveToWorld( new Point3D( 2277, 1200, 20 ), Map.Trammel );
                        spawner15.Name = "CoveInvasionTrammel";
            spawner15.Respawn();

                        Spawner spawner16 = new Spawner( 1, 5, 15, 0, 1, "OrcCamp" );
            spawner16.MoveToWorld( new Point3D( 2295, 1203, 0 ), Map.Trammel );
                        spawner16.Name = "CoveInvasionTrammel";
            spawner16.Respawn();

                        Spawner spawner17 = new Spawner( 10, 5, 15, 0, 25, "Orc" );
            spawner17.MoveToWorld( new Point3D( 2295, 1203, 0 ), Map.Trammel );
                        spawner17.Name = "CoveInvasionTrammel";
            spawner17.Respawn();

                        Spawner spawner18 = new Spawner( 1, 5, 15, 0, 1, "OrcCamp" );
            spawner18.MoveToWorld( new Point3D( 2301, 1229, 0 ), Map.Trammel );
                        spawner18.Name = "CoveInvasionTrammel";
            spawner18.Respawn();

                        Spawner spawner19 = new Spawner( 1, 5, 15, 0, 1, "OrcCamp" );
            spawner19.MoveToWorld( new Point3D( 2223, 1151, 0 ), Map.Trammel );
                        spawner19.Name = "CoveInvasionTrammel";
            spawner19.Respawn();

                        Spawner spawner20 = new Spawner( 10, 5, 15, 0, 15, "Orc" );
            spawner20.MoveToWorld( new Point3D( 2224, 1181, 0 ), Map.Trammel );
                        spawner20.Name = "CoveInvasionTrammel";
            spawner20.Respawn();

                        Spawner spawner21 = new Spawner( 10, 5, 15, 0, 15, "Orc" );
            spawner21.MoveToWorld( new Point3D( 2247, 1219, 0 ), Map.Trammel );
                        spawner21.Name = "CoveInvasionTrammel";
            spawner21.Respawn();

                        Spawner spawner22 = new Spawner( 5, 5, 15, 0, 15, "Orc" );
            spawner22.MoveToWorld( new Point3D( 2224, 1181, 0 ), Map.Trammel );
                        spawner22.Name = "CoveInvasionTrammel";
            spawner22.Respawn();

                        Spawner spawner23 = new Spawner( 3, 5, 15, 0, 10, "OrcScout" );
            spawner23.MoveToWorld( new Point3D( 2299, 1252, 0 ), Map.Trammel );
                        spawner23.Name = "CoveInvasionTrammel";
            spawner23.Respawn();

                        Spawner spawner24 = new Spawner( 3, 5, 15, 0, 8, "OrcishMage" );
            spawner24.MoveToWorld( new Point3D( 2257, 1204, 0 ), Map.Trammel );
                        spawner24.Name = "CoveInvasionTrammel";
            spawner24.Respawn();

                        Spawner spawner25 = new Spawner( 5, 5, 15, 0, 10, "Orc" );
            spawner25.MoveToWorld( new Point3D( 2222, 1129, 0 ), Map.Trammel );
                        spawner25.Name = "CoveInvasionTrammel";
            spawner25.Respawn();

                        Spawner spawner26 = new Spawner( 5, 5, 15, 0, 10, "Orc" );
            spawner26.MoveToWorld( new Point3D( 2271, 1218, 0 ), Map.Trammel );
                        spawner26.Name = "CoveInvasionTrammel";
            spawner26.Respawn();

                        Spawner spawner27 = new Spawner( 5, 5, 15, 0, 10, "Orc" );
            spawner27.MoveToWorld( new Point3D( 2233, 1240, 0 ), Map.Trammel );
                        spawner27.Name = "CoveInvasionTrammel";
            spawner27.Respawn();

                        Spawner spawner28 = new Spawner( 2, 5, 15, 0, 5, "OrcBomber" );
            spawner28.MoveToWorld( new Point3D( 2289, 1222, 20 ), Map.Trammel );
                        spawner28.Name = "CoveInvasionTrammel";
            spawner28.Respawn();

                        Spawner spawner29 = new Spawner( 2, 5, 15, 0, 5, "OrcBomber" );
            spawner29.MoveToWorld( new Point3D( 2281, 1192, 20 ), Map.Trammel );
                        spawner29.Name = "CoveInvasionTrammel";
            spawner29.Respawn();

                        Spawner spawner30 = new Spawner( 1, 5, 15, 0, 1, "OrcCamp" );
            spawner30.MoveToWorld( new Point3D( 2303, 1131, 0 ), Map.Trammel );
                        spawner30.Name = "CoveInvasionTrammel";
            spawner30.Respawn();

                        Spawner spawner31 = new Spawner( 5, 5, 15, 0, 10, "Orc" );
            spawner31.MoveToWorld( new Point3D( 2292, 1110, 0 ), Map.Trammel );
                        spawner31.Name = "CoveInvasionTrammel";
            spawner31.Respawn();

                        Spawner spawner32 = new Spawner( 5, 5, 15, 0, 10, "Orc" );
            spawner32.MoveToWorld( new Point3D( 2347, 1151, 5 ), Map.Trammel );
                        spawner32.Name = "CoveInvasionTrammel";
            spawner32.Respawn();

                        Spawner spawner33 = new Spawner( 5, 5, 15, 0, 10, "Orc" );
            spawner32.MoveToWorld( new Point3D( 2361, 1183, 10 ), Map.Trammel );
                        spawner33.Name = "CoveInvasionTrammel";
            spawner33.Respawn();

                        Spawner spawner34 = new Spawner( 5, 5, 15, 0, 10, "Orc" );
            spawner34.MoveToWorld( new Point3D( 2351, 1245, 10 ), Map.Trammel );
                        spawner34.Name = "CoveInvasionTrammel";
            spawner34.Respawn();

                        Spawner spawner35 = new Spawner( 1, 2, 2, 0, 2, "LordOrcalis" );
            spawner35.MoveToWorld( new Point3D( 2213, 1115, 40 ), Map.Trammel );
                        spawner35.Name = "CoveInvasionTrammel";
            spawner35.Respawn();

                        Spawner spawner36 = new Spawner( 2, 5, 15, 0, 5, "OrcBomber" );
            spawner36.MoveToWorld( new Point3D( 2270, 1127, 40 ), Map.Trammel );
                        spawner36.Name = "CoveInvasionTrammel";
            spawner36.Respawn();

                        Spawner spawner37 = new Spawner( 3, 5, 15, 0, 10, "OrcScout" );
            spawner37.MoveToWorld( new Point3D( 2270, 1127, 40 ), Map.Trammel );
                        spawner37.Name = "CoveInvasionTrammel";
            spawner37.Respawn();

                        Spawner spawner38 = new Spawner( 10, 20, 20, 0, 20, "OrcBomber" );
            spawner38.MoveToWorld( new Point3D( 2253, 1193, -2 ), Map.Trammel );
                        spawner38.Name = "CoveInvasionTrammel";
            spawner38.Respawn();

                        Spawner spawner39 = new Spawner( 10, 20, 20, 0, 20, "OrcBomber" );
            spawner39.MoveToWorld( new Point3D( 2225, 1141, 0 ), Map.Trammel );
                        spawner39.Name = "CoveInvasionTrammel";
            spawner39.Respawn();

                                           World.Broadcast( 33, true, "Cove Trammel is under invasion." );
                       from.SendGump( new CityInvasion( from ) );
                                   	 break;
                            }
            case 2:
            {
            CoveInvasionStone covetram = new CoveInvasionStone();
            covetram.StopCoveTrammel();
                                          World.Broadcast( 33, true, "Cove Trammel's invasion was successfully beaten back. No more invaders are left in the city." );
                      from.SendGump( new CityInvasion( from ) );
                                   	break;
                }
            }
        }
		public override void OnResponse( NetState state, RelayInfo info )
		{
			Mobile from = state.Mobile;
			switch ( info.ButtonID ) 
		{ 
		case 0:
		{ 
                                    from.CloseGump( typeof( StartStopSkaraBraetram ) ); 
		        from.SendGump( new CityInvasion( from ) );
                                    break;  
                             }  
		case 1:
		{
			Point3D loc = new Point3D( 568, 1311, 0 );
			WayPoint point = new WayPoint();
			WayPoint point1 = new WayPoint();
			WayPoint point2 = new WayPoint();
			//WayPoint point3 = new WayPoint();

            point.Name = "SkaraBraeInvasionTrammel";
            point1.Name = "SkaraBraeInvasionTrammel";
            point2.Name = "SkaraBraeInvasionTrammel";

			Spawner spawner1 = new Spawner( 1, 1440, 1441, 0, 6, "SavageShaman" );
			spawner1.MoveToWorld( new Point3D(  956, 273, 0  ), Map.Malas );
			spawner1.WayPoint = point;
			point.MoveToWorld( new Point3D(  950, 265, -90  ), Map.Malas );
			point.NextPoint = point2;
			point2.MoveToWorld( new Point3D(  950, 275, -90  ), Map.Malas );
            spawner1.Name = "SkaraBraeInvasionTrammel";
			spawner1.Respawn();

			Spawner spawner2 = new Spawner( 1, 1440, 1441, 0, 6, "Savage" );
			spawner2.MoveToWorld( new Point3D(  952, 284, -90  ), Map.Malas );
			spawner2.WayPoint = point1;
			point1.MoveToWorld( new Point3D(  952, 265, -90  ), Map.Malas );
            spawner2.Name = "SkaraBraeInvasionTrammel";
			spawner2.Respawn();

			Spawner spawner3 = new Spawner( 1, 1440, 1441, 0, 6, "Savage" );
			spawner3.MoveToWorld( new Point3D(  950, 244, -90  ), Map.Malas );
			spawner3.WayPoint = point;
            spawner3.Name = "SkaraBraeInvasionTrammel";
			spawner3.Respawn();

			Spawner spawner4 = new Spawner( 1, 1440, 1441, 0, 6, "SavageRider" );
			spawner4.MoveToWorld( new Point3D(  952, 244, -90  ), Map.Malas );
			spawner4.WayPoint = point1;
            spawner4.Name = "SkaraBraeInvasionTrammel";
			spawner4.Respawn();

            World.Broadcast(33, true, "SkaraBrae Trammel is under invasion.");
		               from.SendGump( new CityInvasion( from ) );
                                   	 break; 
                            }  
		case 2:
		{
			SkaraBraeInvasionStone SkaraBraetram = new SkaraBraeInvasionStone();
            SkaraBraetram.StopSkaraBraeTrammel();
            World.Broadcast(33, true, "SkaraBrae Trammel's invasion was successfully beaten back. No more invaders are left in the city.");
		              from.SendGump( new CityInvasion( from ) );
                                   	break; 
				}
			}
		}
Exemple #16
0
        public override void OnResponse(NetState state, RelayInfo info)
        {
            if (m_Spawner.Deleted || state.Mobile.AccessLevel < AccessLevel.GameMaster)
            {
                return;
            }

            switch (info.ButtonID)
            {
            case 0:     // Closed
            {
                return;
            }

            case 1:     // Apply
            {
                UpdateSpawnObjects(info, state.Mobile);

                break;
            }

            case 2:     // Bring to Home
            {
                m_Spawner.BringToHome();

                break;
            }

            case 3:     // Total Respawn
            {
                m_Spawner.Respawn();

                break;
            }

            case 1000:
            {
                if (m_Spawner.Group)
                {
                    m_Spawner.Group = false;
                }
                else
                {
                    m_Spawner.Group = true;
                }
                break;
            }

            case 1025:
            {
                state.Mobile.SendGump(new PropertiesGump(state.Mobile, m_Spawner));
                break;
            }

            case 1500:
            {
                if (m_Spawner.Running)
                {
                    m_Spawner.Running = false;
                }
                else
                {
                    m_Spawner.Running = true;
                }
                break;
            }

            case 1750:
            {
                m_Spawner.RemoveSpawned();
                break;
            }

            default:
            {
                int buttonID = info.ButtonID - 4;
                int index    = buttonID / 2;
                int type     = buttonID % 2;

                TextRelay entry = info.GetTextEntry(index);

                if (entry != null && entry.Text.Length > 0)
                {
                    UpdateSpawnObjects(info, state.Mobile);

                    if (type == 0)         // Spawn creature
                    {
                        m_Spawner.Spawn(index);
                    }
                    else         // Remove creatures
                    {
                        m_Spawner.RemoveSpawned(index);
                    }
                }

                break;
            }
            }

            state.Mobile.SendGump(new SpawnerGump(m_Spawner));
        }
        public override void OnResponse( NetState state, RelayInfo info )
        {
            Mobile from = state.Mobile;
            switch ( info.ButtonID )
            {
            case 0:
            {
                                    from.CloseGump( typeof( StartStopBuccaneersDentram ) );
                from.SendGump( new CityInvasion( from ) );
                                    break;
                             }
            case 1:
            {
            Point3D loc = new Point3D( 568, 1311, 0 );

            WayPoint point = new WayPoint();
            WayPoint point1 = new WayPoint();
            WayPoint point2 = new WayPoint();
            WayPoint point3 = new WayPoint();
            WayPoint point4 = new WayPoint();
            WayPoint point5 = new WayPoint();
            WayPoint point6 = new WayPoint();
            WayPoint point7 = new WayPoint();
            WayPoint point8 = new WayPoint();
            WayPoint point9 = new WayPoint();

            WayPoint point10 = new WayPoint();
            WayPoint point11 = new WayPoint();
            WayPoint point12 = new WayPoint();
            WayPoint point13 = new WayPoint();
            WayPoint point14 = new WayPoint();
            WayPoint point15 = new WayPoint();
            WayPoint point16 = new WayPoint();
            WayPoint point17 = new WayPoint();
            WayPoint point18 = new WayPoint();
            WayPoint point19 = new WayPoint();

            WayPoint point20 = new WayPoint();
            WayPoint point21 = new WayPoint();
            WayPoint point22 = new WayPoint();
            WayPoint point23 = new WayPoint();
            WayPoint point24 = new WayPoint();
            WayPoint point25 = new WayPoint();
            WayPoint point26 = new WayPoint();
            WayPoint point27 = new WayPoint();
            WayPoint point28 = new WayPoint();
            WayPoint point29 = new WayPoint();

            WayPoint point30 = new WayPoint();
            WayPoint point31 = new WayPoint();
            WayPoint point32 = new WayPoint();
            WayPoint point33 = new WayPoint();
            WayPoint point34 = new WayPoint();
            WayPoint point35 = new WayPoint();
            WayPoint point36 = new WayPoint();
            WayPoint point37 = new WayPoint();
            WayPoint point38 = new WayPoint();
            WayPoint point39 = new WayPoint();

            WayPoint point40 = new WayPoint();
            WayPoint point41 = new WayPoint();
            WayPoint point42 = new WayPoint();
            WayPoint point43 = new WayPoint();
            WayPoint point44 = new WayPoint();
            WayPoint point45 = new WayPoint();
            WayPoint point46 = new WayPoint();
            WayPoint point47 = new WayPoint();
            WayPoint point48 = new WayPoint();
            WayPoint point49 = new WayPoint();

            WayPoint point50 = new WayPoint();
            WayPoint point51 = new WayPoint();
            WayPoint point52 = new WayPoint();
            WayPoint point53 = new WayPoint();
            WayPoint point54 = new WayPoint();
            WayPoint point55 = new WayPoint();
            WayPoint point56 = new WayPoint();
            WayPoint point57 = new WayPoint();
            WayPoint point58 = new WayPoint();
            WayPoint point59 = new WayPoint();

            WayPoint point60 = new WayPoint();
            WayPoint point61 = new WayPoint();
            WayPoint point62 = new WayPoint();
            WayPoint point63 = new WayPoint();
            WayPoint point64 = new WayPoint();
            WayPoint point65 = new WayPoint();
            WayPoint point66 = new WayPoint();
            WayPoint point67 = new WayPoint();
            WayPoint point68 = new WayPoint();
            WayPoint point69 = new WayPoint();

            WayPoint point70 = new WayPoint();
            WayPoint point71 = new WayPoint();
            WayPoint point72 = new WayPoint();
            WayPoint point73 = new WayPoint();
            WayPoint point74 = new WayPoint();
            WayPoint point75 = new WayPoint();
            WayPoint point76 = new WayPoint();
            WayPoint point77 = new WayPoint();
            WayPoint point78 = new WayPoint();
            WayPoint point79 = new WayPoint();
            WayPoint point80 = new WayPoint();
            WayPoint point81 = new WayPoint();

            point.Name = "BuccaneersDenInvasionTrammel";
            point1.Name = "BuccaneersDenInvasionTrammel";
            point2.Name = "BuccaneersDenInvasionTrammel";
            point3.Name = "BuccaneersDenInvasionTrammel";
            point4.Name = "BuccaneersDenInvasionTrammel";
            point5.Name = "BuccaneersDenInvasionTrammel";
            point6.Name = "BuccaneersDenInvasionTrammel";
            point7.Name = "BuccaneersDenInvasionTrammel";
            point8.Name = "BuccaneersDenInvasionTrammel";
            point9.Name = "BuccaneersDenInvasionTrammel";

            point10.Name = "BuccaneersDenInvasionTrammel";
            point11.Name = "BuccaneersDenInvasionTrammel";
            point12.Name = "BuccaneersDenInvasionTrammel";
            point13.Name = "BuccaneersDenInvasionTrammel";
            point14.Name = "BuccaneersDenInvasionTrammel";
            point15.Name = "BuccaneersDenInvasionTrammel";
            point16.Name = "BuccaneersDenInvasionTrammel";
            point17.Name = "BuccaneersDenInvasionTrammel";
            point18.Name = "BuccaneersDenInvasionTrammel";
            point19.Name = "BuccaneersDenInvasionTrammel";

            point20.Name = "BuccaneersDenInvasionTrammel";
            point21.Name = "BuccaneersDenInvasionTrammel";
            point22.Name = "BuccaneersDenInvasionTrammel";
            point23.Name = "BuccaneersDenInvasionTrammel";
            point24.Name = "BuccaneersDenInvasionTrammel";
            point25.Name = "BuccaneersDenInvasionTrammel";
            point26.Name = "BuccaneersDenInvasionTrammel";
            point27.Name = "BuccaneersDenInvasionTrammel";
            point28.Name = "BuccaneersDenInvasionTrammel";
            point29.Name = "BuccaneersDenInvasionTrammel";

            point30.Name = "BuccaneersDenInvasionTrammel";
            point31.Name = "BuccaneersDenInvasionTrammel";
            point32.Name = "BuccaneersDenInvasionTrammel";
            point33.Name = "BuccaneersDenInvasionTrammel";
            point34.Name = "BuccaneersDenInvasionTrammel";
            point35.Name = "BuccaneersDenInvasionTrammel";
            point36.Name = "BuccaneersDenInvasionTrammel";
            point37.Name = "BuccaneersDenInvasionTrammel";
            point38.Name = "BuccaneersDenInvasionTrammel";
            point39.Name = "BuccaneersDenInvasionTrammel";

            point40.Name = "BuccaneersDenInvasionTrammel";
            point41.Name = "BuccaneersDenInvasionTrammel";
            point42.Name = "BuccaneersDenInvasionTrammel";
            point43.Name = "BuccaneersDenInvasionTrammel";
            point44.Name = "BuccaneersDenInvasionTrammel";
            point45.Name = "BuccaneersDenInvasionTrammel";
            point46.Name = "BuccaneersDenInvasionTrammel";
            point47.Name = "BuccaneersDenInvasionTrammel";
            point48.Name = "BuccaneersDenInvasionTrammel";
            point49.Name = "BuccaneersDenInvasionTrammel";

            point50.Name = "BuccaneersDenInvasionTrammel";
            point51.Name = "BuccaneersDenInvasionTrammel";
            point52.Name = "BuccaneersDenInvasionTrammel";
            point53.Name = "BuccaneersDenInvasionTrammel";
            point54.Name = "BuccaneersDenInvasionTrammel";
            point55.Name = "BuccaneersDenInvasionTrammel";
            point56.Name = "BuccaneersDenInvasionTrammel";
            point57.Name = "BuccaneersDenInvasionTrammel";
            point58.Name = "BuccaneersDenInvasionTrammel";
            point59.Name = "BuccaneersDenInvasionTrammel";

            point60.Name = "BuccaneersDenInvasionTrammel";
            point61.Name = "BuccaneersDenInvasionTrammel";
            point62.Name = "BuccaneersDenInvasionTrammel";
            point63.Name = "BuccaneersDenInvasionTrammel";
            point64.Name = "BuccaneersDenInvasionTrammel";
            point65.Name = "BuccaneersDenInvasionTrammel";
            point66.Name = "BuccaneersDenInvasionTrammel";
            point67.Name = "BuccaneersDenInvasionTrammel";
            point68.Name = "BuccaneersDenInvasionTrammel";
            point69.Name = "BuccaneersDenInvasionTrammel";

            point70.Name = "BuccaneersDenInvasionTrammel";
            point71.Name = "BuccaneersDenInvasionTrammel";
            point72.Name = "BuccaneersDenInvasionTrammel";
            point73.Name = "BuccaneersDenInvasionTrammel";
            point74.Name = "BuccaneersDenInvasionTrammel";
            point75.Name = "BuccaneersDenInvasionTrammel";
            point76.Name = "BuccaneersDenInvasionTrammel";
            point77.Name = "BuccaneersDenInvasionTrammel";
            point78.Name = "BuccaneersDenInvasionTrammel";
            point79.Name = "BuccaneersDenInvasionTrammel";
            point80.Name = "BuccaneersDenInvasionTrammel";
            point81.Name = "BuccaneersDenInvasionTrammel";

            Spawner spawner1 = new Spawner( 4, 5, 15, 0, 4, "OrcBomber" );
            spawner1.MoveToWorld( new Point3D(  2734, 1978, 0  ), Map.Trammel );
            spawner1.WayPoint = point;
            point.MoveToWorld( new Point3D(  2744, 2098, 15  ), Map.Trammel );
            point.NextPoint = point1;
            point1.MoveToWorld( new Point3D(  2726, 2160, 0  ), Map.Trammel );
            point1.NextPoint = point2;
            point2.MoveToWorld( new Point3D(  2703, 2164, 0  ), Map.Trammel );
            point2.NextPoint = point3;
            point3.MoveToWorld( new Point3D(  2685, 2164, 0  ), Map.Trammel );
            point3.NextPoint = point4;
            point4.MoveToWorld( new Point3D(  2673, 2191, 0  ), Map.Trammel );
            point4.NextPoint = point5;
            point5.MoveToWorld( new Point3D(  2673, 2215, 0  ), Map.Trammel );
            point5.NextPoint = point6;
            point6.MoveToWorld( new Point3D(  2746, 2240, 0  ), Map.Trammel );
            point6.NextPoint = point7;
            point7.MoveToWorld( new Point3D(  2703, 2240, 0  ), Map.Trammel );
            point7.NextPoint = point8;
            point8.MoveToWorld( new Point3D(  2630, 2308, 0  ), Map.Trammel );
            point8.NextPoint = point9;
            point9.MoveToWorld( new Point3D(  2620, 2171, 0  ), Map.Trammel );
            point9.NextPoint = point;
              			spawner1.Name = "BuccaneersDenInvasionTrammel";
            spawner1.Respawn();

            Spawner spawner2 = new Spawner( 4, 5, 15, 0, 20, "Orc" );
            spawner2.MoveToWorld( new Point3D(  2809, 2253, 0  ), Map.Trammel );
            spawner2.WayPoint = point10;
            point10.MoveToWorld( new Point3D(  2746, 2237, 0  ), Map.Trammel );
            point10.NextPoint = point11;
            point11.MoveToWorld( new Point3D(  2673, 2215, 0  ), Map.Trammel );
            point11.NextPoint = point12;
            point12.MoveToWorld( new Point3D(  2673, 2191, 0  ), Map.Trammel );
            point12.NextPoint = point13;
            point13.MoveToWorld( new Point3D(  2687, 2164, 0  ), Map.Trammel );
            point13.NextPoint = point14;
            point14.MoveToWorld( new Point3D(  2722, 2164, 0  ), Map.Trammel );
            point14.NextPoint = point15;
            point15.MoveToWorld( new Point3D(  2718, 2115, 0  ), Map.Trammel );
            point15.NextPoint = point16;
            point16.MoveToWorld( new Point3D(  2685, 2115, 0  ), Map.Trammel );
            point16.NextPoint = point17;
            point17.MoveToWorld( new Point3D(  2639, 2099, 10  ), Map.Trammel );
            point17.NextPoint = point18;
            point18.MoveToWorld( new Point3D(  2673, 2191, 0  ), Map.Trammel );
            point18.NextPoint = point19;
            point19.MoveToWorld( new Point3D(  2673, 2215, 0  ), Map.Trammel );
            point19.NextPoint = point10;
            spawner2.Name = "BuccaneersDenInvasionTrammel";
            spawner2.Respawn();

            Spawner spawner3 = new Spawner( 6, 5, 15, 0, 20, "Orc" );
            spawner3.MoveToWorld( new Point3D(  2622, 2315, 0  ), Map.Trammel );
            spawner3.WayPoint = point20;
            point20.MoveToWorld( new Point3D(  2717, 2237, 0  ), Map.Trammel );
            point20.NextPoint = point21;
            point21.MoveToWorld( new Point3D(  2673, 2215, 0  ), Map.Trammel );
            point21.NextPoint = point22;
            point22.MoveToWorld( new Point3D(  2674, 2168, 0  ), Map.Trammel );
            point22.NextPoint = point23;
            point23.MoveToWorld( new Point3D(  2690, 2164, 0  ), Map.Trammel );
            point23.NextPoint = point24;
            point24.MoveToWorld( new Point3D(  2745, 2057, 28  ), Map.Trammel );
            point24.NextPoint = point25;
            point25.MoveToWorld( new Point3D(  2686, 2045, 0  ), Map.Trammel );
            point25.NextPoint = point26;
            point26.MoveToWorld( new Point3D(  2681, 2115, 0  ), Map.Trammel );
            point26.NextPoint = point27;
            point27.MoveToWorld( new Point3D(  2731, 2116, 0  ), Map.Trammel );
            point27.NextPoint = point28;
            point28.MoveToWorld( new Point3D(  2711, 2163, 0  ), Map.Trammel );
            point28.NextPoint = point29;
            point29.MoveToWorld( new Point3D(  2687, 2164, 0  ), Map.Trammel );
            point29.NextPoint = point30;
            point30.MoveToWorld( new Point3D(  2673, 2194, 0  ), Map.Trammel );
            point30.NextPoint = point20;
            spawner3.Name = "BuccaneersDenInvasionTrammel";
            spawner3.Respawn();

            Spawner spawner4 = new Spawner( 6, 5, 15, 0, 40, "Orc" );
            spawner4.MoveToWorld( new Point3D(  2812, 2322, 0  ), Map.Trammel );
            spawner4.WayPoint = point31;
            point31.MoveToWorld( new Point3D(  2757, 2234, 0  ), Map.Trammel );
            point31.NextPoint = point32;
            point32.MoveToWorld( new Point3D(  2673, 2211, 0  ), Map.Trammel );
            point32.NextPoint = point33;
            point33.MoveToWorld( new Point3D(  2635, 2103, 9  ), Map.Trammel );
            point33.NextPoint = point34;
            point34.MoveToWorld( new Point3D(  2689, 2116, 0  ), Map.Trammel );
            point34.NextPoint = point35;
            point35.MoveToWorld( new Point3D(  2728, 2116, 0  ), Map.Trammel );
            point35.NextPoint = point36;
            point36.MoveToWorld( new Point3D(  2770, 2136, 0  ), Map.Trammel );
            point36.NextPoint = point37;
            point37.MoveToWorld( new Point3D(  2720, 2136, 0  ), Map.Trammel );
            point37.NextPoint = point38;
            point38.MoveToWorld( new Point3D(  2703, 2164, 0  ), Map.Trammel );
            point38.NextPoint = point39;
            point39.MoveToWorld( new Point3D(  2652, 2162, 7  ), Map.Trammel );
            point39.NextPoint = point40;
            point40.MoveToWorld( new Point3D(  2683, 2100, 0  ), Map.Trammel );
            point40.NextPoint = point41;
            point41.MoveToWorld( new Point3D(  2687, 2160, 0  ), Map.Trammel );
            point41.NextPoint = point42;
            point42.MoveToWorld( new Point3D(  2673, 2194, 0  ), Map.Trammel );
            point42.NextPoint = point31;
            spawner4.Name = "BuccaneersDenInvasionTrammel";
            spawner4.Respawn();

            Spawner spawner5 = new Spawner( 5, 5, 15, 0, 30, "Orc");
            spawner5.MoveToWorld( new Point3D(  2600, 2048, 0  ), Map.Trammel );
            spawner5.WayPoint = point43;
            point43.MoveToWorld( new Point3D(  2634, 2094, 10  ), Map.Trammel );
            point43.NextPoint = point44;
            point44.MoveToWorld( new Point3D(  2685, 2115, 0  ), Map.Trammel );
            point44.NextPoint = point45;
            point45.MoveToWorld( new Point3D(  2735, 2115, 0  ), Map.Trammel );
            point45.NextPoint = point46;
            point46.MoveToWorld( new Point3D(  2723, 2187, 0  ), Map.Trammel );
            point46.NextPoint = point47;
            point47.MoveToWorld( new Point3D(  2699, 2162, 0  ), Map.Trammel );
            point47.NextPoint = point48;
            point48.MoveToWorld( new Point3D(  2685, 2164, 0  ), Map.Trammel );
            point48.NextPoint = point49;
            point49.MoveToWorld( new Point3D(  2673, 2191, 0  ), Map.Trammel );
            point49.NextPoint = point50;
            point50.MoveToWorld( new Point3D(  2673, 2215, 0  ), Map.Trammel );
            point50.NextPoint = point51;
            point51.MoveToWorld( new Point3D(  2706, 2237, 0  ), Map.Trammel );
            point51.NextPoint = point52;
            point52.MoveToWorld( new Point3D(  2609, 2280, 6  ), Map.Trammel );
            point52.NextPoint = point43;
            spawner5.Name = "BuccaneersDenInvasionTrammel";
            spawner5.Respawn();

            Spawner spawner6 = new Spawner( 1, 5, 15, 0, 10, "OrcishLord" );
            spawner6.MoveToWorld( new Point3D(  2840, 2112, 0  ), Map.Trammel );
            spawner6.WayPoint = point53;
            point53.MoveToWorld( new Point3D(  2759, 2126, 0  ), Map.Trammel );
            point53.NextPoint = point54;
            point54.MoveToWorld( new Point3D(  2707, 2116, 0  ), Map.Trammel );
            point54.NextPoint = point55;
            point55.MoveToWorld( new Point3D(  2681, 2115, 0  ), Map.Trammel );
            point55.NextPoint = point56;
            point56.MoveToWorld( new Point3D(  2685, 2164, 0  ), Map.Trammel );
            point56.NextPoint = point57;
            point57.MoveToWorld( new Point3D(  2673, 2191, 0  ), Map.Trammel );
            point57.NextPoint = point58;
            point58.MoveToWorld( new Point3D(  2673, 2211, 0  ), Map.Trammel );
            point58.NextPoint = point59;
            point59.MoveToWorld( new Point3D(  2757, 2234, 0  ), Map.Trammel );
            point59.NextPoint = point60;
            point60.MoveToWorld( new Point3D(  2673, 2211, 0  ), Map.Trammel );
            point60.NextPoint = point61;
            point61.MoveToWorld( new Point3D(  2673, 2191, 0  ), Map.Trammel );
            point61.NextPoint = point62;
            point62.MoveToWorld( new Point3D(  2689, 2164, 0  ), Map.Trammel );
            point62.NextPoint = point63;
            point63.MoveToWorld( new Point3D(  2723, 2187, 0  ), Map.Trammel );
            point63.NextPoint = point64;
            point64.MoveToWorld( new Point3D(  2725, 2193, 0  ), Map.Trammel );
            point64.NextPoint = point65;
            point65.MoveToWorld( new Point3D(  2731, 2193, 0  ), Map.Trammel );
            point65.NextPoint = point66;
            point66.MoveToWorld( new Point3D(  2731, 2187, 0  ), Map.Trammel );
            point66.NextPoint = point67;
            point67.MoveToWorld( new Point3D(  2731, 2193, 0  ), Map.Trammel );
            point67.NextPoint = point68;
            point68.MoveToWorld( new Point3D(  2725, 2193, 0  ), Map.Trammel );
            point68.NextPoint = point69;
            point69.MoveToWorld( new Point3D(  2723, 2127, 0  ), Map.Trammel );
            point69.NextPoint = point53;
            spawner6.Name = "BuccaneersDenInvasionTrammel";
            spawner6.Respawn();

            Spawner spawner7 = new Spawner( 1, 5, 15, 0, 0, "OrcCaptain" );
            spawner7.MoveToWorld( new Point3D(  2734, 2039, 0  ), Map.Trammel );
            spawner7.WayPoint = point70;
            point70.MoveToWorld( new Point3D(  2721, 2186, 0  ), Map.Trammel );
            point70.NextPoint = point71;
            point71.MoveToWorld( new Point3D(  2725, 2193, 0  ), Map.Trammel );
            point71.NextPoint = point72;
            point72.MoveToWorld( new Point3D(  2731, 2193, 0  ), Map.Trammel );
            point72.NextPoint = point73;
            point73.MoveToWorld( new Point3D(  2731, 2187, 0  ), Map.Trammel );
            point73.NextPoint = point74;
            point74.MoveToWorld( new Point3D(  2731, 2193, 0  ), Map.Trammel );
            point74.NextPoint = point75;
            point75.MoveToWorld( new Point3D(  2725, 2193, 0  ), Map.Trammel );
            point75.NextPoint = point70;
            spawner7.Name = "BuccaneersDenInvasionTrammel";
            spawner7.Respawn();

            Spawner spawner8 = new Spawner( 1, 10, 20, 0, 10, "OrcBrute" );
            spawner8.MoveToWorld( new Point3D(  2750, 1972, 0  ), Map.Trammel );
            spawner8.WayPoint = point76;
            point76.MoveToWorld( new Point3D(  2720, 2185, 0  ), Map.Trammel );
            point76.NextPoint = point77;
            point77.MoveToWorld( new Point3D(  2724, 2192, 0  ), Map.Trammel );
            point77.NextPoint = point78;
            point78.MoveToWorld( new Point3D(  2731, 2193, 0   ), Map.Trammel );
            point78.NextPoint = point79;
            point79.MoveToWorld( new Point3D(  2731, 2187, 0  ), Map.Trammel );
            point79.NextPoint = point80;
            point80.MoveToWorld( new Point3D(  2731, 2193, 0  ), Map.Trammel );
            point80.NextPoint = point81;
            point81.MoveToWorld( new Point3D(  2724, 2192, 0  ), Map.Trammel );
            point81.NextPoint = point76;
            spawner8.Name = "BuccaneersDenInvasionTrammel";
            spawner8.Respawn();

            Spawner spawner9 = new Spawner(1, 5, 15, 0, 1, "OrcCamp");
            spawner9.MoveToWorld(new Point3D(2642, 2170, 16), Map.Trammel);
            spawner9.Name = "BuccaneersDenInvasionTrammel";
            spawner9.Respawn();

            Spawner spawner10 = new Spawner(1, 5, 15, 0, 1, "OrcCamp");
            spawner10.MoveToWorld(new Point3D(2722, 2158, 0), Map.Trammel);
            spawner10.Name = "BuccaneersDenInvasionTrammel";
            spawner10.Respawn();

                                           World.Broadcast( 33, true, "Buccaneer's Den Trammel is under invasion." );
                       from.SendGump( new CityInvasion( from ) );
                                   	 break;
                            }
            case 2:
            {
            BuccaneersDenInvasionStone buctram = new BuccaneersDenInvasionStone();
            buctram.StopBuccaneersDenTrammel();
                                          World.Broadcast( 33, true, "Buccaneer's Den Trammel's invasion was successfully beaten back. No more invaders are left in the city." );
                      from.SendGump( new CityInvasion( from ) );
                                   	break;
                }
            }
        }
		public override void OnResponse( NetState state, RelayInfo info )
		{
			Mobile from = state.Mobile;
			switch ( info.ButtonID ) 
		{ 
		case 0:
		{ 
                                    from.CloseGump( typeof( StartStopBritfel ) ); 
		        from.SendGump( new CityInvasion( from ) );
                                    break;  
                             }  
		case 1:
		{
			Point3D loc = new Point3D( 568, 1311, 0 );

			WayPoint point = new WayPoint();
			WayPoint point1 = new WayPoint();
			WayPoint point2 = new WayPoint();
			WayPoint point3 = new WayPoint();
			WayPoint point4 = new WayPoint();
			WayPoint point5 = new WayPoint();
			WayPoint point6 = new WayPoint();
			WayPoint point7 = new WayPoint();
			WayPoint point8 = new WayPoint();
			WayPoint point9 = new WayPoint();

			WayPoint point10 = new WayPoint();
			WayPoint point11 = new WayPoint();
			WayPoint point12 = new WayPoint();
			WayPoint point13 = new WayPoint();
			WayPoint point14 = new WayPoint();
			WayPoint point15 = new WayPoint();
			WayPoint point16 = new WayPoint();
			WayPoint point17 = new WayPoint();
			WayPoint point18 = new WayPoint();
			WayPoint point19 = new WayPoint();

			WayPoint point20 = new WayPoint();
			WayPoint point21 = new WayPoint();
			WayPoint point22 = new WayPoint();
			WayPoint point23 = new WayPoint();
			WayPoint point24 = new WayPoint();
			WayPoint point25 = new WayPoint();
			WayPoint point26 = new WayPoint();
			WayPoint point27 = new WayPoint();
			WayPoint point28 = new WayPoint();
			WayPoint point29 = new WayPoint();

			WayPoint point30 = new WayPoint();
			WayPoint point31 = new WayPoint();
			WayPoint point32 = new WayPoint();
			WayPoint point33 = new WayPoint();
			WayPoint point34 = new WayPoint();
			WayPoint point35 = new WayPoint();
			WayPoint point36 = new WayPoint();
			WayPoint point37 = new WayPoint();
			WayPoint point38 = new WayPoint();
			WayPoint point39 = new WayPoint();

			WayPoint point40 = new WayPoint();
			WayPoint point41 = new WayPoint();
			WayPoint point42 = new WayPoint();
			WayPoint point43 = new WayPoint();
			WayPoint point44 = new WayPoint();
			WayPoint point45 = new WayPoint();
			WayPoint point46 = new WayPoint();
			WayPoint point47 = new WayPoint();
			WayPoint point48 = new WayPoint();
			WayPoint point49 = new WayPoint();

			WayPoint point50 = new WayPoint();
			WayPoint point51 = new WayPoint();
			WayPoint point52 = new WayPoint();
			WayPoint point53 = new WayPoint();
			WayPoint point54 = new WayPoint();
			WayPoint point55 = new WayPoint();
			WayPoint point56 = new WayPoint();
			WayPoint point57 = new WayPoint();
			WayPoint point58 = new WayPoint();
			WayPoint point59 = new WayPoint();

			WayPoint point60 = new WayPoint();
			WayPoint point61 = new WayPoint();
			WayPoint point62 = new WayPoint();
			WayPoint point63 = new WayPoint();
			WayPoint point64 = new WayPoint();
			WayPoint point65 = new WayPoint();
			WayPoint point66 = new WayPoint();
			WayPoint point67 = new WayPoint();
			WayPoint point68 = new WayPoint();
			WayPoint point69 = new WayPoint();

			WayPoint point70 = new WayPoint();
			WayPoint point71 = new WayPoint();
			WayPoint point72 = new WayPoint();
			WayPoint point73 = new WayPoint();
			WayPoint point74 = new WayPoint();
			WayPoint point75 = new WayPoint();
			WayPoint point76 = new WayPoint();
			WayPoint point77 = new WayPoint();
			WayPoint point78 = new WayPoint();
			WayPoint point79 = new WayPoint();
			WayPoint point80 = new WayPoint();
			WayPoint point81 = new WayPoint();

			point.Name = "BritInvasionFelucca";
			point1.Name = "BritInvasionFelucca";
			point2.Name = "BritInvasionFelucca";
			point3.Name = "BritInvasionFelucca";
			point4.Name = "BritInvasionFelucca";
			point5.Name = "BritInvasionFelucca";
			point6.Name = "BritInvasionFelucca";
			point7.Name = "BritInvasionFelucca";
			point8.Name = "BritInvasionFelucca";
			point9.Name = "BritInvasionFelucca";

			point10.Name = "BritInvasionFelucca";
			point11.Name = "BritInvasionFelucca";
			point12.Name = "BritInvasionFelucca";
			point13.Name = "BritInvasionFelucca";
			point14.Name = "BritInvasionFelucca";
			point15.Name = "BritInvasionFelucca";
			point16.Name = "BritInvasionFelucca";
			point17.Name = "BritInvasionFelucca";
			point18.Name = "BritInvasionFelucca";
			point19.Name = "BritInvasionFelucca";

			point20.Name = "BritInvasionFelucca";
			point21.Name = "BritInvasionFelucca";
			point22.Name = "BritInvasionFelucca";
			point23.Name = "BritInvasionFelucca";
			point24.Name = "BritInvasionFelucca";
			point25.Name = "BritInvasionFelucca";
			point26.Name = "BritInvasionFelucca";
			point27.Name = "BritInvasionFelucca";
			point28.Name = "BritInvasionFelucca";
			point29.Name = "BritInvasionFelucca";

			point30.Name = "BritInvasionFelucca";
			point31.Name = "BritInvasionFelucca";
			point32.Name = "BritInvasionFelucca";
			point33.Name = "BritInvasionFelucca";
			point34.Name = "BritInvasionFelucca";
			point35.Name = "BritInvasionFelucca";
			point36.Name = "BritInvasionFelucca";
			point37.Name = "BritInvasionFelucca";
			point38.Name = "BritInvasionFelucca";
			point39.Name = "BritInvasionFelucca";

			point40.Name = "BritInvasionFelucca";
			point41.Name = "BritInvasionFelucca";
			point42.Name = "BritInvasionFelucca";
			point43.Name = "BritInvasionFelucca";
			point44.Name = "BritInvasionFelucca";
			point45.Name = "BritInvasionFelucca";
			point46.Name = "BritInvasionFelucca";
			point47.Name = "BritInvasionFelucca";
			point48.Name = "BritInvasionFelucca";
			point49.Name = "BritInvasionFelucca";

			point50.Name = "BritInvasionFelucca";
			point51.Name = "BritInvasionFelucca";
			point52.Name = "BritInvasionFelucca";
			point53.Name = "BritInvasionFelucca";
			point54.Name = "BritInvasionFelucca";
			point55.Name = "BritInvasionFelucca";
			point56.Name = "BritInvasionFelucca";
			point57.Name = "BritInvasionFelucca";
			point58.Name = "BritInvasionFelucca";
			point59.Name = "BritInvasionFelucca";

			point60.Name = "BritInvasionFelucca";
			point61.Name = "BritInvasionFelucca";
			point62.Name = "BritInvasionFelucca";
			point63.Name = "BritInvasionFelucca";
			point64.Name = "BritInvasionFelucca";
			point65.Name = "BritInvasionFelucca";
			point66.Name = "BritInvasionFelucca";
			point67.Name = "BritInvasionFelucca";
			point68.Name = "BritInvasionFelucca";
			point69.Name = "BritInvasionFelucca";

			point70.Name = "BritInvasionFelucca";
			point71.Name = "BritInvasionFelucca";
			point72.Name = "BritInvasionFelucca";
			point73.Name = "BritInvasionFelucca";
			point74.Name = "BritInvasionFelucca";
			point75.Name = "BritInvasionFelucca";
			point76.Name = "BritInvasionFelucca";
			point77.Name = "BritInvasionFelucca";
			point78.Name = "BritInvasionFelucca";
			point79.Name = "BritInvasionFelucca";
			point80.Name = "BritInvasionFelucca";
			point81.Name = "BritInvasionFelucca";


			Spawner spawner1 = new Spawner( 2, 5, 15, 30, 4, "Overseer" );
			spawner1.MoveToWorld( new Point3D(  1318, 1756, 10  ), Map.Felucca );
			spawner1.WayPoint = point;
			point.MoveToWorld( new Point3D(  1374, 1752, 1  ), Map.Felucca );
			point.NextPoint = point1;
			point1.MoveToWorld( new Point3D(  1440, 1697, 0  ), Map.Felucca );
			point1.NextPoint = point2;
			point2.MoveToWorld( new Point3D(  1462, 1657, 10  ), Map.Felucca );
			point2.NextPoint = point3;
			point3.MoveToWorld( new Point3D(  1482, 1605, 20  ), Map.Felucca );
			point3.NextPoint = point4;
			point4.MoveToWorld( new Point3D(  1424, 1603, 20  ), Map.Felucca );
			point4.NextPoint = point5;
			point5.MoveToWorld( new Point3D(  1413, 1662, 10  ), Map.Felucca );
			point5.NextPoint = point6;
			point6.MoveToWorld( new Point3D(  1418, 1697, 0  ), Map.Felucca );
			point6.NextPoint = point7;
			point7.MoveToWorld( new Point3D(  1481, 1697, 0  ), Map.Felucca );
			point7.NextPoint = point8;
			point8.MoveToWorld( new Point3D(  1418, 1699, 0  ), Map.Felucca );
			point8.NextPoint = point9;
			point9.MoveToWorld( new Point3D(  1420, 1726, 20  ), Map.Felucca );
			point9.NextPoint = point;
          			spawner1.Name = "BritInvasionFelucca";
			spawner1.Respawn();

			Spawner spawner2 = new Spawner( 2, 5, 15, 30, 20, "Overseer" );
			spawner2.MoveToWorld( new Point3D(  1363, 1801, 0  ), Map.Felucca );
			spawner2.WayPoint = point10;
			point10.MoveToWorld( new Point3D(  1373, 1751, 2  ), Map.Felucca );
			point10.NextPoint = point11;
			point11.MoveToWorld( new Point3D(  1408, 1745, 5  ), Map.Felucca );
			point11.NextPoint = point12;
			point12.MoveToWorld( new Point3D(  1419, 1669, 10  ), Map.Felucca );
			point12.NextPoint = point13;
			point13.MoveToWorld( new Point3D(  1475, 1650, 10  ), Map.Felucca );
			point13.NextPoint = point14;
			point14.MoveToWorld( new Point3D(  1513, 1650, 20  ), Map.Felucca );
			point14.NextPoint = point15;
			point15.MoveToWorld( new Point3D(  1513, 1629, 10  ), Map.Felucca );
			point15.NextPoint = point16;
			point16.MoveToWorld( new Point3D(  1420, 1627, 20  ), Map.Felucca );
			point16.NextPoint = point17;
			point17.MoveToWorld( new Point3D(  1330, 1625, 50  ), Map.Felucca );
			point17.NextPoint = point18;
			point18.MoveToWorld( new Point3D(  1420, 1625, 20  ), Map.Felucca );
			point18.NextPoint = point19;
			point19.MoveToWorld( new Point3D(  1420, 1725, 20  ), Map.Felucca );
			point19.NextPoint = point10;
			spawner2.Name = "BritInvasionFelucca";
			spawner2.Respawn();

			Spawner spawner3 = new Spawner( 2, 5, 15, 30, 20, "Overseer" );
			spawner3.MoveToWorld( new Point3D(  1349, 1533, 0  ), Map.Felucca );
			spawner3.WayPoint = point20;
			point20.MoveToWorld( new Point3D(  1425, 1532, 32  ), Map.Felucca );
			point20.NextPoint = point21;
			point21.MoveToWorld( new Point3D(  1479, 1542, 30  ), Map.Felucca );
			point21.NextPoint = point22;
			point22.MoveToWorld( new Point3D(  1479, 1572, 30  ), Map.Felucca );
			point22.NextPoint = point23;
			point23.MoveToWorld( new Point3D(  1493, 1577, 30  ), Map.Felucca );
			point23.NextPoint = point24;
			point24.MoveToWorld( new Point3D(  1519, 1579, 27  ), Map.Felucca );
			point24.NextPoint = point25;
			point25.MoveToWorld( new Point3D(  1565, 1579, 20  ), Map.Felucca );
			point25.NextPoint = point26;
			point26.MoveToWorld( new Point3D(  1567, 1630, 6  ), Map.Felucca );
			point26.NextPoint = point27;
			point27.MoveToWorld( new Point3D(  1536, 1630, 2  ), Map.Felucca );
			point27.NextPoint = point28;
			point28.MoveToWorld( new Point3D(  1443, 1622, 20  ), Map.Felucca );
			point28.NextPoint = point29;
			point29.MoveToWorld( new Point3D(  1438, 1587, 20  ), Map.Felucca );
			point29.NextPoint = point20;
			spawner3.Name = "BritInvasionFelucca";
			spawner3.Respawn();

			Spawner spawner4 = new Spawner( 2, 5, 15, 30, 50, "Overseer" );
			spawner4.MoveToWorld( new Point3D(  1385, 1385, 0  ), Map.Felucca );
			spawner4.WayPoint = point30;
			point30.MoveToWorld( new Point3D(  1428, 1528, 32  ), Map.Felucca );
			point30.NextPoint = point31;
			point31.MoveToWorld( new Point3D(  1503, 1535, 31  ), Map.Felucca );
			point31.NextPoint = point32;
			point32.MoveToWorld( new Point3D(  1499, 1578, 30  ), Map.Felucca );
			point32.NextPoint = point33;
			point33.MoveToWorld( new Point3D(  1485, 1602, 17  ), Map.Felucca );
			point33.NextPoint = point34;
			point34.MoveToWorld( new Point3D(  1485, 1632, 20  ), Map.Felucca );
			point34.NextPoint = point35;
			point35.MoveToWorld( new Point3D(  1518, 1630, 10  ), Map.Felucca );
			point35.NextPoint = point36;
			point36.MoveToWorld( new Point3D(  1541, 1630, 0  ), Map.Felucca );
			point36.NextPoint = point37;
			point37.MoveToWorld( new Point3D(  1532, 1673, 20  ), Map.Felucca );
			point37.NextPoint = point38;
			point38.MoveToWorld( new Point3D(  1491, 1670, 10  ), Map.Felucca );
			point38.NextPoint = point39;
			point39.MoveToWorld( new Point3D(  1483, 1603, 19  ), Map.Felucca );
			point39.NextPoint = point40;
			point40.MoveToWorld( new Point3D(  1463, 1602, 20  ), Map.Felucca );
			point40.NextPoint = point41;
			point41.MoveToWorld( new Point3D(  1464, 1572, 30  ), Map.Felucca );
			point41.NextPoint = point42;
			point42.MoveToWorld( new Point3D(  1432, 1571, 30  ), Map.Felucca );
			point42.NextPoint = point30;
			spawner4.Name = "BritInvasionFelucca";
			spawner4.Respawn();

			Spawner spawner5 = new Spawner( 3, 5, 15, 30, 90, "Overseer" );
			spawner5.MoveToWorld( new Point3D(  1270, 2060, 0  ), Map.Felucca );
			spawner5.WayPoint = point43;
			point43.MoveToWorld( new Point3D(  1373, 1809, 0  ), Map.Felucca );
			point43.NextPoint = point44;
			point44.MoveToWorld( new Point3D(  1368, 1750, 5  ), Map.Felucca );
			point44.NextPoint = point45;
			point45.MoveToWorld( new Point3D(  1403, 1747, 3  ), Map.Felucca );
			point45.NextPoint = point46;
			point46.MoveToWorld( new Point3D(  1423, 1698, 0  ), Map.Felucca );
			point46.NextPoint = point47;
			point47.MoveToWorld( new Point3D(  1481, 1699, 0  ), Map.Felucca );
			point47.NextPoint = point48;
			point48.MoveToWorld( new Point3D(  1504, 1705, 20  ), Map.Felucca );
			point48.NextPoint = point49;
			point49.MoveToWorld( new Point3D(  1557, 1699, 30  ), Map.Felucca );
			point49.NextPoint = point50;
			point50.MoveToWorld( new Point3D(  1569, 1636, 5  ), Map.Felucca );
			point50.NextPoint = point51;
			point51.MoveToWorld( new Point3D(  1617, 1636, 35  ), Map.Felucca );
			point51.NextPoint = point52;
			point52.MoveToWorld( new Point3D(  1601, 1691, 10  ), Map.Felucca );
			point52.NextPoint = point53;
			point53.MoveToWorld( new Point3D(  1589, 1724, 20  ), Map.Felucca );
			point53.NextPoint = point54;
			point54.MoveToWorld( new Point3D(  1533, 1724, 20  ), Map.Felucca );
			point54.NextPoint = point55;
			point55.MoveToWorld( new Point3D(  1533, 1647, 20  ), Map.Felucca );
			point55.NextPoint = point56;
			point56.MoveToWorld( new Point3D(  1569, 1595, 23  ), Map.Felucca );
			point56.NextPoint = point57;
			point57.MoveToWorld( new Point3D(  1571, 1530, 39  ), Map.Felucca );
			point57.NextPoint = point58;
			point58.MoveToWorld( new Point3D(  1432, 1573, 30  ), Map.Felucca );
			point58.NextPoint = point59;
			point59.MoveToWorld( new Point3D(  1429, 1531, 35  ), Map.Felucca );
			point59.NextPoint = point60;
			point60.MoveToWorld( new Point3D(  1437, 1588, 20  ), Map.Felucca );
			point60.NextPoint = point61;
			point61.MoveToWorld( new Point3D(  1420, 1627, 20  ), Map.Felucca );
			point61.NextPoint = point62;
			point62.MoveToWorld( new Point3D(  1420, 1728, 20  ), Map.Felucca );
			point62.NextPoint = point44;
			spawner5.Name = "BritInvasionFelucca";
			spawner5.Respawn();

			Spawner spawner6 = new Spawner( 3, 5, 15, 0, 10, "Overseer" );
			spawner6.MoveToWorld( new Point3D(  1435, 1498, 34  ), Map.Felucca );
			spawner6.WayPoint = point63;
			point63.MoveToWorld( new Point3D(  1429, 1537, 29  ), Map.Felucca );
			point63.NextPoint = point64;
			point64.MoveToWorld( new Point3D(  1432, 1572, 30  ), Map.Felucca );
			point64.NextPoint = point65;
			point65.MoveToWorld( new Point3D(  1437, 1588, 20  ), Map.Felucca );
			point65.NextPoint = point66;
			point66.MoveToWorld( new Point3D(  1424, 1590, 20  ), Map.Felucca );
			point66.NextPoint = point67;
			point67.MoveToWorld( new Point3D(  1424, 1625, 20  ), Map.Felucca );
			point67.NextPoint = point68;
			point68.MoveToWorld( new Point3D(  1463, 1625, 20  ), Map.Felucca );
			point68.NextPoint = point69;
			point69.MoveToWorld( new Point3D(  1463, 1573, 30  ), Map.Felucca );
			point69.NextPoint = point64;
			spawner6.Name = "BritInvasionFelucca";
			spawner6.Respawn();

			Spawner spawner7 = new Spawner( 3, 5, 15, 30, 0, "Overseer" );
			spawner7.MoveToWorld( new Point3D(  1351, 1757, 17  ), Map.Felucca );
			spawner7.WayPoint = point70;
			point70.MoveToWorld( new Point3D(  1373, 1753, 3  ), Map.Felucca );
			point70.NextPoint = point71;
			point71.MoveToWorld( new Point3D(  1420, 1699, 0  ), Map.Felucca );
			point71.NextPoint = point72;
			point72.MoveToWorld( new Point3D(  1447, 1696, 0  ), Map.Felucca );
			point72.NextPoint = point73;
			point73.MoveToWorld( new Point3D(  1447, 1679, 0  ), Map.Felucca );
			point73.NextPoint = point74;
			point74.MoveToWorld( new Point3D(  1434, 1667, 10  ), Map.Felucca );
			point74.NextPoint = point75;
			point75.MoveToWorld( new Point3D(  1417, 1668, 10  ), Map.Felucca );
			point75.NextPoint = point71;
			spawner7.Name = "BritInvasionFelucca";
			spawner7.Respawn();

			Spawner spawner8 = new Spawner( 3, 10, 20, 30, 10, "Overseer" );
			spawner8.MoveToWorld( new Point3D(  1370, 1749, 3  ), Map.Felucca );
			spawner8.WayPoint = point76;
			point76.MoveToWorld( new Point3D(  1405, 1746, 5  ), Map.Felucca );
			point76.NextPoint = point77;
			point77.MoveToWorld( new Point3D(  1420, 1699, 0  ), Map.Felucca );
			point77.NextPoint = point78;
			point78.MoveToWorld( new Point3D(  1447, 1696, 0  ), Map.Felucca );
			point78.NextPoint = point79;
			point79.MoveToWorld( new Point3D(  1447, 1679, 0  ), Map.Felucca );
			point79.NextPoint = point80;
			point80.MoveToWorld( new Point3D(  1426, 1666, 10  ), Map.Felucca );
			point80.NextPoint = point81;
			point81.MoveToWorld( new Point3D(  1417, 1668, 10  ), Map.Felucca );
			point81.NextPoint = point77;
			spawner8.Name = "BritInvasionFelucca";
			spawner8.Respawn();
   
                        Spawner spawner9 = new Spawner( 5, 10, 20, 30, 20, "RunicGolem" );
			spawner9.MoveToWorld( new Point3D(  1374, 1793, 2  ), Map.Felucca );
                        spawner9.Name = "BritInvasionFelucca";
			spawner9.Respawn();
   
                        Spawner spawner10 = new Spawner( 5, 10, 20, 30, 20, "RunicGolem" );
			spawner10.MoveToWorld( new Point3D( 1345, 1751, 20 ), Map.Felucca );
                        spawner10.Name = "BritInvasionFelucca";
			spawner10.Respawn();
   
                        Spawner spawner11 = new Spawner( 7, 10, 20, 30, 25, "RunicGolem" );
			spawner11.MoveToWorld( new Point3D( 1436, 1534, 35 ), Map.Felucca );
                        spawner11.Name = "BritInvasionFelucca";
			spawner11.Respawn();

                        Spawner spawner12 = new Spawner( 2, 1, 21, 30, 1, "MetalDaemon" );
			spawner12.MoveToWorld( new Point3D( 1523, 1513, 8 ), Map.Felucca );
                        spawner12.Name = "BritInvasionFelucca";
			spawner12.Respawn();
   
                        Spawner spawner13 = new Spawner( 5, 10, 20, 30, 10, "RunicGolem" );
			spawner13.MoveToWorld( new Point3D( 1576, 1529, 39 ), Map.Felucca );
                        spawner13.Name = "BritInvasionFelucca";
			spawner13.Respawn();
   
                        Spawner spawner14 = new Spawner( 4, 10, 20, 30, 10, "RunicGolem" );
			spawner14.MoveToWorld( new Point3D( 1546, 1579, 20 ), Map.Felucca );
                        spawner14.Name = "BritInvasionFelucca";
			spawner14.Respawn();

                        Spawner spawner15 = new Spawner( 4, 10, 20, 30, 10, "RunicGolem" );
			spawner15.MoveToWorld( new Point3D( 1539, 1630, 0 ), Map.Felucca );
                        spawner15.Name = "BritInvasionFelucca";
			spawner15.Respawn();

                        Spawner spawner16 = new Spawner( 4, 10, 20, 30, 10, "RunicGolem" );
			spawner16.MoveToWorld( new Point3D( 1535, 1673, 20 ), Map.Felucca );
                        spawner16.Name = "BritInvasionFelucca";
			spawner16.Respawn();

                        Spawner spawner17 = new Spawner( 4, 10, 20, 30, 10, "RunicGolem" );
			spawner17.MoveToWorld( new Point3D( 1524, 1707, 20 ), Map.Felucca );
                        spawner17.Name = "BritInvasionFelucca";
			spawner17.Respawn();
   
                        Spawner spawner18 = new Spawner( 4, 10, 20, 30, 10, "RunicGolem" );
			spawner18.MoveToWorld( new Point3D( 1477, 1758, -2 ), Map.Felucca );
                        spawner18.Name = "BritInvasionFelucca";
			spawner18.Respawn();

                        Spawner spawner19 = new Spawner( 4, 10, 20, 30, 10, "RunicGolem" );
			spawner19.MoveToWorld( new Point3D( 1441, 1763, -2 ), Map.Felucca );
                        spawner19.Name = "BritInvasionFelucca";
			spawner19.Respawn();
   
                        Spawner spawner20 = new Spawner( 2, 10, 10, 30, 10, "IronDragon" );
			spawner20.MoveToWorld( new Point3D( 1386, 1626, 30 ), Map.Felucca );
                        spawner20.Name = "BritInvasionFelucca";
			spawner20.Respawn();

                        Spawner spawner21 = new Spawner( 2, 10, 10, 30, 10, "MechGargoyle" );
			spawner21.MoveToWorld( new Point3D( 1401, 1745, 2 ), Map.Felucca );
                        spawner21.Name = "BritInvasionFelucca";
			spawner21.Respawn();
   
                        Spawner spawner29 = new Spawner( 2, 10, 10, 30, 10, "MechGargoyle" );
			spawner29.MoveToWorld( new Point3D( 1429, 1567, 30 ), Map.Felucca );
                        spawner29.Name = "BritInvasionFelucca";
			spawner29.Respawn();

                        Spawner spawner22 = new Spawner( 2, 10, 10, 30, 10, "MechGargoyle" );
			spawner22.MoveToWorld( new Point3D( 1476, 1537, 30 ), Map.Felucca );
                        spawner22.Name = "BritInvasionFelucca";
			spawner22.Respawn();

                        Spawner spawner23 = new Spawner( 2, 10, 10, 30, 10, "MechGargoyle" );
			spawner23.MoveToWorld( new Point3D( 1532, 1530, 40 ), Map.Felucca );
                        spawner23.Name = "BritInvasionFelucca";
			spawner23.Respawn();

                        Spawner spawner24 = new Spawner( 2, 10, 10, 30, 10, "MechGargoyle" );
			spawner24.MoveToWorld( new Point3D( 1513, 1582, 20 ), Map.Felucca );
                        spawner24.Name = "BritInvasionFelucca";
			spawner24.Respawn();

                        Spawner spawner25 = new Spawner( 2, 10, 10, 30, 10, "MechGargoyle" );
			spawner25.MoveToWorld( new Point3D( 1513, 1628, 10 ), Map.Felucca );
                        spawner25.Name = "BritInvasionFelucca";
			spawner25.Respawn();

                        Spawner spawner26 = new Spawner( 2, 10, 10, 30, 10, "MechGargoyle" );
			spawner26.MoveToWorld( new Point3D( 1512, 1673, 20 ), Map.Felucca );
                        spawner26.Name = "BritInvasionFelucca";
			spawner26.Respawn();

                        Spawner spawner27 = new Spawner( 2, 10, 10, 30, 10, "MechGargoyle" );
			spawner27.MoveToWorld( new Point3D( 1502, 1705, 20 ), Map.Felucca );
                        spawner27.Name = "BritInvasionFelucca";
			spawner27.Respawn();

                        Spawner spawner28 = new Spawner( 5, 20, 20, 30, 20, "MechGargoyle" );
			spawner28.MoveToWorld( new Point3D( 1455, 1734, 0 ), Map.Felucca );
                        spawner28.Name = "BritInvasionFelucca";
			spawner28.Respawn();

                        Spawner spawner30 = new Spawner( 1, 1, 1, 30, 1, "IronDragon" );
			spawner30.MoveToWorld( new Point3D( 1523, 1476, 20 ), Map.Felucca );
                        spawner30.Name = "BritInvasionFelucca";
			spawner30.Respawn();
   
                        Spawner spawner31 = new Spawner( 2, 10, 10, 30, 10, "ExodusOverseer" );
			spawner31.MoveToWorld( new Point3D( 1420, 1697, 0 ), Map.Felucca );
                        spawner31.Name = "BritInvasionFelucca";
			spawner31.Respawn();

                        Spawner spawner32 = new Spawner( 2, 10, 10, 30, 10, "ExodusOverseer" );
			spawner32.MoveToWorld( new Point3D( 1419, 1626, 20 ), Map.Felucca );
                        spawner32.Name = "BritInvasionFelucca";
			spawner32.Respawn();

                        Spawner spawner33 = new Spawner( 30, 150, 150, 30, 150, "Golem" );
			spawner33.MoveToWorld( new Point3D( 1475, 1651, 10 ), Map.Felucca );
                        spawner33.Name = "BritInvasionFelucca";
			spawner33.Respawn();

                        Spawner spawner34 = new Spawner( 2, 10, 10, 30, 10, "ExodusOverseer" );
			spawner34.MoveToWorld( new Point3D( 1461, 1583, 20 ), Map.Felucca );
                        spawner34.Name = "BritInvasionFelucca";
			spawner34.Respawn();

                        Spawner spawner35 = new Spawner( 2, 10, 10, 30, 10, "ExodusOverseer" );
			spawner35.MoveToWorld( new Point3D( 1484, 1613, 20 ), Map.Felucca );
                        spawner35.Name = "BritInvasionFelucca";
			spawner35.Respawn();

                        Spawner spawner36 = new Spawner( 30, 150, 150, 30, 150, "Overseer" );
			spawner36.MoveToWorld( new Point3D( 1475, 1657, 10 ), Map.Felucca );
                        spawner36.Name = "BritInvasionFelucca";
			spawner36.Respawn();

                        Spawner spawner37 = new Spawner( 2, 5, 5, 30, 5, "ExodusOverseer" );
			spawner37.MoveToWorld( new Point3D( 1478, 1704, 20 ), Map.Felucca );
                        spawner37.Name = "BritInvasionFelucca";
			spawner37.Respawn();

                        Spawner spawner38 = new Spawner( 2, 5, 5, 30, 5, "ExodusOverseer" );
			spawner38.MoveToWorld( new Point3D( 1454, 1698, 20 ), Map.Felucca );
                        spawner38.Name = "BritInvasionFelucca";
			spawner38.Respawn();

                        Spawner spawner39 = new Spawner( 2, 5, 5, 30, 5, "ExodusOverseer" );
			spawner39.MoveToWorld( new Point3D( 1512, 1641, 20 ), Map.Felucca );
                        spawner39.Name = "BritInvasionFelucca";
			spawner39.Respawn();

                        Spawner spawner40 = new Spawner( 4, 5, 5, 30, 5, "RunicGolem" );
			spawner40.MoveToWorld( new Point3D( 1523, 1453, 15 ), Map.Felucca );
                        spawner40.Name = "BritInvasionFelucca";
			spawner40.Respawn();
   
                        Spawner spawner41 = new Spawner( 2, 10, 10, 30, 4, "MechGargoyle" );
			spawner41.MoveToWorld( new Point3D( 1524, 1441, 15 ), Map.Felucca );
                        spawner41.Name = "BritInvasionFelucca";
			spawner41.Respawn();
   
                        Spawner spawner42 = new Spawner( 8, 10, 10, 30, 20, "ExodusOverseer" );
			spawner42.MoveToWorld( new Point3D( 1524, 1446, 15 ), Map.Felucca );
                        spawner42.Name = "BritInvasionFelucca";
			spawner42.Respawn();

                        Spawner spawner43 = new Spawner( 8, 10, 10, 30, 20, "ExodusOverseer" );
			spawner43.MoveToWorld( new Point3D( 1525, 1427, 15 ), Map.Felucca );
                        spawner43.Name = "BritInvasionFelucca";
			spawner43.Respawn();
   
                        Spawner spawner44 = new Spawner( 1, 1, 1, 30, 1, "IronDragon" );
			spawner44.MoveToWorld( new Point3D( 1518, 1428, 15 ), Map.Felucca );
                        spawner44.Name = "BritInvasionFelucca";
			spawner44.Respawn();
   
                        Spawner spawner45 = new Spawner( 2, 1, 21, 30, 1, "MetalDaemon" );
			spawner45.MoveToWorld( new Point3D( 1516, 1434, 15 ), Map.Felucca );
                        spawner45.Name = "BritInvasionFelucca";
			spawner45.Respawn();
   
                        Spawner spawner46 = new Spawner( 8, 1, 1, 30, 10, "ExodusOverseer" );
			spawner46.MoveToWorld( new Point3D( 1529, 1427, 35 ), Map.Felucca );
                        spawner46.Name = "BritInvasionFelucca";
			spawner46.Respawn();
   
                        Spawner spawner47 = new Spawner( 2, 1, 1, 30, 10, "MetalDaemon" );
			spawner47.MoveToWorld( new Point3D( 1525, 1418, 35 ), Map.Felucca );
                        spawner47.Name = "BritInvasionFelucca";
			spawner47.Respawn();
   
                        Spawner spawner48 = new Spawner( 2, 5, 5, 30, 5, "RunicGolem" );
			spawner48.MoveToWorld( new Point3D( 1526, 1417, 15 ), Map.Felucca );
                        spawner48.Name = "BritInvasionFelucca";
			spawner48.Respawn();
   
                        Spawner spawner49 = new Spawner( 1, 1, 1, 30, 1, "IronDragon" );
			spawner49.MoveToWorld( new Point3D( 1524, 1415, 56 ), Map.Felucca );
                        spawner49.Name = "BritInvasionFelucca";
			spawner49.Respawn();
   
                        Spawner spawner50 = new Spawner( 6, 1, 1, 30, 10, "RunicGolem" );
			spawner50.MoveToWorld( new Point3D( 1526, 1417, 55 ), Map.Felucca );
                        spawner50.Name = "BritInvasionFelucca";
			spawner50.Respawn();
   
                        Spawner spawner51 = new Spawner( 6, 1, 1, 30, 10, "ExodusOverseer" );
			spawner51.MoveToWorld( new Point3D( 1529, 1427, 55 ), Map.Felucca );
                        spawner51.Name = "BritInvasionFelucca";
			spawner51.Respawn();
   
                        Spawner spawner52 = new Spawner( 1, 1, 1, 30, 1, "IronDragon" );
			spawner52.MoveToWorld( new Point3D( 1530, 1423, 55 ), Map.Felucca );
                        spawner52.Name = "BritInvasionFelucca";
			spawner52.Respawn();
   
                        Spawner spawner53 = new Spawner( 2, 1, 1, 30, 1, "MechGargoyle" );
			spawner53.MoveToWorld( new Point3D( 1533, 1415, 56 ), Map.Felucca );
                        spawner53.Name = "BritInvasionFelucca";
			spawner53.Respawn();
   
                        Spawner spawner54 = new Spawner( 1, 1, 1, 30, 1, "BlackthornClone" );
			spawner54.MoveToWorld( new Point3D( 1540, 1415, 55 ), Map.Felucca );
                        spawner54.Name = "BritInvasionFelucca";
			spawner54.Respawn();
   
                        Spawner spawner55 = new Spawner( 4, 5, 5, 30, 5, "RunicGolem" );
			spawner55.MoveToWorld( new Point3D( 1537, 1516, 32 ), Map.Felucca );
                        spawner55.Name = "BritInvasionFelucca";
			spawner55.Respawn();
   //<---------
                        Spawner spawner56 = new Spawner( 1, 1, 1, 30, 1, "IronDragon" );
			spawner56.MoveToWorld( new Point3D( 1517, 1433, -25 ), Map.Felucca );
                        spawner56.Name = "BritInvasionFelucca";
			spawner56.Respawn();
   
                        Spawner spawner57 = new Spawner( 3, 2, 2, 30, 2, "ExodusOverseer" );
			spawner57.MoveToWorld( new Point3D( 1517, 1433, -25 ), Map.Felucca );
                        spawner57.Name = "BritInvasionFelucca";
			spawner57.Respawn();
   
                        Spawner spawner58 = new Spawner( 4, 10, 10, 30, 10, "MetalDaemon" );
			spawner58.MoveToWorld( new Point3D( 6045, 1400, 30 ), Map.Felucca );
                        spawner58.Name = "BritInvasionFelucca";
			spawner58.Respawn();
   
                                           World.Broadcast( 33, true, "Britian Felucca is under invasion." );
		               from.SendGump( new CityInvasion( from ) );
                                   	 break; 
                            }  
		case 2:
		{
			BritInvasionStone britfel = new BritInvasionStone();
			britfel.StopBritFelucca();
                                          World.Broadcast( 33, true, "Britian Felucca's invasion was successfully beaten back. No more invaders are left in the city." );
  		              from.SendGump( new CityInvasion( from ) );
                                          
                                   	break; 
				}
			}
		}