for (i = 0; i < 5; i++) {
if (pc_race_table[race].skills[i] == NULL)
break;
group_add(ch,pc_race_table[race].skills[i],FALSE);
}ch->pcdata->learned[skill_table[skill_lookup(pc_race_table[race].skills[i])]]= 75;
I'm kind of stuck on a problem. As far as I can tell this may be a bug with the Stock Rom Code as I've seen it on a few bug lists however I still have not been able to find a fix for it. I will Use elves as my primary example:
{"elf", " Elf ", 5, { 100, 125, 100, 120 },
{ "sneak", "hide" },
{ 12, 14, 13, 15, 11 }, { 16, 20, 18, 21, 15 }, SIZE_SMALL
},
As shown above Elves should recieve hide and sneak for free according to any documentation I've found.
Sneak skill in const.c
{"sneak", { 53, 53, 4, 10 }, { 0, 0, 4, 6},
spell_null, TAR_IGNORE, POS_STANDING,
&gsn_sneak, SLOT( 0), 0, 12,
"", "You no longer feel stealthy.", ""
},
Using this information Elven Mage & Clerics will recieve sneak at level 53 (IMM level), thieves at 4, Warriors at 10. I could hard set the cleric and mage levels to "XX" however this would allow all cleric/mages to pick up these skills which is not what I'm looking for.
I've done my best to google this problem, I've seen it come up on the rom mailing list archives however I'm only able to retrieve the tail end of most of the messages and unable to see the fix if there is one.
Does anyone have any suggestions on how I could accomplish this..I noticed a snippet for "racial skills (Racial.txt) however the implementation notes are not very clear. this doesn't seem to be an issue with custom races as all the skills I'm applying to them are aswell customized. Only the core races.
Any assistance would be great,
Thank you