Changed getWeaponRatios to return 0 if heatleft is 0.