Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix The Light of Meaning adding stats to allocated sockets #8108

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/Modules/ModParser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5387,49 +5387,49 @@ local jewelOtherFuncs = {
end,
["Passive Skills in Radius also grant (%d+)%% increased Global Critical Strike Chance"] = function(num)
return function(node, out, data)
if node and node.type ~= "Keystone" then
if node and node.type ~= "Keystone" and node.type ~= "Socket" then
out:NewMod("CritChance", "INC", tonumber(num), data.modSource)
end
end
end,
["Passive Skills in Radius also grant %+(%d+) to Maximum Life"] = function(num)
return function(node, out, data)
if node and node.type ~= "Keystone" then
if node and node.type ~= "Keystone" and node.type ~= "Socket" then
out:NewMod("Life", "BASE", num, data.modSource)
end
end
end,
["Passive Skills in Radius also grant %+(%d+) to Maximum Mana"] = function(num)
return function(node, out, data)
if node and node.type ~= "Keystone" then
if node and node.type ~= "Keystone" and node.type ~= "Socket" then
out:NewMod("Mana", "BASE", num, data.modSource)
end
end
end,
["Passive Skills in Radius also grant (%d+)%% increased Energy Shield"] = function(num)
return function(node, out, data)
if node and node.type ~= "Keystone" then
if node and node.type ~= "Keystone" and node.type ~= "Socket" then
out:NewMod("EnergyShield", "INC", num, data.modSource)
end
end
end,
["Passive Skills in Radius also grant (%d+)%% increased Armour"] = function(num)
return function(node, out, data)
if node and node.type ~= "Keystone" then
if node and node.type ~= "Keystone" and node.type ~= "Socket" then
out:NewMod("Armour", "INC", num, data.modSource)
end
end
end,
["Passive Skills in Radius also grant (%d+)%% increased Evasion Rating"] = function(num)
return function(node, out, data)
if node and node.type ~= "Keystone" then
if node and node.type ~= "Keystone" and node.type ~= "Socket" then
out:NewMod("Evasion", "INC", num, data.modSource)
end
end
end,
["Passive Skills in Radius also grant %+(%d+) to all Attributes"] = function(num)
return function(node, out, data)
if node and node.type ~= "Keystone" then
if node and node.type ~= "Keystone" and node.type ~= "Socket" then
out:NewMod("Str", "BASE", num, data.modSource)
out:NewMod("Dex", "BASE", num, data.modSource)
out:NewMod("Int", "BASE", num, data.modSource)
Expand All @@ -5439,14 +5439,14 @@ local jewelOtherFuncs = {
end,
["Passive Skills in Radius also grant %+(%d+)%% to Chaos Resistance"] = function(num)
return function(node, out, data)
if node and node.type ~= "Keystone" then
if node and node.type ~= "Keystone" and node.type ~= "Socket" then
out:NewMod("ChaosResist", "BASE", num, data.modSource)
end
end
end,
["Passive Skills in Radius also grant (%d+)%% increased (%w+) Damage"] = function(num, type)
return function(node, out, data)
if node and node.type ~= "Keystone" then
if node and node.type ~= "Keystone" and node.type ~= "Socket" then
out:NewMod(firstToUpper(type).."Damage", "INC", num, data.modSource)
end
end
Expand Down
Loading