• 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
no edit summary
Line 106: Line 106:  
end
 
end
   −
function Ship:get_module(name)
+
function Ship:get_module(name, isEnemy)
 
   if name == nil then
 
   if name == nil then
 
     return nil
 
     return nil
Line 112: Line 112:  
     name = self:process_ship_key(name)
 
     name = self:process_ship_key(name)
 
   end
 
   end
   return mw.ustring.format('Module:%s', name)
+
   if name:sub(1, 5) == 'Vita:' and isEnemy then
 +
    return string.format('Module:Data/Enemy/%s', name)
 +
  else
 +
    return string.format('Module:%s', name)
 +
  end
 
end
 
end
  
cssedit, gkautomate
7,064

edits

Navigation menu