The system is based on Dungeons & Dragons rules, so every weapon has its own set damage dice. A long sword, for example, deals 1d8, meaning it randomly rolls a number between 1 and 8.
On top of that, your Strength modifier is added. This modifier increases by one point for every two points of Strength, starting from a modifier of zero at a Strength score of 10, with negative modifiers applying below 10. Finally, any magical enchantments on the weapon are added to the total.