Skip to content

Commit 0928e81

Browse files
author
LocalIdentity
committed
Fix parsing for new command of the pit
Fixes #9191
1 parent ee442e5 commit 0928e81

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Data/ModCache.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12266,8 +12266,7 @@ c["With 5 Corrupted Items Equipped: 50% of Chaos Damage does not bypass Energy S
1226612266
c["With 5 Corrupted Items Equipped: 50% of Chaos Damage does not bypass Energy Shield and 50% of Physical Damage bypasses Energy Shield Corrupted"]={nil,"With 5 Corrupted Items Equipped: 50% of Chaos Damage does not bypass Energy Shield and 50% of Physical Damage bypasses Energy Shield Corrupted "}
1226712267
c["With 5 Corrupted Items Equipped: Life Leech recovers based on your Chaos Damage instead"]={{[1]={[1]={threshold=5,type="MultiplierThreshold",var="CorruptedItem"},flags=0,keywordFlags=0,name="LifeLeechBasedOnChaosDamage",type="FLAG",value=true}},nil}
1226812268
c["With a Ghastly Eye Jewel Socketed, Minions have +1000 to Accuracy Rating"]={{[1]={[1]={type="Condition",var="HaveGhastlyEyeJewelIn{SlotName}"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="Accuracy",type="BASE",value=1000}}}},nil}
12269-
c["With a Ghastly Eye Jewel Socketed, Minions have 25% chance to gain Unholy Might on Hit with Spells"]={nil,"With a Ghastly Eye Jewel Socketed, Minions have 25% chance to gain Unholy Might on Hit with Spells "}
12270-
c["With a Ghastly Eye Jewel Socketed, Minions have 25% chance to gain Unholy Might on Hit with Spells With a Hypnotic Eye Jewel Socketed, gain Arcane Surge on Hit with Spells"]={nil,"With a Ghastly Eye Jewel Socketed, Minions have 25% chance to gain Unholy Might on Hit with Spells With a Hypnotic Eye Jewel Socketed, gain Arcane Surge on Hit with Spells "}
12269+
c["With a Ghastly Eye Jewel Socketed, Minions have 25% chance to gain Unholy Might on Hit with Spells"]={{[1]={[1]={type="Condition",var="HaveGhastlyEyeJewelIn{SlotName}"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={[1]={type="Condition",var="HitSpellRecently"},flags=0,keywordFlags=0,name="Condition:UnholyMight",type="FLAG",value=true}}}},nil}
1227112270
c["With a Hypnotic Eye Jewel Socketed, gain Arcane Surge on Hit with Spells"]={{[1]={[1]={type="Condition",var="HitSpellRecently"},[2]={type="Condition",var="HaveHypnoticEyeJewelIn{SlotName}"},flags=0,keywordFlags=0,name="Condition:ArcaneSurge",type="FLAG",value=true}},nil}
1227212271
c["With a Murderous Eye Jewel Socketed, Intimidate Enemies for 4 seconds on Hit with Attacks"]={{[1]={[1]={type="Condition",var="HaveMurderousEyeJewelIn{SlotName}"},flags=0,keywordFlags=0,name="EnemyModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="Condition:Intimidated",type="FLAG",value=true}}}},nil}
1227312272
c["With a Murderous Eye Jewel Socketed, Melee Attacks grant 1 Rage on Hit, no more than once every second"]={{[1]={[1]={type="Condition",var="HaveMurderousEyeJewelIn{SlotName}"},flags=0,keywordFlags=0,name="Condition:CanGainRage",type="FLAG",value=true}},nil}

src/Modules/ModParser.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5138,6 +5138,9 @@ local specialModList = {
51385138
["intelligence provides no bonus to maximum mana"] = { flag("NoIntBonusToMana") },
51395139
["intelligence provides no inherent bonus to maximum mana"] = { flag("NoIntBonusToMana") },
51405140
["with a ghastly eye jewel socketed, minions have %+(%d+) to accuracy rating"] = function(num) return { mod("MinionModifier", "LIST", { mod = mod("Accuracy", "BASE", num) }, { type = "Condition", var = "HaveGhastlyEyeJewelIn{SlotName}" }) } end,
5141+
["with a ghastly eye jewel socketed, minions have (%d+)%% chance to gain unholy might on hit with spells"] = function(num) return {
5142+
mod("MinionModifier", "LIST", { mod = flag("Condition:UnholyMight", { type = "Condition", var = "HitSpellRecently" }) }, { type = "Condition", var = "HaveGhastlyEyeJewelIn{SlotName}" })
5143+
} end,
51415144
["with a hypnotic eye jewel socketed, gain arcane surge on hit with spells"] = function(num) return { flag("Condition:ArcaneSurge", { type = "Condition", var = "HitSpellRecently" }, { type = "Condition", var = "HaveHypnoticEyeJewelIn{SlotName}" }) } end,
51425145
["hits ignore enemy monster chaos resistance if all equipped items are shaper items"] = { flag("IgnoreChaosResistance", { type = "MultiplierThreshold", var = "NonShaperItem", upper = true, threshold = 0 }) },
51435146
["hits ignore enemy monster chaos resistance if all equipped items are elder items"] = { flag("IgnoreChaosResistance", { type = "MultiplierThreshold", var = "NonElderItem", upper = true, threshold = 0 }) },

0 commit comments

Comments
 (0)