Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NanaminFleetKai
(view source)
Revision as of 09:55, 20 April 2015
88 bytes added
,
9 years ago
m
no edit summary
Line 49:
Line 49:
local los = ship:los() or 0
local los = ship:los() or 0
local los_max = ship:los_max() or los
local los_max = ship:los_max() or los
−
los = math.floor(los + ((los_max - los) * tonumber(entry[3]) / 99))
+
if self._args["use_los"] then
+
los = tonumber(entry[3])
+
else
+
los = math.floor(los + ((los_max - los) * tonumber(entry[3]) / 99))
+
end
self._elos = self._elos + math.sqrt(los) * 1.69
self._elos = self._elos + math.sqrt(los) * 1.69
end
end
Nanamin
48
edits