mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[7464] Move check of spell using for lock open to single function. Remove more hacks.
This commit is contained in:
parent
9def5df2d7
commit
4aaf758ab7
5 changed files with 115 additions and 186 deletions
|
|
@ -974,13 +974,15 @@ struct ItemSetEntry
|
|||
uint32 required_skill_value; // 52 m_requiredSkillRank
|
||||
};
|
||||
|
||||
#define MAX_LOCK_CASE 8
|
||||
|
||||
struct LockEntry
|
||||
{
|
||||
uint32 ID; // 0 m_ID
|
||||
uint32 Type[8]; // 1-8 m_Type
|
||||
uint32 Index[8]; // 9-16 m_Index
|
||||
uint32 Skill[8]; // 17-24 m_Skill
|
||||
//uint32 Action[8]; // 25-32 m_Action
|
||||
uint32 Type[MAX_LOCK_CASE]; // 1-8 m_Type
|
||||
uint32 Index[MAX_LOCK_CASE]; // 9-16 m_Index
|
||||
uint32 Skill[MAX_LOCK_CASE]; // 17-24 m_Skill
|
||||
//uint32 Action[MAX_LOCK_CASE]; // 25-32 m_Action
|
||||
};
|
||||
|
||||
struct MailTemplateEntry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue