Added constants which I found to be much better than previous ones, added negative range check, added a damage check for melee attacks

Still may be more to come :)