• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Feature "You advanced from sword fighting 10 to sword fighting 11." - a small addition to OTS

Joined
Apr 16, 2009
Messages
121
Reaction score
4
Location
/dev/null/ aka Poland
Find in player.cpp this:

Code:
s << "You advanced in " << getSkillName(skill);

And replace it with this:

Code:
s << "You advanced from " << getSkillName(skill) << " " << skills[skill][SKILL_LEVEL]-1 << " to " << getSkillName(skill) << " " << skills[skill][SKILL_LEVEL];

I know it's not very complicated, but I'm programming first time in C++ ;)
 
Hmm, would it be possible to do it the way Level works? Using prevLevel, level and %d?
 
Back
Top