• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
Disable max HP display
Line 212: Line 212:  
function ShipInfoKai:hp()
 
function ShipInfoKai:hp()
 
local hp = Formatting:format_stat(self._ship:hp())
 
local hp = Formatting:format_stat(self._ship:hp())
local hp_max = self._ship:hp_max()
+
--local hp_max = self._ship:hp_max()
if hp_max then
+
--if hp_max then
self._vars.hp = Formatting:tooltip(hp, format{self._kekkon_max_template, value = Formatting:format_stat(hp_max)})
+
-- self._vars.hp = Formatting:tooltip(hp, format{self._kekkon_max_template, value = Formatting:format_stat(hp_max)})
else
+
--else
 
self._vars.hp = hp
 
self._vars.hp = hp
end
+
--end
 
end
 
end
  
Anonymous user

Navigation menu