Changes

Undo revision 1023636 by Alephnaught27 (talk)
Line 137: Line 137:  
         or (air_parity .. "/" .. air_superiority .. "/" .. air_supremacy)
 
         or (air_parity .. "/" .. air_superiority .. "/" .. air_supremacy)
 
--]=]
 
--]=]
    mw.log("Row inserted");
   
     local air_denial_string = "?"
 
     local air_denial_string = "?"
 
     local air_parity_string = "?"
 
     local air_parity_string = "?"
Line 153: Line 152:  
     end
 
     end
 
     local air_string = air_denial_string .. "/" .. air_parity_string .. "<br>" .. air_superiority_string .. "/" .. air_supremacy_string
 
     local air_string = air_denial_string .. "/" .. air_parity_string .. "<br>" .. air_superiority_string .. "/" .. air_supremacy_string
   
   
if basexp == 0 then
 
if basexp == 0 then
 
table.insert(self._items, {
 
table.insert(self._items, {
Line 263: Line 261:  
if mode == 6 and self._is_basexp then
 
if mode == 6 and self._is_basexp then
 
basexp = item_key
 
basexp = item_key
mode = 7
   
else
 
else
 
--Fleets are of variable size, so we append onto a string until we hit the next node declaration
 
--Fleets are of variable size, so we append onto a string until we hit the next node declaration
Line 296: Line 293:  
else
 
else
 
as_complete = false
 
as_complete = false
 +
end
 +
if mode == 6 then
 +
-- only check for the base node experience once
 +
mode = 7
 
end
 
end
 
end
 
end
Line 447: Line 448:  
        bg_color = "initial"
 
        bg_color = "initial"
 
    end
 
    end
   
   
if self._is_basexp then
 
if self._is_basexp then
 
for _, column in ipairs(self._columns_basexp) do
 
for _, column in ipairs(self._columns_basexp) do
Line 457: Line 457:  
end
 
end
 
end
 
end
        else
+
else
 
for _, column in ipairs(self._columns) do
 
for _, column in ipairs(self._columns) do
 
if row_values[column] then
 
if row_values[column] then
Line 511: Line 511:  
   
 
   
 
U.registerTableTests(NodeInfo, {
 
U.registerTableTests(NodeInfo, {
     { "A", "Boss_BaseEXP", "Line Ahead", "Northern Princess" }
+
     { "A", "Boss", "Line Ahead", "Northern Princess" }
 
})
 
})
 
-- p.run_table_tests()
 
-- p.run_table_tests()
 
   
 
   
 
return NodeInfo
 
return NodeInfo