function GetECurve(n,T)local Y=math.max(elecHP(n),0)*100 local F=math.max(elecTQ(n),0)*100 if T~=0 then return Y,math.max(((F*_Tune.Ratios[T+2])*fFD)*hpScaling,0)else return 0,0 end end

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
