Go Back   EQEmulator Home > EQEmulator Forums > Development > Development: Custom Code

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-24-2014, 12:00 AM
zerjz3
Banned
 
Join Date: Aug 2010
Location: Sanctuary
Posts: 269
Default Changing the level-based class prefixes in /who

My goal is to change this part of classes.cpp:

Code:
const char* GetEQClassName(uint8 class_, uint8 level) {
	switch(class_) {
		case WARRIOR:
			if (level >= 70)
				return "Vanquisher";
			else if (level >= 65)
				return "Overlord"; //Baron-Sprite: LEAVE MY CLASSES ALONE.
			else if (level >= 60)
				return "Warlord";
			else if (level >= 55)
				return "Myrmidon";
			else if (level >= 51)
				return "Champion";
			else
				return "Warrior";
to something that checks for the player either having a certain flag, or having a certain item in their inventory. Is this at all possible?
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:00 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