Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit 38edb8c

Browse files
Merge pull request #11 from deathbeam/exposss
Fix base exposure, add cold exposure, fix lightning exposure
2 parents a2e5df8 + dcd3dde commit 38edb8c

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

src/Data/SkillStatMap.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ return {
13991399
mod("LightningExposureChance", "BASE", nil),
14001400
},
14011401
["inflict_lightning_exposure_for_x_ms_on_shock"] = {
1402-
mod("LightningExposureChance", "BASE", 100, ModFlag.Hit, 0, { type = "Condition", var = "Shocked" }),
1402+
mod("LightningExposureChance", "BASE", 100, ModFlag.Hit, 0, { type = "ActorCondition", actor = "enemy", var = "Shocked"}),
14031403
},
14041404
["base_inflict_fire_exposure_on_hit_%_chance"] = {
14051405
mod("FireExposureChance", "BASE", nil),

src/Data/Skills/sup_int.lua

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,11 @@ skills["SupportColdExposurePlayer"] = {
603603
label = "Cold Exposure",
604604
incrementalEffectiveness = 0.054999999701977,
605605
statDescriptionScope = "gem_stat_descriptions",
606+
statMap = {
607+
["inflict_cold_exposure_for_x_ms_on_cold_crit"] = {
608+
mod("ColdExposureChance", "BASE", nil),
609+
},
610+
},
606611
baseFlags = {
607612
},
608613
constantStats = {
@@ -2894,4 +2899,4 @@ skills["SupportWitheringTouchPlayer"] = {
28942899
},
28952900
},
28962901
}
2897-
}
2902+
}

src/Export/Skills/sup_int.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@ statMap = {
138138
#skill SupportColdExposurePlayer
139139
#startSets
140140
#set SupportColdExposurePlayer
141+
statMap = {
142+
["inflict_cold_exposure_for_x_ms_on_cold_crit"] = {
143+
mod("ColdExposureChance", "BASE", nil),
144+
},
145+
},
141146
#mods
142147
#skillEnd
143148

@@ -749,4 +754,4 @@ statMap = {
749754
},
750755
},
751756
#mods
752-
#skillEnd
757+
#skillEnd

