Changes

m
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",
+
     -- _ha_raid_battle_bg_color = "#43A047",
 
     _boss_battle_color = "red",
 
     _boss_battle_color = "red",
 
     _clear_battle_color = "blue",
 
     _clear_battle_color = "blue",
Line 93: Line 93:  
     end
 
     end
 
     if row.tags.raid then
 
     if row.tags.raid then
         bg_color = row.tags.has_lbas_ha_bomber and self._ha_raid_battle_bg_color or self._raid_battle_bg_color
+
         bg_color = self._raid_battle_bg_color
 
     end
 
     end
 
     if row.tags.night then
 
     if row.tags.night then
Line 120: Line 120:  
         values = { formation = row.formation },
 
         values = { formation = row.formation },
 
         color = row.tags.boss and self._boss_battle_color or 'initial',
 
         color = row.tags.boss and self._boss_battle_color or 'initial',
         bg_color = row.tags.has_lbas_ha_bomber and self._ha_raid_battle_bg_color or 'initial',
+
         -- bg_color = row.tags.has_lbas_ha_bomber and self._ha_raid_battle_bg_color or 'initial',
 
     }
 
     }
 
end
 
end
 
   
 
   
 
function NodeInfo:basexp(row)
 
function NodeInfo:basexp(row)
     color = "initial"
+
     return {
    if row.tags.boss then
+
         values = { basexp = row.basexp },
         color = self._boss_battle_color
+
        color = row.tags.boss and self._boss_battle_color or 'initial',
    end
+
    }
    return { values = { basexp = row.basexp }, color = color }
   
end
 
end
 
   
 
   
Line 135: Line 134:  
     return {
 
     return {
 
         values = { fleet = row.fleet },
 
         values = { fleet = row.fleet },
         bg_color = row.tags.has_lbas_ha_bomber and self._ha_raid_battle_bg_color or 'initial',
+
         -- bg_color = row.tags.has_lbas_ha_bomber and self._ha_raid_battle_bg_color or 'initial',
 
     }
 
     }
 
end
 
end
Line 165: Line 164:  
         values = { as = row.as },
 
         values = { as = row.as },
 
         color = row.tags.boss and self._boss_battle_color or 'initial',
 
         color = row.tags.boss and self._boss_battle_color or 'initial',
         bg_color = row.tags.has_lbas_ha_bomber and self._ha_raid_battle_bg_color or 'initial',
+
         -- bg_color = row.tags.has_lbas_ha_bomber and self._ha_raid_battle_bg_color or 'initial',
 
     }
 
     }
 
end
 
end
cssedit, gkautomate
7,064

edits