View Single Post
  #4  
Old 05-10-2011, 06:01 AM
Zothen
Hill Giant
 
Join Date: Apr 2011
Location: Germany
Posts: 163
Default

tmp2 cant be right cause its just the max group xp you can get. If you display tmp2 in the message and AddEXP() uses either tmp1 or tmp2, the text wont display the correct value in most situations. Only the highest level char in group may see the right amount of xp he/she gets. The others xp is scaled depending on the level range in group.

Btw, you need to change ALL calls to SetEXP() with your altered parameter add_exp, not just the one in line 187.
Reply With Quote