Skip to content

Commit 95e717e

Browse files
LocalIdentityLocalIdentity
andauthored
Add support for a number of Support gems (#893)
Adds support for Caltrops, Arms Length, Brink, Clash, Concoct, Cool headed, Dauntless, Direstrike, Incision, Refraction, Thorn Skin Adds support for the Incision debuff and tree nodes Fixes inc and more bleed chance mods not working Updates skills with the changes in the recent hotfix Co-authored-by: LocalIdentity <[email protected]>
1 parent c090ed8 commit 95e717e

File tree

19 files changed

+815
-569
lines changed

19 files changed

+815
-569
lines changed

src/Data/ModCache.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ c["1% increased Movement Speed per 800 Evasion Rating"]={{[1]={[1]={div=800,stat
781781
c["1% reduced Attack Speed"]={{[1]={flags=1,keywordFlags=0,name="Speed",type="INC",value=-1}},nil}
782782
c["1% to Maximum Fire Resistance for each 40% Uncapped Fire Resistance"]={{[1]={[1]={div=40,stat="FireResistTotal",type="PerStat"},flags=0,keywordFlags=0,name="FireResistMax",type="BASE",value=1}},nil}
783783
c["10 Life Regeneration per second"]={{[1]={flags=0,keywordFlags=0,name="LifeRegen",type="BASE",value=10}},nil}
784-
c["10% chance for Attack Hits to apply ten Incision"]={{}," for Attack Hits to apply ten Incision "}
784+
c["10% chance for Attack Hits to apply ten Incision"]={{[1]={flags=0,keywordFlags=0,name="Condition:CanInflictIncision",type="FLAG",value=true}},nil}
785785
c["10% chance for Enemies you Kill to Explode, dealing 100%"]={{}," for Enemies you Kill to Explode, dealing 100% "}
786786
c["10% chance for Enemies you Kill to Explode, dealing 100% of their maximum Life as Physical Damage"]={{[1]={flags=0,keywordFlags=0,name="Life",type="BASE",value=10}}," for Enemies you Kill to Explode, dealing 100% of their as Physical Damage "}
787787
c["10% chance for Enemies you Kill to Explode, dealing 100% of their maximum Life as Physical Damage Chance is doubled against Undead and Demons"]={{[1]={flags=0,keywordFlags=0,name="Life",type="BASE",value=10}}," for Enemies you Kill to Explode, dealing 100% of their as Physical Damage Chance is doubled against Undead and Demons "}
@@ -1196,7 +1196,7 @@ c["15% increased Life Regeneration Rate while stationary"]={{[1]={[1]={type="Con
11961196
c["15% increased Life Regeneration rate"]={{[1]={flags=0,keywordFlags=0,name="LifeRegen",type="INC",value=15}},nil}
11971197
c["15% increased Life and Mana Recovery from Flasks"]={{[1]={flags=0,keywordFlags=0,name="FlaskLifeRecovery",type="INC",value=15},[2]={flags=0,keywordFlags=0,name="FlaskManaRecovery",type="INC",value=15}},nil}
11981198
c["15% increased Magnitude of Bleeding you inflict"]={{[1]={flags=0,keywordFlags=4194304,name="AilmentMagnitude",type="INC",value=15}},nil}
1199-
c["15% increased Magnitude of Bleeding you inflict against Enemies affected by Incision"]={{[1]={flags=0,keywordFlags=4194304,name="AilmentMagnitude",type="INC",value=15}}," against Enemies affected by Incision "}
1199+
c["15% increased Magnitude of Bleeding you inflict against Enemies affected by Incision"]={{[1]={[1]={actor="enemy",threshold=1,type="MultiplierThreshold",var="IncisionStack"},flags=0,keywordFlags=4194304,name="AilmentMagnitude",type="INC",value=15}},nil}
12001200
c["15% increased Magnitude of Bleeding you inflict with Critical Hits"]={{[1]={[1]={type="Condition",var="CriticalStrike"},flags=0,keywordFlags=4194304,name="AilmentMagnitude",type="INC",value=15}},nil}
12011201
c["15% increased Magnitude of Chill you inflict"]={{[1]={flags=0,keywordFlags=0,name="EnemyChillMagnitude",type="INC",value=15}},nil}
12021202
c["15% increased Magnitude of Damaging Ailments you inflict with Critical Hits"]={{[1]={[1]={type="Condition",var="CriticalStrike"},flags=0,keywordFlags=14680064,name="AilmentMagnitude",type="INC",value=15}},nil}
@@ -1352,7 +1352,7 @@ c["2% increased maximum Mana"]={{[1]={flags=0,keywordFlags=0,name="Mana",type="I
13521352
c["20 Life Regeneration per second"]={{[1]={flags=0,keywordFlags=0,name="LifeRegen",type="BASE",value=20}},nil}
13531353
c["20 Passive Skill Points become Weapon Set Skill Points"]={{[1]={flags=0,keywordFlags=0,name="PassivePointsToWeaponSetPoints",type="BASE",value=20}},nil}
13541354
c["20 to 30 Physical Thorns damage"]={{[1]={flags=0,keywordFlags=0,name="ThornsDamage",type="BASE",value=20}}," to 30 Physical "}
1355-
c["20% chance for Attack Hits to apply Incision"]={{}," for Attack Hits to apply Incision "}
1355+
c["20% chance for Attack Hits to apply Incision"]={{[1]={flags=0,keywordFlags=0,name="Condition:CanInflictIncision",type="FLAG",value=true}},nil}
13561356
c["20% chance for Bleeding to be Aggravated when Inflicted against Enemies on Jagged Ground"]={{}," to be Aggravated when Inflicted against Enemies on Jagged Ground "}
13571357
c["20% chance for Bleeding to be Aggravated when Inflicted against Enemies on Jagged Ground 40% increased Jagged Ground Duration"]={{[1]={flags=0,keywordFlags=4194304,name="Duration",type="BASE",value=20}}," to be Aggravated when Inflicted against Enemies on Jagged Ground 40% increased Jagged Ground "}
13581358
c["20% chance for Charms you use to not consume Charges"]={{[1]={flags=0,keywordFlags=0,name="FlaskCharges",type="BASE",value=20}}," for Charms you use to not consume "}
@@ -2246,7 +2246,7 @@ c["50% increased Totem Placement range"]={{[1]={flags=0,keywordFlags=16384,name=
22462246
c["50% increased Weapon Swap Speed"]={{[1]={flags=0,keywordFlags=0,name="WeaponSwapSpeed",type="INC",value=50}},nil}
22472247
c["50% increased amount of Mana Leeched"]={{[1]={flags=0,keywordFlags=0,name="MaxManaLeechRate",type="INC",value=50}},nil}
22482248
c["50% increased chance to Ignite"]={{[1]={flags=0,keywordFlags=0,name="EnemyIgniteChance",type="INC",value=50}},nil}
2249-
c["50% increased effect of Incision"]={{[1]={flags=0,keywordFlags=0,name="LocalEffect",type="INC",value=50}}," of Incision "}
2249+
c["50% increased effect of Incision"]={{[1]={flags=0,keywordFlags=0,name="IncisionEffect",type="INC",value=50}},nil}
22502250
c["50% increased effect of Small Passive Skills"]={{[1]={flags=0,keywordFlags=0,name="SmallPassiveSkillEffect",type="INC",value=50}},nil}
22512251
c["50% increased effect of Sorcery Ward"]={{[1]={[1]={includeTransfigured=true,skillName="Sorcery Ward",type="SkillName"},flags=0,keywordFlags=0,name="LocalEffect",type="INC",value=50}}," of"}
22522252
c["50% increased effect of Sorcery Ward Sorcery Ward recovers 50% faster"]={{[1]={[1]={includeTransfigured=true,skillName="Sorcery Ward",type="SkillName"},flags=0,keywordFlags=0,name="LocalEffect",type="INC",value=50}}," ofSorcery Ward recovers 50% faster "}
@@ -3520,7 +3520,7 @@ c["Enemies you Electrocute have 20% increased Damage taken"]={{[1]={flags=0,keyw
35203520
c["Enemies you Mark cannot deal Critical Hits"]={{[1]={flags=0,keywordFlags=0,name="EnemyModifier",type="LIST",value={mod={[1]={type="Condition",var="Marked"},flags=0,keywordFlags=0,name="NeverCrit",type="FLAG",value=true}}},[2]={flags=0,keywordFlags=0,name="EnemyModifier",type="LIST",value={mod={[1]={type="Condition",var="Marked"},flags=0,keywordFlags=0,name="Condition:NeverCrit",type="FLAG",value=true}}}},nil}
35213521
c["Enemies you Mark have 10% reduced Accuracy Rating"]={{[1]={[1]={actor="enemy",type="ActorCondition",var="Marked"},flags=0,keywordFlags=0,name="EnemyModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="Accuracy",type="INC",value=-10}}}},nil}
35223522
c["Enemies you Mark take 10% increased Damage"]={{[1]={[1]={actor="enemy",type="ActorCondition",var="Marked"},flags=0,keywordFlags=0,name="EnemyModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="DamageTaken",type="INC",value=10}}}},nil}
3523-
c["Enemies you apply Incision to take 2% increased Physical Damage per Incision"]={nil,"Enemies you apply Incision to take 2% increased Physical Damage per Incision "}
3523+
c["Enemies you apply Incision to take 2% increased Physical Damage per Incision"]={{[1]={flags=0,keywordFlags=0,name="EnemyModifier",type="LIST",value={mod={[1]={type="Multiplier",var="IncisionStack"},flags=0,keywordFlags=0,name="PhysicalDamageTaken",type="INC",value=2}}}},nil}
35243524
c["Enemies' Damage with Critical Hits against you is Lucky"]={nil,"Enemies' Damage with Critical Hits is Lucky "}
35253525
c["Energy Generation is doubled"]={nil,"Energy Generation is doubled "}
35263526
c["Energy Shield Recharge is not interrupted by Damage if Recharge began Recently"]={nil,"Energy Shield Recharge is not interrupted by Damage if Recharge began Recently "}

src/Data/SkillStatMap.lua

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,9 @@ return {
884884
["damage_+%_when_on_low_life"] = {
885885
mod("Damage", "INC", nil, 0, 0, { type = "Condition", var = "LowLife"})
886886
},
887+
["attack_damage_is_lucky_if_surrounded"] = {
888+
flag("LuckyHits", { type = "Condition", var = "Surrounded" })
889+
},
887890
["damage_vs_enemies_on_low_life_+%"] = {
888891
mod("Damage", "INC", nil, ModFlag.Hit, 0, { type = "ActorCondition", actor = "enemy", var = "LowLife"})
889892
},
@@ -1092,6 +1095,9 @@ return {
10921095
["chance_to_bleed_on_hit_%_vs_maimed"] = {
10931096
mod("BleedChance", "BASE", nil, 0, 0, { type = "ActorCondition", actor = "enemy", var = "Maimed" })
10941097
},
1098+
["bleed_chance_+%_vs_full_life_enemy"] = {
1099+
mod("BleedChance", "INC", nil, 0, 0, { type = "ActorCondition", actor = "enemy", var = "FullLife"}),
1100+
},
10951101
["faster_bleed_%"] = {
10961102
mod("BleedFaster", "INC", nil),
10971103
},
@@ -1481,6 +1487,9 @@ return {
14811487
mod("PierceCount", "BASE", nil),
14821488
div = 100,
14831489
},
1490+
["chance_to_pierce_ignited_enemy_%"] = {
1491+
flag("PierceAllTargets", { type = "ActorCondition", actor = "enemy", var = "Ignited" }),
1492+
},
14841493
["always_pierce"] = {
14851494
flag("PierceAllTargets"),
14861495
},
@@ -1753,6 +1762,10 @@ return {
17531762
["main_hand_weapon_minimum_physical_damage"] = {
17541763
mod("PhysicalMin", "BASE", nil, 0, KeywordFlag.Attack),
17551764
},
1765+
["main_hand_base_physical_damage_from_%_dex"] = {
1766+
mod("PhysicalMin", "BASE", nil, 0, 0, { type = "PercentStat", stat = "Dex", percent = 1 }),
1767+
mod("PhysicalMax", "BASE", nil, 0, 0, { type = "PercentStat", stat = "Dex", percent = 1 }),
1768+
},
17561769
["main_hand_weapon_maximum_physical_damage"] = {
17571770
mod("PhysicalMax", "BASE", nil, 0, KeywordFlag.Attack),
17581771
},
@@ -2426,6 +2439,9 @@ return {
24262439
flag("Condition:CanArmourBreak", { type = "GlobalEffect", effectType = "Buff", effectName = "ArmourBreak" }),
24272440
mod("ArmourBreakPerHit", "BASE", nil),
24282441
},
2442+
["apply_X_incision_on_hit"] = {
2443+
flag("Condition:CanInflictIncision", { type = "GlobalEffect", effectType = "Buff", effectName = "Incision" }),
2444+
},
24292445
["armour_break_physical_damage_%_dealt_as_armour_break"] = {
24302446
flag("Condition:CanArmourBreak", { type = "GlobalEffect", effectType = "Buff", effectName = "ArmourBreak" }),
24312447
},

0 commit comments

Comments
 (0)