Cyclone tracks are influenced by the environmental wind. These can include subtropical ridges, mid latitude upper level troughs , other tropical cyclones (Fujiwara effect) and other transient highs and lows. Specifically in the Western North Pacific there are two synoptic scale phenomena that can influence cyclone tracks - Tropical Upper Tropospheric Trough and the western Pacific sub tropical high ridge - Subseasonal zonal variability of the western Pacific subtropical high in summer: climate impacts and underlying mechanisms.
While the tropical upper tropsopheric trough is known to influence cyclone tracks as shown in this paper A Conceptual Model for the Influence of TUTT Cells on Tropical Cyclone Motion in the Northwest Pacific Ocean we are going to focus on the influence of the West Pacific Sub Tropical High as that is directly related to OP's question.
A recent paper titled The Climatological Analysis of Typhoon Tracks, Steering Flow, and the Pacific Subtropical High in the Vicinity of Taiwan and the Western North Pacific details the impact of the subtropical west pacific ridge on the deep layer mean steering flow of tropical cyclones that make landfall on the Taiwan mainland .
The West Pacific Sub Tropical High is a ridge that exhibits structure from 850 hPa to 500 hPa.
- Image taken from this paper - The Climatological Analysis of Typhoon Tracks, Steering Flow, and the Pacific Subtropical High in the Vicinity of Taiwan and the Western North Pacific. The image is the July August September 500 hPa geopotential height climatological value over the western pacific.
The above displayed image taken from the linked paper summarizes the flow of TCs in the vicinity of Taiwan. Assuming the subtropical ridge western extent is located between Taiwan and Kyushu(shown in blue dotted line) the mean steering flow is such that it steers tropical cyclones towawrds the Taiwan coast. On the other hand if it shrinks further towards the east (shown in red dotted line) all cyclones generated at low latitudes will still be guided towards Taiwan but the steering flow at the edge of the ridge would allow the cyclone to recurve and go towards the islands of Japan.