Exemplo n.º 1
0
        public VoidPoolController(Map map)
            : base(3803)
        {
            Name    = "Void Pool Controller";
            Visible = false;
            Movable = false;

            PoolHits = PoolStartHits;

            if (map == Map.Trammel)
            {
                if (InstanceTram != null)
                {
                    Delete();
                }
                else
                {
                    InstanceTram = this;
                }
            }
            else if (map == Map.Felucca)
            {
                if (InstanceFel != null)
                {
                    Delete();
                }
                else
                {
                    InstanceFel = this;
                }
            }
            else
            {
                Delete();
            }

            WaypointsA = new List <WayPoint>();
            WaypointsB = new List <WayPoint>();

            Region = new VoidPoolRegion(this, map);
            Region.Register();

            RespawnMin = 60;
            RespawnMax = 90;

            ClearSpawners();
            Active = true;

            ResetLevel3Spawners();
        }
Exemplo n.º 2
0
        public VoidPoolController(Map map)
            : base(3803)
		{
            Name = "Void Pool Controller";
			Visible = false;
			Movable = false;

            PoolHits = PoolStartHits;
			
			if(map == Map.Trammel)
			{
				if(InstanceTram != null)
					Delete();
				else
					InstanceTram = this;
			}
			else if(map == Map.Felucca)
			{
				if(InstanceFel != null)
					Delete();
				else
					InstanceFel = this;
			}
			else
				Delete();

            WaypointsA = new List<WayPoint>();
            WaypointsB = new List<WayPoint>();

            Region = new VoidPoolRegion(this, map);
            Region.Register();

            RespawnMin = 60;
            RespawnMax = 90;

            ClearSpawners();
			Active = true;
		}