Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:CalcFit
(view source)
Revision as of 10:34, 5 November 2017
219 bytes added
,
6 years ago
no edit summary
Line 16:
Line 16:
difference = function(context)
difference = function(context)
−
return "nil"
+
if context.hit_rate then
+
local diff = (context.cl1 + context.cl2) / (context.cl0 + context.cl1 + context.cl2) - context.hit_rate
+
string.format("%.2f%", diff)
+
else
+
return "nil"
+
end
end,
end,
}
}
がか
cssedit, gkautomate
6,928
edits