Skip to content

Commit f6b5147

Browse files
LocalIdentityLocalIdentity
and
LocalIdentity
authored
Fix Puppeteer Caustic Ground on death calculation (#8548)
The mod was previously hard-coded to only work with the 20% value from Siegebreaker. Fixed it to use a percent stat value that comes from the mod Also fixed it for replica siege breaker in case that ever becomes an issue too Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 1a7c3e8 commit f6b5147

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

src/Data/ModCache.lua

+3-2
Original file line numberDiff line numberDiff line change
@@ -11927,8 +11927,9 @@ c["Your Maximum Resistances are 72%"]={{[1]={flags=0,keywordFlags=0,name="FireRe
1192711927
c["Your Maximum Resistances are 77%"]={{[1]={flags=0,keywordFlags=0,name="FireResistMax",type="OVERRIDE",value=77},[2]={flags=0,keywordFlags=0,name="ColdResistMax",type="OVERRIDE",value=77},[3]={flags=0,keywordFlags=0,name="LightningResistMax",type="OVERRIDE",value=77},[4]={flags=0,keywordFlags=0,name="ChaosResistMax",type="OVERRIDE",value=77}},nil}
1192811928
c["Your Maximum Resistances are 78%"]={{[1]={flags=0,keywordFlags=0,name="FireResistMax",type="OVERRIDE",value=78},[2]={flags=0,keywordFlags=0,name="ColdResistMax",type="OVERRIDE",value=78},[3]={flags=0,keywordFlags=0,name="LightningResistMax",type="OVERRIDE",value=78},[4]={flags=0,keywordFlags=0,name="ChaosResistMax",type="OVERRIDE",value=78}},nil}
1192911929
c["Your Maximum Resistances are 80%"]={{[1]={flags=0,keywordFlags=0,name="FireResistMax",type="OVERRIDE",value=80},[2]={flags=0,keywordFlags=0,name="ColdResistMax",type="OVERRIDE",value=80},[3]={flags=0,keywordFlags=0,name="LightningResistMax",type="OVERRIDE",value=80},[4]={flags=0,keywordFlags=0,name="ChaosResistMax",type="OVERRIDE",value=80}},nil}
11930-
c["Your Minions spread Burning Ground on Death, dealing 20% of their maximum Life as Fire Damage per second"]={{[1]={flags=0,keywordFlags=0,name="ExtraMinionSkill",type="LIST",value={skillId="ReplicaSiegebreakerBurningGround"}}},nil}
11931-
c["Your Minions spread Caustic Ground on Death, dealing 20% of their maximum Life as Chaos Damage per second"]={{[1]={flags=0,keywordFlags=0,name="ExtraMinionSkill",type="LIST",value={skillId="SiegebreakerCausticGround"}}},nil}
11930+
c["Your Minions spread Burning Ground on Death, dealing 20% of their maximum Life as Fire Damage per second"]={nil,"Your Minions spread Burning Ground on Death, dealing 20% of their maximum Life as Fire Damage per second "}
11931+
c["Your Minions spread Burning Ground on Death, dealing 20% of their maximum Life as Fire Damage per second Minions have 5% chance to Maim Enemies on Hit with Attacks"]={nil,"Your Minions spread Burning Ground on Death, dealing 20% of their maximum Life as Fire Damage per second Minions have 5% chance to Maim Enemies on Hit with Attacks "}
11932+
c["Your Minions spread Caustic Ground on Death, dealing 20% of their maximum Life as Chaos Damage per second"]={{[1]={flags=0,keywordFlags=0,name="ExtraMinionSkill",type="LIST",value={skillId="SiegebreakerCausticGround"}},[2]={flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="Multiplier:SiegebreakerCausticGroundPercent",type="BASE",value=20}}}},nil}
1193211933
c["Your Minions use your Flasks when summoned"]={{[1]={flags=0,keywordFlags=0,name="FlasksApplyToMinion",type="FLAG",value=true}},nil}
1193311934
c["Your Movement Speed is 150% of its base value"]={{[1]={flags=0,keywordFlags=0,name="MovementSpeed",type="OVERRIDE",value=1.5}},nil}
1193411935
c["Your Movement Speed is equal to the highest Movement Speed among Linked Players"]={{[1]={[1]={threshold=1,type="MultiplierThreshold",var="LinkedTargets"},flags=0,keywordFlags=0,name="MovementSpeedEqualHighestLinkedPlayers",type="FLAG",value=true}},nil}

src/Data/Skills/minion.lua

+2-2
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ skills["SiegebreakerCausticGround"] = {
15671567
},
15681568
skillTypes = { },
15691569
baseMods = {
1570-
skill("ChaosDot", 1, { type = "PerStat", stat = "Life", div = 5 }),
1570+
skill("ChaosDot", 1, { type = "PercentStat", stat = "Life", percentVar = "SiegebreakerCausticGroundPercent" }),
15711571
skill("dotIsArea", true),
15721572
flag("dotIsCausticGround"),
15731573
},
@@ -1590,7 +1590,7 @@ skills["ReplicaSiegebreakerBurningGround"] = {
15901590
},
15911591
skillTypes = { },
15921592
baseMods = {
1593-
skill("FireDot", 1, { type = "PerStat", stat = "Life", div = 5 }),
1593+
skill("FireDot", 1, { type = "PercentStat", stat = "Life", percentVar = "SiegebreakerBurningGroundPercent" }),
15941594
skill("dotIsArea", true),
15951595
flag("dotIsBurningGround"),
15961596
},

src/Export/Skills/minion.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ skills["SiegebreakerCausticGround"] = {
295295
},
296296
skillTypes = { },
297297
baseMods = {
298-
skill("ChaosDot", 1, { type = "PerStat", stat = "Life", div = 5 }),
298+
skill("ChaosDot", 1, { type = "PercentStat", stat = "Life", percentVar = "CausticGroundPercent" }),
299299
skill("dotIsArea", true),
300300
flag("dotIsCausticGround"),
301301
},
@@ -318,7 +318,7 @@ skills["ReplicaSiegebreakerBurningGround"] = {
318318
},
319319
skillTypes = { },
320320
baseMods = {
321-
skill("FireDot", 1, { type = "PerStat", stat = "Life", div = 5 }),
321+
skill("FireDot", 1, { type = "PercentStat", stat = "Life", percentVar = "BurningGroundPercent" }),
322322
skill("dotIsArea", true),
323323
flag("dotIsBurningGround"),
324324
},

src/Modules/ModParser.lua

+8-2
Original file line numberDiff line numberDiff line change
@@ -2112,8 +2112,14 @@ local specialModList = {
21122112
mod("BleedStacksMax", "OVERRIDE", num),
21132113
flag("Condition:HaveCrimsonDance"),
21142114
} end,
2115-
["your minions spread caustic ground on death, dealing 20%% of their maximum life as chaos damage per second"] = { mod("ExtraMinionSkill", "LIST", { skillId = "SiegebreakerCausticGround" }) },
2116-
["your minions spread burning ground on death, dealing 20%% of their maximum life as fire damage per second"] = { mod("ExtraMinionSkill", "LIST", { skillId = "ReplicaSiegebreakerBurningGround" }) },
2115+
["your minions spread caustic ground on death, dealing (%d+)%% of their maximum life as chaos damage per second"] = function(num) return {
2116+
mod("ExtraMinionSkill", "LIST", { skillId = "SiegebreakerCausticGround" }),
2117+
mod("MinionModifier", "LIST", { mod = mod("Multiplier:SiegebreakerCausticGroundPercent", "BASE", num) }),
2118+
} end,
2119+
["your minions spread caustic ground on death, dealing (%d+)%% of their maximum life as fire damage per second"] = function(num) return {
2120+
mod("ExtraMinionSkill", "LIST", { skillId = "ReplicaSiegebreakerBurningGround" }),
2121+
mod("MinionModifier", "LIST", { mod = mod("Multiplier:SiegebreakerBurningGroundPercent", "BASE", num) }),
2122+
} end,
21172123
["you can have an additional brand attached to an enemy"] = { mod("BrandsAttachedLimit", "BASE", 1) },
21182124
["gain (%d+) grasping vines each second while stationary"] = function(num) return {
21192125
mod("Multiplier:GraspingVinesCount", "BASE", num, { type = "Multiplier", var = "StationarySeconds", limit = 10, limitTotal = true }, { type = "Condition", var = "Stationary" }),

0 commit comments

Comments
 (0)