Hello, I am trying to change the number of books needed to level up a skill. Right now it's the default 1,2,3,4.. needed for each M level. I want to make it so it is 1 book regardless of master level.
After searching in the code I found the function LearnSkillByBook in char_skill.cpp. There I changed the line:
int need_bookcount = GetSkillLevel(dwSkillVnum) - 20; to int need_bookcount = 1;
If i understand the code correcctly that should make it so every time a book is used succesfully the level shoulg go up, but after compiling nothing changes...
Any ideas why?
After searching in the code I found the function LearnSkillByBook in char_skill.cpp. There I changed the line:
int need_bookcount = GetSkillLevel(dwSkillVnum) - 20; to int need_bookcount = 1;
If i understand the code correcctly that should make it so every time a book is used succesfully the level shoulg go up, but after compiling nothing changes...
Any ideas why?


