Brit,

I think you're looking for this in comm.c, line 1844:

        /* initialize stats */
        for (i = 0; i < MAX_STATS; i++)
            ch->perm_stat[i] = pc_race_table[race].stats[i];


So, if you want to change the stats players start with, go to
the pc_race table in const.c and change the first group of 5
numbers in curly braces.

If you mean adding a 6th stat, then increase MAX_STAT in merc.h
and add a sixth number to the first and second groups of 5 in the
const.c pc_race table.

Then, change all the code! :) Start by grepping for "get_curr_stat".
You'll want to change the do_score and do_stat, of course. Also, don't
forget save.c, and recycle.c. Other needed changes and things to grep
for will occur to you as you go along.


Then again, maybe someone does know of a tutorial.

Sandi

Reply via email to