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
6528
+
modList[1].value.mod.source = data.modSource
6529
+
end
6527
6530
out:AddMod(modList[1])
6528
6531
end
6529
6532
end
6530
6533
end
6531
6534
end,
6532
-
["conquered (%w+) Passive Skills also grant (.*)$"] = function(type, mod)
6535
+
["conquered (%w+) Passive Skills also grant (.*)$"] = function(passiveType, mod)
6533
6536
return function(node, out, data)
6534
-
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
6537
+
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
6535
6538
local modList, line = parseMod(mod)
6536
6539
if not line and modList[1] then -- something failed to parse, do not add to list
0 commit comments