<skill id="7" multiplier="1.1" />
skillMultipliers[7] = 1.1f;
what is the ID of mining skill in your client? have you made it 7 just like in sources? since you shifted SKILL_MAGLEVEL and SKILL_LEVEL by +1 in server, I hope you also did it in client
how about vocations.xml? did you add something like this for each vocation
since I noticed you didn't add this to vocation.cppCode:<skill id="7" multiplier="1.1" />
Code:skillMultipliers[7] = 1.1f;
enum Skill {
Fist = 0,
Club,
Sword,
Axe,
Distance,
Shielding,
Fishing,
Mining,
LastSkill
};
uint32_t Vocation::skillBase[SKILL_LAST + 1] = {50, 50, 50, 50, 30, 100, 20, 20};
I've made the changes, still won't work.
In otclient, the ID of mining skill is 7, like in sources.
But, in otclient I only change const.h and skills.otui
Part of code in const.h:
Code:enum Skill { Fist = 0, Club, Sword, Axe, Distance, Shielding, Fishing, Mining, LastSkill };
EDIT
I made one more change in vocations.cpp, had also forgot skillBase, now it's working
Code:uint32_t Vocation::skillBase[SKILL_LAST + 1] = {50, 50, 50, 50, 30, 100, 20, 20};
Proof:
![]()
Thank you, problem solved![]()
Do you can show us how to?I've made the changes, still won't work.
In otclient, the ID of mining skill is 7, like in sources.
But, in otclient I only change const.h and skills.otui
Part of code in const.h:
Code:enum Skill { Fist = 0, Club, Sword, Axe, Distance, Shielding, Fishing, Mining, LastSkill };
EDIT
I made one more change in vocations.cpp, had also forgot skillBase, now it's working
Code:uint32_t Vocation::skillBase[SKILL_LAST + 1] = {50, 50, 50, 50, 30, 100, 20, 20};
Proof:
![]()
Thank you, problem solved![]()