Changes
mLine 279:
Line 279:
− +
− local shiptype = self._ship:type()+
− local is_installation_bb = ((shiptype == 8) or (shiptype == 9)) and is_installation
−
Line 339:
Line 337:
− +
use is_installation_bbv, fix Lycoris Princess's day bombing
return nil
return nil
end
end
local is_installation = self:_is_installation()
local is_installation_bbv = self._ship:speed() == 0 and self._ship:type() == 10
if not self:_is_carrier() and not is_installation_bbv then
if not self:_is_carrier() and not is_installation or is_installation_bb then
if firepower > 0 then
if firepower > 0 then
for i = 1, self._ship:slots_length() do
for i = 1, self._ship:slots_length() do
torpedo = 0
torpedo = 0
end
end
return is_installation and 3 or 2, 55 + math.floor(1.5 * (firepower + torpedo + math.floor(1.3 * bombing)))
return is_installation_bbv and 3 or 2, 55 + math.floor(1.5 * (firepower + torpedo + math.floor(1.3 * bombing)))
end
end
end
end