Changes

m
no edit summary
Line 15: Line 15:  
         formation = [[| style="text-align: center; background-color: ${bg_color}; color: ${color};" |${values.formation}]],
 
         formation = [[| style="text-align: center; background-color: ${bg_color}; color: ${color};" |${values.formation}]],
 
         fleet = [[| style="width: 500px; background-color: ${bg_color};" |${values.fleet}]],
 
         fleet = [[| style="width: 500px; background-color: ${bg_color};" |${values.fleet}]],
         as = [[| style="text-align: center; background-color: ${bg_color};" |${values.as}]],
+
         as = [[| style="text-align: center; background-color: ${bg_color}; color: ${color};" |${values.as}]],
 
     },
 
     },
 
     _empty_node_template = [[| style="text-align: center;" |${values.node}
 
     _empty_node_template = [[| style="text-align: center;" |${values.node}
Line 55: Line 55:  
     end
 
     end
 
     local color = "initial"
 
     local color = "initial"
     if row.time == "Night" then
+
     if row.boss then
         color = self._night_battle_color
+
         color = self._boss_battle_color
 
     end
 
     end
 
     return { values = { formation = row.formation }, color = color }
 
     return { values = { formation = row.formation }, color = color }
Line 66: Line 66:     
function NodeInfo:as(row)
 
function NodeInfo:as(row)
     return { values = { as = row.as } }
+
    color = "initial"
 +
    if row.boss then
 +
        color = self._boss_battle_color
 +
    end
 +
     return { values = { as = row.as }, color = color }
 
end
 
end
  
48

edits