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

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

Thread Tools Display Modes
Old 06-01-2019, 09:12 AM
Fire Beetle
Join Date: May 2019
Posts: 10
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
Old 06-03-2019, 01:38 PM
Join Date: Mar 2012
Posts: 1,095

It's a source change.

	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."

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 02:15 PM.


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