Help with Dungeon Crawler Template

Hi everyone! I am trying to create a dungeon crawler game using the template provided in core.
I was just wondering how I can add stats / attack bonus to a character once it levels up.
And also, how can I make the attack stats (from the level) add up to the damage of the equipped weapon.
Thanks!