Welcome to the BYC community.
A niacin deficiency will not occur overnight, nor does it usually occur during the age you have described.
If the duck is still able to walk - just a slight limp, it is likely she received some soft tissue damage (sprains/strains). That can occur due to over-mating...