Module:Enemy List: Difference between revisions

114 bytes added ,  Yesterday at 12:20
Remove quest monsters instead of only keeping them
(No quest enemies)
(Remove quest monsters instead of only keeping them)
Line 2:
local yesno = require('Module:Yesno')
local album_xp_data = require('Module:Experience/data').album
local Array = require('Module:Array')
 
local p = {}
Line 77 ⟶ 78:
('[[Profession A::%s]]'):format(profession),
('[[Passive::%s]]'):format(passive and 'true' or 'false'),
'[[Quest::!]]',
'?Image#70px;x70px',
'?Unlock level',
Line 87:
'?Location JSON',
'?Experience',
'[[?Quest::!]]',
'sort=Profession Level A',
'order=asc'
}
 
data = Array.filter(data, function(monster)
return monster.Quest == nil
end)
 
for _, monster in ipairs(data) do
411

edits