Skip to content

Commit 5b8e5a7

Browse files
authored
added metamorph sample drop location info; small fixes (#1069)
* added some missing data files to the download list * fixed poe.db link for int/es shields * added metamorph data files * moved metamorph data to iteminfo * added metamorph sample drop locations to tooltips * added/improved basic metamorph sample search * updated version/notes and some data files
1 parent da9f415 commit 5b8e5a7

File tree

9 files changed

+122
-27
lines changed

9 files changed

+122
-27
lines changed

data/metamorph_mapToOrgan.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"mapToOrgan":{"Lair Map":["Heart","Lung","Liver"],"Academy Map":["Eye","Lung","Liver"],"Scriptorium Map":["Lung","Liver"],"Vaal Pyramid Map":["Heart","Eye","Brain","Lung"],"Thicket Map":["Eye","Lung"],"Crimson Temple Map":["Heart","Lung","Liver"],"Laboratory Map":["Heart","Lung","Liver"],"Arid Lake Map":["Eye","Lung"],"Port Map":["Lung","Liver"],"Mesa Map":["Heart","Eye","Brain","Lung","Liver"],"Underground River Map":["Eye","Lung"],"Carcass Map":["Heart","Eye","Brain","Liver"],"Arena Map":["Heart","Eye","Brain","Lung","Liver"],"Flooded Mine Map":["Heart","Eye","Brain","Lung"],"Dungeon Map":["Brain","Lung","Liver"],"Marshes Map":["Heart","Eye","Lung"],"Shrine Map":["Heart","Eye","Brain","Lung","Liver"],"Sepulchre Map":["Lung","Liver"],"Arachnid Tomb Map":["Heart","Eye"],"Dunes Map":["Heart","Eye","Lung"],"Lava Lake Map":["Heart","Brain","Lung"],"Waste Pool Map":["Heart","Eye","Lung","Liver"],"City Square Map":["Eye","Brain","Lung","Liver"],"Park Map":["Heart","Eye","Brain","Lung"],"Cemetery Map":["Eye","Brain","Lung"],"Spider Lair Map":["Eye","Lung"],"Bog Map":["Eye","Lung"],"Peninsula Map":["Eye","Brain","Liver"],"Castle Ruins Map":["Heart","Eye","Lung"],"Jungle Valley Map":["Eye","Lung"],"Arsenal Map":["Eye","Brain","Lung","Liver"],"Underground Sea Map":["Heart","Brain","Lung","Liver"],"Relic Chambers Map":["Eye","Lung","Liver"],"Infested Valley Map":["Heart","Eye","Brain"],"Gardens Map":["Heart","Lung","Liver"],"Tower Map":["Heart","Eye","Lung","Liver"],"Conservatory Map":["Heart","Eye","Liver"],"Crystal Ore Map":["Eye","Heart","Brain","Liver"],"Shore Map":["Eye","Lung","Liver"],"Ramparts Map":["Eye","Brain","Lung","Liver"],"Fields Map":["Heart","Eye","Liver"],"Volcano Map":["Lung"],"Tropical Island Map":["Eye","Lung"],"Bazaar Map":["Eye","Brain","Liver"],"Arachnid Nest Map":["Eye","Lung"],"Cells Map":["Heart","Lung","Liver"],"Excavation Map":["Eye","Brain","Lung","Liver"],"Museum Map":["Eye","Brain","Liver"],"Villa Map":["Heart","Brain","Lung"],"Bone Crypt Map":["Heart","Eye","Lung"],"Geode Map":["Eye","Brain","Liver"],"Vault Map":["Eye","Brain","Lung","Liver"],"Ivory Temple Map":["Eye","Heart","Brain","Lung","Liver"],"Basilica Map":[],"Dig Map":["Heart","Eye","Brain","Lung"],"Summit Map":["Heart","Eye","Brain","Lung"],"Cage Map":["Heart","Eye","Lung","Liver"],"Caldera Map":["Eye","Brain","Lung","Liver"],"Armoury Map":["Heart","Eye","Brain"],"Colonnade Map":["Eye","Brain","Liver"],"Plateau Map":["Heart","Eye","Brain","Lung","Liver"],"Graveyard Map":["Eye","Liver","Lung"],"Burial Chambers Map":["Heart","Eye"],"Pit Map":["Heart","Eye","Lung"],"Overgrown Shrine Map":["Heart","Eye","Brain","Lung","Liver"],"Fungal Hollow Map":["Heart","Eye","Brain","Lung","Liver"],"Courtyard Map":["Eye","Heart","Brain","Lung","Liver"],"Atoll Map":["Heart","Eye","Lung"],"Racecourse Map":["Heart","Eye","Lung","Liver"],"Temple Map":["Eye","Brain","Lung","Liver"],"Desert Spring Map":["Heart","Eye","Brain","Lung","Liver"],"Courthouse Map":["Eye","Heart","Brain","Lung","Liver"],"Mud Geyser Map":["Heart","Eye","Lung"],"Spider Forest Map":["Heart","Eye"],"Glacier Map":["Eye","Lung"],"Overgrown Ruin Map":["Heart","Eye","Lung","Liver"],"Ancient City Map":["Eye","Lung","Liver"],"Necropolis Map":["Eye","Brain","Liver"],"Desert Map":["Eye","Liver"],"Belfry Map":["Heart","Brain","Lung"],"Siege Map":["Heart","Eye","Lung"],"Grotto Map":["Heart","Eye","Brain","Liver"],"Reef Map":["Heart","Lung","Liver"],"Acid Caverns Map":["Heart","Eye","Brain","Lung","Liver"],"Lava Chamber Map":["Heart","Eye","Lung","Liver"],"Dark Forest Map":["Heart","Lung","Liver"],"Beach Map":["Eye","Lung","Liver"],"Core Map":["Heart","Eye","Lung","Liver"],"Haunted Mansion Map":["Heart","Brain","Lung","Liver"],"Mausoleum Map":["Eye","Liver"],"Vaal Temple Map":["Heart","Eye","Brain","Lung","Liver"],"Barrows Map":["Eye","Brain"],"Cursed Crypt Map":["Eye","Lung","Liver"],"Coral Ruins Map":["Heart","Eye","Brain","Lung","Liver"],"Maze Map":["Heart","Brain","Lung"],"Alleyways Map":["Heart","Eye","Lung","Liver"],"Lookout Map":["Heart","Eye","Lung","Liver"],"Primordial Pool Map":["Heart","Lung","Liver"],"Precinct Map":["Heart","Eye","Brain","Lung","Liver"],"Lighthouse Map":["Eye","Heart","Brain","Lung","Liver"],"Canyon Map":["Heart","Eye","Lung","Liver"],"Waterways Map":["Eye","Lung","Liver"],"Promenade Map":["Eye","Heart","Brain","Liver"],"Orchard Map":["Heart","Brain","Lung"],"Toxic Sewer Map":["Heart","Eye","Brain","Lung"],"Malformation Map":["Heart","Eye","Brain","Liver"],"Crater Map":["Heart","Eye","Brain","Lung","Liver"],"Wharf Map":["Eye","Brain"],"Iceberg Map":["Heart","Eye","Brain","Lung","Liver"],"Channel Map":["Heart","Eye","Lung","Liver"],"Strand Map":["Heart","Eye","Lung"],"Pier Map":["Eye","Brain","Liver"],"Phantasmagoria Map":["Heart","Eye","Liver"],"Wasteland Map":["Heart","Eye","Lung"],"Coves Map":["Eye","Lung","Liver"],"Estuary Map":["Heart","Eye","Lung"],"Colosseum Map":["Heart","Eye","Brain","Lung","Liver"],"Terrace Map":["Heart","Eye","Lung"],"Primordial Blocks Map":["Heart","Brain","Lung","Liver"],"Defiled Cathedral Map":["Heart","Eye","Brain","Lung","Liver"],"Sulphur Vents Map":["Heart","Lung","Liver"],"Shipyard Map":["Eye","Brain","Lung","Liver"],"Leyline Map":["Heart","Lung"],"Ashen Wood Map":["Eye","Brain","Lung","Liver"],"Moon Temple Map":["Heart","Lung","Liver"],"Palace Map":["Heart","Eye","Brain","Lung","Liver"],"Sunken City Map":["Heart","Brain","Lung","Liver"],"Mineral Pools Map":["Heart","Eye"],"Ghetto Map":["Eye","Brain","Liver"],"Factory Map":["Heart","Eye","Brain","Liver"],"Residence Map":["Lung","Liver"],"Plaza Map":["Heart","Brain","Lung"],"Pen Map":["Heart","Eye","Lung"],"Chateau Map":["Heart","Eye"],"Arcade Map":["Heart","Brain","Lung"]}}

