From: Brian Williams Subject: Attributes Command ACMD(do_attributes) { sprintf(buf, " Character attributes for %s\r\n", GET_NAME(ch) ); sprintf(buf, "%s\r\nLevel: %d Race: %s Class: %s\r\n", buf, GET_LEVEL(ch) , RACE_ABBR(ch), CLASS_ABBR(ch)); sprintf(buf, "%sAge: %d yrs / %d mths Height: %d inches Weight: %d lbs\r\n" , buf, age(ch).year, age(ch).month, GET_HEIGHT(ch), GET_WEIGHT(ch)); if ((GET_CLASS(ch) == CLASS_WARRIOR || GET_CLASS(ch) == CLASS_RANGER || GET_C LASS(ch) == CLASS_BERSERKER) && GET_STR(ch) == 18) sprintf(buf, "%sStr: %d/%3d Int: %d Wis: %d\r\nDex: %d Con: % d Cha: %d\r\n", buf, GET_STR(ch), GET_ADD(ch), GET_INT(ch), GET_WIS(ch), GET_DEX(ch), GET_CON(ch), GET_CHA(ch)); else sprintf(buf, "%sStr: %d Int: %d Wis: %d\r\nDex: %d Con: % d Cha: %d\r\n", buf, GET_STR(ch), GET_INT(ch), GET_WIS(ch), GET_DEX(ch), GET_CON(ch), GET_CHA(ch)); sprintf(buf, "%sArmor Class: %d\r\n", buf, GET_AC(ch)); sprintf(buf, "%sHitroll: %d Damroll: %d\r\n", buf, (ch)->points.hitroll, (ch)->points.damroll); sprintf(buf, "%sAlignment: %d\r\n", buf, GET_ALIGNMENT(ch)); sprintf(buf, "%sSaving Throws: PAR[%d] ROD[%d] PET[%d] BRE[%d] SPE[%d]\r\n ", buf, GET_SAVE(ch, 0), GET_SAVE(ch, 1), GET_SAVE(ch, 2), GET_SAVE(ch, 3), GET_SAVE(ch, 4)); send_to_char(buf, ch); }