mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-28 07:22:29 +00:00
Client::SetClassStartingSkills should now match live
This commit is contained in:
parent
0f12a74074
commit
179400c777
@ -1794,10 +1794,10 @@ void Client::SetClassStartingSkills(PlayerProfile_Struct *pp)
|
|||||||
{
|
{
|
||||||
for (uint32 i = 0; i <= HIGHEST_SKILL; ++i) {
|
for (uint32 i = 0; i <= HIGHEST_SKILL; ++i) {
|
||||||
if (pp->skills[i] == 0) {
|
if (pp->skills[i] == 0) {
|
||||||
if (i >= SkillSpecializeAbjure && i <= SkillSpecializeEvocation)
|
// Skip specialized, tradeskills (fishing excluded), Alcohol Tolerance, and Bind Wound
|
||||||
continue;
|
if (EQEmu::IsSpecializedSkill((SkillUseTypes)i) ||
|
||||||
|
(EQEmu::IsTradeskill((SkillUseTypes)i) && i != SkillFishing) ||
|
||||||
if (EQEmu::IsTradeskill((SkillUseTypes)i) || i == SkillBegging)
|
i == SkillAlcoholTolerance || i == SkillBindWound)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
pp->skills[i] = database.GetSkillCap(pp->class_, (SkillUseTypes)i, 1);
|
pp->skills[i] = database.GetSkillCap(pp->class_, (SkillUseTypes)i, 1);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user