Skip to content

Commit f0ed15f

Browse files
LocalIdentityLocalIdentity
andauthored
Add support for Dark Effigy DPS scaling with Chaos Debuffs on enemy (#1939)
Adds a DPS multiplier that scales off the number of a ChaosDebuff multiplier on the enemy Added the multiplier to skills manually as I'm not sure of a better way to handle it. Potentially there's something in the game files that tags each debuff as being chaos related Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent cd42f86 commit f0ed15f

4 files changed

Lines changed: 28 additions & 0 deletions

File tree

src/Data/Skills/act_int.lua

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3797,6 +3797,7 @@ skills["ContagionPlayer"] = {
37973797
},
37983798
baseMods = {
37993799
skill("debuff", true),
3800+
mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Contagion" }),
38003801
},
38013802
constantStats = {
38023803
{ "base_skill_effect_duration", 5000 },
@@ -4681,6 +4682,10 @@ skills["DarkEffigyProjectilePlayer"] = {
46814682
projectile = true,
46824683
totem = true,
46834684
},
4685+
baseMods = {
4686+
mod("DPS", "MORE", 100, 0, 0, { type = "Multiplier", var = "ChaosDebuff", actor = "enemy" }),
4687+
mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Poison" }, { type = "Condition", var = "Poisoned" }),
4688+
},
46844689
constantStats = {
46854690
{ "skill_disabled_unless_cloned", 2 },
46864691
{ "active_skill_base_area_of_effect_radius", 120 },
@@ -6288,6 +6293,9 @@ skills["EssenceDrainPlayer"] = {
62886293
spell = true,
62896294
projectile = true,
62906295
},
6296+
baseMods = {
6297+
mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Essence Drain" }),
6298+
},
62916299
constantStats = {
62926300
{ "movement_speed_+%_final_while_performing_action", -70 },
62936301
{ "movement_speed_acceleration_+%_per_second_while_performing_action", 160 },
@@ -6367,6 +6375,7 @@ skills["EssenceDrainPlayer"] = {
63676375
},
63686376
baseMods = {
63696377
skill("debuff", true),
6378+
mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Essence Drain" }),
63706379
},
63716380
constantStats = {
63726381
{ "movement_speed_+%_final_while_performing_action", -70 },
@@ -15699,6 +15708,9 @@ skills["ProfaneRitualPlayer"] = {
1569915708
spell = true,
1570015709
area = true,
1570115710
},
15711+
baseMods = {
15712+
mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Profane Ritual" }),
15713+
},
1570215714
constantStats = {
1570315715
{ "base_skill_effect_duration", 2000 },
1570415716
{ "ritual_of_power_maximum_number_of_rituals", 5 },
@@ -19297,6 +19309,9 @@ skills["SoulrendPlayer"] = {
1929719309
spell = true,
1929819310
projectile = true,
1929919311
},
19312+
baseMods = {
19313+
mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Soulrend" }),
19314+
},
1930019315
constantStats = {
1930119316
{ "active_skill_projectile_speed_+%_variation_final", 25 },
1930219317
{ "movement_speed_+%_final_while_performing_action", -70 },
@@ -19370,6 +19385,7 @@ skills["SoulrendPlayer"] = {
1937019385
},
1937119386
baseMods = {
1937219387
skill("debuff", true),
19388+
mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Soulrend" }),
1937319389
},
1937419390
constantStats = {
1937519391
{ "active_skill_projectile_speed_+%_variation_final", 25 },

src/Data/Skills/sup_int.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2791,6 +2791,9 @@ skills["SupportDecayingHexPlayer"] = {
27912791
},
27922792
baseFlags = {
27932793
},
2794+
baseMods = {
2795+
mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Decaying Hex" }),
2796+
},
27942797
constantStats = {
27952798
{ "support_decaying_hex_base_chaos_damage_per_minute_as_%_of_intelligence_for_8_seconds", 6000 },
27962799
},

src/Export/Skills/act_int.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ statMap = {
277277
#set ContagionPlayer
278278
#flags area duration spell
279279
#baseMod skill("debuff", true)
280+
#baseMod mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Contagion" })
280281
#mods
281282
#skillEnd
282283

@@ -324,6 +325,8 @@ statMap = {
324325
#skill DarkEffigyProjectilePlayer
325326
#set DarkEffigyProjectilePlayer
326327
#flags spell area projectile totem
328+
#baseMod mod("DPS", "MORE", 100, 0, 0, { type = "Multiplier", var = "ChaosDebuff", actor = "enemy" })
329+
#baseMod mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Poison" }, { type = "Condition", var = "Poisoned" })
327330
#mods
328331
#skillEnd
329332

@@ -434,10 +437,12 @@ statMap = {
434437
#skill EssenceDrainPlayer
435438
#set EssenceDrainPlayer
436439
#flags spell projectile
440+
#baseMod mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Essence Drain" })
437441
#mods
438442
#set EssenceDrainDotPlayer
439443
#flags spell projectile duration
440444
#baseMod skill("debuff", true)
445+
#baseMod mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Essence Drain" })
441446
#mods
442447
#skillEnd
443448

@@ -1063,6 +1068,7 @@ statMap = {
10631068
#skill ProfaneRitualPlayer
10641069
#set ProfaneRitualPlayer
10651070
#flags spell area
1071+
#baseMod mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Profane Ritual" })
10661072
#mods
10671073
#skillEnd
10681074

@@ -1299,10 +1305,12 @@ statMap = {
12991305
#skill SoulrendPlayer
13001306
#set SoulrendPlayer
13011307
#flags spell projectile
1308+
#baseMod mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Soulrend" })
13021309
#mods
13031310
#set SoulrendDotPlayer
13041311
#flags spell duration
13051312
#baseMod skill("debuff", true)
1313+
#baseMod mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Soulrend" })
13061314
#mods
13071315
#skillEnd
13081316

src/Export/Skills/sup_int.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ statMap = {
486486
div = 60,
487487
},
488488
},
489+
#baseMod mod("Multiplier:ChaosDebuff", "BASE", 1, 0, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Decaying Hex" })
489490
#mods
490491
#skillEnd
491492

0 commit comments

Comments
 (0)