Seriously though, your solution would force them to change the stats every time they add a new type of weapon. Not worth it for 3 attacks.

Honestly, before reading that, I was just assuming "Ok it increases my damage with melee/ranged type weapon". These 3 attacks fall under
- sword and shield
- axe
- spear
which are melee weapons => damage increased by STR. As simple as that