Skip to content

Commit a5ad54b

Browse files
justjuanguijustjuanguiLocalIdentity
authored
Support empowered attacks (#168)
* Empower condition was added, And Nodes corelated was enabled * win empowered was added to modParse * Fix mod locations + config location and tooltip * Remove mod cache --------- Co-authored-by: justjuangui <servicios@juacarvajal.com> Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 14b366e commit a5ad54b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/Modules/ConfigOptions.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,9 @@ local configSettings = {
615615
{ var = "windDancerStacks", type = "count", label = "# of Wind Dancer Stacks:", ifSkill = "Wind Dancer", apply = function(val, modList, enemyModList)
616616
modList:NewMod("Multiplier:WindDancerStacks", "BASE", val, "Config")
617617
end },
618+
{ var = "conditionSkillEmpowered", type = "check", label = "Is the skill Empowered?", ifCond = "SkillEmpowered", tooltip = "Skills can be temporarily Empowered by certain buff skills.", apply = function(val, modList, enemyModList)
619+
modList:NewMod("Condition:SkillEmpowered", "FLAG", true, "Config", { type = "Condition", var = "Combat" })
620+
end },
618621
{ var = "multiplierWoCExpiredDuration", type = "count", label = "% Wave of Conviction duration expired:", ifMod = "WaveOfConvictionDurationDotMulti", apply = function(val, modList, enemyModList)
619622
modList:NewMod("Multiplier:WoCDurationExpired", "BASE", m_min(val, 100), "Config", { type = "Condition", var = "Effective" })
620623
end },

src/Modules/ModParser.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,7 @@ local preFlagList = {
12331233
["^for each nearby corpse, "] = { tag = { type = "Multiplier", var = "NearbyCorpse" } },
12341234
["^enemies in your link beams have "] = { tag = { type = "Condition", var = "BetweenYouAndLinkedTarget" }, applyToEnemy = true },
12351235
["^consecrated ground you create also grants "] = { tag = { type = "Condition", var = "OnConsecratedGround" } },
1236+
["^empowered attacks [hgd][ae][via][enl] "] = { flags = ModFlag.Attack, tag = { type = "Condition", var = "SkillEmpowered" } },
12361237
-- While in the presence of...
12371238
["^while a unique enemy is in your presence, "] = { tag = { type = "ActorCondition", actor = "enemy", var = "RareOrUnique" } },
12381239
["^while a pinnacle atlas boss is in your presence, "] = { tag = { type = "ActorCondition", actor = "enemy", var = "PinnacleBoss" } },
@@ -1249,6 +1250,8 @@ local modTagList = {
12491250
["with critical hits"] = { tag = { type = "Condition", var = "CriticalStrike" } },
12501251
["while affected by auras you cast"] = { tag = { type = "Condition", var = "AffectedByAura" } },
12511252
["for you and nearby allies"] = { newAura = true },
1253+
["with empowered attacks"] = { tag = { type = "Condition", var = "SkillEmpowered" } },
1254+
["during empowered attacks"] = { tag = { type = "Condition", var = "SkillEmpowered" } },
12521255
-- Multipliers
12531256
["per power charge"] = { tag = { type = "Multiplier", var = "PowerCharge" } },
12541257
["per frenzy charge"] = { tag = { type = "Multiplier", var = "FrenzyCharge" } },

0 commit comments

Comments
 (0)