ie you are level 1 and use /level 100 it will take you to 0 max instead of 500 max
you only see this on the spell type 2 skils at this time
the reason is that the routine that raises skill is
Code: Select all
player->GetSkills()->IncreaseAllSkillCaps(5 * (new_level - old_level));and some will ask well it dosent happen to my combat skills and the answer is
Code: Select all
player->GetSkills()->IncreaseAllSkillCaps(5 * (new_level - old_level));but then
at line 3539
the code is lesseting groups of skills
Code: Select all
GetPlayer()->GetSkills()->SetSkillCapsByType(1, 5*new_level);
GetPlayer()->GetSkills()->SetSkillCapsByType(3, 5*new_level);
GetPlayer()->GetSkills()->SetSkillCapsByType(6, 5*new_level);
GetPlayer()->GetSkills()->SetSkillCapsByType(13, 5*new_level);which to me is extra work that is not needed
for now i will change int8 to int16, then remove the 4 SetSkillCapsByType lines