Module:Items/SourceTables: Difference between revisions

m
Fix logic error
(Use Monsters.getMonsterBones to centralise bone drop logic)
m (Fix logic error)
Line 340: Line 340:
         end
         end
       end
       end
  if isDrop and not isBones then
  if isDrop then
  if Monsters._isDungeonOnlyMonster(monster) then
  if not isBones and Monsters._isDungeonOnlyMonster(monster) then
  -- For dungeon exclusive monsters, loot is only rolled when they are the last
  -- For dungeon exclusive monsters, loot is only rolled when they are the last
  -- monster within that dungeon (unless it is a shard)
  -- monster within that dungeon (unless it is a shard)