• 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
m
use is_installation_bbv, fix Lycoris Princess's day bombing
Line 279: Line 279:  
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
local shiptype = self._ship:type()
+
if not self:_is_carrier() and not is_installation_bbv then
local is_installation_bb = ((shiptype == 8) or (shiptype == 9)) and is_installation
  −
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
Line 339: Line 337:  
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
Anonymous user

Navigation menu