24,172
edits
Mistiryshak (talk | contribs) mNo edit summary |
Mistiryshak (talk | contribs) mNo edit summary |
||
Line 51: | Line 51: | ||
if iconPage.exists == true then | if iconPage.exists == true then | ||
getIcon = require('Module:Data/Icon/dx2') | getIcon = require('Module:Data/Icon/dx2') | ||
if getIcon.icon[attribute] then -- Check if attribute is set in skill data | if input ~= '—' and activeSkill ~= '' and getIcon.icon[activeSkill] then | ||
nameattribute = getIcon.icon[activeSkill] .. ' ' .. name .. namenote -- Set icon | |||
elseif getIcon.icon[attribute] then -- Check if attribute is set in skill data | |||
nameattribute = getIcon.icon[attribute] .. ' ' .. name .. namenote -- Set icon | nameattribute = getIcon.icon[attribute] .. ' ' .. name .. namenote -- Set icon | ||
else | else |