function GetTCurve(A,W)local X=math.max(CurveT(A)/(PeakCurveT/HP_T),0)*100 return X,((((X*(EQ/A))*_Tune.Ratios[W+2])*fFD)*hpScaling)*1000 end

function GetTCurve(x,gear)
	local hp=(math.max(CurveT(x)/(PeakCurveT/HP_T),0))*100
	return hp,((hp*(EQ/x))*_Tune.Ratios[gear+2]*fFD*hpScaling)*1000
end	
