Fix indentation

This commit is contained in:
PJacek
2020-11-26 17:54:21 +01:00
parent 255f91ba41
commit e56e344cd2

View File

@@ -116,33 +116,33 @@ function calcLib.getGemStatRequirement(level, isSupport, multi)
end
local a, b
if isSupport then
b = 6 * multi / 100
b = 6 * multi / 100
if multi == 100 then
a = 1.495
elseif multi == 60 then
a = 0.945
elseif multi == 40 then
a = 0.6575
elseif multi == 60 then
a = 0.945
elseif multi == 40 then
a = 0.6575
else
return 0
end
else
b = 8 * multi / 100
if multi == 100 then
a = 2.1
b = 7.75
else
b = 8 * multi / 100
if multi == 100 then
a = 2.1
b = 7.75
elseif multi == 75 then
a = 1.619
elseif multi == 60 then
a = 1.325
elseif multi == 40 then
a = 0.924
elseif multi == 60 then
a = 1.325
elseif multi == 40 then
a = 0.924
else
return 0
end
end
local req = round(level * a + b)
return req < 14 and 0 or req
return req < 14 and 0 or req
end
-- Build table of stats for the given skill instance