Skip to content

Commit 473b559

Browse files
authored
Add support for Bursting Decay and its modifier (#1053)
* Add Bursting Decay support * ModCache reload
1 parent 2ed7697 commit 473b559

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

src/Data/ModCache.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,6 +1782,7 @@ c["25% increased Movement Speed while affected by an Ailment"]={{[1]={[1]={type=
17821782
c["25% increased Physical Damage"]={{[1]={flags=0,keywordFlags=0,name="PhysicalDamage",type="INC",value=25}},nil}
17831783
c["25% increased Presence Area of Effect"]={{[1]={flags=0,keywordFlags=0,name="AreaOfEffect",type="INC",value=25}}," Presence "}
17841784
c["25% increased Projectile Speed"]={{[1]={flags=0,keywordFlags=0,name="ProjectileSpeed",type="INC",value=25}},nil}
1785+
c["25% increased Rarity of Items found"]={{[1]={flags=0,keywordFlags=0,name="LootRarity",type="INC",value=25}},nil}
17851786
c["25% increased Shock Duration"]={{[1]={flags=0,keywordFlags=0,name="EnemyShockDuration",type="INC",value=25}},nil}
17861787
c["25% increased Skill Effect Duration"]={{[1]={flags=0,keywordFlags=0,name="Duration",type="INC",value=25}},nil}
17871788
c["25% increased Spell Damage"]={{[1]={flags=2,keywordFlags=0,name="Damage",type="INC",value=25}},nil}
@@ -3454,6 +3455,7 @@ c["Attacks gain increased Accuracy Rating equal to their Critical Hit Chance"]={
34543455
c["Attacks have +1% to Critical Hit Chance"]={{[1]={flags=1,keywordFlags=0,name="CritChance",type="BASE",value=1}},nil}
34553456
c["Attacks have 10% chance to Maim on Hit"]={{}," to Maim "}
34563457
c["Attacks have 25% chance to Maim on Hit"]={{}," to Maim "}
3458+
c["Attacks have added Physical damage equal to 3% of maximum Life"]={{[1]={[1]={percent=3,stat="Life",type="PercentStat"},[2]={skillType=1,type="SkillType"},flags=0,keywordFlags=0,name="PhysicalMin",type="BASE",value=1},[2]={[1]={percent=3,stat="Life",type="PercentStat"},[2]={skillType=1,type="SkillType"},flags=0,keywordFlags=0,name="PhysicalMax",type="BASE",value=1}},nil}
34573459
c["Attacks used by Totems have 4% increased Attack Speed"]={{[1]={flags=1,keywordFlags=16384,name="Speed",type="INC",value=4}},nil}
34583460
c["Attacks using your Weapons have Added Physical Damage equal"]={nil,"Added Physical Damage equal "}
34593461
c["Attacks using your Weapons have Added Physical Damage equal to 25% of the Accuracy Rating on the Weapon"]={{[1]={[1]={percent="25",stat="AccuracyOnWeapon 1",type="PercentStat"},[2]={neg=true,skillType=167,type="SkillType"},[3]={type="Condition",var="MainHandAttack"},flags=1,keywordFlags=0,name="PhysicalMin",type="BASE",value=1},[2]={[1]={percent="25",stat="AccuracyOnWeapon 1",type="PercentStat"},[2]={neg=true,skillType=167,type="SkillType"},[3]={type="Condition",var="MainHandAttack"},flags=1,keywordFlags=0,name="PhysicalMax",type="BASE",value=1},[3]={[1]={percent="25",stat="AccuracyOnWeapon 2",type="PercentStat"},[2]={neg=true,skillType=167,type="SkillType"},[3]={type="Condition",var="OffHandAttack"},flags=1,keywordFlags=0,name="PhysicalMin",type="BASE",value=1},[4]={[1]={percent="25",stat="AccuracyOnWeapon 2",type="PercentStat"},[2]={neg=true,skillType=167,type="SkillType"},[3]={type="Condition",var="OffHandAttack"},flags=1,keywordFlags=0,name="PhysicalMax",type="BASE",value=1}},nil}

src/Data/Uniques/ring.lua

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@ Implicits: 1
5353
{variant:2}{tags:mana}(30-50)% increased Mana Regeneration Rate
5454
{tags:lightning}Lightning Damage of Enemies Hitting you is Unlucky
5555
]],[[
56+
Bursting Decay
57+
Unset Ring
58+
League: Dawn of the Hunt
59+
Requires Level 60
60+
Implicits: 1
61+
Grants 1 additional Skill Slot
62+
(15-25)% increased Rarity of Items found
63+
{tags:chaos}+(17-23)% to Chaos Resistance
64+
Lose 5% of maximum Life per second
65+
Attacks have added Physical damage equal to 3% of maximum Life
66+
]],[[
5667
Call of the Brotherhood
5768
Topaz Ring
5869
Requires Level 32

src/Export/Uniques/ring.lua

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,17 @@ UniqueLightningResist4
5353
{variant:2}UniqueManaRegeneration27
5454
UniqueEnemyExtraDamageRollsWithLightningDamage1
5555
]],[[
56+
Bursting Decay
57+
Unset Ring
58+
League: Dawn of the Hunt
59+
Requires Level 60
60+
Implicits: 1
61+
RingImplicitAdditionalSkillSlots1
62+
UniqueItemFoundRarityIncrease22
63+
UniqueChaosResist34
64+
UniqueLifeDegenerationPercentGracePeriod3
65+
UniquePhysicalDamageMaximumLife1
66+
]],[[
5667
Call of the Brotherhood
5768
Topaz Ring
5869
Requires Level 32

src/Modules/ModParser.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5146,6 +5146,10 @@ local specialModList = {
51465146
mod("ChaosMin", "BASE", 1, { type = "PercentStat", stat = "Life", percent = num }, { type = "SkillType", skillType = SkillType.Spell }),
51475147
mod("ChaosMax", "BASE", 1, { type = "PercentStat", stat = "Life", percent = num }, { type = "SkillType", skillType = SkillType.Spell }),
51485148
} end,
5149+
["attacks have added physical damage equal to (%d+)%% of maximum life"] = function(num) return {
5150+
mod("PhysicalMin", "BASE", 1, { type = "PercentStat", stat = "Life", percent = num }, { type = "SkillType", skillType = SkillType.Attack }),
5151+
mod("PhysicalMax", "BASE", 1, { type = "PercentStat", stat = "Life", percent = num }, { type = "SkillType", skillType = SkillType.Attack }),
5152+
} end,
51495153
["every 16 seconds you gain iron reflexes for 8 seconds"] = {
51505154
flag("Condition:HaveArborix"),
51515155
},

0 commit comments

Comments
 (0)