private static void MakeSpawner( string[] types, string[] fakespawnsA, string[] fakespawnsB, string[] fakespawnsC, string[] fakespawnsD, string[] fakespawnsE, int x, int y, int z, Map map, TimeSpan mintime, TimeSpan maxtime, int walkingrange, int homerange, int spawnid, int npccount, int fakecountA, int fakecountB, int fakecountC, int fakecountD, int fakecountE ) { if ( types.Length == 0 ) return; List<string> tipos = new List<string>( types ); List<string> noneA = new List<string>(); List<string> noneB = new List<string>(); List<string> noneC = new List<string>(); List<string> noneD = new List<string>(); List<string> noneE = new List<string>(); if ( fakespawnsA[0] != "" ) noneA = new List<string>( fakespawnsA ); if ( fakespawnsB[0] != "" ) noneB = new List<string>( fakespawnsB ); if ( fakespawnsC[0] != "" ) noneC = new List<string>( fakespawnsC ); if ( fakespawnsD[0] != "" ) noneD = new List<string>( fakespawnsD ); if ( fakespawnsE[0] != "" ) noneE = new List<string>( fakespawnsE ); PremiumSpawner spawner = new PremiumSpawner( npccount, fakecountA, fakecountB, fakecountC, fakecountD, fakecountE, spawnid, mintime, maxtime, Team, walkingrange, homerange, tipos, noneA, noneB, noneC, noneD, noneE ); spawner.MoveToWorld( new Point3D( x, y, z ), map ); if ( TotalRespawn ) { spawner.Respawn(); if ( ((PremiumSpawner)spawner).SpawnID == 132 ) // if is ChampionSpawn { spawner.BringToHome(); } } m_Count++; }