From 50a3a26ccc8a8b7edf44a5b72578f6d886194818 Mon Sep 17 00:00:00 2001 From: Mitch Freeman <65987027+neckkola@users.noreply.github.com> Date: Sat, 23 Aug 2025 23:20:34 -0300 Subject: [PATCH] Sell evolving items to a merchant and purchase tested ok. --- common/patches/rof2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/patches/rof2.cpp b/common/patches/rof2.cpp index d2d9483c4..b250a5de6 100644 --- a/common/patches/rof2.cpp +++ b/common/patches/rof2.cpp @@ -6481,7 +6481,7 @@ namespace RoF2 hdr.scaled_value = (inst->IsScaling() ? (inst->GetExp() / 100) : 0); hdr.instance_id = (inst->GetMerchantSlot() ? inst->GetMerchantSlot() : inst->GetSerialNumber()); hdr.parcel_item_id = packet_type == ItemPacketParcel ? inst->GetID() : 0; - if (item->EvolvingItem && packet_type != ItemPacketParcel) { + if (item->EvolvingItem && packet_type != ItemPacketParcel && packet_type != ItemPacketMerchant) { hdr.instance_id = inst->GetEvolveUniqueID() & 0xFFFFFFFF; //lower dword hdr.parcel_item_id = inst->GetEvolveUniqueID() >> 32; //upper dword }