Added support for item set names in case where item does not exist in item_template (like gladiator gear)

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-06-11 20:02:46 +02:00
parent 96ac28ebad
commit 4261828d63
14 changed files with 299 additions and 37 deletions
+3 -1
View File
@@ -1080,12 +1080,14 @@ struct ItemRandomSuffixEntry
uint32 prefix[5]; // 22-24 m_allocationPct
};
#define MAX_ITEM_SET_ITEMS 10
struct ItemSetEntry
{
//uint32 id // 0 m_ID
char* name[16]; // 1-16 m_name_lang
// 17 string flags, unused
//uint32 itemId[17]; // 18-34 m_itemID
uint32 itemId[MAX_ITEM_SET_ITEMS]; // 18-27 m_itemID
//uint32 unknown[7]; // 28-34 unk, all 0
uint32 spells[8]; // 35-42 m_setSpellID
uint32 items_to_triggerspell[8]; // 43-50 m_setThreshold
uint32 required_skill_id; // 51 m_requiredSkill