4,951
edits
Falterfire (talk | contribs) (Attempting to fix issue with # link not working properly, also fixed runesRequiredAlt showing even if identical) |
Falterfire (talk | contribs) (Tweaking links for magic types again) |
||
Line 238: | Line 238: | ||
function p.getSpellTypeLink(type) | function p.getSpellTypeLink(type) | ||
if type == 'Spells' then | if type == 'Spells' then | ||
return Icons.Icon({' | return Icons.Icon({'Magic', 'Standard', img='Standard', type='spellType'}) | ||
elseif type == 'Curses' then | elseif type == 'Curses' then | ||
return Icons.Icon({' | return Icons.Icon({'Curses', 'Curse', img='Curse', type='spellType'}) | ||
elseif type == 'Auroras' then | elseif type == 'Auroras' then | ||
return Icons.Icon({' | return Icons.Icon({'Auroras', 'Aurora', img='Aurora', type='spellType'}) | ||
elseif type == 'Ancient' then | elseif type == 'Ancient' then | ||
return Icons.Icon({' | return Icons.Icon({'Ancient Magicks', 'Ancient', img='Ancient', type='spellType'}) | ||
elseif type == 'AltMagic' then | elseif type == 'AltMagic' then | ||
return Icons.Icon({'Alt. Magic', type='skill'}) | return Icons.Icon({'Alt. Magic', type='skill'}) |