Newbie Spellweaver
- Joined
- Mar 3, 2007
- Messages
- 70
- Reaction score
- 0
can anyone help me how to do it?
i found the
in world clients.cpp
so if we could add like
else if (PlayerInfo->Level==250) return 0; <<<<< ??? so we dun get exp ,help me fill in lol
i found the
// Returns the amount of exp that is needed for the next level
UINT CWorldClient::GetLevelEXP( )
{
if (PlayerInfo->Level <= 15) return (unsigned int)( ( PlayerInfo->Level + 10 ) * ( PlayerInfo->Level + 5 ) * ( PlayerInfo->Level + 3 ) * 0.7 );
else if (PlayerInfo->Level <= 50) return (unsigned int)( ( PlayerInfo->Level - 5 ) * ( PlayerInfo->Level + 2 ) * ( PlayerInfo->Level + 2 ) * 2.2 );
else if (PlayerInfo->Level <= 100) return (unsigned int)( ( PlayerInfo->Level - 38 ) * ( PlayerInfo->Level - 5 ) * ( PlayerInfo->Level + 2 ) * 9 );
else if (PlayerInfo->Level <= 139) return (unsigned int)( ( PlayerInfo->Level + 220 ) * ( PlayerInfo->Level + 34 ) * ( PlayerInfo->Level + 27 ) );
else return (unsigned int)( ( PlayerInfo->Level - 126 ) * ( PlayerInfo->Level - 15 ) * ( PlayerInfo->Level + 7 ) * 41 );
}
in world clients.cpp
so if we could add like
else if (PlayerInfo->Level==250) return 0; <<<<< ??? so we dun get exp ,help me fill in lol