Fights around a celestial body only involve those objects in orbit around said body. So, if Player 1 attacks Player 2 at planet 12, even if Player 2 has other ships at Planet 13 in the same system...