mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[7509] Use defines instead explcit value for talent rank cound (in general and for pets)
This commit is contained in:
parent
befa6c5c86
commit
695ceabe3e
9 changed files with 27 additions and 24 deletions
|
|
@ -1396,13 +1396,16 @@ struct StableSlotPricesEntry
|
|||
uint32 Flags; // 5
|
||||
};*/
|
||||
|
||||
#define MAX_TALENT_RANK 5
|
||||
#define MAX_PET_TALENT_RANK 3 // use in calculations, expected <= MAX_TALENT_RANK
|
||||
|
||||
struct TalentEntry
|
||||
{
|
||||
uint32 TalentID; // 0
|
||||
uint32 TalentTab; // 1 index in TalentTab.dbc (TalentTabEntry)
|
||||
uint32 Row; // 2
|
||||
uint32 Col; // 3
|
||||
uint32 RankID[5]; // 4-8
|
||||
uint32 RankID[MAX_TALENT_RANK]; // 4-8
|
||||
// 9-12 not used, always 0, maybe not used high ranks
|
||||
uint32 DependsOn; // 13 index in Talent.dbc (TalentEntry)
|
||||
// 14-15 not used
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue