Skip to content

Commit f44294f

Browse files
authored
Add missing corrupted enchants and add documentation for updating them in the future (#1269)
1 parent 2d2950c commit f44294f

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

RELEASE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ Steps:
2727

2828
Updating data from the GGPK uses the PoB exporter (see CONTRIBUTING.md#exporting-ggpk-data-from-path-of-exile). Run each script in order, then check the differences in data to make sure nothing is missing that is expected.
2929

30+
## Trade query and mod weight updates
31+
32+
1. Delete `src/Data/QueryMods.lua`, then open the "Trade for these items" pane in PoB to re-generate it.
33+
2. In `src/Export/Scripts/ScriptResources`, there are several files that contain hardcoded mods. If a new mod is added to the game and we can't automatically get weights for it from the ggpk, we need to check the trade site.
34+
3. Search the corresponding ModX.lua file for `{ "default" }` to find mods that don't have any spawn weights.
35+
4. Search for those mods on the trade site to find what bases (if any) the mod needs to be added to in `ScriptResources`
36+
3037
## Skill tree updates
3138

3239
Skill tree updates require JSON data, usually released by GGG a few days before a new

src/Data/ModCorrupted.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ return {
3333
["CorruptionColdPenetration1"] = { type = "Corrupted", affix = "", "Damage Penetrates (10-15)% Cold Resistance", statOrder = { 2603 }, level = 1, group = "ColdResistancePenetration", weightKey = { "gloves", "default" }, weightVal = { 1, 0 }, modTags = { "elemental_damage", "damage", "elemental", "cold" }, tradeHash = 3417711605, },
3434
["CorruptionLightningPenetration1"] = { type = "Corrupted", affix = "", "Damage Penetrates (10-15)% Lightning Resistance", statOrder = { 2604 }, level = 1, group = "LightningResistancePenetration", weightKey = { "gloves", "default" }, weightVal = { 1, 0 }, modTags = { "elemental_damage", "damage", "elemental", "lightning" }, tradeHash = 818778753, },
3535
["CorruptionArmourBreak1"] = { type = "Corrupted", affix = "", "Break (10-15)% increased Armour", statOrder = { 4259 }, level = 1, group = "ArmourBreak", weightKey = { "gloves", "default" }, weightVal = { 1, 0 }, modTags = { }, tradeHash = 1776411443, },
36-
["CorruptionGoldFoundIncrease1"] = { type = "Corrupted", affix = "", "(5-10)% increased Quantity of Gold Dropped by Slain Enemies", statOrder = { 6384 }, level = 1, group = "GoldFoundIncrease", weightKey = { "default" }, weightVal = { 0 }, modTags = { "drop" }, tradeHash = 3175163625, },
36+
["CorruptionGoldFoundIncrease1"] = { type = "Corrupted", affix = "", "(5-10)% increased Quantity of Gold Dropped by Slain Enemies", statOrder = { 6384 }, level = 1, group = "GoldFoundIncrease", weightKey = { "gloves", "default" }, weightVal = { 1, 0 }, modTags = { "drop" }, tradeHash = 3175163625, },
3737
["CorruptionMaximumEnduranceCharges1"] = { type = "Corrupted", affix = "", "+1 to Maximum Endurance Charges", statOrder = { 1483 }, level = 1, group = "MaximumEnduranceCharges", weightKey = { "belt", "default" }, weightVal = { 1, 0 }, modTags = { "endurance_charge" }, tradeHash = 1515657623, },
3838
["CorruptionMaximumFrenzyCharges1"] = { type = "Corrupted", affix = "", "+1 to Maximum Frenzy Charges", statOrder = { 1488 }, level = 1, group = "MaximumFrenzyCharges", weightKey = { "gloves", "default" }, weightVal = { 1, 0 }, modTags = { "frenzy_charge" }, tradeHash = 4078695, },
3939
["CorruptionMaximumPowerCharges1"] = { type = "Corrupted", affix = "", "+1 to Maximum Power Charges", statOrder = { 1493 }, level = 1, group = "MaximumPowerCharges", weightKey = { "helmet", "default" }, weightVal = { 1, 0 }, modTags = { "power_charge" }, tradeHash = 227523295, },
@@ -43,7 +43,7 @@ return {
4343
["CorruptionIncreasedFreezeThreshold1"] = { type = "Corrupted", affix = "", "(20-30)% increased Freeze Threshold", statOrder = { 2868 }, level = 1, group = "FreezeThreshold", weightKey = { "boots", "default" }, weightVal = { 1, 0 }, modTags = { "damage" }, tradeHash = 3780644166, },
4444
["CorruptionSlowPotency1"] = { type = "Corrupted", affix = "", "(20-30)% reduced Slowing Potency of Debuffs on You", statOrder = { 4572 }, level = 1, group = "SlowPotency", weightKey = { "boots", "default" }, weightVal = { 1, 0 }, modTags = { }, tradeHash = 924253255, },
4545
["CorruptionLifeRegenerationPercent1"] = { type = "Corrupted", affix = "", "Regenerate (1-2)% of maximum Life per second", statOrder = { 1614 }, level = 1, group = "LifeRegenerationRatePercentage", weightKey = { "ring", "helmet", "default" }, weightVal = { 1, 1, 0 }, modTags = { "resource", "life" }, tradeHash = 836936635, },
46-
["CorruptionLifeRegenerationRate1"] = { type = "Corrupted", affix = "", "(15-25)% increased Life Regeneration rate", statOrder = { 965 }, level = 1, group = "LifeRegenerationRate", weightKey = { "default" }, weightVal = { 0 }, modTags = { "resource", "life" }, tradeHash = 44972811, },
46+
["CorruptionLifeRegenerationRate1"] = { type = "Corrupted", affix = "", "(15-25)% increased Life Regeneration rate", statOrder = { 965 }, level = 1, group = "LifeRegenerationRate", weightKey = { "helmet", "default" }, weightVal = { 1, 0 }, modTags = { "resource", "life" }, tradeHash = 44972811, },
4747
["CorruptionManaRegeneration1"] = { type = "Corrupted", affix = "", "(20-30)% increased Mana Regeneration Rate", statOrder = { 972 }, level = 1, group = "ManaRegeneration", weightKey = { "ring", "helmet", "default" }, weightVal = { 1, 1, 0 }, modTags = { "resource", "mana" }, tradeHash = 789117908, },
4848
["CorruptionLocalBlockChance1"] = { type = "Corrupted", affix = "", "(10-15)% increased Block chance", statOrder = { 828 }, level = 1, group = "LocalIncreasedBlockPercentage", weightKey = { "shield", "default" }, weightVal = { 1, 0 }, modTags = { "block" }, tradeHash = 2481353198, },
4949
["CorruptionMaximumBlockChance1"] = { type = "Corrupted", affix = "", "+3% to maximum Block chance", statOrder = { 1655 }, level = 1, group = "MaximumBlockChance", weightKey = { "shield", "default" }, weightVal = { 1, 0 }, modTags = { "block" }, tradeHash = 480796730, },

src/Export/Scripts/ScriptResources/CorruptedModWeights.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ return {
127127
"CorruptionMaximumPowerCharges1",
128128
"CorruptionIncreasedAccuracy1",
129129
"CorruptionLifeRegenerationPercent1",
130+
"CorruptionLifeRegenerationRate1",
130131
"CorruptionManaRegeneration1",
131132
"CorruptionGlobalMinionSkillGemsLevel1",
132133
"SpecialCorruptionWarcrySpeed1",
@@ -147,6 +148,7 @@ return {
147148
"CorruptionGlobalMeleeSkillGemsLevel1",
148149
"CorruptionIncreasedSlowEffect1",
149150
"CorruptionWeaponSwapSpeed1",
151+
"CorruptionGoldFoundIncrease1",
150152
},
151153
staff = {
152154
"CorruptionGlobalFireSpellGemsLevel1",

0 commit comments

Comments
 (0)