On the cusp of understanding this - Weapon Base system

Take a look at this link:

Breakpoint debugging is an invaluable tool that allows you to see the state of your game at any point in code. You can step through your functions to see what is happening from one node to another.