The new law applies to most semi-automatic rifles, shotguns and pistols that have detachable magazines.