Anonymous

Module:Skills/Summoning: Difference between revisions

From Melvor Idle
summons -> summonIDs to match game data
(Update for v1.1)
(summons -> summonIDs to match game data)
Line 211: Line 211:
local synSkills = Constants.getModifierSkills(syn.modifiers)
local synSkills = Constants.getModifierSkills(syn.modifiers)
if Shared.contains(synSkills, skill) then
if Shared.contains(synSkills, skill) then
local FamName1 = famNames[syn.summons[1]] or 'Unknown'
local FamName1 = famNames[syn.summonIDs[1]] or 'Unknown'
local FamName2 = famNames[syn.summons[2]] or 'Unknown'
local FamName2 = famNames[syn.summonIDs[2]] or 'Unknown'
local synDesc = syn.customDescription
local synDesc = syn.customDescription
if synDesc == nil then
if synDesc == nil then