Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NodeInfo
(view source)
Revision as of 01:50, 1 July 2018
119 bytes added
,
6 years ago
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
Alephnaught27
4
edits