/**************************** * PURE Code by Xrakisis * ***************************/ #if defined(macintosh) #include <types.h> #else #include <sys/types.h> #endif #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include "merc.h" void do_pure (CHAR_DATA *ch, char *argument) { char arg[MAX_INPUT_LENGTH]; char buf[MAX_STRING_LENGTH]; argument = one_argument( argument, arg ); if (IS_NPC(ch)) return; if (ch->pStatus < 8) { send_to_char("You need at least 8 status to Become PURE.\n\r",ch); return; } do_clearstats2(ch,""); clearshit(ch); if (IS_CLASS(ch, CLASS_DROW)) { SET_BIT(ch->act, PLR_PURE); sprintf(buf,"%s Is Now A PURE DROW TRUEBLOOD\n\r",ch->pcdata->switchname); do_info(ch,buf); ch->pStatus = 0; return; } }