If you do it like this she will only be able to raise her commerce skill an nothing more...@Levis: Would this help then?
Code:ch.rank = 1; [...] ch.experience = "0"; ch.skill.Leadership = "0"; ch.skill.Fencing = "0"; ch.skill.Sailing = "0"; ch.skill.Accuracy = "0"; ch.skill.Cannons = "0"; ch.skill.Grappling = "0"; ch.skill.Repair = "0"; ch.skill.Defence = "0"; ch.skill.Commerce = "2"; ch.skill.Sneak = "0"; [...] ch.questchar = true; ch.quest.officertype = OFFIC_TYPE_SHOPKEEPER; ch.quest.officerprice = 0; ch.quest.NoRaise = true; LAi_SetStayType(ch);
I sugest something like this:
Code:
ch.rank = 1;
[...]
ch.experience = "0";
ch.skill.Leadership = "0";
ch.skill.Fencing = "1";
ch.skill.Sailing = "0";
ch.skill.Accuracy = "1";
ch.skill.Cannons = "0";
ch.skill.Grappling = "0";
ch.skill.Repair = "0";
ch.skill.Defence = "1";
ch.skill.Commerce = "3";
ch.skill.Sneak = "0";
[...]
ch.questchar = true;
ch.quest.officertype = OFFIC_TYPE_SHOPKEEPER;
ch.quest.officerprice = 0;
ch.quest.NoRaise = true;
LAi_SetStayType(ch);
That would allow her to at least also gain xp in the fencing,accuracy and defence skills which are needed during combat.