Re: [CODE] [Newbie] races snippet problem

From: Josh B. (beavis@pcpartner.net)
Date: 02/23/97


At 12:27 AM 2/24/97 -0600, Rob Clint wrote:

I don't know if this is what causing it, but do you have the trailing } at
the end of the switch?

>  case CLASS_BARBARIAN:
>    ch->real_abils.str = table[0];
>    ch->real_abils.con = table[1];
>    ch->real_abils.dex = table[2];
>    ch->real_abils.wis = table[3];
>    ch->real_abils.intel = table[4];
>    ch->real_abils.cha = table[5];
>    if (ch->real_abils.str == 18)
>      ch->real_abils.str_add = number(0, 100);
>    break;
>  }
>  ch->aff_abils = ch->real_abils;
>}
>switch (GET_RACE(ch))  {
>  case RACE_HUMAN:
>	 break;
>  case RACE_ORC:
>	 break;
>  case RACE_ELF:
>	 ch->real_abils.dex += 1;
>	 ch->real_abils.intel += 1;
>	 ch->real_abils.str -= 1;
>	 ch->real_abils.con -= 1;
>	 break;
>
                                    

+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
|    Or send 'info circle' to majordomo@cspo.queensu.ca     |
+-----------------------------------------------------------+



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