Skip to content

Commit d84195f

Browse files
committed
Adds 'Condition:CanWither' flag to numerous skills and supports
1 parent 31dabfa commit d84195f

6 files changed

Lines changed: 40 additions & 4 deletions

File tree

src/Data/ModCache.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5594,7 +5594,7 @@ c["Minions have +4% to all Elemental Resistances"]={{[1]={flags=0,keywordFlags=0
55945594
c["Minions have +5% to all Maximum Elemental Resistances"]={{[1]={flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="ElementalResistMax",type="BASE",value=5}}}},nil}
55955595
c["Minions have +7% to Chaos Resistance"]={{[1]={flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="ChaosResist",type="BASE",value=7}}}},nil}
55965596
c["Minions have +8% to all Elemental Resistances"]={{[1]={flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="ElementalResist",type="BASE",value=8}}}},nil}
5597-
c["Minions have 10% chance to inflict Withered on Hit"]={{[1]={flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="Condition:CanWither",type="FLAG",value=true}}}},nil}
5597+
c["Minions have 10% chance to inflict Withered on Hit"]={{[1]={flags=0,keywordFlags=0,name="Condition:CanWither",type="FLAG",value=true}},nil}
55985598
c["Minions have 10% increased Movement Speed"]={{[1]={flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="MovementSpeed",type="INC",value=10}}}},nil}
55995599
c["Minions have 10% increased maximum Life"]={{[1]={flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="Life",type="INC",value=10}}}},nil}
56005600
c["Minions have 10% reduced Life Recovery rate"]={{[1]={flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="LifeRecoveryRate",type="INC",value=-10}}}},nil}
@@ -6085,8 +6085,7 @@ c["Undead Minions have 25% less maximum Life"]={{[1]={[1]={skillType=127,type="S
60856085
c["Unlimited number of Summoned Totems"]={nil,"Unlimited number of Summoned Totems "}
60866086
c["Unlimited number of Summoned Totems Totems reserve 75 Spirit each"]={nil,"Unlimited number of Summoned Totems Totems reserve 75 Spirit each "}
60876087
c["Unwavering Stance"]={{[1]={flags=0,keywordFlags=0,name="Keystone",type="LIST",value="Unwavering Stance"}},nil}
6088-
c["Unwithered enemies are Withered for 8 seconds when they enter your Presence"]={nil,"Unwithered enemies are Withered for 8 seconds when they enter your Presence "}
6089-
c["Unwithered enemies are Withered for 8 seconds when they enter your Presence 20% increased Withered Magnitude"]={nil,"Unwithered enemies are Withered for 8 seconds when they enter your Presence 20% increased Withered Magnitude "}
6088+
c["Unwithered enemies are Withered for 8 seconds when they enter your Presence"]={{[1]={flags=0,keywordFlags=0,name="Condition:CanWither",type="FLAG",value=true}},nil}
60906089
c["Used when you are affected by a Slow"]={nil,"Used when you are affected by a Slow "}
60916090
c["Used when you are affected by a Slow Grants Onslaught during effect"]={nil,"Used when you are affected by a Slow Grants Onslaught during effect "}
60926091
c["Used when you become Frozen"]={nil,"Used when you become Frozen "}

src/Data/Skills/act_int.lua

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2957,6 +2957,11 @@ skills["WeaponGrantedChaosboltPlayer"] = {
29572957
incrementalEffectiveness = 0.12999999523163,
29582958
damageIncrementalEffectiveness = 0.0082000000402331,
29592959
statDescriptionScope = "skill_stat_descriptions",
2960+
statMap = {
2961+
["apply_x_wither_on_hit"] = {
2962+
flag("Condition:CanWither"),
2963+
},
2964+
},
29602965
baseFlags = {
29612966
spell = true,
29622967
projectile = true,
@@ -11737,6 +11742,11 @@ skills["HisFoulEmergencePlayer"] = {
1173711742
incrementalEffectiveness = 0.12999999523163,
1173811743
damageIncrementalEffectiveness = 0.0096000004559755,
1173911744
statDescriptionScope = "his_foul_emergence",
11745+
statMap = {
11746+
["active_skill_withered_base_duration_ms"] = {
11747+
flag("Condition:CanWither"),
11748+
},
11749+
},
1174011750
baseFlags = {
1174111751
spell = true,
1174211752
area = true,
@@ -22443,6 +22453,11 @@ skills["WitheringPresencePlayer"] = {
2244322453
label = "Withering Presence",
2244422454
incrementalEffectiveness = 0.054999999701977,
2244522455
statDescriptionScope = "withering_presence",
22456+
statMap = {
22457+
["skill_withering_presence_frequency_ms"] = {
22458+
flag("Condition:CanWither"),
22459+
},
22460+
},
2244622461
baseFlags = {
2244722462
duration = true,
2244822463
},

src/Data/Skills/sup_int.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7897,6 +7897,9 @@ skills["SupportWitheringTouchPlayer"] = {
78977897
incrementalEffectiveness = 0.092720001935959,
78987898
statDescriptionScope = "gem_stat_descriptions",
78997899
statMap = {
7900+
["wither_on_hit_chance_rollovercapped"] = {
7901+
flag("Condition:CanWither"),
7902+
},
79007903
["support_withering_touch_damage_+%_final"] = {
79017904
mod("Damage", "MORE", nil),
79027905
},

src/Export/Skills/act_int.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ statMap = {
208208
#skill WeaponGrantedChaosboltPlayer
209209
#set WeaponGrantedChaosboltPlayer
210210
#flags spell projectile
211+
statMap = {
212+
["apply_x_wither_on_hit"] = {
213+
flag("Condition:CanWither"),
214+
},
215+
},
211216
#mods
212217
#skillEnd
213218

@@ -795,6 +800,11 @@ statMap = {
795800
#skill HisFoulEmergencePlayer
796801
#set HisFoulEmergencePlayer
797802
#flags spell area duration
803+
statMap = {
804+
["active_skill_withered_base_duration_ms"] = {
805+
flag("Condition:CanWither"),
806+
},
807+
},
798808
#mods
799809
#skillEnd
800810

@@ -1474,5 +1484,10 @@ statMap = {
14741484
#skill WitheringPresencePlayer
14751485
#set WitheringPresencePlayer
14761486
#flags duration
1487+
statMap = {
1488+
["skill_withering_presence_frequency_ms"] = {
1489+
flag("Condition:CanWither"),
1490+
},
1491+
},
14771492
#mods
14781493
#skillEnd

src/Export/Skills/sup_int.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,6 +1488,9 @@ statMap = {
14881488
#skill SupportWitheringTouchPlayer
14891489
#set SupportWitheringTouchPlayer
14901490
statMap = {
1491+
["wither_on_hit_chance_rollovercapped"] = {
1492+
flag("Condition:CanWither"),
1493+
},
14911494
["support_withering_touch_damage_+%_final"] = {
14921495
mod("Damage", "MORE", nil),
14931496
},

src/Modules/ModParser.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3128,6 +3128,7 @@ local specialModList = {
31283128
} end,
31293129
["cannot be stunned while you have energy shield"] = { flag("StunImmune", { type = "Condition", var = "HaveEnergyShield" }) },
31303130
["every second, inflict withered on nearby enemies for (%d+) seconds"] = { flag("Condition:CanWither") },
3131+
["unwithered enemies are withered for 8 seconds when they enter your presence"] = { flag("Condition:CanWither") },
31313132
["nearby hindered enemies deal (%d+)%% reduced damage over time"] = function(num) return { mod("EnemyModifier", "LIST", { mod = mod("DamageOverTime", "INC", -num) }, { type = "ActorCondition", actor = "enemy", var = "Hindered" }) } end,
31323133
["nearby chilled enemies deal (%d+)%% reduced damage with hits"] = function(num) return { mod("EnemyModifier", "LIST", { mod = mod("Damage", "INC", -num) }, { type = "ActorCondition", actor = "enemy", var = "Chilled" }) } end,
31333134
-- Pathfinder
@@ -4278,7 +4279,7 @@ local specialModList = {
42784279
["(%d+)%% chance to inflict withered for (%d+) seconds on hit with this weapon"] = { flag("Condition:CanWither") },
42794280
["(%d+)%% chance to inflict withered for two seconds on hit if there are (%d+) or fewer withered debuffs on enemy"] = { flag("Condition:CanWither") },
42804281
["inflict withered for (%d+) seconds on hit with this weapon"] = { flag("Condition:CanWither") },
4281-
["minions have (%d+)%% chance to inflict withered on hit"] = { mod("MinionModifier", "LIST", { mod = flag("Condition:CanWither") }) },
4282+
["minions have (%d+)%% chance to inflict withered on hit"] = { flag("Condition:CanWither") },
42824283
["enemies take (%d+)%% increased elemental damage from your hits for each withered you have inflicted on them"] = function(num) return { mod("EnemyModifier", "LIST", { mod = mod("ElementalDamageTaken", "INC", num, { type = "Multiplier", var = "WitheredStack", limit = 15 }) }) } end,
42834284
["enemies you apply incision to take (%d+)%% increased physical damage per incision"] = function(num) return { mod("EnemyModifier", "LIST", { mod = mod("PhysicalDamageTaken", "INC", num, { type = "Multiplier", var = "IncisionStack" }) }) } end,
42844285
["your hits cannot penetrate or ignore elemental resistances"] = { flag("CannotElePenIgnore") },

0 commit comments

Comments
 (0)