Small suggestion. I would make the first if statement of each case the level 70 title, then the first else 65, and so on. It would keep things in order. Very nice work, though. I'm glad you've decided to pick up C++. So for example change:
case WARRIOR:
if (level >= 65)
return "Overlord"; //Baron-Sprite: LEAVE MY CLASSES ALONE. Xabob...NO!!! rofl
else if (level >= 70)
return "Vanquisher";
else if (level >= 60)
return "Warlord";
else if (level >= 55)
return "Myrmidon";
else if (level >= 51)
return "Champion";
else
return "Warrior";
to :
case WARRIOR:
if (level >= 70)
return "Vanquisher"; //Baron-Sprite: LEAVE MY CLASSES ALONE. Xabob...NO!!! rofl
else if (level >= 65)
return "Overlord";
else if (level >= 60)
return "Warlord";
else if (level >= 55)
return "Myrmidon";
else if (level >= 51)
return "Champion";
else
return "Warrior";
|