17,101
edits
(Add TotH icon to tables) |
(Use printError function) |
||
Line 173: | Line 173: | ||
local familiarItem = Items.getItem(famName) | local familiarItem = Items.getItem(famName) | ||
if familiarItem == nil then | if familiarItem == nil then | ||
return ' | return Shared.printError('Not a valid familiar') | ||
else | else | ||
for i, recipe in ipairs(SkillData.Summoning.recipes) do | for i, recipe in ipairs(SkillData.Summoning.recipes) do | ||
Line 182: | Line 182: | ||
end | end | ||
if familiarID == nil then | if familiarID == nil then | ||
return ' | return Shared.printError('Not a valid familiar') | ||
else | else | ||
return p._getSynergyTable(familiarID) | return p._getSynergyTable(familiarID) |