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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-01-2019, 09:12 AM
rabbet330
Sarnak
 
Join Date: May 2019
Posts: 31
Default Capping xp per kill

Is there a way to cap experience per kill? I'm experimenting with higher expmultiplier values in the rule_values table, but of course that means you could theoretically skip levels with a single kill. I'd like to combine that with an absolute maximum of 20% (one "bar") per character per kill.
Reply With Quote
  #2  
Old 06-03-2019, 01:38 PM
Maze_EQ
Demi-God
 
Join Date: Mar 2012
Posts: 1,106
Default

It's a source change.


Code:
	uint32 expcap = (GetEXPForLevel(GetLevel() + 1) - GetEXPForLevel(GetLevel())) * .14;
	if (!resexp && add_exp > expcap) {
		add_exp = expcap;
	}

	add_exp = GetEXP() + add_exp;


}
This would be in EXP.cpp

This will essentially cap ALL exp at 14% maximum, no matter the circumstances, other than resurrections where you lost > 14%.
__________________
"No, thanks, man. I don't want you fucking up my life, too."

Skype:
Comerian1
Reply With Quote
Reply

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 10:52 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3