Line 38: |
Line 38: |
| _night_battle_bg_color = "lightblue", -- #BBDEFB | | _night_battle_bg_color = "lightblue", -- #BBDEFB |
| _aerial_battle_bg_color = "lightgreen", -- #C8E6C9 | | _aerial_battle_bg_color = "lightgreen", -- #C8E6C9 |
− | _dogfight_battle_bg_color = "#81C784", | + | _defense_battle_bg_color = "#81C784", |
| + | _raid_battle_bg_color = "#81C784", |
| _boss_battle_color = "red", | | _boss_battle_color = "red", |
| --_resource_node_bg_color = "lightgreen", | | --_resource_node_bg_color = "lightgreen", |
Line 53: |
Line 54: |
| if row.tags.aerial then | | if row.tags.aerial then |
| bg_color = self._aerial_battle_bg_color | | bg_color = self._aerial_battle_bg_color |
| + | end |
| + | if row.tags.defense then |
| + | bg_color = self._defense_battle_bg_color |
| end | | end |
| if row.tags.dogfight then | | if row.tags.dogfight then |
− | bg_color = self._dogfight_battle_bg_color | + | bg_color = self._defense_battle_bg_color |
| + | end |
| + | if row.tags.raid then |
| + | bg_color = self._raid_battle_bg_color |
| end | | end |
| if row.tags.night then | | if row.tags.night then |
Line 196: |
Line 203: |
| table.insert(fleet, ShipBattleCardKai:get{ship = ship, caption = ship_caption, link = ship:link(), flagship = #fleet == 0}) | | table.insert(fleet, ShipBattleCardKai:get{ship = ship, caption = ship_caption, link = ship:link(), flagship = #fleet == 0}) |
| | | |
− | local ship_air_power = ship:air_power() | + | local ship_air_power = ship:air_power(tags.raid) |
| if ship_air_power then | | if ship_air_power then |
| as_rating = as_rating + ship_air_power | | as_rating = as_rating + ship_air_power |