Module:Enemy List: Difference between revisions

Commas
(Filter out training dummy)
(Commas)
 
Line 3:
local album_xp_data = require('Module:Experience/data').album
local Array = require('Module:Array')
local lang = mw.language.getContentLanguage()
 
local function formatNum(n)
if n == nil then
return ''
end
return lang:formatNum(n)
end
 
local p = {}
Line 51 ⟶ 59:
:tag('td'):wikitext(monster['Unlock level']):done()
:tag('td'):wikitext(monster['Profession Level A']):done()
:tag('td'):wikitext(formatNum(monster.Health)):done()
:tag('td'):wikitext(format_attack_style(monster['Attack style'])):done()
:tag('td'):wikitext(format_attack_style(monster['Immune to'])):done()
Line 62 ⟶ 70:
row
:tag('td'):wikitext(table.concat(location_text, ', ')):done()
:tag('td'):wikitext(formatNum(monster.Experience)):done()
:tag('td'):wikitext(formatNum(monster['Album XP'])):done()
end
 
411

edits