data/metamorph_organToMap.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"organToMap":{"Heart":["Armoury Map","Lair Map","Plateau Map","Vaal Pyramid Map","Pit Map","Burial Chambers Map","Crimson Temple Map","Laboratory Map","Overgrown Shrine Map","Fungal Hollow Map","Courtyard Map","Mesa Map","Atoll Map","Carcass Map","Arena Map","Racecourse Map","Flooded Mine Map","Marshes Map","Shrine Map","Desert Spring Map","Arachnid Tomb Map","Mud Geyser Map","Courthouse Map","Spider Forest Map","Overgrown Ruin Map","Dunes Map","Waste Pool Map","Lava Lake Map","Belfry Map","Siege Map","Grotto Map","Reef Map","Acid Caverns Map","Lava Chamber Map","Dark Forest Map","Park Map","Core Map","Castle Ruins Map","Haunted Mansion Map","Vaal Temple Map","Underground Sea Map","Maze Map","Coral Ruins Map","Infested Valley Map","Alleyways Map","Lookout Map","Primordial Pool Map","Precinct Map","Lighthouse Map","Canyon Map","Gardens Map","Promenade Map","Tower Map","Toxic Sewer Map","Orchard Map","Conservatory Map","Crystal Ore Map","Malformation Map","Crater Map","Fields Map","Iceberg Map","Channel Map","Strand Map","Phantasmagoria Map","Wasteland Map","Cells Map","Estuary Map","Colosseum Map","Terrace Map","Villa Map","Primordial Blocks Map","Defiled Cathedral Map","Bone Crypt Map","Sulphur Vents Map","Leyline Map","Moon Temple Map","Ivory Temple Map","Palace Map","Dig Map","Sunken City Map","Mineral Pools Map","Summit Map","Cage Map","Factory Map","Plaza Map","Pen Map","Chateau Map","Arcade Map"],"Eye":["Academy Map","Thicket Map","Vaal Pyramid Map","Arid Lake Map","Mesa Map","Underground River Map","Carcass Map","Arena Map","Flooded Mine Map","Marshes Map","Shrine Map","Arachnid Tomb Map","Dunes Map","Waste Pool Map","City Square Map","Park Map","Cemetery Map","Bog Map","Spider Lair Map","Peninsula Map","Castle Ruins Map","Jungle Valley Map","Arsenal Map","Relic Chambers Map","Infested Valley Map","Tower Map","Conservatory Map","Crystal Ore Map","Shore Map","Ramparts Map","Fields Map","Tropical Island Map","Bazaar Map","Arachnid Nest Map","Excavation Map","Museum Map","Bone Crypt Map","Geode Map","Vault Map","Ivory Temple Map","Dig Map","Summit Map","Cage Map","Caldera Map","Armoury Map","Colonnade Map","Graveyard Map","Pit Map","Burial Chambers Map","Overgrown Shrine Map","Fungal Hollow Map","Courtyard Map","Atoll Map","Racecourse Map","Temple Map","Desert Spring Map","Mud Geyser Map","Courthouse Map","Spider Forest Map","Glacier Map","Overgrown Ruin Map","Ancient City Map","Necropolis Map","Desert Map","Siege Map","Grotto Map","Acid Caverns Map","Lava Chamber Map","Beach Map","Core Map","Mausoleum Map","Barrows Map","Vaal Temple Map","Cursed Crypt Map","Coral Ruins Map","Alleyways Map","Lookout Map","Precinct Map","Lighthouse Map","Canyon Map","Waterways Map","Promenade Map","Toxic Sewer Map","Malformation Map","Wharf Map","Crater Map","Iceberg Map","Channel Map","Strand Map","Phantasmagoria Map","Pier Map","Wasteland Map","Coves Map","Estuary Map","Colosseum Map","Terrace Map","Defiled Cathedral Map","Shipyard Map","Ashen Wood Map","Palace Map","Mineral Pools Map","Ghetto Map","Factory Map","Pen Map","Chateau Map"],"Brain":["Armoury Map","Colonnade Map","Plateau Map","Vaal Pyramid Map","Overgrown Shrine Map","Fungal Hollow Map","Courtyard Map","Mesa Map","Arena Map","Carcass Map","Temple Map","Flooded Mine Map","Dungeon Map","Shrine Map","Desert Spring Map","Courthouse Map","Necropolis Map","Lava Lake Map","Belfry Map","Grotto Map","Acid Caverns Map","City Square Map","Park Map","Cemetery Map","Peninsula Map","Haunted Mansion Map","Barrows Map","Vaal Temple Map","Arsenal Map","Underground Sea Map","Maze Map","Coral Ruins Map","Infested Valley Map","Precinct Map","Lighthouse Map","Promenade Map","Toxic Sewer Map","Orchard Map","Crystal Ore Map","Ramparts Map","Malformation Map","Wharf Map","Crater Map","Iceberg Map","Bazaar Map","Pier Map","Colosseum Map","Excavation Map","Museum Map","Villa Map","Primordial Blocks Map","Defiled Cathedral Map","Geode Map","Shipyard Map","Vault Map","Ashen Wood Map","Ivory Temple Map","Palace Map","Dig Map","Sunken City Map","Ghetto Map","Summit Map","Factory Map","Plaza Map","Caldera Map","Arcade Map"],"Lung":["Lair Map","Academy Map","Thicket Map","Scriptorium Map","Vaal Pyramid Map","Crimson Temple Map","Laboratory Map","Arid Lake Map","Mesa Map","Port Map","Underground River Map","Arena Map","Flooded Mine Map","Dungeon Map","Marshes Map","Shrine Map","Sepulchre Map","Dunes Map","Waste Pool Map","Lava Lake Map","City Square Map","Park Map","Cemetery Map","Bog Map","Spider Lair Map","Castle Ruins Map","Jungle Valley Map","Arsenal Map","Underground Sea Map","Relic Chambers Map","Gardens Map","Tower Map","Shore Map","Ramparts Map","Volcano Map","Tropical Island Map","Arachnid Nest Map","Cells Map","Excavation Map","Villa Map","Bone Crypt Map","Vault Map","Ivory Temple Map","Dig Map","Summit Map","Cage Map","Caldera Map","Graveyard Map","Plateau Map","Pit Map","Overgrown Shrine Map","Fungal Hollow Map","Courtyard Map","Atoll Map","Racecourse Map","Temple Map","Desert Spring Map","Mud Geyser Map","Courthouse Map","Glacier Map","Overgrown Ruin Map","Ancient City Map","Belfry Map","Siege Map","Reef Map","Acid Caverns Map","Lava Chamber Map","Dark Forest Map","Beach Map","Core Map","Haunted Mansion Map","Vaal Temple Map","Cursed Crypt Map","Maze Map","Coral Ruins Map","Alleyways Map","Lookout Map","Primordial Pool Map","Precinct Map","Canyon Map","Lighthouse Map","Waterways Map","Toxic Sewer Map","Orchard Map","Crater Map","Iceberg Map","Channel Map","Strand Map","Wasteland Map","Coves Map","Estuary Map","Colosseum Map","Terrace Map","Primordial Blocks Map","Defiled Cathedral Map","Sulphur Vents Map","Shipyard Map","Leyline Map","Moon Temple Map","Ashen Wood Map","Palace Map","Sunken City Map","Residence Map","Plaza Map","Pen Map","Arcade Map"],"Liver":["Lair Map","Academy Map","Colonnade Map","Graveyard Map","Plateau Map","Scriptorium Map","Crimson Temple Map","Laboratory Map","Overgrown Shrine Map","Fungal Hollow Map","Courtyard Map","Mesa Map","Port Map","Arena Map","Carcass Map","Temple Map","Racecourse Map","Dungeon Map","Shrine Map","Sepulchre Map","Desert Spring Map","Courthouse Map","Overgrown Ruin Map","Ancient City Map","Necropolis Map","Waste Pool Map","Desert Map","Grotto Map","Reef Map","Acid Caverns Map","City Square Map","Lava Chamber Map","Dark Forest Map","Beach Map","Core Map","Peninsula Map","Haunted Mansion Map","Mausoleum Map","Vaal Temple Map","Cursed Crypt Map","Arsenal Map","Underground Sea Map","Relic Chambers Map","Coral Ruins Map","Alleyways Map","Lookout Map","Primordial Pool Map","Precinct Map","Canyon Map","Lighthouse Map","Gardens Map","Waterways Map","Promenade Map","Tower Map","Conservatory Map","Shore Map","Crystal Ore Map","Ramparts Map","Malformation Map","Crater Map","Fields Map","Iceberg Map","Bazaar Map","Channel Map","Phantasmagoria Map","Pier Map","Coves Map","Cells Map","Colosseum Map","Excavation Map","Museum Map","Primordial Blocks Map","Defiled Cathedral Map","Geode Map","Sulphur Vents Map","Shipyard Map","Vault Map","Ivory Temple Map","Moon Temple Map","Ashen Wood Map","Palace Map","Sunken City Map","Ghetto Map","Cage Map","Factory Map","Residence Map","Caldera Map"]}}

