Module:Enemy List: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(No quest enemies)
(Remove quest monsters instead of only keeping them)
Line 2: Line 2:
local yesno = require('Module:Yesno')
local yesno = require('Module:Yesno')
local album_xp_data = require('Module:Experience/data').album
local album_xp_data = require('Module:Experience/data').album
local Array = require('Module:Array')


local p = {}
local p = {}
Line 77: Line 78:
('[[Profession A::%s]]'):format(profession),
('[[Profession A::%s]]'):format(profession),
('[[Passive::%s]]'):format(passive and 'true' or 'false'),
('[[Passive::%s]]'):format(passive and 'true' or 'false'),
'[[Quest::!]]',
'?Image#70px;x70px',
'?Image#70px;x70px',
'?Unlock level',
'?Unlock level',
Line 87: Line 87:
'?Location JSON',
'?Location JSON',
'?Experience',
'?Experience',
'?Quest',
'sort=Profession Level A',
'sort=Profession Level A',
'order=asc'
'order=asc'
}
}

data = Array.filter(data, function(monster)
return monster.Quest == nil
end)


for _, monster in ipairs(data) do
for _, monster in ipairs(data) do