Anonymous

Module:Magic: Difference between revisions

From Melvor Idle
Okay for real this should be a fix for standard magic spell linking
(let's see if this breaks things)
(Okay for real this should be a fix for standard magic spell linking)
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 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'})