4,951
edits
Falterfire (talk | contribs) (Added new summoning synergy modifiers) |
Falterfire (talk | contribs) (added a check to hopefully help me debug a thing) |
||
Line 459: | Line 459: | ||
local baseName = p.getModifierDetails(modifier) | local baseName = p.getModifierDetails(modifier) | ||
if modifierTypes[baseName] == nil then | |||
return { 'ERROR: Modifier '..modifier..' has invalid base name '..baseName } | |||
end | |||
if modifierTypes[baseName].skills ~= nil then | if modifierTypes[baseName].skills ~= nil then | ||
for i, skillName in Shared.skpairs(modifierTypes[baseName].skills) do | for i, skillName in Shared.skpairs(modifierTypes[baseName].skills) do |