Skip to content

Commit a8c971c

Browse files
Add support for "Eldritch Empowerment" (Lich Ascendancy) (#862)
Co-authored-by: majochem <majochem@users.noreply.github.com> Co-authored-by: LocalIdentity <31035929+LocalIdentity@users.noreply.github.com>
1 parent 6f7c688 commit a8c971c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Modules/ModParser.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -993,6 +993,7 @@ local modFlagList = {
993993
["with chaos skills"] = { keywordFlags = KeywordFlag.Chaos },
994994
["with physical skills"] = { keywordFlags = KeywordFlag.Physical },
995995
["with channelling skills"] = { tag = { type = "SkillType", skillType = SkillType.Channel } },
996+
["with non-channelling skills"] = { tag = { type = "SkillType", skillType = SkillType.Channel, neg = true } },
996997
["channelling"] = { tag = { type = "SkillType", skillType = SkillType.Channel } },
997998
["channelling skills"] = { tag = { type = "SkillType", skillType = SkillType.Channel } },
998999
["non-channelling"] = { tag = { type = "SkillType", skillType = SkillType.Channel, neg = true } },
@@ -1164,6 +1165,8 @@ local preFlagList = {
11641165
["^warcry skills have "] = { tag = { type = "SkillType", skillType = SkillType.Warcry } },
11651166
["^non%-curse aura skills have "] = { tagList = { { type = "SkillType", skillType = SkillType.Aura }, { type = "SkillType", skillType = SkillType.AppliesCurse, neg = true } } },
11661167
["^non%-channelling skills have "] = { tag = { type = "SkillType", skillType = SkillType.Channel, neg = true } },
1168+
["^non%-channelling spells "] = { keywordFlags = KeywordFlag.Spell, tag = { type = "SkillType", skillType = SkillType.Channel, neg = true } },
1169+
["^non%-channelling spells [hd][ae][va][el] "] = { keywordFlags = KeywordFlag.Spell, tag = { type = "SkillType", skillType = SkillType.Channel, neg = true } },
11671170
["^non%-vaal skills deal "] = { tag = { type = "SkillType", skillType = SkillType.Vaal, neg = true } },
11681171
["^skills [hgdf][aei][vari][eln] "] = { },
11691172
["^triggered spells [hd][ae][va][el] "] = { keywordFlags = KeywordFlag.Spell, tag = { type = "SkillType", skillType = SkillType.Triggered } },
@@ -2742,6 +2745,7 @@ local specialModList = {
27422745
["gain accuracy rating equal to your strength"] = { mod("Accuracy", "BASE", 1, { type = "PerStat", stat = "Str" }) },
27432746
["gain accuracy rating equal to twice your strength"] = { mod("Accuracy", "BASE", 2, { type = "PerStat", stat = "Str" }) },
27442747
-- Lich
2748+
["non%-channelling spells cost an additional (%d+)%% of maximum energy shield"] = function(num) return { mod("ESCostBase", "BASE", 1, nil, 0, KeywordFlag.Spell, { type = "PercentStat", percent = num, stat = "EnergyShield" }, { type = "SkillType", skillType = SkillType.Channel, neg = true } )} end,
27452749
["non%-channelling spells consume power charges to deal (%d+)%% more damage"] = function(num) return { mod("Damage", "MORE", num, nil, 0,KeywordFlag.Spell, { type = "SkillType", skillType = SkillType.Channel, neg = true }, { type = "MultiplierThreshold", var = "RemovablePowerCharge", threshold = 1 })} end,
27462750
-- Mercenary
27472751
-- +2 Weapon Set Passive Skill Points

0 commit comments

Comments
 (0)