I presume there are no ways to bypass client restriction? Or is it in the dbc files?
Also I was trying to add lockpicking to other classes and found this checks in Player.cpp
Code:
if(_spell_idx->second->learnOnGetSkill == ABILITY_LEARNED_ON_GET_RACE_OR_CLASS_SKILL ||
// lockpicking/runeforging special case, not have ABILITY_LEARNED_ON_GET_RACE_OR_CLASS_SKILL
(pSkill->id==SKILL_LOCKPICKING || pSkill->id==SKILL_RUNEFORGING) && _spell_idx->second->max_value==0 )
{
and
Code:
if(_spell_idx->second->learnOnGetSkill == ABILITY_LEARNED_ON_GET_RACE_OR_CLASS_SKILL ||
// lockpicking/runeforging special case, not have ABILITY_LEARNED_ON_GET_RACE_OR_CLASS_SKILL
(pSkill->id==SKILL_LOCKPICKING || pSkill->id==SKILL_RUNEFORGING) && _spell_idx->second->max_value==0 )
I outcommented the lockpicking part and again nothing changed. I mean it is learned as a spell but not as an ability. And also again you can't see it from a custom trainer if you are not a rouge. Is it because there are another checks or is it client side restriction?
And again is it possible to bypass client side restriction?