Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #20  
Old 09-26-2015, 01:33 AM
AdrianD
Discordant
 
Join Date: Dec 2013
Posts: 297
Default

I'm trying to find where in the code the different skills have different values for `chancemodi` (or is it `mod_increase_skill_chance`?).

I've searched the code and can't indentify where the different skill up mod rates are located.

Please point me in the right direction.

Snippet I'm referring to, client.cpp (~2292):
Code:
	if (skillval < maxskill)
	{
		// the higher your current skill level, the harder it is
		int32 Chance = 10 + chancemodi + ((252 - skillval) / 20);

		Chance = (Chance * RuleI(Character, SkillUpModifier) / 100);

		Chance = mod_increase_skill_chance(Chance, against_who);

		if(Chance < 1)
			Chance = 1; // Make it always possible

		if(zone->random.Real(0, 99) < Chance)
The categories are somewhat apparent even without logging features enabled.

Code:
Initial observations - very low skill levels
	- logs shows mod default level of 22% at low skill levels
	- initial observations show defense/offense/weapon skills set to a default 22% - 15
	- certain skills appear to be set at a default level (22%) - 10 (dodge12)		
	- certain skills appear to be set at a default level (22%) + 15 (tracking53)
	- certain skills appear to be set at a default level (22%) + 10 (taunt73)
	- certain skills appear to be set at a default level (22%) + 5 (sneak42, bind wound9, forage27)
	- certain skills appear to be set at a default level (22%) + 0 (casting skills)
	- certain skills appear to be set at a default level (22%) - 17 (swimming50) although I'm guessing this is set differently - false
EDIT: I searched `CheckIncreaseSkill` and I think I found what I was looking for.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:05 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3