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
Copy file name to clipboardExpand all lines: src/Modules/ModParser.lua
+13-11Lines changed: 13 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -5619,23 +5619,25 @@ local jewelOtherFuncs = {
5619
5619
["Increases and Reductions to Physical Damage in Radius are Transformed to apply to Cold Damage"] = getSimpleConv({ "PhysicalDamage" }, "ColdDamage", "INC", true),
5620
5620
["Increases and Reductions to Cold Damage in Radius are Transformed to apply to Physical Damage"] = getSimpleConv({ "ColdDamage" }, "PhysicalDamage", "INC", true),
5621
5621
["Increases and Reductions to other Damage Types in Radius are Transformed to apply to Fire Damage"] = getSimpleConv({ "PhysicalDamage","ColdDamage","LightningDamage","ChaosDamage","ElementalDamage" }, "FireDamage", "INC", true),
5622
-
["Passives granting Lightning Resistance or all Elemental Resistances in Radius also grant Chance to Block Spells at 35% of its value"] = getSimpleConv({ "LightningResist","ElementalResist" }, "SpellBlockChance", "BASE", false, 0.35),
5623
-
["Passives granting Lightning Resistance or all Elemental Resistances in Radius also grant Chance to Block Spell Damage at 35% of its value"] = getSimpleConv({ "LightningResist","ElementalResist" }, "SpellBlockChance", "BASE", false, 0.35),
5624
-
["Passives granting Lightning Resistance or all Elemental Resistances in Radius also grant Chance to Block Spell Damage at 50% of its value"] = getSimpleConv({ "LightningResist","ElementalResist" }, "SpellBlockChance", "BASE", false, 0.5),
5622
+
["Passives granting Lightning Resistance or all Elemental Resistances in Radius also grant Chance to Block Spells at 35% of its value"] = getSimpleConv({ "LightningResist","ElementalResist", "TotemLightningResist" }, "SpellBlockChance", "BASE", false, 0.35),
5623
+
["Passives granting Lightning Resistance or all Elemental Resistances in Radius also grant Chance to Block Spell Damage at (%d+)%% of its value"] = function(num)
["Passives granting Lightning Resistance or all Elemental Resistances in Radius also grant increased Maximum Energy Shield at 100% of its value"] = getSimpleConv({ "LightningResist","ElementalResist" }, "EnergyShield", "INC", false, 1.0, "BASE"),
5626
-
["Passives granting Lightning Resistance or all Elemental Resistances in Radius also grant Lightning Damage converted to Chaos Damage at 100% of its value"] = getSimpleConv({ "LightningResist","ElementalResist" }, "LightningDamageConvertToChaos", "BASE", false, 1.0),
5627
+
["Passives granting Lightning Resistance or all Elemental Resistances in Radius also grant Lightning Damage converted to Chaos Damage at 100% of its value"] = getSimpleConv({ "LightningResist","ElementalResist", "TotemLightningResist", "TotemElementalResist" }, "LightningDamageConvertToChaos", "BASE", false, 1.0),
5627
5628
["Passives granting Cold Resistance or all Elemental Resistances in Radius also grant Chance to Dodge Attacks at 35% of its value"] = getSimpleConv({ "ColdResist","ElementalResist" }, "AttackDodgeChance", "BASE", false, 0.35),
5628
5629
["Passives granting Cold Resistance or all Elemental Resistances in Radius also grant Chance to Dodge Attack Hits at 35% of its value"] = getSimpleConv({ "ColdResist","ElementalResist" }, "AttackDodgeChance", "BASE", false, 0.35),
5629
-
["Passives granting Cold Resistance or all Elemental Resistances in Radius also grant Chance to Suppress Spell Damage at 35% of its value"] = getSimpleConv({ "ColdResist","ElementalResist" }, "SpellSuppressionChance", "BASE", false, 0.35),
5630
-
["Passives granting Cold Resistance or all Elemental Resistances in Radius also grant Chance to Suppress Spell Damage at 50% of its value"] = getSimpleConv({ "ColdResist","ElementalResist"}, "SpellSuppressionChance", "BASE", false, 0.5),
5631
-
["Passives granting Cold Resistance or all Elemental Resistances in Radius also grant Chance to Suppress Spell Damage at 70% of its value"] = getSimpleConv({ "ColdResist","ElementalResist" }, "SpellSuppressionChance", "BASE", false, 0.7),
5630
+
["Passives granting Cold Resistance or all Elemental Resistances in Radius also grant Chance to Suppress Spell Damage at (%d+)%% of its value"] = function(num)
["Passives granting Cold Resistance or all Elemental Resistances in Radius also grant increased Maximum Mana at 100% of its value"] = getSimpleConv({ "ColdResist","ElementalResist" }, "Mana", "INC", false, 1.0, "BASE"),
5633
-
["Passives granting Cold Resistance or all Elemental Resistances in Radius also grant Cold Damage converted to Chaos Damage at 100% of its value"] = getSimpleConv({ "ColdResist","ElementalResist" }, "ColdDamageConvertToChaos", "BASE", false, 1.0),
5634
-
["Passives granting Fire Resistance or all Elemental Resistances in Radius also grant Chance to Block Attack Damage at 35% of its value"] = getSimpleConv({ "FireResist","ElementalResist" }, "BlockChance", "BASE", false, 0.35),
5635
-
["Passives granting Fire Resistance or all Elemental Resistances in Radius also grant Chance to Block Attack Damage at 50% of its value"] = getSimpleConv({ "FireResist","ElementalResist" }, "BlockChance", "BASE", false, 0.5),
5634
+
["Passives granting Cold Resistance or all Elemental Resistances in Radius also grant Cold Damage converted to Chaos Damage at 100% of its value"] = getSimpleConv({ "ColdResist","ElementalResist", "TotemColdResist", "TotemElementalResist" }, "ColdDamageConvertToChaos", "BASE", false, 1.0),
5635
+
["Passives granting Fire Resistance or all Elemental Resistances in Radius also grant Chance to Block Attack Damage at (%d+)%% of its value"] = function(num)
["Passives granting Fire Resistance or all Elemental Resistances in Radius also grant Chance to Block at 35% of its value"] = getSimpleConv({ "FireResist","ElementalResist" }, "BlockChance", "BASE", false, 0.35),
5637
5639
["Passives granting Fire Resistance or all Elemental Resistances in Radius also grant increased Maximum Life at 75% of its value"] = getSimpleConv({ "FireResist","ElementalResist" }, "Life", "INC", false, 0.75, "BASE"),
5638
-
["Passives granting Fire Resistance or all Elemental Resistances in Radius also grant Fire Damage converted to Chaos Damage at 100% of its value"] = getSimpleConv({ "FireResist","ElementalResist" }, "FireDamageConvertToChaos", "BASE", false, 1.0),
5640
+
["Passives granting Fire Resistance or all Elemental Resistances in Radius also grant Fire Damage converted to Chaos Damage at 100% of its value"] = getSimpleConv({ "FireResist","ElementalResist", "TotemFireResist", "TotemElementalResist" }, "FireDamageConvertToChaos", "BASE", false, 1.0),
5639
5641
["Melee and Melee Weapon Type modifiers in Radius are Transformed to Bow Modifiers"] = function(node, out, data)
5640
5642
if node then
5641
5643
local mask1 = bor(ModFlag.Axe, ModFlag.Claw, ModFlag.Dagger, ModFlag.Mace, ModFlag.Staff, ModFlag.Sword, ModFlag.Melee)
0 commit comments