Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:EnemyShipInfoKai
(view source)
Revision as of 13:42, 16 February 2020
181 bytes added
,
4 years ago
no edit summary
Line 239:
Line 239:
function EnemyShipInfoKai:armor()
function EnemyShipInfoKai:armor()
−
self.
_vars
.armor = Formatting:format_stat(self.
_ship
:armor
()
)
+
local equipment_armor =
self.
_ship:equipment_armor()
+
local armor = self
.
_ship:
armor
()
+
local stat
= Formatting:format_stat(
armor)
+
self.
_vars.armor = equipment_armor ~= 0 and Formatting
:
tooltip(stat,
armor
+ equipment_armor
)
or stat
end
end
がか
cssedit, gkautomate
7,064
edits