You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if type(modList[1].value) == "table" and modList[1].value.mod then
6541
+
modList[1].value.mod.source = data.modSource
6542
+
end
6540
6543
out:AddMod(modList[1])
6541
6544
end
6542
6545
end
6543
6546
end
6544
6547
end,
6545
-
["conquered (%w+) Passive Skills also grant (.*)$"] = function(type, mod)
6548
+
["conquered (%w+) Passive Skills also grant (.*)$"] = function(passiveType, mod)
6546
6549
return function(node, out, data)
6547
-
if node and (node.type == firstToUpper(type) or (node.type == "Normal" and not node.isAttribute and firstToUpper(type) == "Small") or (node.type == "Normal" and node.isAttribute and firstToUpper(type) == "Attribute")) then
6550
+
if node and (node.type == firstToUpper(passiveType) or (node.type == "Normal" and not node.isAttribute and firstToUpper(passiveType) == "Small") or (node.type == "Normal" and node.isAttribute and firstToUpper(passiveType) == "Attribute")) then
6548
6551
local modList, line = parseMod(mod)
6549
6552
if not line and modList[1] then -- something failed to parse, do not add to list
0 commit comments