re write canPlace core to fit new system
added isNearEnemyCore check