/*public override bool OnBeforeDeath() * { * if ( !NoKillAwards ) * { * GivePowerScrolls(); * * Map map = this.Map; * * if ( map != null ) * { * for ( int x = -6; x <= 6; ++x ) * { * for ( int y = -6; y <= 6; ++y ) * { * double dist = Math.Sqrt(x*x+y*y); * * if ( dist <= 6 ) * new GoodiesTimer( map, X + x, Y + y ).Start(); * } * } * } * } * * return base.OnBeforeDeath(); * }*/ public override void OnDeath(Container c) { if (this is LordOrcalis) { CoveInvasionStone covefel = new CoveInvasionStone(); covefel.StopCoveFelucca(); /*if (covefel.Region.IsPartOf("Covetous")) * { * covefel.RToxicEffect = false; * }*/ World.Broadcast(33, true, "Cove's invasion was successfully beaten back. No more invaders are left in the city."); } if (this is TheJukaGeneral) { MinocInvasionStone minocfel = new MinocInvasionStone(); minocfel.StopMinocFelucca(); World.Broadcast(33, true, "Minoc's invasion was successfully beaten back. No more invaders are left in the city."); } if (this is LordBlackThorn) { BritInvasionStone britfel = new BritInvasionStone(); britfel.StopBritFelucca(); World.Broadcast(33, true, "Britain's invasion was successfully beaten back. No more invaders are left in the city."); } if (this is OrcKing) { MaginciaInvasionStone maginciafel = new MaginciaInvasionStone(); maginciafel.StopMaginciaFelucca(); World.Broadcast(33, true, "Magnecia's invasion was successfully beaten back. No more invaders are left in the city."); } if (Map == Map.Felucca) { c.DropItem(new ChampionSkull(SkullType)); } base.OnDeath(c); }
public override void OnResponse(NetState state, RelayInfo info) { Mobile from = state.Mobile; switch (info.ButtonID) { case 0: { from.CloseGump(typeof(StartStopMaginciatram)); 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 = "MaginciaInvasionTrammel"; point1.Name = "MaginciaInvasionTrammel"; point2.Name = "MaginciaInvasionTrammel"; point3.Name = "MaginciaInvasionTrammel"; point4.Name = "MaginciaInvasionTrammel"; point5.Name = "MaginciaInvasionTrammel"; point6.Name = "MaginciaInvasionTrammel"; point7.Name = "MaginciaInvasionTrammel"; point8.Name = "MaginciaInvasionTrammel"; point9.Name = "MaginciaInvasionTrammel"; point10.Name = "MaginciaInvasionTrammel"; point11.Name = "MaginciaInvasionTrammel"; /*point12.Name = "MaginciaInvasionTrammel"; * point13.Name = "MaginciaInvasionTrammel"; * point14.Name = "MaginciaInvasionTrammel"; * point15.Name = "MaginciaInvasionTrammel"; * point16.Name = "MaginciaInvasionTrammel"; * point17.Name = "MaginciaInvasionTrammel"; * point18.Name = "MaginciaInvasionTrammel"; * point19.Name = "MaginciaInvasionTrammel"; * * point20.Name = "MaginciaInvasionTrammel"; * point21.Name = "MaginciaInvasionTrammel"; * point22.Name = "MaginciaInvasionTrammel"; * point23.Name = "MaginciaInvasionTrammel"; * point24.Name = "MaginciaInvasionTrammel"; * point25.Name = "MaginciaInvasionTrammel"; * point26.Name = "MaginciaInvasionTrammel"; * point27.Name = "MaginciaInvasionTrammel"; * point28.Name = "MaginciaInvasionTrammel"; * point29.Name = "MaginciaInvasionTrammel"; * * point30.Name = "MaginciaInvasionTrammel"; * point31.Name = "MaginciaInvasionTrammel"; * point32.Name = "MaginciaInvasionTrammel"; * point33.Name = "MaginciaInvasionTrammel"; * point34.Name = "MaginciaInvasionTrammel"; * point35.Name = "MaginciaInvasionTrammel"; * point36.Name = "MaginciaInvasionTrammel"; * point37.Name = "MaginciaInvasionTrammel"; * point38.Name = "MaginciaInvasionTrammel"; * point39.Name = "MaginciaInvasionTrammel"; * * point40.Name = "MaginciaInvasionTrammel"; * point41.Name = "MaginciaInvasionTrammel"; * point42.Name = "MaginciaInvasionTrammel"; * point43.Name = "MaginciaInvasionTrammel"; * point44.Name = "MaginciaInvasionTrammel"; * point45.Name = "MaginciaInvasionTrammel"; * point46.Name = "MaginciaInvasionTrammel"; * point47.Name = "MaginciaInvasionTrammel"; * point48.Name = "MaginciaInvasionTrammel"; * point49.Name = "MaginciaInvasionTrammel"; * * point50.Name = "MaginciaInvasionTrammel"; * point51.Name = "MaginciaInvasionTrammel"; * point52.Name = "MaginciaInvasionTrammel"; * point53.Name = "MaginciaInvasionTrammel"; * point54.Name = "MaginciaInvasionTrammel"; * point55.Name = "MaginciaInvasionTrammel"; * point56.Name = "MaginciaInvasionTrammel"; * point57.Name = "MaginciaInvasionTrammel"; * point58.Name = "MaginciaInvasionTrammel"; * point59.Name = "MaginciaInvasionTrammel"; * * point60.Name = "MaginciaInvasionTrammel"; * point61.Name = "MaginciaInvasionTrammel"; * point62.Name = "MaginciaInvasionTrammel"; * point63.Name = "MaginciaInvasionTrammel"; * point64.Name = "MaginciaInvasionTrammel"; * point65.Name = "MaginciaInvasionTrammel"; * point66.Name = "MaginciaInvasionTrammel"; * point67.Name = "MaginciaInvasionTrammel"; * point68.Name = "MaginciaInvasionTrammel"; * point69.Name = "MaginciaInvasionTrammel"; * * point70.Name = "MaginciaInvasionTrammel"; * point71.Name = "MaginciaInvasionTrammel"; * point72.Name = "MaginciaInvasionTrammel"; * point73.Name = "MaginciaInvasionTrammel"; * point74.Name = "MaginciaInvasionTrammel"; * point75.Name = "MaginciaInvasionTrammel"; * point76.Name = "MaginciaInvasionTrammel"; * point77.Name = "MaginciaInvasionTrammel"; * point78.Name = "MaginciaInvasionTrammel"; * point79.Name = "MaginciaInvasionTrammel"; * point80.Name = "MaginciaInvasionTrammel"; * point81.Name = "MaginciaInvasionTrammel"; * * point82.Name = "MaginciaInvasionTrammel"; * point83.Name = "MaginciaInvasionTrammel"; * point84.Name = "MaginciaInvasionTrammel"; * point85.Name = "MaginciaInvasionTrammel"; * point86.Name = "MaginciaInvasionTrammel"; * point87.Name = "MaginciaInvasionTrammel"; * point88.Name = "MaginciaInvasionTrammel"; * point89.Name = "MaginciaInvasionTrammel"; * point90.Name = "MaginciaInvasionTrammel"; * point91.Name = "MaginciaInvasionTrammel"; * point92.Name = "MaginciaInvasionTrammel"; * point93.Name = "MaginciaInvasionTrammel"; * * point94.Name = "MaginciaInvasionTrammel"; * point95.Name = "MaginciaInvasionTrammel"; * point96.Name = "MaginciaInvasionTrammel"; * point97.Name = "MaginciaInvasionTrammel"; * point98.Name = "MaginciaInvasionTrammel"; * point99.Name = "MaginciaInvasionTrammel"; * point100.Name = "MaginciaInvasionTrammel"; * point101.Name = "MaginciaInvasionTrammel"; * point102.Name = "MaginciaInvasionTrammel"; * point103.Name = "MaginciaInvasionTrammel"; * point104.Name = "MaginciaInvasionTrammel"; * point105.Name = "MaginciaInvasionTrammel"; * * point106.Name = "MaginciaInvasionTrammel"; * point107.Name = "MaginciaInvasionTrammel"; * point108.Name = "MaginciaInvasionTrammel"; * point109.Name = "MaginciaInvasionTrammel"; * point110.Name = "MaginciaInvasionTrammel"; * point111.Name = "MaginciaInvasionTrammel"; * point112.Name = "MaginciaInvasionTrammel"; * point113.Name = "MaginciaInvasionTrammel"; * point114.Name = "MaginciaInvasionTrammel"; * point115.Name = "MaginciaInvasionTrammel"; * point116.Name = "MaginciaInvasionTrammel"; * point117.Name = "MaginciaInvasionTrammel"; * point118.Name = "MaginciaInvasionTrammel"; * point119.Name = "MaginciaInvasionTrammel"; * point120.Name = "MaginciaInvasionTrammel";*/ GuardedRegion reg = from.Region as GuardedRegion; if (reg == null) { from.SendMessage(33, "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."); } 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, 0, 10, "OrcBomber"); spawner1.MoveToWorld(new Point3D(3654, 2070, 20), Map.Trammel); spawner1.WayPoint = point; point.MoveToWorld(new Point3D(3708, 2090, 5), Map.Trammel); point.NextPoint = point1; point1.MoveToWorld(new Point3D(3707, 2180, 20), Map.Trammel); point1.NextPoint = point2; point2.MoveToWorld(new Point3D(3675, 2180, 20), Map.Trammel); point2.NextPoint = point3; point3.MoveToWorld(new Point3D(3675, 2235, 20), Map.Trammel); point3.NextPoint = point4; point4.MoveToWorld(new Point3D(3741, 2235, 20), Map.Trammel); point4.NextPoint = point5; point5.MoveToWorld(new Point3D(3741, 2188, 20), Map.Trammel); point5.NextPoint = point6; point6.MoveToWorld(new Point3D(3707, 2188, 20), Map.Trammel); point6.NextPoint = point7; point7.MoveToWorld(new Point3D(3707, 2180, 20), Map.Trammel); point7.NextPoint = point8; point8.MoveToWorld(new Point3D(3675, 2180, 20), Map.Trammel); point8.NextPoint = point9; point9.MoveToWorld(new Point3D(3675, 2115, 20), Map.Trammel); point9.NextPoint = point10; point10.MoveToWorld(new Point3D(3754, 2115, 20), Map.Trammel); point10.NextPoint = point11; point11.MoveToWorld(new Point3D(3708, 2115, 20), Map.Trammel); point11.NextPoint = point; spawner1.Name = "MaginciaInvasionTrammel"; spawner1.Respawn(); /*Spawner spawner2 = new Spawner( 4, 5, 15, 0, 15, "Orc" ); * 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 = "MaginciaInvasionTrammel"; * spawner2.Respawn(); * * Spawner spawner3 = new Spawner( 6, 5, 15, 0, 10, "Orc" ); * 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 = "MaginciaInvasionTrammel"; * spawner3.Respawn(); * * Spawner spawner4 = new Spawner( 4, 5, 15, 0, 50, "Orc" ); * 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 = "MaginciaInvasionTrammel"; * spawner4.Respawn(); * * Spawner spawner5 = new Spawner( 6, 5, 15, 0, 4, "Orc" ); * 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 = "MaginciaInvasionTrammel"; * spawner5.Respawn(); * * Spawner spawner6 = new Spawner( 1, 5, 15, 0, 0, "OrcishLord" ); * 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 = "MaginciaInvasionTrammel"; * spawner6.Respawn(); * * Spawner spawner7 = new Spawner( 1, 5, 15, 0, 0, "OrcCaptain" ); * spawner7.MoveToWorld( new Point3D( 1351, 1757, 17 ), Map.Trammel ); * spawner7.WayPoint = point93; * point93.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point93.NextPoint = point94; * point94.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point94.NextPoint = point95; * point95.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point95.NextPoint = point96; * point96.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point96.NextPoint = point97; * point97.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point97.NextPoint = point98; * point98.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point98.NextPoint = point99; * point99.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point99.NextPoint = point100; * point100.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point100.NextPoint = point101; * point101.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point101.NextPoint = point102; * point102.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point102.NextPoint = point103; * spawner7.Name = "MaginciaInvasionTrammel"; * spawner7.Respawn(); * * Spawner spawner8 = new Spawner( 1, 10, 20, 0, 10, "OrcBrute" ); * spawner8.MoveToWorld( new Point3D( 1370, 1749, 3 ), Map.Trammel ); * spawner8.WayPoint = point103; * point103.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point103.NextPoint = point104; * point104.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point104.NextPoint = point105; * point105.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point105.NextPoint = point106; * point106.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point106.NextPoint = point107; * point107.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point107.NextPoint = point108; * point108.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point108.NextPoint = point109; * point109.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point109.NextPoint = point110; * point110.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point110.NextPoint = point111; * point111.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point111.NextPoint = point112; * point112.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point112.NextPoint = point113; * point113.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point113.NextPoint = point114; * point114.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point114.NextPoint = point115; * point115.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point125.NextPoint = point116; * point116.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point116.NextPoint = point117; * point117.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point117.NextPoint = point118; * point118.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point118.NextPoint = point119; * point119.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point119.NextPoint = point120; * point120.MoveToWorld( new Point3D( 2491, 419, 15 ), Map.Trammel ); * point120.NextPoint = point103; * spawner8.Name = "MaginciaInvasionTrammel"; * spawner8.Respawn();*/ World.Broadcast(33, true, "Magincia 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 Magincia, 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 a The guarded part of Magincia, Trammel."); from.SendMessage(33, "You will have to go there and use [toggleguarded to turn the guards on."); } MaginciaInvasionStone maginciatram = new MaginciaInvasionStone(); maginciatram.StopMaginciaTrammel(); World.Broadcast(33, true, "Magincia Trammel's invasion was successfully beaten back. No more invaders are left in the city."); from.SendGump(new CityInvasion(from)); break; } } }