data_trade/mods.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

data_trade/uniques.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

resources/Updates_Trade.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
The following is a list of what has been updated, starting with 1.1.0
22

3+
2.15.7
4+
================================================================================================
5+
* Added information about metamorph sample types able to drop from a map to a maps ctrl + c ItemInfo tooltip.
6+
* Added information about maps able to drop specific metamorph samples to a samples ctrl + c ItemInfo tooltip.
7+
* Fixed an issue with a data file which partly broke the "Get currency note ratio" function.
8+
* Improved basic metamorph sample search. Advanced search continues to be unavailable since poe.trade doesn't support the item mods.
9+
* Fixed the url for ES shields for the item affix lookup on poedb.tw.
10+
* Updated data files (uniques etc).
11+
312
2.15.6
413
================================================================================================
514
* Fixed incorrect request parameter for the Crusader influence on items.

resources/VersionTrade.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
TradeReleaseVersion := "v2.15.6"
1+
TradeReleaseVersion := "v2.15.7"
22
TradeAHKVersionRequired := "1.1.26.00"

resources/ahk/POE-ItemInfo.ahk

Lines changed: 94 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ Globals.Set("CurrentItemFilter", "")
9595
/*
9696
*/
9797

98+
; Parse metamorph data
99+
global MetamorphData := { "mapToOrgan" : ReadJSONDataFromFile(A_ScriptDir "\data\metamorph_mapToOrgan.json", "mapToOrgan"), "organToMap" : ReadJSONDataFromFile(A_ScriptDir "\data\metamorph_organToMap.json", "organToMap")}
100+
98101
class UserOptions {
99102
ScanUI()
100103
{
@@ -384,6 +387,7 @@ class Item_ {
384387
This.IsMapFragment := False
385388
This.IsEssence := False
386389
This.IsRelic := False
390+
This.IsMetamorphSample := False
387391

388392
This.IsElderBase := False
389393
This.IsShaperBase := False
@@ -712,7 +716,7 @@ CheckRarityLevel(RarityString)
712716
return 0 ; unknown rarity. shouldn't happen!
713717
}
714718

715-
ParseItemType(ItemDataStats, ItemDataNamePlate, ByRef BaseType, ByRef SubType, ByRef GripType, RarityLevel)
719+
ParseItemType(ItemDataStats, ItemDataNamePlate, ByRef BaseType, ByRef SubType, ByRef GripType, RarityLevel, IsMetamorphSample)
716720
{
717721
; Grip type only matters for weapons at this point. For all others it will be 'None'.
718722
; Note that shields are armour and not weapons, they are not 1H.
@@ -804,6 +808,13 @@ ParseItemType(ItemDataStats, ItemDataNamePlate, ByRef BaseType, ByRef SubType, B
804808
return
805809
}
806810

811+
; Metamorph samples
812+
If (IsMetamorphSample and RegExMatch(Loopfield, "i)(Eye|Liver|Heart|Lung|Brain)$", match)) {
813+
BaseType := "Metamorph"
814+
SubType := "Metamorph " match1
815+
return
816+
}
817+
807818
; Leaguestones and Scarabs
808819
If (RegExMatch(Loopfield, "i)\b(Leaguestone|Scarab)\b"))
809820
{
@@ -1527,6 +1538,71 @@ ParseMapTier(ItemDataText)
15271538
}
15281539
}
15291540

1541+
MapMetamorphOrganToMap(ItemName) {
1542+
organ := RegExReplace(ItemName, "i).*(Brain|Liver|Lung|Eye|Heart)$", "$1")
1543+
mapList := ""
1544+
For key, val in MetamorphData.organToMap {
1545+
If (key = organ) {
1546+
i := 0
1547+
For Index, Value In val {
1548+
i++
1549+
mapList .= ", " . RegExReplace(Value, "i)\s?Map")
1550+
If (i >= 7) {
1551+
mapList .= "`n"
1552+
i := 0
1553+
}
1554+
}
1555+
mapList := LTrim(mapList, ", ")
1556+
}
1557+
}
1558+
Return { "default" : mapList, "sorted" : MapMetamorphOrganToMapSorted(ItemName)}
1559+
}
1560+
1561+
MapMetamorphOrganToMapSorted(ItemName) {
1562+
organ := RegExReplace(ItemName, "i).*(Brain|Liver|Lung|Eye|Heart)$", "$1")
1563+
mapList := ""
1564+
1565+
sortedList := [[],[],[],[]]
1566+
For key, val in MetamorphData.mapToOrgan {
1567+
If (IsInArray(organ, val)) {
1568+
sortedList[val.MaxIndex()-1].push(key)
1569+
}
1570+
}
1571+
1572+
listStr := ""
1573+
For i, organLimit in sortedList {
1574+
k := 0
1575+
lineStr := ""
1576+
For j, map in organLimit {
1577+
k++
1578+
lineStr .= RegExReplace(map, "i)\s?Map") ", "
1579+
If (k >= 8) {
1580+
If (j > 1) {
1581+
lineStr .= "`n" . " "
1582+
} Else {
1583+
lineStr .= "`n"
1584+
}
1585+
k := 0
1586+
}
1587+
}
1588+
listStr .= "`n`n" . "[ " i " ]: " RegExReplace(lineStr,"i),\s+?$")
1589+
}
1590+
1591+
Return listStr
1592+
}
1593+
1594+
MapMetamorphMapToOrgan(map) {
1595+
organList := ""
1596+
For key, val in MetamorphData.mapToOrgan {
1597+
If (key = map) {
1598+
For Index, Value In val
1599+
organList .= ", " . Value
1600+
organList := LTrim(organList, ", ")
1601+
}
1602+
}
1603+
Return organList
1604+
}
1605+
15301606
ParseGemLevel(ItemDataText, PartialString="Level:")
15311607
{
15321608
ItemDataChunk := GetItemDataChunk(ItemDataText, PartialString)
@@ -7872,6 +7948,10 @@ ParseItemData(ItemDataText, ByRef RarityLevel="")
78727948
Item["Is" match1 "Base"] := True
78737949
Item.HasInfluence.push(match1)
78747950
}
7951+
RegExMatch(Trim(A_LoopField), "i)^Combine this with four other different samples in Tane's Laboratory.", match)
7952+
If (match) {
7953+
Item.IsMetamorphSample := True
7954+
}
78757955
}
78767956

78777957
; AHK only allows splitting on single chars, so first
@@ -8039,7 +8119,7 @@ ParseItemData(ItemDataText, ByRef RarityLevel="")
80398119
ItemLevelWord := "Item Level:"
80408120
}
80418121
If (Not Item.IsBeast) {
8042-
ParseItemType(ItemData.Stats, ItemData.NamePlate, ItemBaseType, ItemSubType, ItemGripType, RarityLevel)
8122+
ParseItemType(ItemData.Stats, ItemData.NamePlate, ItemBaseType, ItemSubType, ItemGripType, RarityLevel, Item.IsMetamorphSample)
80438123
Item.BaseType := ItemBaseType
80448124
Item.SubType := ItemSubType
80458125
Item.GripType := ItemGripType
@@ -8157,7 +8237,7 @@ ParseItemData(ItemDataText, ByRef RarityLevel="")
81578237
}
81588238

