Core/Datastores: load all item enchantment fields instead of only the first three

This commit is contained in:
Ovahlord committed 2020-01-26 07:42:27 +01:00
1 parent 603b71d2a7
commit 69f74c726d
2 files changed
+7 -7

No files matched your search

+6 -6
View File
@@ -1504,7 +1504,7 @@ struct ItemRandomPropertiesEntry
{
uint32 ID; // 0
//char* Name // 1
uint32 Enchantment[MAX_ITEM_ENCHANTMENT_EFFECTS]; // 2 - 6
uint32 Enchantment[5]; // 2 - 6
char* Name; // 7
};
@@ -2227,13 +2227,13 @@ struct SpellLevelsEntry
struct SpellPowerEntry
{
//uint32 ID; // 0
uint32 ManaCost; // 1
uint32 ManaCostPerLevel; // 2
uint32 PowerCostPct; // 3
uint32 ManaPerSecond; // 4
uint32 ManaCost; // 1
uint32 ManaCostPerLevel; // 2
uint32 PowerCostPct; // 3
uint32 ManaPerSecond; // 4
//uint32 PowerDisplayID; // 5
//uint32 AltPowerBarID; // 6
//float PowerCostPct; // 7
//float PowerCostPct; // 7 ??
};
struct SpellRuneCostEntry
+1 -1
View File
@@ -98,7 +98,7 @@ char const ItemDamagefmt[] = "nfffffffi";
char const ItemDisenchantLootfmt[] = "niiiiii";
//char const ItemDisplayTemplateEntryfmt[] = "nxxxxxxxxxxixxxxxxxxxxx";
char const ItemLimitCategoryEntryfmt[] = "nxii";
char const ItemRandomPropertiesfmt[] = "nxiiixxs";
char const ItemRandomPropertiesfmt[] = "nxiiiiis";
char const ItemRandomSuffixfmt[] = "nsxiiiiiiiiii";
char const ItemSetEntryfmt[] = "dsiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii";
char const LFGDungeonEntryfmt[] = "nsiiiiiiiiixxixixiiii";