View Single Post
  #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