I changed SetUInt32Value(UNIT_FIELD_LEVEL, 1 ); to SetUInt32Value(UNIT_FIELD_LEVEL, 19 );.
It updates everything but talent points. What do I need to do to get the talent points to set on account creation?
I changed SetUInt32Value(UNIT_FIELD_LEVEL, 1 ); to SetUInt32Value(UNIT_FIELD_LEVEL, 19 );.
It updates everything but talent points. What do I need to do to get the talent points to set on account creation?
GoblinCity.net - Home of the only Cataclysm Twink Server
Instant Level 49 * Custom Gear * Scripted Raids * Tons More
We are the oldest private twink server community - Open since 2007
Did you change this in the core or made a script yourself?
I use a seperate dll to change this and the following code works perfectly:
It changes the level to 19 and maxes the passive skills to their max values for the set level.Code:LevelInfo * Info = objmgr.GetLevelInfo(pPlayer->getRace(), pPlayer->getClass(), 19); pPlayer->ApplyLevelInfo(Info, 19); pPlayer->_AdvanceAllSkills(5*19); pPlayer->Reset_Talents();
If you don't get the talents points use pPlayer->Reset_Talents();
But if you have standard talent point values you shouldn't need it.