View Single Post
  #2 (permalink)  
Old 08-07-2007, 04:40 PM
thothramerkaba's Avatar
thothramerkaba thothramerkaba is offline
WaMMO Player
 
Join Date: Jul 2007
Location: Some Vortex in Oklahoma
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Update to Player.cpp

There is a bug with some players having more than 61 talent point through GM intervention. Since there are multiple commands to adjust the level of a player there are going to be multiple places where this bug exists but I may have found the core of the problem.
Change line #6704 of player.cpp from..
Code:
if(Level >= 10)
 TalentPoints=Level-9;
to read
Code:
if(Level >= 10)
{
	TalentPoints = Level - 9;
	if(TalentPoints>61)
	{
		Reset_Talents();
		TalentPoints=61;
	}
}
This will reset their outstanding talents, and give them the max if they are over the limit.

Last edited by thothramerkaba; 08-07-2007 at 04:51 PM.
Reply With Quote