Skip to content

Commit d209814

Browse files
committed
FEAT(mods): add handling for "Warcries have an additional Life Cost equal to 15% of your Maximum Life"
1 parent ff5c91e commit d209814

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Modules/ModParser.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4669,6 +4669,9 @@ local specialModList = {
46694669
["attack skills cost life instead of (%d+)%% of mana cost"] = function(num) return {
46704670
mod("HybridManaAndLifeCost_Life", "BASE", num, nil, ModFlag.Attack)
46714671
} end,
4672+
["warcries have an additional life cost equal to (%d+)%% of your maximum life"] = function(num) return {
4673+
mod("LifeCostNoMult", "BASE", 1, { type = "PercentStat", stat = "Life", percent = num })
4674+
} end,
46724675
["trigger a socketed elemental spell on block, with a ([%d%.]+) second cooldown"] = { mod("ExtraSupport", "LIST", { skillId = "SupportTriggerElementalSpellOnBlock", level = 1 }, { type = "SocketedIn", slotName = "{SlotName}" }) },
46734676
["(%d+)%% chance to cast a? ?socketed lightning spells? on hit"] = { mod("ExtraSupport", "LIST", { skillId = "SupportUniqueMjolnerLightningSpellsCastOnHit", level = 1 }, { type = "SocketedIn", slotName = "{SlotName}" }) },
46744677
["cast a socketed lightning spell on hit"] = { mod("ExtraSupport", "LIST", { skillId = "SupportUniqueMjolnerLightningSpellsCastOnHit", level = 1 }, { type = "SocketedIn", slotName = "{SlotName}" }) },

0 commit comments

Comments
 (0)