Skip to content

Commit

Permalink
✅ Test more item type generation
Browse files Browse the repository at this point in the history
  • Loading branch information
AJenbo committed Mar 20, 2021
1 parent 0f46e9c commit 4de1c05
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion SourceT/pack_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ const dvl::PkItemStruct PackedDiabloItems[] = {
{ 6, 527, 14, 5, 60, 60, 0, 0, 0, 0 }, // Veil of Steel
{ 7, 781, 28, 5, 39, 40, 0, 0, 0, 0 }, // Arkaine's Valor
{ 8, 787, 31, 5, 42, 44, 0, 0, 0, 0 }, // Griswold's Edge
{ 557339094, 8208, 150, 3, 75, 75, 0, 0, 0, 0 }, // Staff of haste
{ 1684844665, 8208, 150, 3, 75, 75, 56, 56, 0, 0 }, // White Staff of Lightning
{ 1297052552, 2074, 137, 3, 50, 50, 0, 0, 0, 0 }, // Lightning Maul
{ 981895960, 2073, 130, 3, 75, 75, 0, 0, 0, 0 }, // Ivory Axe of blood
{ 935416728, 2070, 52, 3, 18, 40, 0, 0, 0, 0 }, // Jade Crown of vim
// clang-format on
};

Expand Down Expand Up @@ -201,6 +206,12 @@ const TestItemStruct DiabloItems[] = {
{ "Veil of Steel", 7, 2, 85, 63800, 0, 0, 18, 0, 27, 0, 0, 0, 60, 60, 0, 0, 60, 15, 0, 0, 15, 50, 50, 50, -1920, 0, 0, 0, -2, 0, 6, 0, 0, 0, 0, -1, -1, 0, 0, 0, 14 },
{ "Arkaine's Valor", 8, 2, 157, 42000, 0, 0, 25, 8388608, 27, 0, 0, 0, 39, 40, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, -3, 0, 0, 7, 0, 0, 0, 0, -1, -1, 0, 0, 0, 28 },
{ "Griswold's Edge", 1, 1, 61, 42000, 4, 12, 0, 264208, 27, 0, 0, 0, 42, 44, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 1280, -1280, 0, 0, 0, 0, 8, 1, 10, 0, 0, -1, -1, 40, 0, 0, 31 },
{ "Staff of haste", 10, 1, 124, 40000, 8, 16, 0, 1048576, 23, 0, 0, 0, 75, 75, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 58, 30, 0, 0, 155 },
{ "White Staff of Lightning", 10, 1, 124, 7160, 8, 16, 0, 0, 23, 3, 56, 56, 75, 75, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, -1, 30, 20, 0, 155 },
{ "Lightning Maul", 4, 1, 122, 11800, 6, 20, 0, 32, 0, 0, 0, 0, 50, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 20, 17, -1, 55, 0, 0, 142 },
{ "Ivory Axe of blood", 2, 1, 143, 31194, 12, 30, 0, 65536, 0, 0, 0, 0, 75, 75, 0, 0, 0, 0, 0, 0, 0, 0, 0, 37, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 56, 80, 0, 0, 135 },
{ "Jade Crown of vim", 7, 2, 95, 19200, 0, 0, 10, 0, 0, 0, 0, 0, 18, 40, 0, 0, 0, 0, 0, 0, 14, 30, 30, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 25, 0, 0, 0, 52 },

// clang-format on
};

Expand Down Expand Up @@ -332,7 +343,14 @@ const dvl::PkItemStruct PackedHellfireItems[] = {
{ 41417651, 258, 83, 0, 0, 0, 0, 0, 0, 0 }, // Blacksmith Oil
{ 132200437, 258, 84, 0, 0, 0, 0, 0, 0, 0 }, // Oil of Accuracy
{ 385651490, 257, 85, 0, 0, 0, 0, 0, 0, 0 }, // Oil of Sharpness
{ 1154514759, 290, 86, 0, 0, 0, 0, 0, 0, 0 }, // Bovine Plate
{ 1154514759, 290, 86, 0, 0, 0, 0, 0, 0, 0 }, // Oil of Permanence
{ 2020998927, 2066, 131, 3, 23, 32, 0, 0, 0, 0 }, // Doppelganger's Axe
{ 581541889, 2067, 141, 3, 36, 36, 0, 0, 0, 0 }, // Flail of vampires
{ 1069448901, 844, 157, 5, 0, 0, 0, 0, 0, 0 }, // Gladiator's Ring
{ 1670063399, 2068, 155, 3, 75, 75, 0, 0, 0, 0 }, // Warrior's Staff of the moon
{ 342570085, 4114, 74, 3, 255, 255, 0, 0, 0, 0 }, // Shield of the ages
{ 1514523617, 2066, 139, 3, 20, 20, 0, 0, 0, 0 }, // Heavy Club of puncturing
{ 701987341, 8208, 114, 1, 0, 0, 0, 0, 0, 0 }, // Book of Lightning
// clang-format on
};

Expand Down Expand Up @@ -380,6 +398,13 @@ const TestItemStruct HellfireItems[] = {
{ "Oil of Accuracy", 0, 3, 30, 500, 0, 0, 0, 0, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 84 },
{ "Oil of Sharpness", 0, 3, 30, 500, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 85 },
{ "Oil of Permanence", 0, 3, 30, 15000, 0, 0, 0, 0, 38, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, 0, 0, 0, 86 },
{ "Doppelganger's Axe", 2, 1, 144, 6640, 4, 12, 0, 0, 0, 0, 0, 0, 23, 32, 86, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 89, -1, 22, 0, 0, 131 },
{ "Flail of vampires", 4, 1, 131, 16500, 2, 12, 0, 16384, 0, 0, 0, 0, 36, 36, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 55, 30, 0, 0, 141 },
{ "Gladiator's Ring", 12, 3, 186, 10000, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 109, 0, 0, 0, 0, -1, -1, 0, 0, 0, 157 },
{ "Warrior's Staff of the moon", 10, 1, 124, 42332, 8, 16, 0, 0, 23, 0, 0, 0, 75, 75, 54, 15, 0, 5, 5, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 27, 30, 0, 0, 155 },
{ "Shield of the ages", 5, 2, 113, 2600, 0, 0, 10, 0, 0, 0, 0, 0, 255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 37, 50, 0, 0, 74 },
{ "Heavy Club of puncturing", 4, 1, 70, 5239, 3, 6, 0, 0, 0, 0, 0, 0, 20, 20, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 57, 18, 0, 0, 139 },
{ "Book of Lightning", 0, 3, 88, 3000, 0, 0, 0, 0, 24, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, 0, 20, 0, 114 },
// clang-format on
};

Expand Down

0 comments on commit 4de1c05

Please sign in to comment.