Skip to content

Commit c5360b7

Browse files
committed
Witchhunter - No Mercy
1 parent b5e1b62 commit c5360b7

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

src/Data/ModCache.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4697,7 +4697,7 @@ c["Deal 30% of Overkill damage to enemies within 2 metres of the enemy killed"]=
46974697
c["Deal 4% increased Damage with Hits to Rare or Unique Enemies for each second they've ever been in your Presence, up to a maximum of 200%"]={{[1]={[1]={actor="enemy",limit=200,limitTotal=true,type="Multiplier",var="EnemyPresenceSeconds"},[2]={actor="enemy",type="ActorCondition",var="RareOrUnique"},flags=0,keywordFlags=262144,name="Damage",type="INC",value=4}},nil}
46984698
c["Deal no Elemental Damage"]={{[1]={flags=0,keywordFlags=0,name="DealNoLightning",type="FLAG",value=true},[2]={flags=0,keywordFlags=0,name="DealNoCold",type="FLAG",value=true},[3]={flags=0,keywordFlags=0,name="DealNoFire",type="FLAG",value=true}},nil}
46994699
c["Deal no Non-Fire Damage"]={{[1]={flags=0,keywordFlags=0,name="DealNoPhysical",type="FLAG",value=true},[2]={flags=0,keywordFlags=0,name="DealNoLightning",type="FLAG",value=true},[3]={flags=0,keywordFlags=0,name="DealNoCold",type="FLAG",value=true},[4]={flags=0,keywordFlags=0,name="DealNoChaos",type="FLAG",value=true}},nil}
4700-
c["Deal up to 40% more Damage to Enemies based on their missing Concentration"]={nil,"up to 40% more Damage to Enemies based on their missing Concentration "}
4700+
c["Deal up to 40% more Damage to Enemies based on their missing Concentration"]={{[1]={[1]={type="Condition",var="EnemyNoConcentration"},flags=0,keywordFlags=0,name="Damage",type="MORE",value=40},[2]={flags=0,keywordFlags=0,name="EnemyConcentration",type="FLAG",value=true}},nil}
47014701
c["Deal your Thorns Damage to Enemies you Stun with Melee Attacks"]={nil,"your Thorns Damage to Enemies you Stun with Melee Attacks "}
47024702
c["Deal your Thorns Damage to Enemies you Stun with Melee Attacks 35 to 53 Physical Thorns damage"]={nil,"your Thorns Damage to Enemies you Stun with Melee Attacks 35 to 53 Physical Thorns damage "}
47034703
c["Deals 25% of current Mana as Chaos Damage to you when Effect ends"]={nil,"Deals 25% of current Mana as Chaos Damage to you when Effect ends "}

src/Modules/ConfigOptions.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,6 +1822,11 @@ Huge sets the radius to 11.
18221822
{ var = "conditionEnemyCoveredInFrost", type = "check", label = "Is the enemy covered in Frost?", tooltip = "Covered in Frost applies the following to the enemy:\n\t20% increased ^x3F6DB3Cold ^7Damage taken\n\t50% less Critical Strike Chance", apply = function(val, modList, enemyModList)
18231823
modList:NewMod("CoveredInFrostEffect", "BASE", 20, "Covered in Frost")
18241824
end },
1825+
1826+
{ var = "conditionEnemyConcentration", type = "check", label = "Is the enemy Concentration 0?", ifFlag ="EnemyConcentration", apply = function(val, modList, enemyModList)
1827+
modList:NewMod("Condition:EnemyNoConcentration", "FLAG", true, "Config", { type = "Condition", var = "Effective" } )
1828+
end },
1829+
18251830
{ var = "conditionEnemyHasOpenWeakness", type = "check", label = "Does enemy have Open Weakness?", ifCond = "EnemyHasOpenWeakness", apply = function(val, modList, enemyModList)
18261831
-- This one means the enemy you're targeting has open weakness
18271832
modList:NewMod("Condition:EnemyHasOpenWeakness", "FLAG", true, "Config", { type = "Condition", var = "Combat" })

src/Modules/ModParser.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3247,6 +3247,11 @@ local specialModList = {
32473247
mod("PhysicalMax", "BASE", 1, { type = "PercentStat", stat = "LifeCost", percent = num }, { type = "StatThreshold", stat = "LifeUnreserved", thresholdStat = "LifeCost", thresholdPercent = num }),
32483248
} end,
32493249
["gain maximum life instead of maximum energy shield from equipped armour items"] = { flag("ConvertArmourESToLife") },
3250+
-- Mercenary - Witchhunter
3251+
["deal up to (%d+)%% more damage to enemies based on their missing concentration"] = function(num) return {
3252+
mod("Damage", "MORE", num, {type = "Condition", var ="EnemyNoConcentration"}),
3253+
flag("EnemyConcentration"),
3254+
} end,
32503255
-- Mercenary - Gemling
32513256
["attribute requirements of gems can be satisi?fied by your highest attribute"] = { flag("GemAttributeRequirementsSatisfiedByHighestAttribute") },
32523257
["you can use two copies of the same support gem in different skills"] = { mod("MaxSupportGemCopies", "OVERRIDE", 2) },

0 commit comments

Comments
 (0)