Skip to content

Commit 73ce884

Browse files
author
LocalIdentity
committed
Fix export of aura mods
Mods that grant effects like `Nearby Enemies have 50% increased Fire and Cold Resistances` contain stats that are used in the BuffTemplate for it to apply to enemies We have to remove these stats as they aren't needed on the items
1 parent 1c2d790 commit 73ce884

9 files changed

Lines changed: 100 additions & 110 deletions

File tree

src/Data/Bases/helmet.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -552,8 +552,8 @@ itemBases["Sorrow Mask"] = {
552552
socketLimit = 4,
553553
tags = { armour = true, default = true, helmet = true, not_for_sale = true, str_dex_armour = true, },
554554
influenceTags = { shaper = "helmet_shaper", elder = "helmet_elder", adjudicator = "helmet_adjudicator", basilisk = "helmet_basilisk", crusader = "helmet_crusader", eyrie = "helmet_eyrie", cleansing = "helmet_cleansing", tangle = "helmet_tangle" },
555-
implicit = "+2% to maximum Chaos Resistance\n-15% additional Physical Damage Reduction\nYou are Crushed",
556-
implicitModTypes = { { }, { }, { }, },
555+
implicit = "+2% to maximum Chaos Resistance\nYou are Crushed",
556+
implicitModTypes = { { }, { }, },
557557
armour = { ArmourBaseMin = 42, ArmourBaseMax = 49, EvasionBaseMin = 42, EvasionBaseMax = 49, },
558558
req = { level = 15, str = 20, dex = 20, },
559559
}
@@ -563,8 +563,8 @@ itemBases["Atonement Mask"] = {
563563
socketLimit = 4,
564564
tags = { armour = true, default = true, helmet = true, not_for_sale = true, str_dex_armour = true, },
565565
influenceTags = { shaper = "helmet_shaper", elder = "helmet_elder", adjudicator = "helmet_adjudicator", basilisk = "helmet_basilisk", crusader = "helmet_crusader", eyrie = "helmet_eyrie", cleansing = "helmet_cleansing", tangle = "helmet_tangle" },
566-
implicit = "+3% to maximum Chaos Resistance\n-15% additional Physical Damage Reduction\nYou are Crushed",
567-
implicitModTypes = { { }, { }, { }, },
566+
implicit = "+3% to maximum Chaos Resistance\nYou are Crushed",
567+
implicitModTypes = { { }, { }, },
568568
armour = { ArmourBaseMin = 122, ArmourBaseMax = 140, EvasionBaseMin = 122, EvasionBaseMax = 140, },
569569
req = { level = 45, str = 51, dex = 51, },
570570
}
@@ -574,8 +574,8 @@ itemBases["Penitent Mask"] = {
574574
socketLimit = 4,
575575
tags = { armour = true, default = true, helmet = true, not_for_sale = true, str_dex_armour = true, },
576576
influenceTags = { shaper = "helmet_shaper", elder = "helmet_elder", adjudicator = "helmet_adjudicator", basilisk = "helmet_basilisk", crusader = "helmet_crusader", eyrie = "helmet_eyrie", cleansing = "helmet_cleansing", tangle = "helmet_tangle" },
577-
implicit = "+4% to maximum Chaos Resistance\n-15% additional Physical Damage Reduction\nYou are Crushed",
578-
implicitModTypes = { { }, { }, { }, },
577+
implicit = "+4% to maximum Chaos Resistance\nYou are Crushed",
578+
implicitModTypes = { { }, { }, },
579579
armour = { ArmourBaseMin = 185, ArmourBaseMax = 212, EvasionBaseMin = 185, EvasionBaseMax = 212, },
580580
req = { level = 75, str = 79, dex = 79, },
581581
}

src/Data/ModItemExclusive.lua

Lines changed: 18 additions & 31 deletions
Large diffs are not rendered by default.

