Module:Items: Difference between revisions

Fixed dungeon monsters showing up in drop source lists
(Hopefully fixed issue with prayer point text not showing up correctly)
(Fixed dungeon monsters showing up in drop source lists)
Line 461: Line 461:
   local killStr = ''
   local killStr = ''
   local count1 = 0
   local count1 = 0
   for i, monster in pairs(MonsterData.Monsters) do
   for i, monster in Shared.skpairs(MonsterData.Monsters) do
     local isDrop = false
     local isDrop = false
     if monster.bones == item.id then
     if monster.bones == item.id and (monster.lootTable == nil or not monster.isBoss or Shared.contains(item.name, "Shard")) then
       isDrop = true
       isDrop = true
     elseif monster.lootTable ~= nil then
     elseif monster.lootTable ~= nil then