src/Modules/ConfigOptions.lua

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -601,16 +601,6 @@ local configSettings = {
601601
{ var = "multiplierWarcryPower", type = "count", label = "Warcry Power:", ifFlag = "UsesWarcryPower", tooltip = "Power determines how strong your Warcry buffs will be, and is based on the total strength of nearby enemies.\nPower is assumed to be 20 if your target is a Boss, but you can override it here if necessary.\n\tEach Normal enemy grants 1 Power\n\tEach Magic enemy grants 2 Power\n\tEach Rare enemy grants 10 Power\n\tEach Unique enemy grants 20 Power", apply = function(val, modList, enemyModList)
602602
modList:NewMod("WarcryPower", "OVERRIDE", val, "Config")
603603
end },
604-
{ label = "Wave of Conviction:", ifSkill = "Wave of Conviction" },
605-
{ var = "waveOfConvictionExposureType", type = "list", label = "Exposure Type:", ifSkill = "Wave of Conviction", list = {{val=0,label="None"},{val="Fire",label="^xB97123Fire"},{val="Cold",label="^x3F6DB3Cold"},{val="Lightning",label="^xADAA47Lightning"}}, apply = function(val, modList, enemyModList)
606-
if val == "Fire" then
607-
modList:NewMod("Condition:WaveOfConvictionFireExposureActive", "FLAG", true, "Config")
608-
elseif val == "Cold" then
609-
modList:NewMod("Condition:WaveOfConvictionColdExposureActive", "FLAG", true, "Config")
610-
elseif val == "Lightning" then
611-
modList:NewMod("Condition:WaveOfConvictionLightningExposureActive", "FLAG", true, "Config")
612-
end
613-
end },
614604
{ label = "Wind Dancer:", ifSkill = "Wind Dancer" },
615605
{ var = "windDancerStacks", type = "count", label = "# of Wind Dancer Stacks:", ifSkill = "Wind Dancer", apply = function(val, modList, enemyModList)
616606
modList:NewMod("Multiplier:WindDancerStacks", "BASE", val, "Config")
@@ -1603,14 +1593,14 @@ Huge sets the radius to 11.
16031593
{ var = "multiplierFreezeShockIgniteOnEnemy", type = "count", label = "# of ^x3F6DB3Freeze ^7/ ^xADAA47Shock ^7/ ^xB97123Ignite ^7on enemy:", ifMult = "FreezeShockIgniteOnEnemy", apply = function(val, modList, enemyModList)
16041594
modList:NewMod("Multiplier:FreezeShockIgniteOnEnemy", "BASE", val, "Config", { type = "Condition", var = "Effective" })
16051595
end },
1606-
{ var = "conditionEnemyFireExposure", type = "check", label = "Is the enemy Exposed to ^xB97123Fire?", ifFlag = "applyFireExposure", tooltip = "This applies -10% ^xB97123Fire Resistance ^7to the enemy.", apply = function(val, modList, enemyModList)
1607-
enemyModList:NewMod("FireExposure", "BASE", -10, "Config", { type = "Condition", var = "Effective" }, { type = "ActorCondition", actor = "enemy", var = "CanApplyFireExposure" })
1596+
{ var = "conditionEnemyFireExposure", type = "check", label = "Is the enemy Exposed to ^xB97123Fire?", ifFlag = "applyFireExposure", tooltip = "This applies -20% ^xB97123Fire Resistance ^7to the enemy.", apply = function(val, modList, enemyModList)
1597+
enemyModList:NewMod("FireExposure", "BASE", -20, "Config", { type = "Condition", var = "Effective" }, { type = "ActorCondition", actor = "enemy", var = "CanApplyFireExposure" })
16081598
end },
1609-
{ var = "conditionEnemyColdExposure", type = "check", label = "Is the enemy Exposed to ^x3F6DB3Cold?", ifFlag = "applyColdExposure", tooltip = "This applies -10% ^x3F6DB3Cold Resistance ^7to the enemy.", apply = function(val, modList, enemyModList)
1610-
enemyModList:NewMod("ColdExposure", "BASE", -10, "Config", { type = "Condition", var = "Effective" }, { type = "ActorCondition", actor = "enemy", var = "CanApplyColdExposure" })
1599+
{ var = "conditionEnemyColdExposure", type = "check", label = "Is the enemy Exposed to ^x3F6DB3Cold?", ifFlag = "applyColdExposure", tooltip = "This applies -20% ^x3F6DB3Cold Resistance ^7to the enemy.", apply = function(val, modList, enemyModList)
1600+
enemyModList:NewMod("ColdExposure", "BASE", -20, "Config", { type = "Condition", var = "Effective" }, { type = "ActorCondition", actor = "enemy", var = "CanApplyColdExposure" })
16111601
end },
1612-
{ var = "conditionEnemyLightningExposure", type = "check", label = "Is the enemy Exposed to ^xADAA47Lightning?", ifFlag = "applyLightningExposure", tooltip = "This applies -10% ^xADAA47Lightning Resistance ^7to the enemy.", apply = function(val, modList, enemyModList)
1613-
enemyModList:NewMod("LightningExposure", "BASE", -10, "Config", { type = "Condition", var = "Effective" }, { type = "ActorCondition", actor = "enemy", var = "CanApplyLightningExposure" })
1602+
{ var = "conditionEnemyLightningExposure", type = "check", label = "Is the enemy Exposed to ^xADAA47Lightning?", ifFlag = "applyLightningExposure", tooltip = "This applies -20% ^xADAA47Lightning Resistance ^7to the enemy.", apply = function(val, modList, enemyModList)
1603+
enemyModList:NewMod("LightningExposure", "BASE", -20, "Config", { type = "Condition", var = "Effective" }, { type = "ActorCondition", actor = "enemy", var = "CanApplyLightningExposure" })
16141604
end },
16151605
{ var = "conditionEnemyIntimidated", type = "check", label = "Is the enemy Intimidated?", tooltip = "Intimidated enemies take 10% increased Attack Damage.", apply = function(val, modList, enemyModList)
16161606
enemyModList:NewMod("Condition:Intimidated", "FLAG", true, "Config", { type = "Condition", var = "Effective" })

0 commit comments

Comments
 (0)