Skip to content

Commit ee69c16

Browse files
Blitz54LocalIdentity
andauthored
Add support for Burden of Shadows 1% inc Chaos damage per 3 Life cost (#692)
* Add support for Burden of Shadows inc chaos damage per 3 life * removed an oopsie test * Add mod for future support --------- Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent e385a7f commit ee69c16

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Data/ModCache.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3146,7 +3146,7 @@ c["Skills Cost +3 Rage"]={{[1]={flags=0,keywordFlags=0,name="RageCostBase",type=
31463146
c["Skills Supported by Unleash have 10% increased Seal gain frequency"]={{[1]={flags=0,keywordFlags=0,name="SealGainFrequency",type="INC",value=10}},nil}
31473147
c["Skills Supported by Unleash have 25% increased Seal gain frequency"]={{[1]={flags=0,keywordFlags=0,name="SealGainFrequency",type="INC",value=25}},nil}
31483148
c["Skills fire an additional Projectile"]={{[1]={flags=0,keywordFlags=0,name="ProjectileCount",type="BASE",value=1}},nil}
3149-
c["Skills gain 1% of Damage as Chaos Damage per 3 Life Cost"]={{[1]={[1]={div=3,stat="Life",type="PerStat"},flags=0,keywordFlags=0,name="DamageAsChaos",type="BASE",value=1}}," Cost "}
3149+
c["Skills gain 1% of Damage as Chaos Damage per 3 Life Cost"]={{[1]={[1]={div=3,stat="LifeCost",type="PerStat"},flags=0,keywordFlags=0,name="DamageAsChaos",type="BASE",value=1}},nil}
31503150
c["Skills gain a Base Life Cost equal to 50% of Base Mana Cost"]={{[1]={flags=0,keywordFlags=0,name="ManaCostAsLifeCost",type="BASE",value=50}},nil}
31513151
c["Skills gain a Base Life Cost equal to Base Mana Cost"]={{[1]={flags=0,keywordFlags=0,name="ManaCostAsLifeCost",type="BASE",value=100}},nil}
31523152
c["Skills have +1 to Limit"]={{}," Limit "}

src/Modules/ModParser.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ local modNameList = {
158158
["total cost"] = "Cost",
159159
["total mana cost"] = "ManaCost",
160160
["total mana cost of skills"] = "ManaCost",
161+
["life cost"] = "LifeCost",
161162
["life cost of skills"] = "LifeCost",
162163
["rage cost of skills"] = "RageCost",
163164
["cost of"] = "Cost",
@@ -1389,6 +1390,7 @@ local modTagList = {
13891390
["per (%d+) life"] = function(num) return { tag = { type = "PerStat", stat = "Life", div = num } } end,
13901391
["per (%d+) of maximum life or maximum mana, whichever is lower"] = function(num) return { tag = { type = "PerStat", stat = "LowestOfMaximumLifeAndMaximumMana", div = num } } end,
13911392
["per (%d+) player maximum life"] = function(num) return { tag = { type = "PerStat", stat = "Life", div = num, actor = "parent" } } end,
1393+
["per (%d+) life cost"] = function(num) return { tag = { type = "PerStat", stat = "LifeCost", div = num}} end,
13921394
["per (%d+) maximum mana"] = function(num) return { tag = { type = "PerStat", stat = "Mana", div = num } } end,
13931395
["per (%d+) maximum mana, up to (%d+)%%"] = function(num, _, limit) return { tag = { type = "PerStat", stat = "Mana", div = num, limit = tonumber(limit), limitTotal = true } } end,
13941396
["per (%d+) maximum mana, up to a maximum of (%d+)%%"] = function(num, _, limit) return { tag = { type = "PerStat", stat = "Mana", div = num, limit = tonumber(limit), limitTotal = true } } end,

0 commit comments

Comments
 (0)