Re: [CODE] [LONG] Stat Rolling

From: Sean Daley (daley@IDT.NET)
Date: 12/24/97


StormeRider wrote:

> ....
>
>   case CON_QROLLSTATS:
> log("Entering QROLLSTATS state.\r\n");
>     switch (*arg) {
>       case 'y':
>       case 'Y':
>         break;
>       case 'n':
>       case 'N':
>       default:
> log("Before roll_real_abils");
>         roll_real_abils(d->character);
> log("After roll_real_abils");
>         sprintf(buf, "\r\n"
>           " Strength:     [%d]\r\n"
>           " Intelligence: [%d]\r\n"
>           " Wisdom:       [%d]\r\n"
>           " Dexterity:    [%d]\r\n"
>           " Constitution: [%d]\r\n"
>           " Charisma:     [%d]\r\n",
>           GET_STR(d->character),
>           GET_INT(d->character), GET_WIS(d->character),
>           GET_DEX(d->character), GET_CON(d->character),
>           GET_CHA(d->character));
>         SEND_TO_Q(buf, d);
>         SEND_TO_Q("\r\n\r\nKeep these stats? (y/N)", d);
>         return;    <<<<<<<<<<<<
>     }
>

I can't be positive, but that return might be fudging things up a bit at the
end.


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



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