Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:ShipData
(view source)
Revision as of 17:00, 29 September 2017
40 bytes removed
,
6 years ago
m
no edit summary
Line 256:
Line 256:
local hp = self:hp()
local hp = self:hp()
local hp_max = self:hp_max()
local hp_max = self:hp_max()
−
return hp and hp_max
and hp_max - hp > 0
and math.min(2, hp_max - hp)
+
return hp and hp_max and math.min(2, hp_max - hp)
end
end
Line 262:
Line 262:
local hp = self:hp_married()
local hp = self:hp_married()
local hp_max = self:hp_max()
local hp_max = self:hp_max()
−
return hp and hp_max
and hp_max - hp > 0
and math.min(2, hp_max - hp)
+
return hp and hp_max and math.min(2, hp_max - hp)
end
end
がか
cssedit, gkautomate
6,941
edits