For both wind and seismic design, on each level and for both directions, Shearwalls checks the maximum storey drift for any shear line by implementing NBC 4.1.8.13 for seismic by checking the maximum amplified storey drift against the allowable limits, and for wind, by checking the actual storey drift against the maximum allowable storey drift from NBC 4.1.3.5.(3)