Module:Enemy List: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Use unlock profession instead)
(Don't need to filter out training dummy / quest monsters anymore (they now have unlock_level = N/A so don't have an Property:Unlock profession since they aren't unlocked))
Line 133: Line 133:
'?Location JSON',
'?Location JSON',
'?Experience',
'?Experience',
'?Quest',
'?Name',
'?Name',
'?Knowledge',
'?Knowledge',
Line 145: Line 144:


data = Array.filter(data, function(monster)
data = Array.filter(data, function(monster)
return monster.Quest == nil and monster[1] ~= '[[:Training Dummy|Training Dummy]]' and ( monster['Version default'] or not(monster['Version anchor'] or false) )
return monster['Version default'] or not(monster['Version anchor'] or false)
end)
end)