Questions about weapons manufacturing systems

Knife can be made in the game, but the attributes of the knife made by the player are different, for example, the attack of a knife is 10, the attack of a knife is 12, maybe it is 30 or 50 and other uncertain Numbers, what should I do?I am now using the blueprint, but write half, I feel the blueprint is a bit not good, I do not know C++, know some Java, so I am not sure the knife property number should be placed in the database or UE4 somewhere else.Maybe my idea is wrong, please give me some advice, thank you very much!

Json or SQL importer.make all weapons work on data not code. Ie do not code every single weapon separately, code one weapon base, create inherited classes for different types of weapons (melee , hitscan, physics projectile). Then make xml sheet with all the numbers, export it to json, import to unreal, make code that reads it and loads to weapon database.

Or code forever every single weapon.

But first create that base weapon, and its inherited classes, so you know what you want in database.

Thanks again,you are my friend!