You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
c["Skills Supported by Unleash have 10% increased Seal gain frequency"]={{[1]={flags=0,keywordFlags=0,name="SealGainFrequency",type="INC",value=10}},nil}
3147
3147
c["Skills Supported by Unleash have 25% increased Seal gain frequency"]={{[1]={flags=0,keywordFlags=0,name="SealGainFrequency",type="INC",value=25}},nil}
3148
3148
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}
3150
3150
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}
3151
3151
c["Skills gain a Base Life Cost equal to Base Mana Cost"]={{[1]={flags=0,keywordFlags=0,name="ManaCostAsLifeCost",type="BASE",value=100}},nil}
Copy file name to clipboardExpand all lines: src/Modules/ModParser.lua
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -158,6 +158,7 @@ local modNameList = {
158
158
["total cost"] = "Cost",
159
159
["total mana cost"] = "ManaCost",
160
160
["total mana cost of skills"] = "ManaCost",
161
+
["life cost"] = "LifeCost",
161
162
["life cost of skills"] = "LifeCost",
162
163
["rage cost of skills"] = "RageCost",
163
164
["cost of"] = "Cost",
@@ -1389,6 +1390,7 @@ local modTagList = {
1389
1390
["per (%d+) life"] = function(num) return { tag = { type = "PerStat", stat = "Life", div = num } } end,
1390
1391
["per (%d+) of maximum life or maximum mana, whichever is lower"] = function(num) return { tag = { type = "PerStat", stat = "LowestOfMaximumLifeAndMaximumMana", div = num } } end,
1391
1392
["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,
1392
1394
["per (%d+) maximum mana"] = function(num) return { tag = { type = "PerStat", stat = "Mana", div = num } } end,
1393
1395
["per (%d+) maximum mana, up to (%d+)%%"] = function(num, _, limit) return { tag = { type = "PerStat", stat = "Mana", div = num, limit = tonumber(limit), limitTotal = true } } end,
1394
1396
["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