diff --git a/Maple2.File.Parser/Maple2.File.Parser.csproj b/Maple2.File.Parser/Maple2.File.Parser.csproj
index 93fe19a..52a95c7 100644
--- a/Maple2.File.Parser/Maple2.File.Parser.csproj
+++ b/Maple2.File.Parser/Maple2.File.Parser.csproj
@@ -13,7 +13,7 @@
MapleStory2, File, Parser, m2d, xml
true
- 2.4.39
+ 2.4.40
net8.0
README.md
enable
diff --git a/Maple2.File.Parser/Xml/Table/Server/ItemMergeOption.cs b/Maple2.File.Parser/Xml/Table/Server/ItemMergeOption.cs
index 824b1b6..1998d89 100644
--- a/Maple2.File.Parser/Xml/Table/Server/ItemMergeOption.cs
+++ b/Maple2.File.Parser/Xml/Table/Server/ItemMergeOption.cs
@@ -16,6 +16,11 @@ public partial class MergeOption {
public partial class Slot {
[XmlAttribute] public int part = 1;
+ // The client table nests slots under ; the server file has no such
+ // level, so a slot names its step here. Retail rows carry none and are all step 1.
+ [XmlAttribute] public int step = 1;
+ // Some tables (the 370300xx/370400xx crystals) list their slots here instead of in part.
+ [M2dArray] public int[] partLimit = Array.Empty();
[XmlAttribute] public long consumeMeso;
[M2dArray] public string[] itemMaterial1 = Array.Empty();
[M2dArray] public string[] itemMaterial2 = Array.Empty();
diff --git a/Maple2.File.Tests/ServerTableParserTest.cs b/Maple2.File.Tests/ServerTableParserTest.cs
index 3289ebc..2ce4f7f 100644
--- a/Maple2.File.Tests/ServerTableParserTest.cs
+++ b/Maple2.File.Tests/ServerTableParserTest.cs
@@ -481,9 +481,11 @@ public void TestUnlimitedEnchantOption() {
public void TestItemMergeOption() {
var parser = new ServerTableParser(TestUtils.ServerReader);
- foreach ((_, _) in parser.ParseItemMergeOption()) {
- continue;
- }
+ var options = parser.ParseItemMergeOption().ToDictionary(entry => entry.Id, entry => entry.MergeOption);
+
+ // 37030001 addresses its slots by partLimit="13,14,15,16,17" and carries no part.
+ var chaos = options[37030001].slot.Single();
+ CollectionAssert.AreEqual(new[] { 13, 14, 15, 16, 17 }, chaos.partLimit);
}
[TestMethod]