/* 
This is an adaption of Orion Elders classes snippet.
Original Credits:
For any bug reports, request, general complaints, send e-mail to knytehawk@geocities.com with subject line "do_races".
This snippets most updated versions can be found at http://www.geocities.com/knytehawk/smaug/index.html, under the snippets section.
Orion Elder, Founder of Crimson Oracles located at darkcosmos.dhs.org port 4000.

For any questions on this modified form refer to Snippets@LostProphecy.com
*/

void do_classes(CHAR_DATA *ch, char *argument)
{
    int iClass=0;
    int counter=0;

    if (!IS_IMMORTAL(ch))
     counter =1;

    send_to_pager("\n\r", ch);
    for (iClass = 0; iClass < MAX_PC_CLASS; iClass++)
    {
        pager_printf( ch, "&c[&C%2d&c]&W %-10s", counter, class_table[iClass]->who_name );
        if (IS_IMMORTAL(ch))
         pager_printf( ch, "%-1s &cExpbase:&W %-5d &cHpmin: &W%-3d &cHpmax: &W%-3d", "", class_table[iClass]->exp_base, class_table[iClass]->hp_min, class_table[iClass]->hp_max );
        pager_printf( ch, "\n\r");
        counter++;
    }
    return;
}
