Module:Items: Difference between revisions

Fixed bones drop source lists
(Fixed apostrophes not being handled correctly)
(Fixed bones drop source lists)
Line 473: Line 473:
   for i, monster in Shared.skpairs(MonsterData.Monsters) do
   for i, monster in Shared.skpairs(MonsterData.Monsters) do
     local isDrop = false
     local isDrop = false
     if monster.bones == item.id and (monster.lootTable == nil or not monster.isBoss or Shared.contains(item.name, "Shard")) then
     if monster.bones == item.id and ((monster.lootTable ~= nil and not monster.isBoss) or Shared.contains(item.name, "Shard")) then
       isDrop = true
       isDrop = true
     elseif monster.lootTable ~= nil then
     elseif monster.lootTable ~= nil then