81598239
ItemData.Stats := ItemDataParts2
8160-
8240+
81618241
If (Item.IsFlask)
81628242
{
81638243
ParseFlaskAffixes(ItemData.Affixes)
@@ -8371,6 +8451,10 @@ ParseItemData(ItemDataText, ByRef RarityLevel="")
83718451
If (MapDescription)
83728452
{
83738453
TT .= MapDescription
8454+
Metamorph := MapMetamorphMapToOrgan(Item.SubType)
8455+
If (Metamorph) {
8456+
TT .= "`n`nMetamorph organs (boss):`n " Metamorph
8457+
}
83748458
}
83758459

83768460
If (RarityLevel > 1 and RarityLevel < 4 and Not Item.IsUnidentified)
@@ -8491,7 +8575,7 @@ ParseItemData(ItemDataText, ByRef RarityLevel="")
84918575
}
84928576
}
84938577

8494-
Else If (ItemData.Rarity == "Unique")
8578+
Else If (ItemData.Rarity == "Unique" and not Item.IsMetamorphSample)
84958579
{
84968580
If (FindUnique(Item.Name) == False and Not Item.IsUnidentified)
84978581
{
@@ -8504,6 +8588,11 @@ ParseItemData(ItemDataText, ByRef RarityLevel="")
85048588
TT = %TT%`n--------%AffixDetails%
85058589
}
85068590
}
8591+
8592+
If (Item.IsMetamorphSample) {
8593+
Metamorph := MapMetamorphOrganToMap(Item.Name) ; object
8594+
TT .= "`n--------`n" . "Where to find this organ type, sorted by number of additional types of organs in the drop pool: `n" Metamorph.sorted
8595+
}
85078596

85088597
If (pseudoMods.Length())
85098598
{
@@ -11434,7 +11523,7 @@ LookUpAffixes() {
1143411523
url .= StrLen(shield) ? ",dex_shield" : ""
1143511524
} Else If (es) {
1143611525
url .= "&an=int_armour"
11437-
url .= StrLen(shield) ? ",int_shield" : ""
11526+
url .= StrLen(shield) ? ",focus" : ""
1143811527
}
1143911528
}
1144011529
Else If (StrLen(accessory)) {

0 commit comments

Comments
 (0)