View Single Post
  #1  
Old 05-26-2015, 04:41 PM
lordnivek1
Sarnak
 
Join Date: Feb 2013
Posts: 65
Default Gain AA points each level

I am trying to get 2 AA added to a character each level up to and including level 50. I have pieced this together from other peoples code to try and get it to work. I am placing this in the ...quest/global/global_player.lua file. I am not sure what I am doing but trying to learn lol.


Code:
sub EVENT_LEVEL_UP
	if ($ulevel < 51) {
		$client-AddAAPoints(2);
	}
}
Reply With Quote