parent
d7dc0425cb
commit
b6a9cbc1c1
|
@ -670,7 +670,7 @@ function LingLongBaoJingPanel:CalculateInterval(count)
|
|||
elseif count >= configs[1].Values[1][1] then
|
||||
interval = position[1]/position[#position] + ((count - configs[1].Values[1][1]) * (position[2] - position[1]) / (configs[2].Values[1][1] - configs[1].Values[1][1]))/position[#position]
|
||||
else
|
||||
interval = count / configs[1].Values[1][1]
|
||||
interval = 0 + ((count ) * (position[1] - 0) / (configs[1].Values[1][1] - 0))/position[#position]
|
||||
end
|
||||
return interval
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue