new skills not working

From: Dan Egli (dan@adsl60.slkc.uswest.net)
Date: 12/28/98


I added some languages as skills, so each race on my mud has their own
race, and can also learn languages of other races. However, nothing seems
to be affecting the races.

In interpreter.c, nanny(), I have a switch:
switch (GET_RACE(d->character)) {

followed by case: statements for all my races. Each of these puts the
language (skill) for that race to 100% (all races are fluent in their OWN
racial language by default). But when I look at their language list after
they log in, everyone has common, and just common. Here's the structure of
the switch:
switch(GET_RACE(d->character)) {
        case RACE_HUMAN: SET_SKILL(d->character, LANG_COMMON, 100); break;
        case RACE_TROLL: SET_SKILL(d->character, LANG_TROLL, 100); break;
        case RACE_ELF: SET_SKILL(d->character, LANG_ELVISH, 100); break;
        case RACE_GNOME: SET_SKILL(d->character, LANG_GNOMISH, 100); break;
        case RACE_HDRAGON: SET_SKILL(d->character, LANG_LORE, 100); break;
        case RACE_MINOTAUR: SET_SKILL(d->character, LANG_MINOTAUR, 100); break;
        }

anyone got any ideas? Thanks!


--
Warning: Unsolicited Email may result in legal action to recover $500.
By US Code Title 47 Sec.227(a)(2)(B) a computer/modem/printer meets the
definition of a telephone fax machine.  By Sec.227(b)(1)(C), it is
unlawful to send any unsolicited advertisements to such equipment.  By
Sec.227(b)(3)(C), a violation of the aforementioned Section is
punishable by action to recover actual monetary loss, or $500, whichever
is greater, for each violation.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST