Modify the accuracy calculations to use the skill of the gun that is equipped. This means adjusting the direction in perform_ranged_attack based on the skill of the player. We can say that the player needs level 30 to fire 100% accurate and starts with a minimum accuracy of 25%. This can be represented by a cone of accuracy that gets smaller when it reaches 100%.
Modify the perform_ranged_attack function to add the xp configured in the weapon to the skill so the player levels up.
Requires #191
We have ranged skills but aren't using them yet. This idea describes a basic implementation idea
Edit the ItemRangedEditor and add:
Edit Gamedata to have the skill reference the recipe
Edit the EquippedItem: