Skip to content
This repository has been archived by the owner on Apr 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #33 from XiMMiX/fix-inc_max_es_jewels
Browse files Browse the repository at this point in the history
Bugfix: Added handling of "increased Maximum Energy Shield" affix on Jewels
  • Loading branch information
Bahnzo committed Dec 29, 2015
2 parents 621223b + 684b8ec commit 3ebc7c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion POE-ItemInfo.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -4085,7 +4085,11 @@ ParseAffixes(ItemDataAffixes, Item)
IfInString, A_LoopField, increased maximum Energy Shield
{
NumPrefixes += 1
ValueRange := LookupAffixData("data\IncrMaxEnergyShield_Amulets.txt", ItemLevel, CurrValue, "", CurrTier)
If (Item.IsJewel) {
ValueRange := LookupAffixData("data\IncrMaxEnergyShield_Jewels.txt", ItemLevel, CurrValue, "", CurrTier)
} Else {
ValueRange := LookupAffixData("data\IncrMaxEnergyShield_Amulets.txt", ItemLevel, CurrValue, "", CurrTier)
}
AppendAffixInfo(MakeAffixDetailLine(A_LoopField, "Prefix", ValueRange, CurrTier), A_Index)
Continue
}
Expand Down
1 change: 1 addition & 0 deletions data/IncrMaxEnergyShield_Jewels.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1|6-8

0 comments on commit 3ebc7c8

Please sign in to comment.