calculate player health from equipment