multiplier typo
This commit is contained in:
1 parent
f47e2fc37e
commit
32cc7d5307
1 file changed
+1
-1
+1
-1
@@ -234,7 +234,7 @@ local game = Game()
|
|||||||
count = count + 1
|
count = count + 1
|
||||||
if v == 17 then
|
if v == 17 then
|
||||||
if multiplier == 2 then v = 16.5
|
if multiplier == 2 then v = 16.5
|
||||||
elseif multipler == 3 then v = (1/6)*100 end -- convert 17% to 33% or 50%
|
elseif multiplier == 3 then v = (1/6)*100 end -- convert 17% to 33% or 50%
|
||||||
elseif v == 33 and (multiplier == 1.5 or multiplier == 3) then v = (1/3)*100 end -- convert 33% to 50% or 100%
|
elseif v == 33 and (multiplier == 1.5 or multiplier == 3) then v = (1/3)*100 end -- convert 33% to 50% or 100%
|
||||||
return "{{ColorGold}}" .. string.format("%.4g",v*multiplier) .. "{{ColorText}}"
|
return "{{ColorGold}}" .. string.format("%.4g",v*multiplier) .. "{{ColorText}}"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in new issue
Block a user