“But since there are cases in which there are no enemies, the target becomes null and an error occurs.” - You are absolutely right! You can see an example( maybe not the perfect one) of logic enemies/coins marauder.
1 Like