Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:EliteShipsKai
(view source)
Revision as of 05:18, 24 December 2015
41 bytes removed
,
8 years ago
m
no edit summary
Line 150:
Line 150:
function EliteShipsKai:asw(ship)
function EliteShipsKai:asw(ship)
−
local asw_max = ship:
asw_max
()
+
local
asw,
asw_max = ship:
asw
()
,
ship:
asw_max
()
−
if asw_max == false then
+
return {values = {value = asw_max and Formatting:tooltip(Formatting:format_stat(asw_max), format{self._kekkon_max_template, value = Formatting:format_stat(ship:asw_leveled(155))}) or Formatting:format_stat(
asw
)}, bg_color = self:get_bg_color(self._cell_color.asw, asw_max, self._args.asw_operator, self._args.asw_outstanding, self._args.asw_good, self._args.asw_bad), text_align = self._center_align}
−
asw_max =
ship:
asw
()
−
end
−
return {values = {value = asw_max and Formatting:tooltip(Formatting:format_stat(asw_max), format{self._kekkon_max_template, value = Formatting:format_stat(ship:asw_leveled(155))}) or Formatting:format_stat(
asw_max
)}, bg_color = self:get_bg_color(self._cell_color.asw, asw_max, self._args.asw_operator, self._args.asw_outstanding, self._args.asw_good, self._args.asw_bad), text_align = self._center_align}
end
end
がか
cssedit, gkautomate
6,926
edits