View Single Post
  #1  
Old 02-10-2013, 12:04 AM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default Language Skill Ups

Clients were not being updated when they got a skill up, this fixes it (no idea why it was the other way, this at least matches live now and works right)

Code:
Index: EQEmuServer/zone/client.cpp
===================================================================
--- EQEmuServer/zone/client.cpp	(revision 2493)
+++ EQEmuServer/zone/client.cpp	(working copy)
@@ -2348,7 +2348,7 @@
 		Chance = (Chance * RuleI(Character, SkillUpModifier)/100);
 
 		if(MakeRandomFloat(0,100) < Chance) {	// if they make the roll
-			SetLanguageSkill(langid, LangSkill+1);	// increase the language skill by 1
+			IncreaseLanguageSkill(langid);	// increase the language skill by 1
 			_log(SKILLS__GAIN, "Language %d at value %d successfully gain with %.4f%%chance", langid, LangSkill, Chance);
 		} 
 		else
Reply With Quote