Still trying to get capturing to work. Problem appears to be that enemyNeighboringChainIds is not being updated properly.