Changing MAX_TALENT_RANK - Size set by format string not equal to size of C++ structure #16013
duncrafter
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm currently trying to change talents in such a way as to require only one talent point/rank for their full normal effect.
Example: Warriors Deflection talent old: five ranks max, 1% parry chance per rank / new: one rank, 5 % percent parry chance
I have set the last rank of any talent as its first rank in Talent.dbc, which worked.
Then I tried to reduce the number of spent talent points required for unlocking the next talent row by changing
#define MAX_TALENT_RANK 5
to#define MAX_TALENT_RANK 1
#define MAX_PET_TALENT_RANK 3
to#define MAX_PET_TALENT_RANK 1
in azerothcore-wotlk\src\server\shared\DataStores\DBCStructure.h
After the build process, the worldserver crashes on startup while giving the following error:
Size of 'Talent.dbc' set by format string (48) not equal size of C++ structure (32).
I think this error occured because there are four additonal columns in Talent.dbc in comparison to the defined number of MAX_TALENT_RANK in DBCStructure.h.
Can anybody confirm if this is true? If yes, is there any way to change the number of clumns in a .dbc file?
Beta Was this translation helpful? Give feedback.
All reactions