Module:Constants: Difference between revisions

added a check to hopefully help me debug a thing
(Added new summoning synergy modifiers)
(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