Anonymous

Module:Magic: Difference between revisions

From Melvor Idle
Okay for real this should be a fix for standard magic spell linking
(Update for v1.0.3)
(Okay for real this should be a fix for standard magic spell linking)
(One intermediate revision by the same user not shown)
Line 325: Line 325:
function p.getSpellTypeLink(type)
function p.getSpellTypeLink(type)
if type == 'Spells' then
if type == 'Spells' then
return Icons.Icon({'Magic', 'Standard', img='Standard', type='spellType'})
return Icons.Icon({'Standard Magic', 'Standard', img='Standard', type='spellType'})
elseif type == 'Curses' then
elseif type == 'Curses' then
return Icons.Icon({'Curses', 'Curse', img='Curse', type='spellType'})
return Icons.Icon({'Curses', 'Curse', img='Curse', type='spellType'})