this is the main code that was added so i hope this helps... case CON_QCLASS: load_result = parse_class(*arg); if (load_result == CLASS_UNDEFINED) { SEND_TO_Q("\r\nThat's not a class.\r\nClass: ", d); return; } SEND_TO_Q("\r\nPress enter to roll your stats.", d); STATE(d) = CON_QROLLSTATS; break; case CON_QROLLSTATS: switch (*arg) { case 'y': case 'Y': break; case 'n': case 'N': default: roll_real_abils(d->character); sprintf(buf, "\r\nStr: [%d/%d] Int: [%d] Wis: [%d] Dex:" " [%d] Con: [%d] Cha: [%d]", GET_STR(d->character), GET_ADD(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; } +------------------------------------------------------------+ | 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