Skip to content

Commit 0402231

Browse files
author
LocalIdentity
committed
The Arkhon's Tools
Changes the way we handle self chill so it no longer always shows up on the configs tab unless you need it Does not handle the use case of reflecting curses back to the player
1 parent 56087a0 commit 0402231

8 files changed

Lines changed: 95 additions & 23 deletions

File tree

src/Data/Minions.lua

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,34 @@ minions["SkitterbotLightning"] = {
983983
},
984984
}
985985

986+
minions["SkitterbotFire"] = {
987+
name = "Scorching Skitterbot",
988+
monsterTags = { "construct", "extra_extra_small_height", "is_unarmed", "non_attacking", "stone_armour", "very_fast_movement", },
989+
life = 1,
990+
fireResist = 0,
991+
coldResist = 0,
992+
lightningResist = 0,
993+
chaosResist = 0,
994+
damage = 1,
995+
damageSpread = 0,
996+
attackTime = 1,
997+
attackRange = 6,
998+
accuracy = 1,
999+
skillList = {
1000+
"SkitterbotDetonateMines",
1001+
"SkitterbotWait",
1002+
},
1003+
modList = {
1004+
-- MonsterNoDropsOrExperience [monster_no_drops_or_experience = 1]
1005+
-- CannotBeAugmented [cannot_have_azmeri_dust = 1]
1006+
-- CannotBeAugmented [cant_possess_this = 1]
1007+
-- CannotBeAugmented [cant_touch_this = 1]
1008+
-- CannotBeAugmented [cannot_be_tagged_by_sentinel = 1]
1009+
-- CannotBeAugmented [cannot_be_afflicted = 1]
1010+
-- CannotBeAugmented [cannot_have_affliction_mods = 1]
1011+
},
1012+
}
1013+
9861014
minions["SummonedReaper"] = {
9871015
name = "Reaper",
9881016
monsterTags = { "bone_armour", "bones", "fast_movement", "has_dual_wield_melee", "has_one_hand_sword", "has_one_handed_melee", "melee", "not_int", "physical_affinity", "skeleton", "slashing_weapon", "undead", },

src/Data/ModCache.lua

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5772,6 +5772,7 @@ c["62% increased Lightning Damage"]={{[1]={flags=0,keywordFlags=0,name="Lightnin
57725772
c["62% increased Spell Damage"]={{[1]={flags=2,keywordFlags=0,name="Damage",type="INC",value=62}},nil}
57735773
c["63% increased Armour and Energy Shield"]={{[1]={flags=0,keywordFlags=0,name="ArmourAndEnergyShield",type="INC",value=63}},nil}
57745774
c["63% increased Critical Strike Chance"]={{[1]={flags=0,keywordFlags=0,name="CritChance",type="INC",value=63}},nil}
5775+
c["63% increased Effect of Non-Damaging Ailments inflicted by Summoned Skitterbots"]={{[1]={flags=0,keywordFlags=0,name="SkitterbotAilmentEffect",type="INC",value=63}},nil}
57755776
c["63% increased Effect of Shrine Buffs on you"]={{[1]={flags=0,keywordFlags=0,name="ShrineBuffEffect",type="INC",value=63}},nil}
57765777
c["63% increased Physical Damage"]={{[1]={flags=0,keywordFlags=0,name="PhysicalDamage",type="INC",value=63}},nil}
57775778
c["63% reduced Trap Duration"]={{[1]={flags=0,keywordFlags=0,name="TrapDuration",type="INC",value=-63}},nil}
@@ -5874,7 +5875,7 @@ c["75% increased Critical Strike Chance"]={{[1]={flags=0,keywordFlags=0,name="Cr
58745875
c["75% increased Critical Strike Chance for Spells per Raised Spectre"]={{[1]={[1]={stat="ActiveSpectreLimit",type="PerStat"},flags=2,keywordFlags=0,name="CritChance",type="INC",value=75}},nil}
58755876
c["75% increased Damage with Ignite from Melee Weapons"]={{[1]={flags=67108864,keywordFlags=8388608,name="Damage",type="INC",value=75}},nil}
58765877
c["75% increased Duration of Poisons you inflict during Effect"]={{[1]={[1]={type="Condition",var="UsingFlask"},flags=0,keywordFlags=0,name="EnemyPoisonDuration",type="INC",value=75}},nil}
5877-
c["75% increased Effect of Non-Damaging Ailments inflicted by Summoned Skitterbots"]={{[1]={flags=0,keywordFlags=0,name="EnemyShockEffect",type="INC",value=75},[2]={flags=0,keywordFlags=0,name="EnemyChillEffect",type="INC",value=75},[3]={flags=0,keywordFlags=0,name="EnemyFreezeEffect",type="INC",value=75},[4]={flags=0,keywordFlags=0,name="EnemyScorchEffect",type="INC",value=75},[5]={flags=0,keywordFlags=0,name="EnemyBrittleEffect",type="INC",value=75},[6]={flags=0,keywordFlags=0,name="EnemySapEffect",type="INC",value=75}}," inflicted by Summoned Skitterbots "}
5878+
c["75% increased Effect of Non-Damaging Ailments inflicted by Summoned Skitterbots"]={{[1]={flags=0,keywordFlags=0,name="SkitterbotAilmentEffect",type="INC",value=75}},nil}
58785879
c["75% increased Effect of Shrine Buffs on you"]={{[1]={flags=0,keywordFlags=0,name="ShrineBuffEffect",type="INC",value=75}},nil}
58795880
c["75% increased Effect of Socketed Abyss Jewels"]={{[1]={flags=0,keywordFlags=0,name="SocketedJewelEffect",type="INC",value=75}},nil}
58805881
c["75% increased Effect of your Marks"]={{[1]={[1]={skillType=109,type="SkillType"},flags=0,keywordFlags=0,name="CurseEffect",type="INC",value=75}},nil}
@@ -11293,8 +11294,7 @@ c["Summon 4 additional Skeleton Warriors with Summon Skeleton +1 second to Summo
1129311294
c["Summon Raging Spirit has 25% increased Duration"]={{[1]={[1]={includeTransfigured=true,skillName="Summon Raging Spirit",type="SkillName"},flags=0,keywordFlags=0,name="Duration",type="INC",value=25}},nil}
1129411295
c["Summon Raging Spirit has 30% increased Duration"]={{[1]={[1]={includeTransfigured=true,skillName="Summon Raging Spirit",type="SkillName"},flags=0,keywordFlags=0,name="Duration",type="INC",value=30}},nil}
1129511296
c["Summon Skeletons cannot Summon more than 1 Skeleton Warrior"]={nil,"cannot Summon more than 1 Skeleton Warrior "}
11296-
c["Summon Skitterbots also summons a Scorching Skitterbot"]={nil,"also summons a Scorching Skitterbot "}
11297-
c["Summon Skitterbots also summons a Scorching Skitterbot Summoned Skitterbots' Auras affect you as well as Enemies"]={nil,"also summons a Scorching Skitterbot Summoned Skitterbots' Auras affect you as well as Enemies "}
11297+
c["Summon Skitterbots also summons a Scorching Skitterbot"]={{[1]={flags=0,keywordFlags=0,name="ScorchingSkitterbot",type="FLAG",value=true}},nil}
1129811298
c["Summoned Arbalists Convert 100% of Physical Damage to Cold Damage"]={{[1]={[1]={skillName="Summon Arbalists",type="SkillName"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="PhysicalDamageConvertToCold",type="BASE",value=100}}}},nil}
1129911299
c["Summoned Arbalists Convert 100% of Physical Damage to Fire Damage"]={{[1]={[1]={skillName="Summon Arbalists",type="SkillName"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="PhysicalDamageConvertToFire",type="BASE",value=100}}}},nil}
1130011300
c["Summoned Arbalists Convert 100% of Physical Damage to Lightning Damage"]={{[1]={[1]={skillName="Summon Arbalists",type="SkillName"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="PhysicalDamageConvertToLightning",type="BASE",value=100}}}},nil}
@@ -11373,8 +11373,7 @@ c["Summoned Skeletons have 30% of Physical Damage Converted to Chaos Damage"]={{
1137311373
c["Summoned Skeletons have Avatar of Fire"]={{[1]={[1]={includeTransfigured=true,skillName="Summon Skeletons",type="SkillName"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="Keystone",type="LIST",value="Avatar of Fire"}}}},nil}
1137411374
c["Summoned Skeletons take 23% of their Maximum Life per second as Fire Damage"]={{[1]={[1]={includeTransfigured=true,skillName="Summon Skeletons",type="SkillName"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={[1]={percent=23,stat="Life",type="PercentStat"},flags=0,keywordFlags=0,name="FireDegen",type="BASE",value=1}}}},nil}
1137511375
c["Summoned Skeletons take 30% of their Maximum Life per second as Fire Damage"]={{[1]={[1]={includeTransfigured=true,skillName="Summon Skeletons",type="SkillName"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={[1]={percent=30,stat="Life",type="PercentStat"},flags=0,keywordFlags=0,name="FireDegen",type="BASE",value=1}}}},nil}
11376-
c["Summoned Skitterbots' Auras affect you as well as Enemies"]={nil,"Summoned Skitterbots' Auras affect you as well as Enemies "}
11377-
c["Summoned Skitterbots' Auras affect you as well as Enemies 75% increased Effect of Non-Damaging Ailments inflicted by Summoned Skitterbots"]={nil,"Summoned Skitterbots' Auras affect you as well as Enemies 75% increased Effect of Non-Damaging Ailments inflicted by Summoned Skitterbots "}
11376+
c["Summoned Skitterbots' Auras affect you as well as Enemies"]={{[1]={flags=0,keywordFlags=0,name="SkitterbotAffectPlayer",type="FLAG",value=true}},nil}
1137811377
c["Suppressed Spell Damage cannot inflict Elemental Ailments on you"]={nil,"Suppressed Spell Damage cannot inflict Elemental Ailments on you "}
1137911378
c["Supreme Decadence"]={{[1]={flags=0,keywordFlags=0,name="Keystone",type="LIST",value="Supreme Decadence"}},nil}
1138011379
c["Supreme Ego"]={{[1]={flags=0,keywordFlags=0,name="Keystone",type="LIST",value="Supreme Ego"}},nil}
@@ -11436,7 +11435,7 @@ c["Temporal Rift has no Reservation"]={{[1]={[1]={skillId="TemporalRift",type="S
1143611435
c["Thaumaturgical Lure"]={nil,"Thaumaturgical Lure "}
1143711436
c["Thaumaturgical Lure 40% increased Quantity of Fish Caught"]={nil,"Thaumaturgical Lure 40% increased Quantity of Fish Caught "}
1143811437
c["The Agnostic"]={{[1]={flags=0,keywordFlags=0,name="Keystone",type="LIST",value="The Agnostic"}},nil}
11439-
c["The Effect of Chill on you is reversed"]={{[1]={flags=0,keywordFlags=0,name="SelfChillEffectIsReversed",type="FLAG",value=true}},nil}
11438+
c["The Effect of Chill on you is reversed"]={{[1]={flags=0,keywordFlags=0,name="SelfChillEffectIsReversed",type="FLAG",value=true},[2]={[1]={type="Condition",var="Chilled"},flags=0,keywordFlags=0,name="Dummy",source="",type="DUMMY",value=1}},nil}
1144011439
c["The Impaler"]={{[1]={flags=0,keywordFlags=0,name="Keystone",type="LIST",value="The Impaler"}},nil}
1144111440
c["The first 6 Mana Burn applied to you have no effect"]={{[1]={[1]={actor="player",type="ActorCondition"},flags=0,keywordFlags=0,name="EffectiveManaBurnStacks",type="BASE",value=-6}},nil}
1144211441
c["The stars are aligned if you have 6 Influence types among other Equipped Items"]={{[1]={[1]={threshold=2,type="MultiplierThreshold",var="ShaperItem"},[2]={threshold=2,type="MultiplierThreshold",var="ElderItem"},[3]={threshold=2,type="MultiplierThreshold",var="WarlordItem"},[4]={threshold=2,type="MultiplierThreshold",var="HunterItem"},[5]={threshold=2,type="MultiplierThreshold",var="CrusaderItem"},[6]={threshold=2,type="MultiplierThreshold",var="RedeemerItem"},flags=0,keywordFlags=0,name="Condition:StarsAreAligned",type="FLAG",value=true}},nil}

src/Data/Skills/act_int.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18580,6 +18580,7 @@ skills["SummonSkitterbots"] = {
1858018580
minionList = {
1858118581
"SkitterbotCold",
1858218582
"SkitterbotLightning",
18583+
"SkitterbotFire",
1858318584
},
1858418585
statMap = {
1858518586
["skitterbots_trap_mine_damage_+%_final"] = {

src/Export/Minions/Minions.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ local minions, mod = ...
158158
#monster Metadata/Monsters/Skitterbot/SkitterbotLightning SkitterbotLightning
159159
#emit
160160

161+
#monster Metadata/Monsters/Skitterbot/SkitterbotFire SkitterbotFire
162+
#emit
163+
161164
#monster Metadata/Monsters/SummonedReaper/SummonedReaper SummonedReaper
162165
#limit ActiveReaperLimit
163166
#emit

src/Export/Skills/act_int.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3995,6 +3995,7 @@ local skills, mod, flag, skill = ...
39953995
minionList = {
39963996
"SkitterbotCold",
39973997
"SkitterbotLightning",
3998+
"SkitterbotFire",
39983999
},
39994000
statMap = {
40004001
["skitterbots_trap_mine_damage_+%_final"] = {

src/Modules/CalcPerform.lua

Lines changed: 47 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -759,15 +759,34 @@ local function doActorMisc(env, actor)
759759
end
760760
if modDB:Flag(nil, "Chill") then
761761
local ailmentData = data.nonDamagingAilment
762-
local chillValue = modDB:Override(nil, "ChillVal") or ailmentData.Chill.default
763-
764-
local chillSelf = (modDB:Flag(nil, "Condition:ChilledSelf") and modDB:Sum("INC", nil, "EnemyChillEffect") / 100) or 0
765-
local totalChillSelfEffect = calcLib.mod(modDB, nil, "SelfChillEffect") + chillSelf
766-
767-
local effect = m_min(m_max(m_floor(chillValue * totalChillSelfEffect), 0), modDB:Override(nil, "ChillMax") or ailmentData.Chill.max)
768-
762+
local chillValue = m_max(modDB:Sum("BASE", nil, "SelfChillOverride"), modDB:Override(nil, "ChillVal")) or ailmentData.Chill.default
763+
local totalChillSelfEffect = calcLib.mod(modDB, nil, "SelfChillEffect")
764+
local avoidChill = modDB:Flag(nil, "ChillImmune", "ElementalAilmentImmune") and 100 or m_floor(m_min(modDB:Sum("BASE", nil, "AvoidChill", "AvoidAilments", "AvoidElementalAilments") + (modDB:Flag(nil, "ShockAvoidAppliesToElementalAilments") and modDB:Sum("BASE", nil, "AvoidShock") or 0), 100))
765+
766+
local effect = avoidChill == 100 and 0 or m_min(m_max(m_floor(chillValue * totalChillSelfEffect), 0), modDB:Override(nil, "ChillMax") or ailmentData.Chill.max)
767+
if modDB:Flag(nil, "SkitterbotBonechill") then
768+
modDB:NewMod("ColdDamageTaken", "INC", effect * (modDB:Flag(nil, "SelfChillEffectIsReversed") and -1 or 1), "Bonechill")
769+
end
769770
modDB:NewMod("ActionSpeed", "INC", effect * (modDB:Flag(nil, "SelfChillEffectIsReversed") and 1 or -1), "Chill")
770771
end
772+
if modDB:Flag(nil, "Shock") then
773+
local ailmentData = data.nonDamagingAilment
774+
local shockValue = m_max(modDB:Sum("BASE", nil, "SelfShockOverride"), modDB:Override(nil, "ShockVal")) or ailmentData.Shock.default
775+
local totalShockSelfEffect = calcLib.mod(modDB, nil, "SelfShockEffect")
776+
local avoidShock = modDB:Flag(nil, "ShockImmune", "ElementalAilmentImmune") and 100 or m_floor(m_min(modDB:Sum("BASE", nil, "AvoidShock", "AvoidAilments", "AvoidElementalAilments"), 100))
777+
778+
local effect = avoidShock == 100 and 0 or m_min(m_max(m_floor(shockValue * totalShockSelfEffect), 0), modDB:Override(nil, "ShockMax") or ailmentData.Shock.max)
779+
modDB:NewMod("DamageTaken", "INC", effect, "Shock")
780+
end
781+
if modDB:Flag(nil, "Scorch") then
782+
local ailmentData = data.nonDamagingAilment
783+
local scorchValue = m_max(modDB:Sum("BASE", nil, "SelfScorchOverride"), modDB:Override(nil, "ScorchVal")) or ailmentData.Scorch.default
784+
local totalScorchSelfEffect = calcLib.mod(modDB, nil, "SelfScorchEffect")
785+
local avoidScorch = modDB:Flag(nil, "ScorchImmune", "ElementalAilmentImmune") and 100 or m_floor(m_min(modDB:Sum("BASE", nil, "AvoidScorch", "AvoidAilments", "AvoidElementalAilments") + (modDB:Flag(nil, "ShockAvoidAppliesToElementalAilments") and modDB:Sum("BASE", nil, "AvoidShock") or 0), 100))
786+
787+
local effect = avoidScorch == 100 and 0 or m_min(m_max(m_floor(scorchValue * totalScorchSelfEffect), 0), modDB:Override(nil, "ScorchMax") or ailmentData.Scorch.max)
788+
modDB:NewMod("ElementalResist", "BASE", -effect, "Scorch")
789+
end
771790
if modDB:Flag(nil, "Freeze") then
772791
local effect = m_max(m_floor(70 * calcLib.mod(modDB, nil, "SelfChillEffect")), 0)
773792
modDB:NewMod("ActionSpeed", "INC", -effect, "Freeze")
@@ -1190,17 +1209,36 @@ function calcs.perform(env, skipEHP)
11901209
output.HasBonechill = true
11911210
end
11921211
if activeSkill.activeEffect.grantedEffect.name == "Summon Skitterbots" then
1212+
local skitterbotAilmentEffect = activeSkill.skillModList:Sum("INC", nil, "SkitterbotAilmentEffect")
11931213
if not activeSkill.skillModList:Flag(nil, "SkitterbotsCannotShock") then
1194-
local effect = data.nonDamagingAilment.Shock.default * (1 + activeSkill.skillModList:Sum("INC", { source = "Skill" }, "EnemyShockEffect") / 100)
1214+
local effect = data.nonDamagingAilment.Shock.default * (1 + (activeSkill.skillModList:Sum("INC", { source = "Skill" }, "EnemyShockEffect") + skitterbotAilmentEffect) / 100)
11951215
modDB:NewMod("ShockOverride", "BASE", effect, activeSkill.activeEffect.grantedEffect.name)
11961216
enemyDB:NewMod("Condition:Shocked", "FLAG", true, activeSkill.activeEffect.grantedEffect.name)
1217+
if activeSkill.skillModList:Flag(nil, "SkitterbotAffectPlayer") then
1218+
modDB:NewMod("Shock", "FLAG", true, activeSkill.activeEffect.grantedEffect.name)
1219+
modDB:NewMod("SelfShockOverride", "BASE", effect, activeSkill.activeEffect.grantedEffect.name)
1220+
end
11971221
end
11981222
if not activeSkill.skillModList:Flag(nil, "SkitterbotsCannotChill") then
1199-
local effect = data.nonDamagingAilment.Chill.default * (1 + activeSkill.skillModList:Sum("INC", { source = "Skill" }, "EnemyChillEffect") / 100)
1223+
local effect = data.nonDamagingAilment.Chill.default * (1 + (activeSkill.skillModList:Sum("INC", { source = "Skill" }, "EnemyChillEffect") + skitterbotAilmentEffect) / 100)
12001224
modDB:NewMod("ChillOverride", "BASE", effect, activeSkill.activeEffect.grantedEffect.name)
12011225
enemyDB:NewMod("Condition:Chilled", "FLAG", true, activeSkill.activeEffect.grantedEffect.name)
1226+
if activeSkill.skillModList:Flag(nil, "SkitterbotAffectPlayer") then
1227+
modDB:NewMod("Chill", "FLAG", true, activeSkill.activeEffect.grantedEffect.name)
1228+
modDB:NewMod("SelfChillOverride", "BASE", effect, activeSkill.activeEffect.grantedEffect.name)
1229+
end
12021230
if activeSkill.skillData.supportBonechill then
12031231
hasGuaranteedBonechill = true
1232+
modDB:NewMod("SkitterbotBonechill", "FLAG", true, activeSkill.activeEffect.grantedEffect.name)
1233+
end
1234+
end
1235+
if activeSkill.skillModList:Flag(nil, "ScorchingSkitterbot") then
1236+
local effect = data.nonDamagingAilment.Scorch.default * (1 + (activeSkill.skillModList:Sum("INC", { source = "Skill" }, "EnemyScorchEffect") + skitterbotAilmentEffect) / 100)
1237+
modDB:NewMod("ScorchOverride", "BASE", effect, activeSkill.activeEffect.grantedEffect.name)
1238+
enemyDB:NewMod("Condition:Scorched", "FLAG", true, activeSkill.activeEffect.grantedEffect.name)
1239+
if activeSkill.skillModList:Flag(nil, "SkitterbotAffectPlayer") then
1240+
modDB:NewMod("Scorch", "FLAG", true, activeSkill.activeEffect.grantedEffect.name)
1241+
modDB:NewMod("SelfScorchOverride", "BASE", effect, activeSkill.activeEffect.grantedEffect.name)
12041242
end
12051243
end
12061244
elseif activeSkill.skillTypes[SkillType.ChillingArea] or (activeSkill.skillTypes[SkillType.NonHitChill] and not activeSkill.skillModList:Flag(nil, "CannotChill")) then

src/Modules/ConfigOptions.lua

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,15 +1038,12 @@ Huge sets the radius to 11.
10381038
{ var = "conditionScorched", type = "check", label = "Are you ^xB97123Scorched?", ifCond = "Scorched", apply = function(val, modList, enemyModList)
10391039
modList:NewMod("Condition:Scorched", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
10401040
end },
1041-
{ var = "conditionChilled", type = "check", label = "Are you ^x3F6DB3Chilled?", apply = function(val, modList, enemyModList)
1041+
{ var = "conditionChilled", type = "check", label = "Are you ^x3F6DB3Chilled?", ifCond = "Chilled", apply = function(val, modList, enemyModList)
10421042
modList:NewMod("Condition:Chilled", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
10431043
end },
10441044
{ var = "conditionChilledEffect", type = "count", label = "Effect of ^x3F6DB3Chill:", ifOption = "conditionChilled", apply = function(val, modList, enemyModList)
10451045
modList:NewMod("ChillVal", "OVERRIDE", val, "Chill", { type = "Condition", var = "Chilled" })
10461046
end },
1047-
{ var = "conditionSelfChill", type = "check", label = "Did you ^x3F6DB3Chill ^7yourself?", ifOption = "conditionChilled", apply = function(val, modList, enemyModList)
1048-
modList:NewMod("Condition:ChilledSelf", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
1049-
end },
10501047
{ var = "conditionFrozen", type = "check", label = "Are you ^x3F6DB3Frozen?", ifCond = "Frozen", apply = function(val, modList, enemyModList)
10511048
modList:NewMod("Condition:Frozen", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
10521049
end },
@@ -1055,7 +1052,9 @@ Huge sets the radius to 11.
10551052
end },
10561053
{ var = "conditionShocked", type = "check", label = "Are you ^xADAA47Shocked?", ifCond = "Shocked", apply = function(val, modList, enemyModList)
10571054
modList:NewMod("Condition:Shocked", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
1058-
modList:NewMod("DamageTaken", "INC", 15, "Shock", { type = "Condition", var = "Shocked" })
1055+
end },
1056+
{ var = "conditionPlayerShockEffect", type = "count", label = "Effect of ^xADAA47Shock:", ifOption = "conditionShocked", apply = function(val, modList, enemyModList)
1057+
modList:NewMod("ShockVal", "OVERRIDE", val, "Shock", { type = "Condition", var = "Shocked" })
10591058
end },
10601059
{ var = "conditionSapped", type = "check", label = "Are you ^xADAA47Sapped?", ifCond = "Sapped", apply = function(val, modList, enemyModList)
10611060
modList:NewMod("Condition:Sapped", "FLAG", true, "Config", { type = "Condition", var = "Combat" })

0 commit comments

Comments
 (0)