mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 21:26:23 +00:00
fix(Core/Spells): Implement TrinityCore spell_group and spell_group_stack_rules (#23346)
Co-authored-by: treeston <treeston.mmoc@gmail.com> Co-authored-by: Trisjdc <trisjdc@gmail.com> Co-authored-by: QAston <none@none> Co-authored-by: ariel- <ariel-@users.noreply.github.com> Co-authored-by: Shauren <shauren.trinity@gmail.com> Co-authored-by: Jelle Meeus <sogladev@gmail.com>
This commit is contained in:
@@ -1208,8 +1208,7 @@ struct ItemRandomPropertiesEntry
|
||||
{
|
||||
uint32 ID; // 0
|
||||
//char const* InternalName; // 1
|
||||
std::array<uint32, MAX_ITEM_ENCHANTMENT_EFFECTS> Enchantment; // 2-4
|
||||
//std::array<uint32, 2> UnusedEnchantment; // 5-6
|
||||
std::array<uint32, MAX_ITEM_ENCHANTMENT_EFFECTS> Enchantment; // 2-6
|
||||
std::array<char const*, 16> Name; // 7-22
|
||||
//uint32 Name_lang_mask; // 23
|
||||
};
|
||||
@@ -1220,10 +1219,8 @@ struct ItemRandomSuffixEntry
|
||||
std::array<char const*, 16> Name; // 1-16
|
||||
//uint32 Name_lang_mask; // 17
|
||||
//char const* InternalName; // 18
|
||||
std::array<uint32, MAX_ITEM_ENCHANTMENT_EFFECTS> Enchantment; // 19-21
|
||||
//std::array<uint32, 2> UnusedEnchantment; // 22-23
|
||||
std::array<uint32, MAX_ITEM_ENCHANTMENT_EFFECTS> AllocationPct; // 24-26
|
||||
//std::array<uint32, 2> UnusedAllocationPct; // 27-28
|
||||
std::array<uint32, MAX_ITEM_ENCHANTMENT_EFFECTS> Enchantment; // 19-23
|
||||
std::array<uint32, MAX_ITEM_ENCHANTMENT_EFFECTS> AllocationPct; // 24-28
|
||||
};
|
||||
|
||||
#define MAX_ITEM_SET_ITEMS 10
|
||||
|
||||
Reference in New Issue
Block a user