When pirates attack shipyards or starbases no hit points are shown in total defensive hit points. Actual hit points of shipyards/starbases correctly taken into account in battle however. If there are ships defending only their hit points are shown, but again actual total points used in battle.