src/Data/Uniques/amulet.lua

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,11 @@ Implicits: 1
155155
{variant:6,7,8,9}{tags:defences}(15-20)% increased Evasion Rating
156156
{variant:10,11,12,13,14,15,16}{tags:defences}(15-20)% increased maximum Energy Shield
157157
{tags:resource}+(50-70) to maximum Life
158-
{variant:1,2,3,4,5}10% reduced Stun and Block Recovery
159-
{variant:1,2,3,4,5}Nearby Enemies have 10% reduced Stun and Block Recovery
160-
{variant:1,2,3,4,5}10% reduced Stun and Block Recovery
161-
{variant:1,2,3,4,5}Nearby Enemies have 10% reduced Stun and Block Recovery
162158
{variant:17}{tags:defences}(15-20)% increased Global Defences
163159
{variant:10,11,12,13,14,15,16}{tags:critical}Hits against Nearby Enemies have 50% increased Critical Strike Chance
164160
{variant:6,7,8,9}Nearby Enemies grant 25% increased Flask Charges
161+
{variant:1,2,3,4,5}Nearby Enemies have 10% reduced Stun and Block Recovery
162+
{variant:1,2,3,4,5}Nearby Enemies have 10% reduced Stun and Block Recovery
165163
{variant:1}Anger has no Reservation
166164
{variant:10}Clarity has no Reservation
167165
{variant:12}Malevolence has no Reservation

src/Data/Uniques/body.lua

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -647,14 +647,12 @@ Source: Drops from unique{Synthete Nightmare} in normal{The Cortex}
647647
Implicits: 0
648648
+600 Strength and Intelligence Requirement
649649
{fractured}(180-230)% increased Energy Shield
650-
Never deal Critical Strikes
651-
Nearby Enemies cannot deal Critical Strikes
652-
Action Speed cannot be modified to below Base Value
653-
Nearby Allies' Action Speed cannot be modified to below Base Value
654650
+10 to maximum Divine Charges
655651
Gain a Divine Charge on Hit
656652
You gain Divinity for 10 seconds on reaching maximum Divine Charges
657653
Lose all Divine Charges when you gain Divinity
654+
Nearby Allies' Action Speed cannot be modified to below Base Value
655+
Nearby Enemies cannot deal Critical Strikes
658656
]],[[
659657
Infernal Mantle
660658
{variant:1}Occultist's Vestment

src/Data/Uniques/helmet.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ Reaver Helmet
159159
24% reduced maximum Life
160160
Regenerate (200-250) Life per second
161161
100% increased Stun and Block Recovery
162-
Reserves 8% of Life
163162
Nearby Enemy Monsters have at least 8% of Life Reserved
164163
]],[[
165164
Howlcrack
@@ -1141,7 +1140,6 @@ Has 1 Socket
11411140
{variant:1}+(50-100) to maximum Life
11421141
{variant:2}+(50-175) to maximum Life
11431142
Nearby Enemies have -10% to all Resistances
1144-
-10% to All Resistances
11451143
You and Nearby Allies have 64 to 96 added Fire Damage per Red Socket
11461144
You and Nearby Allies have 56 to 88 added Cold Damage per Green Socket
11471145
You and Nearby Allies have 16 to 144 added Lightning Damage per Blue Socket
@@ -1423,10 +1421,10 @@ Callous Mask
14231421
Requires Level 45, 51 Dex, 51 Int
14241422
(400-500)% increased Evasion and Energy Shield
14251423
+(20-40)% to Fire Resistance
1426-
Nearby Enemies have 50% increased Fire and Cold Resistances
14271424
+(20-40)% to Cold Resistance
14281425
25% chance to inflict Cold Exposure on Hit
14291426
25% chance to inflict Fire Exposure on Hit
1427+
Nearby Enemies have 50% increased Fire and Cold Resistances
14301428
]],[[
14311429
Farrul's Bite
14321430
Harlequin Mask

src/Export/Scripts/uModsToText.lua

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,27 @@ local catalystTags = {
1515
["critical"] = true,
1616
}
1717
local itemTypes = {
18-
-- "axe",
19-
-- "bow",
20-
-- "claw",
21-
-- "dagger",
22-
-- "fishing",
23-
-- "mace",
24-
-- "staff",
25-
-- "sword",
26-
-- "wand",
27-
-- "helmet",
28-
-- "body",
29-
-- "gloves",
30-
-- "boots",
31-
-- "shield",
32-
-- "quiver",
33-
-- "amulet",
34-
-- "ring",
35-
-- "belt",
36-
-- "jewel",
37-
-- "flask",
38-
-- "tincture",
18+
"axe",
19+
"bow",
20+
"claw",
21+
"dagger",
22+
"fishing",
23+
"mace",
24+
"staff",
25+
"sword",
26+
"wand",
27+
"helmet",
28+
"body",
29+
"gloves",
30+
"boots",
31+
"shield",
32+
"quiver",
33+
"amulet",
34+
"ring",
35+
"belt",
36+
"jewel",
37+
"flask",
38+
"tincture",
3939
}
4040
local function writeMods(out, statOrder)
4141
local orders = { }

0 commit comments

Comments
 (0)