Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void load_skills(struct char_data *ch, const char *line, int mode) {//(FILE *fl, struct char_data *ch) {
- int num = 0, num2 = 0, num3 = 0;
- sscanf(line, "%d %d %d", &num, &num2, &num3);
- switch (mode) {
- case LOAD_SKILL:
- GET_SKILL(ch, i) = num;
- GET_SKILL_RANK(ch, num) = num2;
- GET_SKILL_XP(ch, num) = num3;
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment