function GetECurve(n,u)local t=math.max(elecHP(n),0)*100 local C=math.max(elecTQ(n),0)*100 if u~=0 then return t,math.max(((C*_Tune.Ratios[u+2])*fFD)*hpScaling,0)else return 0,0 end end
--Plot Current Electric Horsepower
function GetECurve(x, gear)
	local hp = (math.max(elecHP(x), 0)) * 100
	local tq = (math.max(elecTQ(x), 0)) * 100
	if gear ~= 0 then
		return hp, math.max(tq * _Tune.Ratios[gear + 2] * fFD * hpScaling, 0)
	else
		return 0, 0
	end
end
