Module:Items/UseTables: Difference between revisions

Fixed use list for Shards to also check for the Summoning category
(whoops followup fix)
(Fixed use list for Shards to also check for the Summoning category)
Line 230: Line 230:
   end
   end
   --Summoning
   --Summoning
   if canSummon or item.type == 'Shard' or item.type == 'Familiar' or Shared.contains(itemUseArray.Summoning, item.name) then
   if canSummon or (item.type == 'Shard' and item.category == 'Summoning') or item.type == 'Familiar' or Shared.contains(itemUseArray.Summoning, item.name) then
     table.insert(useArray, chr..Icons.Icon({'Summoning', type='skill'}))
     table.insert(useArray, chr..Icons.Icon({'Summoning', type='skill'}))
   end
   end