Anonymous

Module:Items: Difference between revisions

From Melvor Idle
Added double loot chance items category
(Added new Passive Items category)
(Added double loot chance items category)
Line 253: Line 253:
   if item.hasSpecialAttack then result = result..'[[Category:Items With Special Attacks]]' end
   if item.hasSpecialAttack then result = result..'[[Category:Items With Special Attacks]]' end
   if item.isPassiveItem then result = result..'[[Category:Passive Items]]' end
   if item.isPassiveItem then result = result..'[[Category:Passive Items]]' end
  if item.chanceToDoubleLoot ~= nil and item.chanceToDoubleLoot > 0 then result = result..'[[Category:Double Loot Chance Items]]' end
   return result
   return result
end
end