Rewrote part of the heat system.
Fixed some bugs in the damage system.
Changed some weapon functions in preparation of later.