I'm not even sure if a mod in client.cpp for this code would even work.
Code:
uint8 Client::SkillTrainLevel(SkillType skillid, uint16 class_){
return(database.GetTrainLevel(class_, skillid, RuleI(Character, MaxLevel)));
}
I guess an if could be stuck in there but Need to know what that returns before i could do that. Even then it might still revert.