• 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
Make node exp red for boss nodes
Line 106: Line 106:  
   
 
   
 
function NodeInfo:basexp(row)
 
function NodeInfo:basexp(row)
return { values = { basexp = row.basexp } }
+
    color = "initial"
 +
    if row.tags.boss then
 +
        color = self._boss_battle_color
 +
    end
 +
return { values = { basexp = row.basexp }, color = color }
 
end
 
end
 
   
 
   
Line 511: Line 515:  
   
 
   
 
U.registerTableTests(NodeInfo, {
 
U.registerTableTests(NodeInfo, {
     { "A", "Boss", "Line Ahead", "Northern Princess" }
+
     { "A", "Boss-BaseEXP", "Line Ahead", "Northern Princess" }
 
})
 
})
 
-- p.run_table_tests()
 
-- p.run_table_tests()
 
   
 
   
 
return NodeInfo
 
return NodeInfo

Navigation menu