La documentation pour ce module peut être créée à Module:Weakness clickpic/data/doc
local weaknesses = {
-- Magic weaknesses
['magic'] = { image = 'Magic weakness icon.png', link = 'Magic', category = 'Weak to magic attacks'},
['air'] = { image = 'Air weakness icon.png', link = 'Air spells', category = 'Weak to air spells'},
['water'] = { image = 'Water weakness icon.png', link = 'Water spells', category = 'Weak to water spells'},
['earth'] = { image = 'Earth weakness icon.png', link = 'Earth spells', category = 'Weak to earth spells'},
['fire'] = { image = 'Fire weakness icon.png', link = 'Fire spells', category = 'Weak to fire spells'},
['ancients'] = { image = 'Ice Barrage.png', link = 'Ancient Magicks'},
-- Melee weaknesses
['melee'] = { image = 'Melee weakness icon.png', link = 'Melee', category = 'Weak to melee attacks'},
['crush'] = { image = 'Crush weakness icon.png', link = 'Crush weapons', text = 'Crush', category = 'Weak to crush attacks'},
['crushing'] = { image = 'Crush weakness icon.png', link = 'Crush weapons', text = 'Crush', category = 'Weak to crush attacks'},
['slash'] = { image = 'Slash weakness icon.png', link = 'Slash weapons', text = 'Slash', category = 'Weak to slash attacks'},
['slashing'] = { image = 'Slash weakness icon.png', link = 'Slash weapons', text = 'Slash', category = 'Weak to slash attacks'},
['stab'] = { image = 'Stab weakness icon.png', link = 'Stab weapons', text = 'Stab', category = 'Weak to stab attacks'},
['stabbing'] = { image = 'Stab weakness icon.png', link = 'Stab weapons', text = 'Stab', category = 'Weak to stab attacks'},
-- Ranged weaknesses
['range'] = { image = 'Ranged weakness icon.png', link = 'Ranged weapons', text = 'Ranged', category = 'Weak to ranged attacks'},
['ranged'] = { image = 'Ranged weakness icon.png', link = 'Ranged weapons', text = 'Ranged', category = 'Weak to ranged attacks'},
['arrow'] = { image = 'Arrow weakness icon.png', link = 'Arrows', category = 'Weak to arrows'},
['arrows'] = { image = 'Arrow weakness icon.png', link = 'Arrows', category = 'Weak to arrows'},
['bolt'] = { image = 'Bolt weakness icon.png', link = 'Bolts', category = 'Weak to bolts'},
['bolts'] = { image = 'Bolt weakness icon.png', link = 'Bolts', category = 'Weak to bolts'},
['thrown'] = { image = 'Thrown weakness icon.png', link = 'Thrown weapons', text = 'Thrown', category = 'Weak to thrown weapons'},
['throwing'] = { image = 'Thrown weakness icon.png', link = 'Thrown weapons', text = 'Thrown', category = 'Weak to thrown weapons'},
-- Specific weapons
['silverlight'] = { image = 'Silverlight.png', link = 'Silverlight'},
['darklight'] = { image = 'Silverlight.png', link = 'Silverlight'},
['holy'] = { image = 'Holy water.png', link = 'Holy water'},
['blisterwood'] = { image = 'Blisterwood staff.png', link = 'Blisterwood'},
['bane'] = { image = 'Tune Bane Ore icon.png', link = 'Bane ammunition', text = 'Bane'},
['keris'] = { image = 'Keris.png', link = 'Keris'},
['balmung'] = { image = 'Balmung.png', link = 'Balmung'},
['brutal'] = { image = 'Steel brutal 2.png', link = 'Brutal arrows'},
-- Misc weaknesses
['salve'] = { image = 'Salve amulet.png', link = 'Salve amulet', category = 'Weak to salve amulet' },
['nothing'] = { image = 'Zero weakness icon.png', link = 'No weakness', text = 'Nothing', category = 'Weak to nothing'},
['none'] = { image = 'Zero weakness icon.png', link = 'No weakness', text = 'Nothing', category = 'Weak to nothing'}
}
return weaknesses