• 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
no edit summary
Line 72: Line 72:  
     _defense_battle_bg_color = "#81C784",
 
     _defense_battle_bg_color = "#81C784",
 
     _raid_battle_bg_color = "#81C784",
 
     _raid_battle_bg_color = "#81C784",
 +
    _ha_raid_battle_bg_color = "#43A047",
 
     _boss_battle_color = "red",
 
     _boss_battle_color = "red",
 
     _clear_battle_color = "blue",
 
     _clear_battle_color = "blue",
Line 92: Line 93:  
     end
 
     end
 
     if row.tags.raid then
 
     if row.tags.raid then
         bg_color = self._raid_battle_bg_color
+
         bg_color = row.tags.has_lbas_ha_bomber and self._ha_raid_battle_bg_color or self._raid_battle_bg_color
 
     end
 
     end
 
     if row.tags.night then
 
     if row.tags.night then
Line 112: Line 113:  
     if row.tags.clear then
 
     if row.tags.clear then
 
         row.formation = row.formation .. "<br /><div style='font-weight:bold; color:blue;'>(Clear)</div>"
 
         row.formation = row.formation .. "<br /><div style='font-weight:bold; color:blue;'>(Clear)</div>"
 +
    end
 +
    if row.tags.has_lbas_ha_bomber then
 +
        row.formation = row.formation .. '<br /><div class="explain" title="High Altitude Air Raid, 2-3 Rocket Interceptors are recommended">(HA)</div>'
 
     end
 
     end
 
     local color = "initial"
 
     local color = "initial"
Line 175: Line 179:  
       air_string = "<span class='explain' title='LBAS: " .. aslb_string .. "'>" .. as_string .. "</span>"
 
       air_string = "<span class='explain' title='LBAS: " .. aslb_string .. "'>" .. as_string .. "</span>"
 
     end
 
     end
if basexp == 0 then
+
table.insert(self._items, {
table.insert(self._items, {
+
node = node,
node = node,
+
formation = formation,
formation = formation,
+
basexp = basexp ~= 0 and basexp or false,
fleet = fleet,
+
fleet = fleet,
as = air_string,
+
as = air_string,
tags = tags,
+
tags = tags,
})
+
})
else
  −
table.insert(self._items, {
  −
node = node,
  −
formation = formation,
  −
basexp = basexp,
  −
fleet = fleet,
  −
as = air_string,
  −
tags = tags,
  −
})
  −
end
   
end
 
end
 
   
 
   
Line 315: Line 309:  
            local ship_air_power = ship:air_power(tags.raid)
 
            local ship_air_power = ship:air_power(tags.raid)
 
            local ship_air_power_lb = ship:air_power(true)
 
            local ship_air_power_lb = ship:air_power(true)
             
+
 
 +
            if not tags.has_lbas_ha_bomber and ship:has_lbas_ha_bomber() then
 +
                tags.has_lbas_ha_bomber = true
 +
                    end
 +
 
 
            local ship_caption =
 
            local ship_caption =
 
                (ship:name() or "?")
 
                (ship:name() or "?")
cssedit, gkautomate
6,928

edits

Navigation menu