Hi MMO family.
talentpoints how to modify that.
For example, talentpoints 1 ---> talentpoints 2 modify
[ ascent-world / Player.cpp ]
Step 1.
Code:
if(level > 9)
ModUnsigned32Value(PLAYER_CHARACTER_POINTS1, 1);
if(level >= GetUInt32Value(PLAYER_FIELD_MAX_LEVEL))
break;
to
Code:
if(level > 9)
ModUnsigned32Value(PLAYER_CHARACTER_POINTS1, 2);
if(level >= GetUInt32Value(PLAYER_FIELD_MAX_LEVEL))
break;
Step 2.
Code:
if (m_uint32Values[PLAYER_CHARACTER_POINTS1] > 61 && ! GetSession()->HasGMPermissions())
SetUInt32Value(PLAYER_CHARACTER_POINTS1, 61);
to
Code:
if (m_uint32Values[PLAYER_CHARACTER_POINTS1] > 122 && ! GetSession()->HasGMPermissions())
SetUInt32Value(PLAYER_CHARACTER_POINTS1, 122);
Step 3.
Code:
if(l>9)
{
SetUInt32Value(PLAYER_CHARACTER_POINTS1, l - 9);
}
else
{
SetUInt32Value(PLAYER_CHARACTER_POINTS1, 0);
}
to
Code:
if(l>9)
{
SetUInt32Value(PLAYER_CHARACTER_POINTS1, 2*(l - 9));
}
else
{
SetUInt32Value(PLAYER_CHARACTER_POINTS1, 0);
}
Step 4.
Code:
// Calculate talentpoints
uint32 TalentPoints = 0;
if(Level >= 10)
TalentPoints = Level - 9;
to
Code:
// Calculate talentpoints
uint32 TalentPoints = 0;
if(Level >= 10)
TalentPoints = 2*(Level - 9);
Easy to understand?
Enjoy
for +Rep