specdamage = amount damage is multiplied by
specaccuracy = amount accuracy is multiplied by
i don't use pi but that'd be my best guess
and to "nerf" a weapon, i'd assume you would have to lower those numbers depending on how much you want to "nerf" it