The carriers thus armed their planes with light bombs and rockets to attack Japanese soldiers and positions, or depth charges for those intended to fly antisubmarine patrols, armament not well suited for attacking ships.