wpn

aoh/src/wpn · 276.9 KB

From the archive aoh-1.2.tar.gz

Download the archive   « Back to the archive contents

abjurer.c:    SET_BIT(ch->immune, IMM_SHIELDED);
abjurer.c:  REMOVE_BIT(ch->immune, IMM_SHIELDED);
abjurer.c:        if (ch->mana < mcost)
abjurer.c:        ch->mana -= mcost;
abjurer.c:  if (IS_SET(ch->pcdata->powers[WRAITH_POWERS], WRAITH_DIMEDODGE))
abjurer.c:    REMOVE_BIT(ch->pcdata->powers[WRAITH_POWERS], WRAITH_DIMEDODGE);
abjurer.c:   SET_BIT(ch->pcdata->powers[WRAITH_POWERS], WRAITH_DIMEDODGE);
act_comm.c:    if (ch->pcdata->quest < amount)
act_comm.c:    ch->pcdata->quest -= amount;
act_comm.c:    sprintf(buf, "%s puts %d qps on %s's head, who now have a %d qps bounty.", ch->name, amount, victim->name, victim->pcdata->bounty);
act_comm.c:  if (IS_NPC(ch) || IS_SET(ch->deaf, CHANNEL_NEWBIE))
act_comm.c:  if (RTIMER(ch->in_room, RTIMER_SILENCE) != 0)
act_comm.c:  else if (!IS_NPC(ch) && ch->pcdata->condition[COND_DRUNK] > 10)
act_comm.c:  if (!IS_NPC(ch) && IS_SET(ch->act, PLR_SILENCE))
act_comm.c:  if (ch->in_room->vnum != ROOM_VNUM_IN_OBJECT)
act_comm.c:  to = ch->in_room->people;
act_comm.c:    if (!IS_NPC(ch) && ch->pcdata->chobj != NULL && ch->pcdata->chobj->in_room != NULL && !IS_NPC(to) && to->pcdata->chobj != NULL && to->pcdata->chobj->in_room != NULL && ch->in_room == to->in_room)
act_comm.c:    if (!IS_NPC(ch) && ch->pcdata->chobj != NULL &&
act_comm.c:        ch->pcdata->chobj->in_obj != NULL && !IS_NPC(to) && to->pcdata->chobj != NULL && to->pcdata->chobj->in_obj != NULL && ch->pcdata->chobj->in_obj == to->pcdata->chobj->in_obj)
act_comm.c:      sprintf(name, ch->short_descr);
act_comm.c:      sprintf(name, ch->morph);
act_comm.c:      sprintf(name, ch->name);
act_comm.c:  for (rt = ch->in_room->roomtext; rt != NULL; rt = rt->next)
act_comm.c:        if (!is_in(ch->name, rt->name))
act_comm.c:          vch_next = vch->next;
act_comm.c:          if (vch->in_room == NULL)
act_comm.c:          if (vch->in_room == ch->in_room && vch->pIndexData->vnum == rt->mob)
act_comm.c:          REMOVE_BIT(ch->in_room->room_flags, ROOM_DARK);
act_comm.c:          SET_BIT(ch->in_room->room_flags, ROOM_DARK);
act_comm.c:          obj = create_object(get_obj_index(rt->power), ch->level);
act_comm.c:            obj_to_room(obj, ch->in_room);
act_comm.c:          char_to_room(mob, ch->in_room);
act_comm.c:          obj_to_room(obj, ch->in_room);
act_comm.c:          for (mob = ch->in_room->people; mob; mob = mob->next_in_room)
act_comm.c:              sprintf(xbuf, rt->output, ch->name);
act_comm.c:  if ((victim = get_char_world(ch, arg)) == NULL || (IS_NPC(victim) && victim->in_room != ch->in_room))
act_comm.c:    if (IS_NPC(victim) || IS_NPC(ch) || strlen(victim->pcdata->marriage) < 2 || str_cmp(ch->name, victim->pcdata->marriage))
act_comm.c:      if (victim->pcdata->ignore[i] == ch->pcdata->playerid)
act_comm.c:  if (!IS_NPC(ch) && IS_SET(ch->act, PLR_SILENCE))
act_comm.c:  if ((victim = get_char_world(ch, arg)) == NULL || (victim->in_room != ch->in_room))
act_comm.c:  if ((victim = ch->reply) == NULL)
act_comm.c:      if (victim->pcdata->ignore[i] == ch->pcdata->playerid)
act_comm.c:  if (!IS_NPC(ch) && IS_SET(ch->act, PLR_SILENCE))
act_comm.c:  if (ch->in_room->vnum != ROOM_VNUM_IN_OBJECT)
act_comm.c:  to = ch->in_room->people;
act_comm.c:    if (!IS_NPC(ch) && ch->pcdata->chobj != NULL && ch->pcdata->chobj->in_room != NULL && !IS_NPC(to) && to->pcdata->chobj != NULL && to->pcdata->chobj->in_room != NULL && ch->in_room == to->in_room)
act_comm.c:    if (!IS_NPC(ch) && ch->pcdata->chobj != NULL &&
act_comm.c:        ch->pcdata->chobj->in_obj != NULL && !IS_NPC(to) && to->pcdata->chobj != NULL && to->pcdata->chobj->in_obj != NULL && ch->pcdata->chobj->in_obj == to->pcdata->chobj->in_obj)
act_comm.c:      sprintf(name, ch->short_descr);
act_comm.c:      sprintf(name, ch->morph);
act_comm.c:      sprintf(name, ch->name);
act_comm.c:    if (ch->short_descr != NULL)
act_comm.c:      strcpy(you, ch->short_descr);
act_comm.c:    if (ch->name != NULL)
act_comm.c:      strcpy(you, ch->name);
act_comm.c:  if (ch->in_room->vnum != ROOM_VNUM_IN_OBJECT)
act_comm.c:  to = ch->in_room->people;
act_comm.c:    if (!IS_NPC(ch) && ch->pcdata->chobj != NULL && ch->pcdata->chobj->in_room != NULL && !IS_NPC(to) && to->pcdata->chobj != NULL && to->pcdata->chobj->in_room != NULL && ch->in_room == to->in_room)
act_comm.c:    if (!IS_NPC(ch) && ch->pcdata->chobj != NULL &&
act_comm.c:        ch->pcdata->chobj->in_obj != NULL && !IS_NPC(to) && to->pcdata->chobj != NULL && to->pcdata->chobj->in_obj != NULL && ch->pcdata->chobj->in_obj == to->pcdata->chobj->in_obj)
act_comm.c:      sprintf(name, ch->short_descr);
act_comm.c:      sprintf(name, ch->morph);
act_comm.c:      sprintf(name, ch->name);
act_comm.c:  if (ch->position == POS_FIGHTING)
act_comm.c:  if (ch->position != POS_STANDING)
act_comm.c:    ch->position = POS_STANDING;
act_comm.c:  if (ch->fight_timer > 0)
act_comm.c:  if (ch->in_room != NULL)
act_comm.c:    if (IS_SET(ch->in_room->room_flags, ROOM_ARENA))
act_comm.c:  for (gch = char_list; gch; gch = gch->next)
act_comm.c:    if (gch->desc)
act_comm.c:      if (gch->desc->connected != CON_PLAYING && !(gch->desc->connected >= CON_NOTE_TO && gch->desc->connected <= CON_NOTE_FINISH))
act_comm.c:    if (gch->challenger == ch)
act_comm.c:      gch->challenger = NULL;
act_comm.c:  if (ch->level > 6);           /* do nothing */
act_comm.c:  else if (IS_SET(ch->pcdata->jflags, JFLAG_SETLOGOUT))
act_comm.c:  else if (ch->pcdata->obj_vnum == 0)
act_comm.c:    sprintf(buf, "#R%s #7has fled from #RAge of Heroes#7.#n", ch->pcdata->switchname);
act_comm.c:  if (ch->challenger != NULL)
act_comm.c:    ch->challenger = NULL;
act_comm.c:  if ((mount = ch->mount) != NULL)
act_comm.c:  if (ch->desc && ch->desc->out_compress)
act_comm.c:    compressEnd(ch->desc);      // free up the mccp shit
act_comm.c:  if (ch->pcdata->in_progress)
act_comm.c:    free_note(ch->pcdata->in_progress);
act_comm.c:  d = ch->desc;
act_comm.c:  if (ch->pcdata->obj_vnum != 0)
act_comm.c:  if (ch->in_room != NULL)
act_comm.c:  sprintf(log_buf, "%s has quit.", ch->name);
act_comm.c:  if (ch->pcdata->chobj != NULL)
act_comm.c:    extract_obj(ch->pcdata->chobj);
act_comm.c:  if (ch->level < 2)
act_comm.c:  if (ch->level < 2)
act_comm.c:  if (IS_AFFECTED(ch, AFF_CHARM) && ch->master != NULL)
act_comm.c:    act("But you'd rather follow $N!", ch, NULL, ch->master, TO_CHAR);
act_comm.c:    if (ch->master == NULL)
act_comm.c:  if (ch->master != NULL)
act_comm.c:  if (ch->master != NULL)
act_comm.c:  ch->master = master;
act_comm.c:  ch->leader = NULL;
act_comm.c:  if (ch->master == NULL)
act_comm.c:    REMOVE_BIT(ch->affected_by, AFF_CHARM);
act_comm.c:  if (can_see(ch->master, ch))
act_comm.c:    act("$n stops following you.", ch, NULL, ch->master, TO_VICT);
act_comm.c:  act("You stop following $N.", ch, NULL, ch->master, TO_CHAR);
act_comm.c:  ch->master = NULL;
act_comm.c:  ch->leader = NULL;
act_comm.c:  if (ch->master != NULL)
act_comm.c:  ch->leader = NULL;
act_comm.c:    fch_next = fch->next;
act_comm.c:    if (fch->leader == ch)
act_comm.c:      fch->leader = fch;
act_comm.c:    if (fch->master == ch)
act_comm.c:  if (IS_SET(ch->in_room->room_flags, ROOM_ORDER) || IS_SET(ch->in_room->room_flags, ROOM_SAFE))
act_comm.c:  for (och = ch->in_room->people; och != NULL; och = och_next)
act_comm.c:    och_next = och->next_in_room;
act_comm.c:    if ((IS_AFFECTED(och, AFF_CHARM) && och->master == ch && (fAll || och == victim)))
act_comm.c:      ch->wait = victim->wait;
act_comm.c:    leader = (ch->leader != NULL) ? ch->leader : ch;
act_comm.c:    for (gch = char_list; gch != NULL; gch = gch->next)
act_comm.c:          capitalize(PERS(gch, ch)), gch->hit, gch->max_hit, gch->mana, gch->max_mana, gch->move, gch->max_move, gch->exp);
act_comm.c:  if (ch->master != NULL || (ch->leader != NULL && ch->leader != ch))
act_comm.c:  sprintf(buf, "#G%s tells the group #R'#G%s#R'\n\r#n", ch->name, argument);
act_comm.c:  if (ach->leader != NULL)
act_comm.c:    ach = ach->leader;
act_comm.c:  if (bch->leader != NULL)
act_comm.c:    bch = bch->leader;
act_comm.c:  if (IS_SET(ch->in_room->room_flags, ROOM_DARK))
act_comm.c:    REMOVE_BIT(ch->in_room->room_flags, ROOM_DARK);
act_comm.c:  SET_BIT(ch->in_room->room_flags, ROOM_DARK);
act_comm.c:  in_room = ch->in_room->vnum;
act_comm.c:  in_room = ch->in_room->vnum;
act_comm.c:  in_room = ch->in_room->vnum;
act_comm.c:  for (obj = ch->in_room->contents; obj != NULL; obj = obj_next)
act_comm.c:  for (obj = ch->in_room->contents; obj != NULL; obj = obj_next)
act_comm.c:  for (obj = ch->in_room->contents; obj != NULL; obj = obj_next)
act_comm.c:  for (obj = ch->in_room->contents; obj != NULL; obj = obj_next)
act_comm.c:  for (obj = ch->in_room->contents; obj != NULL; obj = obj_next)
act_info.c:  value += ch->damroll;
act_info.c:  if (ch->level < LEVEL_AVATAR)
act_info.c:  value += ch->hitroll;
act_info.c:  if (ch->level < LEVEL_AVATAR)
act_info.c:  if (ch->desc == NULL)
act_info.c:    if (!IS_NPC(ch) && ch->pcdata->chobj != NULL && obj->chobj != NULL && obj->chobj == ch)
act_info.c:    if (IS_NPC(ch) || !IS_SET(ch->act, PLR_BRIEF1))
act_info.c:  if (!IS_NPC(ch) && IS_SET(ch->act, PLR_BRIEF1))
act_info.c:      if (IS_NPC(ch) || ch->pcdata->chobj == NULL || ch->pcdata->chobj != obj)
act_info.c:  if (victim != ch && !IS_NPC(ch) && !IS_HEAD(victim, LOST_HEAD) && number_percent() < ch->pcdata->learned[gsn_peek])
act_info.c:  for (rch = list; rch != NULL; rch = rch->next_in_room)
act_info.c:      if (!IS_NPC(rch) && IS_SET(rch->act, PLR_WIZINVIS) && get_trust(ch) < get_trust(rch))
act_info.c:      if (!IS_NPC(rch) && (IS_SET(rch->act, PLR_WIZINVIS) || IS_ITEMAFF(rch, ITEMA_VANISH)) && !IS_SET(ch->act, PLR_HOLYLIGHT) && !IS_ITEMAFF(ch, ITEMA_VISION))
act_info.c:    else if (room_is_dark(ch->in_room) && IS_AFFECTED(rch, AFF_INFRARED))
act_info.c:  if (!IS_NPC(ch) && IS_SET(ch->act, PLR_HOLYLIGHT))
act_info.c:  if (ch->class == 0)
act_info.c:  if (IS_SET(ch->act, PLR_HOLYLIGHT))
act_info.c:    REMOVE_BIT(ch->act, PLR_HOLYLIGHT);
act_info.c:    SET_BIT(ch->act, PLR_HOLYLIGHT);
act_info.c:  if (ch->desc == NULL) // && (wizard = ch->wizard) == NULL)
act_info.c:  if (ch->in_room == NULL)
act_info.c:  if (ch->position < POS_SLEEPING)
act_info.c:  if (ch->position == POS_SLEEPING)
act_info.c:  if (IS_SET(ch->flag2, AFF_TOTALBLIND))
act_info.c:  if (!IS_NPC(ch) && IS_SET(ch->in_room->room_flags, ROOM_TOTAL_DARKNESS) && !IS_ITEMAFF(ch, ITEMA_VISION) && !IS_IMMORTAL(ch))
act_info.c:      && !IS_SET(ch->act, PLR_HOLYLIGHT)
act_info.c:      && !(ch->in_room != NULL && ch->in_room->vnum == ROOM_VNUM_IN_OBJECT && !IS_NPC(ch) && ch->pcdata->chobj != NULL && ch->pcdata->chobj->in_obj != NULL) && room_is_dark(ch->in_room))
act_info.c:    show_char_to_char(ch->in_room->people, ch);
act_info.c:    if (ch->in_room != NULL && ch->in_room->vnum == ROOM_VNUM_IN_OBJECT && !IS_NPC(ch) && ch->pcdata->chobj != NULL && ch->pcdata->chobj->in_obj != NULL)
act_info.c:      act("$p", ch, ch->pcdata->chobj->in_obj, NULL, TO_CHAR);
act_info.c:    else if (!IS_SET(ch->act, PLR_MAP))
act_info.c:      if (!IS_NPC(ch) && ch->level > 6)
act_info.c:        sprintf(buf, "%s #0[#7%d#0]#n\n\r", ch->in_room->name, ch->in_room->vnum);
act_info.c:        sprintf(buf, "%s\n\r", ch->in_room->name);
act_info.c:    if (!IS_NPC(ch) && IS_SET(ch->act, PLR_AUTOEXIT) && !IS_SET(ch->act, PLR_MAP))
act_info.c:    if (ch->in_room != NULL && ch->in_room->vnum == ROOM_VNUM_IN_OBJECT && !IS_NPC(ch) && ch->pcdata->chobj != NULL && ch->pcdata->chobj->in_obj != NULL)
act_info.c:      act("You are inside $p.", ch, ch->pcdata->chobj->in_obj, NULL, TO_CHAR);
act_info.c:      show_list_to_char(ch->pcdata->chobj->in_obj->contains, ch, FALSE, FALSE);
act_info.c:    else if ((!IS_NPC(ch) && !IS_SET(ch->act, PLR_BRIEF1)) && (arg1[0] == '\0' || !str_cmp(arg1, "auto") || !str_cmp(arg1, "scry")))
act_info.c:      if (IS_SET(ch->act, PLR_MAP))
act_info.c:        draw_map(ch, ch->in_room->description);
act_info.c:        send_to_char(ch->in_room->description, ch);
act_info.c:      if (ch->in_room->blood == 1000)
act_info.c:      else if (ch->in_room->blood > 750)
act_info.c:      else if (ch->in_room->blood > 500)
act_info.c:      else if (ch->in_room->blood > 250)
act_info.c:      else if (ch->in_room->blood > 100)
act_info.c:      else if (ch->in_room->blood > 50)
act_info.c:      else if (ch->in_room->blood > 25)
act_info.c:      else if (ch->in_room->blood > 0)
act_info.c:      if (ch->in_room->blood > 0)
act_info.c:    if (IS_SET(ch->in_room->room_flags, ROOM_FLAMING))
act_info.c:    show_list_to_char(ch->in_room->contents, ch, FALSE, FALSE);
act_info.c:      if (ch->in_room == NULL)
act_info.c:      if (ch->in_room->exit[door] == NULL)
act_info.c:      if (IS_SET(ch->in_room->exit[door]->exit_info, EX_PRISMATIC_WALL))
act_info.c:      else if (IS_SET(ch->in_room->exit[door]->exit_info, EX_ICE_WALL))
act_info.c:      else if (IS_SET(ch->in_room->exit[door]->exit_info, EX_CALTROP_WALL))
act_info.c:      else if (IS_SET(ch->in_room->exit[door]->exit_info, EX_FIRE_WALL))
act_info.c:      else if (IS_SET(ch->in_room->exit[door]->exit_info, EX_SWORD_WALL))
act_info.c:      else if (IS_SET(ch->in_room->exit[door]->exit_info, EX_MUSHROOM_WALL))
act_info.c:      else if (IS_SET(ch->in_room->exit[door]->exit_info, EX_IRON_WALL))
act_info.c:      else if (IS_SET(ch->in_room->exit[door]->exit_info, EX_ASH_WALL))
act_info.c:    show_char_to_char(ch->in_room->people, ch);
act_info.c:        location = ch->in_room;
act_info.c:    vch_next = vch->next;
act_info.c:    if (vch->in_room == NULL)
act_info.c:    if (vch->in_room == ch->in_room)
act_info.c:      if (!IS_NPC(vch) && !str_cmp(arg1, vch->morph))
act_info.c:  if (!IS_NPC(ch) && ch->pcdata->chobj != NULL && ch->pcdata->chobj->in_obj != NULL)
act_info.c:  for (obj = ch->carrying; obj != NULL; obj = obj->next_content)
act_info.c:    if (!IS_NPC(ch) && ch->pcdata->chobj != NULL && obj->chobj != NULL && obj->chobj == ch)
act_info.c:  for (obj = ch->in_room->contents; obj != NULL; obj = obj->next_content)
act_info.c:    if (!IS_NPC(ch) && ch->pcdata->chobj != NULL && obj->chobj != NULL && obj->chobj == ch)
act_info.c:  pdesc = get_extra_descr(arg1, ch->in_room->extra_descr);
act_info.c:  if ((pexit = ch->in_room->exit[door]) == NULL)
act_info.c:      if ((pexit = ch->in_room->exit[door]) == NULL)
act_info.c:      location = ch->in_room;
act_info.c:      if ((pexit = ch->in_room->exit[door]) == NULL)
act_info.c:      location = ch->in_room;
act_info.c:    if ((pexit = ch->in_room->exit[door]) == NULL)
act_info.c:    location = ch->in_room;
act_info.c:    if ((pexit = ch->in_room->exit[door]) != NULL && pexit->to_room != NULL)
act_info.c:  sprintf(skill, "   Slice   #C: %-4d", ch->wpn[1]);
act_info.c:  sprintf(skill, "     Stab   #C: %-4d", ch->wpn[2]);
act_info.c:  sprintf(skill, "     Slash  #C: %-4d", ch->wpn[3]);
act_info.c:  sprintf(skill, "     Whip   #C: %-4d\n\r", ch->wpn[4]);
act_info.c:  sprintf(skill, "   Claw    #C: %-4d", ch->wpn[5]);
act_info.c:  sprintf(skill, "     Blast  #C: %-4d", ch->wpn[6]);
act_info.c:  sprintf(skill, "     Pound  #C: %-4d", ch->wpn[7]);
act_info.c:  sprintf(skill, "     Crush  #C: %-4d\n\r", ch->wpn[8]);
act_info.c:  sprintf(skill, "   Grep    #C: %-4d", ch->wpn[9]);
act_info.c:  sprintf(skill, "     Bite   #C: %-4d", ch->wpn[10]);
act_info.c:  sprintf(skill, "     Pierce #C: %-4d", ch->wpn[11]);
act_info.c:  sprintf(skill, "     Suck   #C: %-4d\n\r", ch->wpn[12]);
act_info.c:  sprintf(skill, "   Unarmed #C: %-4d\n\r", ch->wpn[0]);
act_info.c:  sprintf(skill, "   Viper   #C: %-4d", ch->stance[1]);
act_info.c:  sprintf(skill, "     Crane   #C: %-4d", ch->stance[2]);
act_info.c:  sprintf(skill, "    Crab   #C: %-4d", ch->stance[3]);
act_info.c:  sprintf(skill, "    Mongoose#C : %-4d\n\r", ch->stance[4]);
act_info.c:  sprintf(skill, "   Bull    #C: %-4d", ch->stance[5]);
act_info.c:  sprintf(skill, "     Mantis  #C: %-4d", ch->stance[6]);
act_info.c:  sprintf(skill, "    Dragon #C: %-4d", ch->stance[7]);
act_info.c:  sprintf(skill, "    Tiger    #C: %-4d\n\r", ch->stance[8]);
act_info.c:  sprintf(skill, "   Monkey  #C: %-4d", ch->stance[9]);
act_info.c:  sprintf(skill, "     Swallow #C: %-4d\n\r", ch->stance[10]);
act_info.c:  sprintf(skill, "   SS1    #C: %-4d", ch->stance[13]);
act_info.c:  sprintf(skill, "   SS2  #C: %-4d", ch->stance[14]);
act_info.c:  sprintf(skill, "   SS3 #C: %-4d", ch->stance[15]); 
act_info.c:  sprintf(skill, "   SS4   #C: %-4d", ch->stance[16]);   
act_info.c:  sprintf(skill, "   SS5    #C: %-4d\n\r", ch->stance[17]);
act_info.c:  sprintf(skill, "   #pPurple#n #C: %-4d", ch->spl[0]);  
act_info.c:  sprintf(skill, "   #lBlue#n #C: %-4d", ch->spl[2]);
act_info.c:  sprintf(skill, "   #rRed#n #C: %-4d", ch->spl[1]);  
act_info.c:  sprintf(skill, "   #gGreen#n #C: %-4d", ch->spl[3]);
act_info.c:  sprintf(skill, "   #yYellow#n #C: %-4d#n\n\r\n", ch->spl[4]);
act_info.c:  sprintf(skill, "   Recall Room #C: %d#n\n\r", ch->home);
act_info.c:  if (IS_SET(ch->act, PLR_RIGHTHAND))
act_info.c:  else if (IS_SET(ch->act, PLR_LEFTHAND))
act_info.c:  sprintf(skill, "   Generation #C: %d#n\n\r", ch->generation);
act_info.c:    if (gch->level < 7)
act_info.c:    if (gch->level < 7)
act_info.c:    if (gch->pkill > 0)
act_info.c:      if (100 * gch->pkill / (gch->pkill + gch->pdeath) < 100 && 100 * gch->pkill / (gch->pkill + gch->pdeath) > 9)
act_info.c:          sprintf(pkratio, "#R(#G0.%-2d#R)#n", (100 * gch->pkill / (gch->pkill + gch->pdeath)));
act_info.c:          sprintf(pkratio, "#0(#G0.%-2d#0)#n", (100 * gch->pkill / (gch->pkill + gch->pdeath)));
act_info.c:          sprintf(pkratio, "#y(#G0.%-2d#y)#n", (100 * gch->pkill / (gch->pkill + gch->pdeath)));
act_info.c:          sprintf(pkratio, "#L(#G0.%-2d#L)#n", (100 * gch->pkill / (gch->pkill + gch->pdeath)));
act_info.c:      else if (100 * gch->pkill / (gch->pkill + gch->pdeath) < 10)
act_info.c:          sprintf(pkratio, "#R(#G0.0%-1d#R)#n", (100 * gch->pkill / (gch->pkill + gch->pdeath)));
act_info.c:          sprintf(pkratio, "#0(#G0.0%-1d#0)#n", (100 * gch->pkill / (gch->pkill + gch->pdeath)));
act_info.c:          sprintf(pkratio, "#y(#G0.0%-1d#y)#n", (100 * gch->pkill / (gch->pkill + gch->pdeath)));
act_info.c:          sprintf(pkratio, "#L(#G0.0%-1d#L)#n", (100 * gch->pkill / (gch->pkill + gch->pdeath)));
act_info.c:    if ((IS_HEAD(gch, LOST_HEAD) || IS_EXTRA(gch, EXTRA_OSWITCH)) && gch->pcdata->chobj != NULL)
act_info.c:      if (gch->pcdata->chobj->pIndexData->vnum == 12)
act_info.c:      else if (gch->pcdata->chobj->pIndexData->vnum == 30005)
act_info.c:      switch (gch->level)
act_info.c:          else if (gch->prefix != NULL)
act_info.c:            title = gch->prefix;
act_info.c:          if (gch->prefix != NULL)
act_info.c:            title = gch->prefix;
act_info.c:          else if (IS_SET(gch->pcdata->jflags, JFLAG_BULLY))
act_info.c:    if (gch->class > 0)
act_info.c:    if (gch->level > 6)
act_info.c:      sprintf(buf1 + strlen(buf1), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:    else if (gch->level >= 3 && gch->level <= 6)
act_info.c:        sprintf(buf2 + strlen(buf2), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf3 + strlen(buf3), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf4 + strlen(buf4), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf5 + strlen(buf5), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf6 + strlen(buf6), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf7 + strlen(buf7), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf8 + strlen(buf8), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf9 + strlen(buf9), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf10 + strlen(buf10), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf11 + strlen(buf11), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf12 + strlen(buf12), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf13 + strlen(buf13), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf14 + strlen(buf14), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf15 + strlen(buf15), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf16 + strlen(buf16), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:        sprintf(buf17 + strlen(buf17), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:    else if (gch->level < 3)
act_info.c:      sprintf(buf18 + strlen(buf18), " %-16s %-6s %-24s %-12s %s\n\r", title, pkratio, kav, gch->pcdata->switchname, faith);
act_info.c:    if (!IS_NPC(ch) && (obj = ch->pcdata->chobj) == NULL)
act_info.c:        location = ch->in_room;
act_info.c:        for (portal = ch->in_room->contents; portal != NULL; portal = portal_next)
act_info.c:              REMOVE_BIT(ch->affected_by, AFF_SHADOWPLANE);
act_info.c:              SET_BIT(ch->affected_by, AFF_SHADOWPLANE);
act_info.c:              SET_BIT(ch->affected_by, AFF_SHADOWPLANE);
act_info.c:              REMOVE_BIT(ch->affected_by, AFF_SHADOWPLANE);
act_info.c:  show_list_to_char(ch->carrying, ch, TRUE, TRUE);
act_info.c:          && (victim = d->character) != NULL && !IS_NPC(victim) && victim->in_room != NULL && victim->in_room->area == ch->in_room->area && victim->pcdata->chobj == NULL && can_see(ch, victim))
act_info.c:          && victim->in_room->area == ch->in_room->area && !IS_AFFECTED(victim, AFF_HIDE) && !IS_AFFECTED(victim, AFF_SNEAK) && can_see(ch, victim) && is_name(arg, victim->name))
act_info.c:  free_string(ch->prefix);
act_info.c:  ch->prefix = str_dup(buf);
act_info.c:  free_string(ch->pcdata->title);
act_info.c:  ch->pcdata->title = str_dup(buf);
act_info.c:  if (ch->fight_timer > 0)
act_info.c:  if (IS_SET(ch->extra, EXTRA_AFK))
act_info.c:    REMOVE_BIT(ch->extra, EXTRA_AFK);
act_info.c:  if ((ch->in_room == NULL || !IS_SET(ch->in_room->room_flags, ROOM_SAFE)) && ch->level < 6)
act_info.c:  if (!IS_SET(ch->extra, EXTRA_AFK))
act_info.c:    if (IS_SET(ch->pcdata->tempflag, TEMP_ARTIFACT))
act_info.c:    if (ch->master)
act_info.c:    SET_BIT(ch->extra, EXTRA_AFK);
act_info.c:      if (ch->description != NULL)
act_info.c:        strcat(buf, ch->description);
act_info.c:    free_string(ch->description);
act_info.c:    ch->description = str_dup(buf);
act_info.c:  send_to_char(ch->description ? ch->description : "(None).\n\r", ch);
act_info.c:  sprintf(hit_str, "%d", ch->hit);
act_info.c:  COL_SCALE(hit_str, ch, ch->hit, ch->max_hit);
act_info.c:  sprintf(mana_str, "%d", ch->mana);
act_info.c:  COL_SCALE(mana_str, ch, ch->mana, ch->max_mana);
act_info.c:  sprintf(move_str, "%d", ch->move);
act_info.c:  COL_SCALE(move_str, ch, ch->move, ch->max_move);
act_info.c:  sprintf(exp_str, "%d", ch->exp);
act_info.c:  COL_SCALE(exp_str, ch, ch->exp, 1000);
act_info.c:  sprintf(mhit_str, "%d", ch->max_hit);
act_info.c:  sprintf(mmana_str, "%d", ch->max_mana);
act_info.c:  sprintf(mmove_str, "%d", ch->max_move);
act_info.c:    vch_next = vch->next;
act_info.c:    if (vch->in_room == NULL)
act_info.c:    if (vch->in_room != ch->in_room)
act_info.c:    sprintf(hit_str, "%d", ch->hit);
act_info.c:    COL_SCALE(hit_str, vch, ch->hit, ch->max_hit);
act_info.c:    sprintf(mana_str, "%d", ch->mana);
act_info.c:    COL_SCALE(mana_str, vch, ch->mana, ch->max_mana);
act_info.c:    sprintf(move_str, "%d", ch->move);
act_info.c:    COL_SCALE(move_str, vch, ch->move, ch->max_move);
act_info.c:    sprintf(exp_str, "%d", ch->exp);
act_info.c:    COL_SCALE(exp_str, vch, ch->exp, 1000);
act_info.c:    sprintf(mhit_str, "%d", ch->max_hit);
act_info.c:    sprintf(mmana_str, "%d", ch->max_mana);
act_info.c:    sprintf(mmove_str, "%d", ch->max_move);
act_info.c:      sprintf(buf, "%s reports: %s/%s hp %s/%s mana %s/%s mv %s xp.\n\r", ch->morph, hit_str, mhit_str, mana_str, mmana_str, move_str, mmove_str, exp_str);
act_info.c:      sprintf(buf, "%s reports: %s/%s hp %s/%s mana %s/%s mv %s xp.\n\r", IS_NPC(ch) ? capitalize(ch->short_descr) : ch->name, hit_str, mhit_str, mana_str, mmana_str, move_str, mmove_str, exp_str);
act_info.c:        if (ch->level < skill_table[sn].skill_level)
act_info.c:            sprintf(buf, "#p%18s #7%3d%%  ", skill_table[sn].name, ch->pcdata->learned[sn]);
act_info.c:            sprintf(buf, "#R%18s #7%3d%%  ", skill_table[sn].name, ch->pcdata->learned[sn]);
act_info.c:            sprintf(buf, "#L%18s #7%3d%%  ", skill_table[sn].name, ch->pcdata->learned[sn]);
act_info.c:            sprintf(buf, "#G%18s #7%3d%%  ", skill_table[sn].name, ch->pcdata->learned[sn]);
act_info.c:            sprintf(buf, "#y%18s #7%3d%%  ", skill_table[sn].name, ch->pcdata->learned[sn]);
act_info.c:    sprintf(buf, "You have %d exp left.\n\r", ch->exp);
act_info.c:      if (ch->exp < 5000)
act_info.c:      if ((skill_table[sn].name != NULL) && (ch->level >= skill_table[sn].skill_level) && ch->pcdata->learned[sn] < 100)
act_info.c:        ch->pcdata->learned[sn] = 100;
act_info.c:        ch->exp -= 5000;
act_info.c:    if (ch->exp <= 0)
act_info.c:    if ((sn = skill_lookup(argument)) < 0 || (!IS_NPC(ch) && ch->level < skill_table[sn].skill_level))
act_info.c:    if (ch->pcdata->learned[sn] >= SKILL_ADEPT)
act_info.c:    else if (ch->pcdata->learned[sn] > 0 && ch->exp < 5000)
act_info.c:    else if (ch->pcdata->learned[sn] == 0 && ch->exp < 5000)
act_info.c:      if (ch->pcdata->learned[sn] == 0)
act_info.c:        ch->exp -= 5000;
act_info.c:        ch->pcdata->learned[sn] += 100;
act_info.c:        ch->exp -= (ch->pcdata->learned[sn] / 2);
act_info.c:        ch->pcdata->learned[sn] += int_app[get_curr_int(ch)].learn;
act_info.c:      if (ch->pcdata->learned[sn] < SKILL_ADEPT)
act_info.c:        ch->pcdata->learned[sn] = SKILL_ADEPT;
act_info.c:  if (strcmp(arg1, ch->pcdata->pwd) && strcmp(crypt(arg1, ch->pcdata->pwd), ch->pcdata->pwd))
act_info.c:  pwdnew = crypt(arg2, ch->pcdata->switchname);
act_info.c:  free_string(ch->pcdata->pwd);
act_info.c:  ch->pcdata->pwd = str_dup(pwdnew);
act_info.c:    SET_BIT(ch->extra, EXTRA_NEWPASS);
act_info.c:  if (ch->desc != NULL && ch->desc->connected == CON_PLAYING)
act_info.c:    send_to_char(!IS_SET(ch->deaf, CHANNEL_CHAT) ? " +CHAT" : " -chat", ch);
act_info.c:    send_to_char(!IS_SET(ch->deaf, CHANNEL_FLAME) ? " +FLAME" : " -flame", ch);
act_info.c:    send_to_char(!IS_SET(ch->deaf, CHANNEL_NEWBIE) ? " +NEWBIE" : " -newbie", ch);
act_info.c:    send_to_char(!IS_SET(ch->deaf, CHANNEL_ROLEPLAY) ? " +ROLEPLAY" : " -roleplay", ch);
act_info.c:      send_to_char(!IS_SET(ch->deaf, CHANNEL_IMMTALK) ? " +IMMTALK" : " -immtalk", ch);
act_info.c:      send_to_char(!IS_SET(ch->deaf, CHANNEL_LOG) ? " +LOG" : " -log", ch);
act_info.c:    send_to_char(!IS_SET(ch->deaf, CHANNEL_MUSIC) ? " +MUSIC" : " -music", ch);
act_info.c:    if (ch->class != 0 || IS_IMMORTAL(ch))
act_info.c:      send_to_char(!IS_SET(ch->deaf, CHANNEL_CLASS) ? " +CLASS" : " -class", ch);
act_info.c:    send_to_char(!IS_SET(ch->deaf, CHANNEL_INFO) ? " +INFO" : " -info", ch);
act_info.c:    send_to_char(!IS_SET(ch->deaf, CHANNEL_TELL) ? " +TELL" : " -tell", ch);
act_info.c:      REMOVE_BIT(ch->deaf, bit);
act_info.c:      SET_BIT(ch->deaf, bit);
act_info.c:    send_to_char(IS_SET(ch->act, PLR_ANSI)
act_info.c:    send_to_char(IS_SET(ch->act, PLR_AUTOEXIT)
act_info.c:    send_to_char(IS_SET(ch->act, PLR_AUTOLOOT)
act_info.c:    send_to_char(IS_SET(ch->act, PLR_AUTOSAC)
act_info.c:    send_to_char(IS_SET(ch->act, PLR_BRIEF1)
act_info.c:    send_to_char(IS_SET(ch->act, PLR_BRIEF2)
act_info.c:    send_to_char(IS_SET(ch->act, PLR_BRIEF3)
act_info.c:    send_to_char(IS_SET(ch->act, PLR_BRIEF4)
act_info.c:    send_to_char(IS_SET(ch->act, PLR_BRIEF5)
act_info.c:    send_to_char(IS_SET(ch->act, PLR_BRIEF6)
act_info.c:    send_to_char(IS_SET(ch->act, PLR_MAP)
act_info.c:      SET_BIT(ch->act, bit);
act_info.c:      REMOVE_BIT(ch->act, bit);
act_info.c:  if (IS_SET(ch->act, PLR_ANSI))
act_info.c:  if (IS_SET(ch->act, PLR_AUTOEXIT))
act_info.c:  if (IS_SET(ch->act, PLR_AUTOLOOT))
act_info.c:  if (IS_SET(ch->act, PLR_AUTOSAC))
act_info.c:  if (IS_SET(ch->act, PLR_MAP))
act_info.c:  if (IS_SET(ch->act, PLR_BRIEF1))
act_info.c:  if (IS_SET(ch->act, PLR_BRIEF2))
act_info.c:  if (IS_SET(ch->act, PLR_BRIEF3))
act_info.c:  if (IS_SET(ch->act, PLR_BRIEF4))
act_info.c:  if (IS_SET(ch->act, PLR_BRIEF5))
act_info.c:  if (IS_SET(ch->act, PLR_BRIEF6))
act_info.c:      SET_BIT(ch->extra, EXTRA_PROMPT);
act_info.c:      REMOVE_BIT(ch->extra, EXTRA_PROMPT);
act_info.c:    free_string(ch->prompt);
act_info.c:    ch->prompt = str_dup("");
act_info.c:  free_string(ch->prompt);
act_info.c:  ch->prompt = str_dup(buf);
act_info.c:    free_string(ch->cprompt);
act_info.c:    ch->cprompt = str_dup("");
act_info.c:  free_string(ch->cprompt);
act_info.c:  ch->cprompt = str_dup(buf);
act_info.c:    if (ch->level > 6)
act_move.c:  in_room = ch->in_room;
act_move.c:  if (door == DIR_NORTH && ((obj = get_obj_list(ch, "walln", ch->in_room->contents)) != NULL || (obj = get_obj_list(ch, "walls", to_room->contents)) != NULL))
act_move.c:  if (door == DIR_SOUTH && ((obj = get_obj_list(ch, "walls", ch->in_room->contents)) != NULL || (obj = get_obj_list(ch, "walln", to_room->contents)) != NULL))
act_move.c:  if (door == DIR_EAST && ((obj = get_obj_list(ch, "walle", ch->in_room->contents)) != NULL || (obj = get_obj_list(ch, "wallw", to_room->contents)) != NULL))
act_move.c:  if (door == DIR_WEST && ((obj = get_obj_list(ch, "wallw", ch->in_room->contents)) != NULL || (obj = get_obj_list(ch, "walle", to_room->contents)) != NULL))
act_move.c:  if (door == DIR_UP && ((obj = get_obj_list(ch, "wallu", ch->in_room->contents)) != NULL || (obj = get_obj_list(ch, "walld", to_room->contents)) != NULL))
act_move.c:  if (door == DIR_DOWN && ((obj = get_obj_list(ch, "walld", ch->in_room->contents)) != NULL || (obj = get_obj_list(ch, "wallu", to_room->contents)) != NULL))
act_move.c:  if (IS_AFFECTED(ch, AFF_CHARM) && ch->master != NULL && in_room == ch->master->in_room)
act_move.c:  if (IS_NPC(ch) && (mount = ch->mount) != NULL && IS_SET(ch->mounted, IS_MOUNT))
act_move.c:    if (IS_NPC(ch) || ch->trust < MAX_LEVEL)
act_move.c:        for (obj = ch->carrying; obj != NULL; obj = obj->next_content)
act_move.c:    if (ch->move <= 0)
act_move.c:    if (IS_SET(ch->mounted, IS_RIDING) && (ch->move < move || ch->move < 1))
act_move.c:    if (IS_SET(pexit->exit_info, EX_FIRE_WALL) && ch->class == 0)
act_move.c:    else if (IS_SET(pexit->exit_info, EX_FIRE_WALL) && ch->class != 0 && !IS_NPC(ch) && ch->level > 2)
act_move.c:      ch->hit -= dice(6, 50);
act_move.c:    if (IS_SET(pexit->exit_info, EX_SWORD_WALL) && ch->class == 0)
act_move.c:    else if (IS_SET(pexit->exit_info, EX_SWORD_WALL) && ch->class != 0 && !IS_NPC(ch) && ch->level > 2)
act_move.c:      ch->hit -= dice(6, 70);
act_move.c:      ch->hit /= 2;
act_move.c:      ch->move /= 2;
act_move.c:    if (!IS_SET(ch->mounted, IS_RIDING))
act_move.c:      ch->move -= move;
act_move.c:  if ((mount = ch->mount) != NULL && ch->mounted == IS_RIDING)
act_move.c:  else if (ch->in_room->sector_type == SECT_WATER_SWIM)
act_move.c:  else if (IS_SET(ch->polyaff, POLY_SERPENT))
act_move.c:  else if (IS_SET(ch->polyaff, POLY_WOLF))
act_move.c:  else if (IS_SET(ch->polyaff, POLY_FROG))
act_move.c:  else if (IS_SET(ch->polyaff, POLY_FISH))
act_move.c:  else if (ch->hit < (ch->max_hit / 4))
act_move.c:  else if (ch->hit < (ch->max_hit / 3))
act_move.c:  else if (ch->hit < (ch->max_hit / 2))
act_move.c:    if (ch->pcdata->condition[COND_DRUNK] > 10)
act_move.c:  else if (IS_SET(ch->act, ACT_FISH))
act_move.c:  if (!IS_NPC(ch) && ch->stance[0] != -1)
act_move.c:    if (ch->in_room == NULL || victim->in_room == NULL)
act_move.c:    if (ch == victim || ch->in_room != victim->in_room)
act_move.c:    if (!IS_NPC(ch) && !IS_AFFECTED(ch, AFF_SNEAK) && IS_AFFECTED(ch, AFF_POLYMORPH) && (IS_NPC(ch) || !IS_SET(ch->act, PLR_WIZINVIS)) && can_see(victim, ch))
act_move.c:      if (((mount = ch->mount) != NULL && ch->mounted == IS_RIDING && IS_AFFECTED(mount, AFF_FLYING)) || IS_AFFECTED(ch, AFF_FLYING))
act_move.c:        sprintf(poly, "%s flies $T%s", ch->morph, mount2);
act_move.c:      else if ((mount = ch->mount) != NULL && ch->mounted == IS_RIDING)
act_move.c:        sprintf(poly, "%s rides $T%s", ch->morph, mount2);
act_move.c:        sprintf(poly, "%s %s $T%s", ch->morph, leave, mount2);
act_move.c:    else if (!IS_AFFECTED(ch, AFF_SNEAK) && (IS_NPC(ch) || !IS_SET(ch->act, PLR_WIZINVIS)) && can_see(victim, ch))
act_move.c:      if (((mount = ch->mount) != NULL && ch->mounted == IS_RIDING && IS_AFFECTED(mount, AFF_FLYING)) || IS_AFFECTED(ch, AFF_FLYING))
act_move.c:      else if ((mount = ch->mount) != NULL && ch->mounted == IS_RIDING)
act_move.c:    if (ch->in_room == NULL || victim->in_room == NULL)
act_move.c:    if (ch == victim || ch->in_room != victim->in_room)
act_move.c:    if (!IS_NPC(ch) && !IS_AFFECTED(ch, AFF_SNEAK) && IS_AFFECTED(ch, AFF_POLYMORPH) && (IS_NPC(ch) || !IS_SET(ch->act, PLR_WIZINVIS)) && can_see(victim, ch))
act_move.c:      if (((mount = ch->mount) != NULL && ch->mounted == IS_RIDING && IS_AFFECTED(mount, AFF_FLYING)) || IS_AFFECTED(ch, AFF_FLYING))
act_move.c:        sprintf(poly, "%s flies in from %s%s", ch->morph, buf, mount2);
act_move.c:      else if ((mount = ch->mount) != NULL && ch->mounted == IS_RIDING)
act_move.c:        sprintf(poly, "%s rides in from %s%s", ch->morph, buf, mount2);
act_move.c:        sprintf(poly, "%s %s in from %s%s", ch->morph, leave, buf, mount2);
act_move.c:    else if (!IS_AFFECTED(ch, AFF_SNEAK) && can_see(victim, ch) && (IS_NPC(ch) || !IS_SET(ch->act, PLR_WIZINVIS)))
act_move.c:      if (((mount = ch->mount) != NULL && ch->mounted == IS_RIDING && IS_AFFECTED(mount, AFF_FLYING)) || IS_AFFECTED(ch, AFF_FLYING))
act_move.c:      else if ((mount = ch->mount) != NULL && ch->mounted == IS_RIDING)
act_move.c:    fch_next = fch->next_in_room;
act_move.c:    if ((mount = fch->mount) != NULL && mount == ch && IS_SET(fch->mounted, IS_MOUNT))
act_move.c:      char_to_room(fch, ch->in_room);
act_move.c:    if (fch->master == ch && fch->position == POS_STANDING && fch->in_room != ch->in_room)
act_move.c:    REMOVE_BIT(ch->extra, TIED_UP);
act_move.c:  in_room = ch->in_room;
act_move.c:  if (!IS_NPC(ch) && ch->in_room != in_room)
act_move.c:    old_room = ch->in_room;
act_move.c:  in_room = ch->in_room;
act_move.c:  if (!IS_NPC(ch) && ch->in_room != in_room)
act_move.c:    old_room = ch->in_room;
act_move.c:  in_room = ch->in_room;
act_move.c:  if (!IS_NPC(ch) && ch->in_room != in_room)
act_move.c:    old_room = ch->in_room;
act_move.c:  in_room = ch->in_room;
act_move.c:  if (!IS_NPC(ch) && ch->in_room != in_room)
act_move.c:    old_room = ch->in_room;
act_move.c:  in_room = ch->in_room;
act_move.c:  if (!IS_NPC(ch) && ch->in_room != in_room)
act_move.c:    old_room = ch->in_room;
act_move.c:  in_room = ch->in_room;
act_move.c:  if (!IS_NPC(ch) && ch->in_room != in_room)
act_move.c:    old_room = ch->in_room;
act_move.c:      if ((pexit = ch->in_room->exit[door]) != NULL && IS_SET(pexit->exit_info, EX_ISDOOR) && pexit->keyword != NULL && is_name(arg, pexit->keyword))
act_move.c:  if ((pexit = ch->in_room->exit[door]) == NULL)
act_move.c:  if (ch->in_room != NULL)
act_move.c:    if (IS_SET(ch->in_room->room_flags, ROOM_ASTRAL))
act_move.c:  obj = get_obj_list(ch, arg, ch->in_room->contents);
act_move.c:    location = ch->in_room;
act_move.c:      sprintf(poly, "%s steps into $p.", ch->morph);
act_move.c:      sprintf(poly, "%s steps out of $p.", ch->morph);
act_move.c:    for (portal = ch->in_room->contents; portal != NULL; portal = portal_next)
act_move.c:          REMOVE_BIT(ch->affected_by, AFF_SHADOWPLANE);
act_move.c:          SET_BIT(ch->affected_by, AFF_SHADOWPLANE);
act_move.c:    if ((mount = ch->mount) != NULL)
act_move.c:      char_to_room(mount, ch->in_room);
act_move.c:      gch_next = gch->next_in_room;
act_move.c:      if (gch->master == ch && gch->position == POS_STANDING && gch->in_room != ch->in_room)
act_move.c:  inroom = ch->in_room;
act_move.c:  if (number_percent() > (ch->level * 10))
act_move.c:      SET_BIT(ch->affected_by, AFF_FLAMING);
act_move.c:    pexit = ch->in_room->exit[door];
act_move.c:    if ((to_room = pexit->to_room) != NULL && (pexit_rev = to_room->exit[rev_dir[door]]) != NULL && pexit_rev->to_room == ch->in_room)
act_move.c:      for (rch = to_room->people; rch != NULL; rch = rch->next_in_room)
act_move.c:    pexit = ch->in_room->exit[door];
act_move.c:    if ((to_room = pexit->to_room) != NULL && (pexit_rev = to_room->exit[rev_dir[door]]) != 0 && pexit_rev->to_room == ch->in_room)
act_move.c:      for (rch = to_room->people; rch != NULL; rch = rch->next_in_room)
act_move.c:  for (obj = ch->carrying; obj != NULL; obj = obj->next_content)
act_move.c:    pexit = ch->in_room->exit[door];
act_move.c:    if ((to_room = pexit->to_room) != NULL && (pexit_rev = to_room->exit[rev_dir[door]]) != 0 && pexit_rev->to_room == ch->in_room)
act_move.c:    pexit = ch->in_room->exit[door];
act_move.c:    if ((to_room = pexit->to_room) != NULL && (pexit_rev = to_room->exit[rev_dir[door]]) != NULL && pexit_rev->to_room == ch->in_room)
act_move.c:  for (gch = ch->in_room->people; gch; gch = gch->next_in_room)
act_move.c:    if (IS_NPC(gch) && IS_AWAKE(gch) && ch->level + 5 < gch->level)
act_move.c:  if (!IS_NPC(ch) && number_percent() > ch->pcdata->learned[gsn_pick_lock])
act_move.c:    pexit = ch->in_room->exit[door];
act_move.c:    if ((to_room = pexit->to_room) != NULL && (pexit_rev = to_room->exit[rev_dir[door]]) != NULL && pexit_rev->to_room == ch->in_room)
act_move.c:  switch (ch->position)
act_move.c:      ch->position = POS_STANDING;
act_move.c:      ch->position = POS_STANDING;
act_move.c:      ch->position = POS_STANDING;
act_move.c:  switch (ch->position)
act_move.c:      ch->position = POS_RESTING;
act_move.c:  switch (ch->position)
act_move.c:      ch->position = POS_SITTING;
act_move.c:  switch (ch->position)
act_move.c:      ch->position = POS_SLEEPING;
act_move.c:  if (IS_NPC(ch) || number_percent() < ch->pcdata->learned[gsn_sneak])
act_move.c:    af.duration = ch->level;
act_move.c:    REMOVE_BIT(ch->affected_by, AFF_HIDE);
act_move.c:  if (IS_NPC(ch) || number_percent() < ch->pcdata->learned[gsn_hide])
act_move.c:    SET_BIT(ch->affected_by, AFF_HIDE);
act_move.c:  REMOVE_BIT(ch->affected_by, AFF_HIDE);
act_move.c:  REMOVE_BIT(ch->affected_by, AFF_INVISIBLE);
act_move.c:  REMOVE_BIT(ch->affected_by, AFF_SNEAK);
act_move.c:  if ((location = get_room_index(ch->home)) == NULL)
act_move.c:  if (ch->in_room == location)
act_move.c:  if (IS_SET(ch->in_room->room_flags, ROOM_NO_RECALL) || IS_AFFECTED(ch, AFF_CURSE))
act_move.c:  if (IS_SET(ch->flag2, AFF_TOTALBLIND))
act_move.c:  if ((victim = ch->fighting) != NULL)
act_move.c:  if ((mount = ch->mount) == NULL)
act_move.c:  char_to_room(mount, ch->in_room);
act_move.c:  if (ch->in_room->vnum == ch->home)
act_move.c:  if (IS_SET(ch->in_room->room_flags, ROOM_NO_RECALL) ||
act_move.c:      IS_SET(ch->in_room->room_flags, ROOM_ASTRAL) || IS_SET(ch->in_room->area->areabits, AREA_BIT_NOHOME) || IS_SET(ch->in_room->room_flags, ROOM_SAFE))
act_move.c:  if (ch->in_room->vnum == 3001)
act_move.c:  ch->home = ch->in_room->vnum;
act_move.c:  if (ch->position >= POS_SLEEPING)
act_move.c:  if ((location = get_room_index(ch->home)) == NULL)
act_move.c:  if (ch->in_room != NULL)
act_move.c:    if (IS_SET(ch->in_room->room_flags, ROOM_ARENA))
act_move.c:  if (ch->in_room == location)
act_move.c:  ch->move = 0;
act_move.c:  ch->mana = 0;
act_move.c:  sprintf(buf, "%s has escaped #Gdefenceless#n, easy kill for the quick.", ch->pcdata->switchname);
act_move.c:  if (IS_SET(ch->newbits, NEW_DARKNESS))
act_move.c:    REMOVE_BIT(ch->newbits, NEW_DARKNESS);
act_move.c:    if (ch->in_room != NULL)
act_move.c:      if (IS_SET(ch->in_room->room_flags, ROOM_TOTAL_DARKNESS))
act_move.c:        REMOVE_BIT(ch->in_room->room_flags, ROOM_TOTAL_DARKNESS);
act_move.c:      REMOVE_BIT(ch->immune, IMM_SLASH);
act_move.c:      REMOVE_BIT(ch->immune, IMM_STAB);
act_move.c:      REMOVE_BIT(ch->immune, IMM_SMASH);
act_move.c:      REMOVE_BIT(ch->immune, IMM_ANIMAL);
act_move.c:      REMOVE_BIT(ch->immune, IMM_MISC);
act_move.c:      REMOVE_BIT(ch->immune, IMM_CHARM);
act_move.c:      REMOVE_BIT(ch->immune, IMM_HEAT);
act_move.c:      REMOVE_BIT(ch->immune, IMM_COLD);
act_move.c:      REMOVE_BIT(ch->immune, IMM_LIGHTNING);
act_move.c:      REMOVE_BIT(ch->immune, IMM_ACID);
act_move.c:      REMOVE_BIT(ch->immune, IMM_COLD);
act_move.c:      REMOVE_BIT(ch->immune, IMM_DRAIN);
act_move.c:      REMOVE_BIT(ch->immune, IMM_HURL);
act_move.c:      REMOVE_BIT(ch->immune, IMM_BACKSTAB);
act_move.c:      REMOVE_BIT(ch->immune, IMM_KICK);
act_move.c:      REMOVE_BIT(ch->immune, IMM_DISARM);
act_move.c:      REMOVE_BIT(ch->immune, IMM_STEAL);
act_move.c:    if (ch->generation < 3)
act_move.c:    if (ch->generation == 3)
act_move.c:    else if (ch->generation == 4)
act_move.c:    else if (ch->generation == 5)
act_move.c:    if (ch->exp < gencost)
act_move.c:    ch->generation--;
act_move.c:    ch->exp -= gencost;
act_move.c:      if (ch->exp >= (ch->practice + 1) * 500)
act_move.c:        ch->practice++;
act_move.c:        ch->exp -= ch->practice * 500;
act_move.c:    sprintf(buf, "You have %d experience points.\n\r", ch->exp);
act_move.c:  primal = (1 + ch->practice) * 500;
act_move.c:  if (!str_cmp(arg1, "avatar") && (ch->level == 2))
act_move.c:    if (ch->max_hit < 2000)
act_move.c:    if (ch->max_hit < 2000)
act_move.c:    ch->level = 3;
act_move.c:      ch->pcdata->safe_counter = 10;
act_move.c:      ch->pcdata->safe_counter = 3;
act_move.c:    if (IS_SET(ch->pcdata->jflags, JFLAG_SETAVATAR))
act_move.c:      sprintf(buf, "%s has become an avatar!", ch->pcdata->switchname);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_SLASH);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_STAB);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_SMASH);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_ANIMAL);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_MISC);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_CHARM);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_HEAT);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_COLD);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_LIGHTNING);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_ACID);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_DRAIN);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_HURL);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_BACKSTAB);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_KICK);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_DISARM);
act_move.c:    if (ch->exp < immcost)
act_move.c:    ch->exp = ch->exp - immcost;
act_move.c:    SET_BIT(ch->immune, IMM_STEAL);
act_move.c:    if (ch->level == 2 && ch->max_hit > 1000)
act_move.c:    if (ch->practice < 999)
act_move.c:      sprintf(buf, "Primal           - %d exp per point of primal energy.\n\r", (1 + ch->practice) * 500);
act_move.c:    if (ch->generation == 3)
act_move.c:    else if (ch->generation == 4)
act_move.c:    else if (ch->generation == 5)
act_move.c:    else if (ch->generation > 5)
act_move.c:  if (cost > ch->exp)
act_move.c:  ch->exp -= cost;
act_move.c:  if (ch->mounted > 0)
act_move.c:  if (!IS_NPC(ch) && ch->stance[0] != -1)
act_move.c:  ch->mounted = IS_RIDING;
act_move.c:  ch->mount = victim;
act_move.c:  if (IS_SET(ch->mounted, IS_RIDING))
act_move.c:    if ((victim = ch->mount) == NULL)
act_move.c:      ch->mounted = 0;
act_move.c:  if (ch->mounted == 0)
act_move.c:  if ((victim = ch->mount) == NULL)
act_move.c:  ch->mounted = IS_ON_FOOT;
act_move.c:  ch->mount = NULL;
act_move.c:      sprintf(buf, "#C%s #ohas been vanquished from the #Rarena#o by #C%s#n", victim->name, ch->name);
act_move.c:        if (victim->in_room != NULL && victim->in_room->area == ch->in_room->area && victim->pcdata->chobj == NULL && victim != ch)
act_move.c:        sprintf(buf, "#C%s #oemerges victorious from the #Rarena#n", ch->name);
act_move.c:        ch->pcdata->awins++;
act_move.c:        ch->fight_timer = 0;
act_move.c:  if (IS_SET(ch->pcdata->jflags, JFLAG_SETTIE))
act_move.c:    sprintf(buf, "#P%s #yhas been tied up by #R%s#n", victim->name, ch->name);
act_move.c:  if (!IS_NPC(ch) && number_percent() > ch->pcdata->learned[gsn_track])
act_move.c:    if (strlen(ch->hunting) > 1)
act_move.c:      free_string(ch->hunting);
act_move.c:      ch->hunting = str_dup("");
act_move.c:  if (!str_cmp(arg, ch->name))
act_move.c:  free_string(ch->hunting);
act_move.c:  ch->hunting = str_dup(arg);
act_move.c:  in_room = ch->in_room;
act_move.c:  if (!IS_NPC(ch) && number_percent() > ch->pcdata->learned[gsn_track])
act_move.c:    free_string(ch->hunting);
act_move.c:    ch->hunting = str_dup("");
act_move.c:    direction = ch->in_room->track_dir[0];
act_move.c:    direction = ch->in_room->track_dir[1];
act_move.c:    direction = ch->in_room->track_dir[2];
act_move.c:    direction = ch->in_room->track_dir[3];
act_move.c:    direction = ch->in_room->track_dir[4];
act_move.c:  else if ((victim = get_char_room(ch, ch->hunting)) == NULL)
act_move.c:    free_string(ch->hunting);
act_move.c:    ch->hunting = str_dup("");
act_move.c:  if (strlen(ch->hunting) < 2)
act_move.c:  if ((victim = get_char_room(ch, ch->hunting)) != NULL)
act_move.c:  if (in_room == ch->in_room || victim != NULL)
act_move.c:    free_string(ch->hunting);
act_move.c:    ch->hunting = str_dup("");
act_move.c:    if (ch->in_room->track[loop] != NULL && !str_cmp(ch->in_room->track[loop], ch->name))
act_move.c:      free_string(ch->in_room->track[loop]);
act_move.c:      ch->in_room->track[loop] = str_dup("");
act_move.c:  if (ch->in_room->track[0] != NULL && strlen(ch->in_room->track[0]) < 2)
act_move.c:    free_string(ch->in_room->track[0]);
act_move.c:    ch->in_room->track[0] = str_dup(ch->pcdata->switchname);
act_move.c:    ch->in_room->track_dir[0] = direction;
act_move.c:  else if (ch->in_room->track[1] != NULL && strlen(ch->in_room->track[1]) < 2)
act_move.c:    free_string(ch->in_room->track[1]);
act_move.c:    ch->in_room->track[1] = str_dup(ch->pcdata->switchname);
act_move.c:    ch->in_room->track_dir[1] = direction;
act_move.c:  else if (ch->in_room->track[2] != NULL && strlen(ch->in_room->track[2]) < 2)
act_move.c:    free_string(ch->in_room->track[2]);
act_move.c:    ch->in_room->track[2] = str_dup(ch->pcdata->switchname);
act_move.c:    ch->in_room->track_dir[2] = direction;
act_move.c:  else if (ch->in_room->track[3] != NULL && strlen(ch->in_room->track[3]) < 2)
act_move.c:    free_string(ch->in_room->track[3]);
act_move.c:    ch->in_room->track[3] = str_dup(ch->pcdata->switchname);
act_move.c:    ch->in_room->track_dir[3] = direction;
act_move.c:  else if (ch->in_room->track[4] != NULL && strlen(ch->in_room->track[4]) < 2)
act_move.c:    free_string(ch->in_room->track[4]);
act_move.c:    ch->in_room->track[4] = str_dup(ch->pcdata->switchname);
act_move.c:    ch->in_room->track_dir[4] = direction;
act_move.c:    free_string(ch->in_room->track[0]);
act_move.c:    ch->in_room->track[0] = str_dup(ch->in_room->track[1]);
act_move.c:    ch->in_room->track_dir[0] = ch->in_room->track_dir[1];
act_move.c:    free_string(ch->in_room->track[1]);
act_move.c:    ch->in_room->track[1] = str_dup(ch->in_room->track[2]);
act_move.c:    ch->in_room->track_dir[1] = ch->in_room->track_dir[2];
act_move.c:    free_string(ch->in_room->track[2]);
act_move.c:    ch->in_room->track[2] = str_dup(ch->in_room->track[3]);
act_move.c:    ch->in_room->track_dir[2] = ch->in_room->track_dir[3];
act_move.c:    free_string(ch->in_room->track[3]);
act_move.c:    ch->in_room->track[3] = str_dup(ch->in_room->track[4]);
act_move.c:    ch->in_room->track_dir[3] = ch->in_room->track_dir[4];
act_move.c:    free_string(ch->in_room->track[4]);
act_move.c:    ch->in_room->track[4] = str_dup(ch->name);
act_move.c:    ch->in_room->track_dir[4] = direction;
act_move.c:  if (ch->hunting != NULL)
act_move.c:    strcpy(vict, ch->hunting);
act_move.c:  if (!str_cmp(ch->hunting, vict))
act_move.c:      free_string(ch->hunting);
act_move.c:      ch->hunting = str_dup("");
act_move.c:  if (strlen(ch->in_room->track[direction]) < 2)
act_move.c:  if (!str_cmp(ch->in_room->track[direction], ch->name))
act_move.c:  if (strlen(ch->hunting) > 1 && str_cmp(ch->in_room->track[direction], ch->hunting))
act_move.c:  door = ch->in_room->track_dir[direction];
act_move.c:  sprintf(buf, "You sense the trail of %s leading $T from here.", ch->in_room->track[direction]);
act_obj.c:  if (obj->ownerid == 0 || obj->ownerid != ch->pcdata->playerid)
act_obj.c:      if (gch->desc && gch->desc->connected != CON_PLAYING)
act_obj.c:    chroom = ch->in_room;
act_obj.c:    if (obj->ownerid == 0 || obj->ownerid != ch->pcdata->playerid)
act_obj.c:        if (gch->desc && gch->desc->connected != CON_PLAYING)
act_obj.c:      chroom = ch->in_room;
act_obj.c:  if (ch->carry_number + 1 > can_carry_n(ch))
act_obj.c:  if (ch->carry_weight + get_obj_weight(obj) > can_carry_w(ch))
act_obj.c:      obj = get_obj_list(ch, arg1, ch->in_room->contents);
act_obj.c:      for (obj = ch->in_room->contents; obj != NULL; obj = obj_next)
act_obj.c:    for (obj = ch->carrying; obj != NULL; obj = obj_next)
act_obj.c:    obj_to_room(obj, ch->in_room);
act_obj.c:    for (obj = ch->carrying; obj != NULL; obj = obj_next)
act_obj.c:        obj_to_room(obj, ch->in_room);
act_obj.c:  for (fountain = ch->in_room->contents; fountain != NULL; fountain = fountain->next_content)
act_obj.c:    for (obj = ch->in_room->contents; obj; obj = obj->next_content)
act_obj.c:  if (!IS_NPC(ch) && ch->pcdata->condition[COND_DRUNK] > 10)
act_obj.c:      if (!IS_NPC(ch) && ch->pcdata->condition[COND_DRUNK] > 10)
act_obj.c:      if (!IS_NPC(ch) && ch->pcdata->condition[COND_FULL] > 50)
act_obj.c:      if (!IS_NPC(ch) && ch->pcdata->condition[COND_THIRST] > 50)
act_obj.c:      if (!IS_NPC(ch) && ch->pcdata->condition[COND_DRUNK] > 10)
act_obj.c:      if (!IS_NPC(ch) && ch->pcdata->condition[COND_FULL] > 50)
act_obj.c:      if (!IS_NPC(ch) && ch->pcdata->condition[COND_THIRST] > 50)
act_obj.c:    if (!IS_NPC(ch) && ch->pcdata->condition[COND_FULL] > 50 && obj->item_type != ITEM_TRASH && obj->item_type != ITEM_QUEST && obj->item_type != ITEM_PILL)
act_obj.c:        condition = ch->pcdata->condition[COND_FULL];
act_obj.c:        if (condition == 0 && ch->pcdata->condition[COND_FULL] > 10)
act_obj.c:        else if (ch->pcdata->condition[COND_FULL] > 50)
act_obj.c:      if (ch->position == POS_FIGHTING)
act_obj.c:        ch->pcdata->quest += obj->value[0];
act_obj.c:          if (obj->questowner != NULL && str_cmp(ch->pcdata->switchname, obj->questowner) && strlen(obj->questowner) > 1)
act_obj.c:            obj_to_room(obj, ch->in_room);
act_obj.c:          do_skill(ch, ch->name);
act_obj.c:          if (obj->questowner != NULL && str_cmp(ch->pcdata->switchname, obj->questowner) && strlen(obj->questowner) > 1)
act_obj.c:            obj_to_room(obj, ch->in_room);
act_obj.c:          do_skill(ch, ch->name);
act_obj.c:      if (obj->questowner != NULL && str_cmp(ch->pcdata->switchname, obj->questowner) && strlen(obj->questowner) > 1)
act_obj.c:        obj_to_room(obj, ch->in_room);
act_obj.c:      do_skill(ch, ch->name);
act_obj.c:    for (obj = ch->carrying; obj != NULL; obj = obj_next)
act_obj.c:    for (obj = ch->carrying; obj != NULL; obj = obj_next)
act_obj.c:    next_obj = ch->in_room->contents;
act_obj.c:    for (obj = ch->in_room->contents; next_obj != NULL; obj = next_obj)
act_obj.c:          || (obj->questowner != NULL && strlen(obj->questowner) > 1 && str_cmp(ch->name, obj->questowner)))
act_obj.c:        ch->pcdata->quest += obj->points;
act_obj.c:  obj = get_obj_list(ch, arg, ch->in_room->contents);
act_obj.c:      IS_SET(obj->quest, QUEST_ARTIFACT) || (obj->questowner != NULL && strlen(obj->questowner) > 1 && str_cmp(ch->name, obj->questowner)))
act_obj.c:    ch->pcdata->quest += obj->points;
act_obj.c:  if (ch->position == POS_FIGHTING)
act_obj.c:  if (ch->position == POS_FIGHTING)
act_obj.c:    for (vch = ch->in_room->people; vch; vch = vch_next)
act_obj.c:      vch_next = vch->next_in_room;
act_obj.c:  if ((ch->level + number_range(1, 20) < victim->level)
act_obj.c:      || (!IS_NPC(ch) && !IS_NPC(victim) && ch->level < 3)
act_obj.c:      || (!IS_NPC(victim) && IS_IMMUNE(victim, IMM_STEAL)) || (!IS_NPC(victim) && IS_IMMORTAL(victim)) || (!IS_NPC(ch) && percent > ch->pcdata->learned[gsn_steal]))
act_obj.c:    sprintf(buf, "%s is a bloody thief!", ch->name);
act_obj.c:  if (ch->carry_number + 1 > can_carry_n(ch))
act_obj.c:  if (ch->carry_weight + get_obj_weight(obj) > can_carry_w(ch))
act_obj.c:    if (!IS_SET(ch->newbits, THIRD_HAND))
act_obj.c:    if (!IS_SET(ch->newbits, FOURTH_HAND))
act_wiz.c:  for (gch = char_list; gch != NULL; gch = gch->next)
act_wiz.c:    if (IS_NPC(gch) || gch->desc)
act_wiz.c:    sprintf(buf, "Name: %12s. (Room: %5d)\n\r", gch->name, gch->in_room == NULL ? : gch->in_room->vnum);
act_wiz.c:  if (ch->sex == SEX_MALE)
act_wiz.c:    sprintf(buf, "#C%s #pscreams in agony as the #RP#Ga#RR#Ga#RD#Go#RX#p wrecks his puny mortal body#n", ch->name);
act_wiz.c:    sprintf(buf, "#C%s #pscreams in agony as the #RP#Ga#RR#Ga#RD#Go#RX#p wrecks her puny mortal body#n", ch->name);
act_wiz.c:  ch->hit = -10;
act_wiz.c:  ch->max_move = (ch->max_move * 90) / 100;
act_wiz.c:  ch->max_mana = (ch->max_mana * 90) / 100;
act_wiz.c:  SET_BIT(ch->extra, TIED_UP);
act_wiz.c:  SET_BIT(ch->extra, GAGGED);
act_wiz.c:  SET_BIT(ch->extra, BLINDFOLDED);
act_wiz.c:    free_string(ch->pcdata->bamfin);
act_wiz.c:    ch->pcdata->bamfin = str_dup(argument);
act_wiz.c:    free_string(ch->pcdata->bamfout);
act_wiz.c:    ch->pcdata->bamfout = str_dup(argument);
act_wiz.c:    REMOVE_BIT(ch->immune, IMM_SUMMON);
act_wiz.c:    SET_BIT(ch->immune, IMM_SUMMON);
act_wiz.c:    REMOVE_BIT(ch->immune, IMM_TRANSPORT);
act_wiz.c:    SET_BIT(ch->immune, IMM_TRANSPORT);
act_wiz.c:    if ((d->connected == CON_PLAYING) && IS_JUDGE(ch) && !IS_SET(ch->deaf, CHANNEL_LOG))
act_wiz.c:    if (d->connected == CON_PLAYING && d->character->in_room == ch->in_room)
act_wiz.c:    location = ch->in_room;
act_wiz.c:  original = ch->in_room;
act_wiz.c:  for (wch = char_list; wch != NULL; wch = wch->next)
act_wiz.c:  in_room = ch->in_room;
act_wiz.c:  if (ch->fighting)
act_wiz.c:  if (!IS_SET(ch->act, PLR_WIZINVIS))
act_wiz.c:    act("$n $T", ch, NULL, (ch->pcdata && ch->pcdata->bamfout[0] != '\0') ? ch->pcdata->bamfout : "leaves in a swirling mist.", TO_ROOM);
act_wiz.c:  if (!IS_SET(ch->act, PLR_WIZINVIS))
act_wiz.c:    act("$n $T", ch, NULL, (ch->pcdata && ch->pcdata->bamfin[0] != '\0') ? ch->pcdata->bamfin : "appears in a swirling mist.", TO_ROOM);
act_wiz.c:  if (ch->in_room == in_room)
act_wiz.c:  location = (arg[0] == '\0') ? ch->in_room : find_location(ch, arg);
act_wiz.c:  if (ch->in_room != location && room_is_private(location))
act_wiz.c:  for (rch = location->people; rch; rch = rch->next_in_room)
act_wiz.c:    one_argument(rch->name, buf);
act_wiz.c:  for (gch = char_list; gch != NULL; gch = gch->next)
act_wiz.c:    if (IS_HEAD(gch, LOST_HEAD) || IS_SET(gch->extra, EXTRA_OSWITCH))
act_wiz.c:      REMOVE_BIT(gch->loc_hp[0], LOST_HEAD);
act_wiz.c:      REMOVE_BIT(gch->affected_by, AFF_POLYMORPH);
act_wiz.c:      REMOVE_BIT(gch->extra, EXTRA_OSWITCH);
act_wiz.c:      gch->morph = str_dup("");
act_wiz.c:      gch->pcdata->chobj = NULL;
act_wiz.c:      gch->pcdata->obj_vnum = 0;
act_wiz.c:  sprintf(buf, "Shutdown by %s.", ch->name);
act_wiz.c:      if (d->snoop_by == ch->desc)
act_wiz.c:  if (ch->desc != NULL)
act_wiz.c:    for (d = ch->desc->snoop_by; d != NULL; d = d->snoop_by)
act_wiz.c:  victim->desc->snoop_by = ch->desc;
act_wiz.c:  char_to_room(victim, ch->in_room);
act_wiz.c:  if (IS_NPC(ch) || ch->desc == NULL || ch->in_room == NULL)
act_wiz.c:  d = ch->desc;
act_wiz.c:  in_room = ch->in_room;
act_wiz.c:  ch->next = char_list;
act_wiz.c:  if (ch->pload == NULL)
act_wiz.c:  sprintf(arg, ch->pload);
act_wiz.c:  if (!str_cmp(ch->name, arg))
act_wiz.c:  d = ch->desc;
act_wiz.c:  sprintf(buf, "You transform back into %s.\n\r", capitalize(ch->pload));
act_wiz.c:  sprintf(buf, "$n transforms back into %s.", capitalize(ch->pload));
act_wiz.c:  if (ch != NULL && ch->desc != NULL)
act_wiz.c:  if (ch->desc)
act_wiz.c:    ch->desc->character = NULL;
act_wiz.c:    ch->next = char_list;
act_wiz.c:  if (ch->in_room != NULL)
act_wiz.c:    char_to_room(ch, ch->in_room);
act_wiz.c:  free_string(ch->pload);
act_wiz.c:  ch->pload = str_dup("");
act_wiz.c:    obj_to_room(obj, ch->in_room);
act_wiz.c:  obj->questmaker = str_dup(ch->name);
act_wiz.c:    for (victim = ch->in_room->people; victim != NULL; victim = vnext)
act_wiz.c:  oldname = str_dup(ch->pcdata->switchname);
act_wiz.c:  d = ch->desc;
act_wiz.c:  in_room = ch->in_room;
act_wiz.c:  ch->next = char_list;
act_wiz.c:  if (IS_SET(ch->act, PLR_DENY))
act_wiz.c:    REMOVE_BIT(ch->act, PLR_DENY);
act_wiz.c:  d = ch->desc;
act_wiz.c:  in_room = ch->in_room;
act_wiz.c:  ch->next = char_list;
act_wiz.c:  for (rch = ch->in_room->people; rch != NULL; rch = rch->next_in_room)
act_wiz.c:    if (rch->fighting != NULL)
act_wiz.c:    if (value >= ch->level && !IS_NPC(victim))
act_wiz.c:    if (value > ch->pcdata->security || value < 0)
act_wiz.c:      if (ch->pcdata->security != 0)
act_wiz.c:        sprintf(buf, "Valid security is 0-%d.\n\r", ch->pcdata->security);
act_wiz.c:  if (!IS_JUDGE(ch) && (obj->questmaker == NULL || str_cmp(ch->name, obj->questmaker)))
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:      obj->questmaker = str_dup(ch->name);
act_wiz.c:      obj->questmaker = str_dup(ch->name);
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:      obj->questmaker = str_dup(ch->name);
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:      obj->questmaker = str_dup(ch->name);
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:    if (!IS_JUDGE(ch) && (obj->questmaker == NULL || str_cmp(ch->name, obj->questmaker)))
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:    obj->questmaker = str_dup(ch->name);
act_wiz.c:            wch->pcdata->switchname, wch->level, wch->trust, wch->generation, wch->max_hit, wch->max_mana, wch->max_move, char_hitroll(wch), char_damroll(wch), char_ac(wch), wch->pcdata->quest);
act_wiz.c:    sprintf(buf, "%s force all : %s\n\r", ch->name, argument);
act_wiz.c:      vch_next = vch->next;
act_wiz.c:        if (IS_SET(vch->extra, EXTRA_AFK))
act_wiz.c:          SET_BIT(vch->extra, EXTRA_AFK);
act_wiz.c:    if ((get_trust(victim) >= get_trust(ch)) && (ch->level < MAX_LEVEL))
act_wiz.c:    vch_next = vch->next;
act_wiz.c:  if (IS_SET(ch->act, PLR_WIZINVIS))
act_wiz.c:    REMOVE_BIT(ch->act, PLR_WIZINVIS);
act_wiz.c:    SET_BIT(ch->act, PLR_WIZINVIS);
act_wiz.c:  if (IS_SET(ch->act, PLR_HOLYLIGHT))
act_wiz.c:    REMOVE_BIT(ch->act, PLR_HOLYLIGHT);
act_wiz.c:    SET_BIT(ch->act, PLR_HOLYLIGHT);
act_wiz.c:  if (IS_SET(ch->in_room->room_flags, ROOM_SAFE))
act_wiz.c:  if (!IS_JUDGE(ch) && (obj->questmaker == NULL || str_cmp(ch->name, obj->questmaker) || strlen(obj->questmaker) < 2))
act_wiz.c:    if (!can_see_obj(ch, obj) || obj->questowner == NULL || strlen(obj->questowner) < 2 || str_cmp(ch->pcdata->switchname, obj->questowner))
act_wiz.c:  if (ch->exp < 500)
act_wiz.c:    if (obj->ownerid == ch->pcdata->playerid)
act_wiz.c:    if (!str_cmp(ch->pcdata->switchname, obj->questowner))
act_wiz.c:        obj->ownerid = ch->pcdata->playerid;
act_wiz.c:  ch->exp -= 500;
act_wiz.c:  obj->questowner = str_dup(ch->pcdata->switchname);
act_wiz.c:  obj->ownerid = ch->pcdata->playerid;
act_wiz.c:  if (ch->exp < 500)
act_wiz.c:  if (obj->ownerid != ch->pcdata->playerid && ch->level < 7)
act_wiz.c:  if (IS_SET(obj->quest, QUEST_RELIC) && ch->level < 7)
act_wiz.c:  ch->exp -= 500;
act_wiz.c:  obj->questmaker = str_dup(ch->name);
act_wiz.c:  if (IS_NPC(ch) || (ch->pcdata->quest < 1 && !IS_JUDGE(ch)))
act_wiz.c:    else if (value > ch->pcdata->quest && !IS_JUDGE(ch))
act_wiz.c:      sprintf(buf, "You only have %d quest points left to put into tokens.\n\r", ch->pcdata->quest);
act_wiz.c:  ch->pcdata->quest -= value;
act_wiz.c:  if (ch->pcdata->quest < 0)
act_wiz.c:    ch->pcdata->quest = 0;
act_wiz.c:  obj->questmaker = str_dup(ch->name);
act_wiz.c:  if ((ch->in_room == NULL || ch->in_room->vnum != 3054))
act_wiz.c:  for (obj = ch->carrying; obj != NULL; obj = obj_next)
act_wiz.c:  while (ch->affected)
act_wiz.c:    affect_remove(ch, ch->affected);
act_wiz.c:  if (IS_SET(ch->affected_by, AFF_POLYMORPH))
act_wiz.c:    REMOVE_BIT(ch->affected_by, AFF_POLYMORPH);
act_wiz.c:  if (IS_SET(ch->affected_by, AFF_ETHEREAL))
act_wiz.c:    REMOVE_BIT(ch->affected_by, AFF_ETHEREAL);
act_wiz.c:  ch->affected_by = 0;
act_wiz.c:  ch->armor = 100;
act_wiz.c:  ch->hit = UMAX(1, ch->hit);
act_wiz.c:  ch->mana = UMAX(1, ch->mana);
act_wiz.c:  ch->move = UMAX(1, ch->move);
act_wiz.c:  ch->hitroll = 0;
act_wiz.c:  ch->damroll = 0;
act_wiz.c:  ch->saving_throw = 0;
act_wiz.c:  ch->pcdata->mod_str = 0;
act_wiz.c:  ch->pcdata->mod_int = 0;
act_wiz.c:  ch->pcdata->mod_wis = 0;
act_wiz.c:  ch->pcdata->mod_dex = 0;
act_wiz.c:  ch->pcdata->mod_con = 0;
act_wiz.c:  ch->pcdata->followers = 0;
act_wiz.c:  ch->form = 1048575;
act_wiz.c:  if (!IS_JUDGE(ch) && (obj->questmaker == NULL || str_cmp(ch->name, obj->questmaker) || strlen(obj->questmaker) < 2))
act_wiz.c:    chroom = ch->in_room;
act_wiz.c:  if (IS_NPC(ch) || ch->pcdata->obj_vnum < 1)
act_wiz.c:  if ((pObjIndex = get_obj_index(ch->pcdata->obj_vnum)) == NULL)
act_wiz.c:  if (ch->in_room == NULL || ch->in_room->vnum == ROOM_VNUM_IN_OBJECT)
act_wiz.c:    location = ch->in_room;
act_wiz.c:  ch->pcdata->chobj = obj;
act_wiz.c:  SET_BIT(ch->affected_by, AFF_POLYMORPH);
act_wiz.c:  SET_BIT(ch->extra, EXTRA_OSWITCH);
act_wiz.c:  free_string(ch->morph);
act_wiz.c:  ch->morph = str_dup(obj->short_descr);
act_wiz.c:  if ((ch->pcdata->pwd != '\0') && (arg1[0] == '\0' || arg2[0] == '\0'))
act_wiz.c:  for (gch = char_list; gch != NULL; gch = gch->next)
act_wiz.c:    if (IS_HEAD(gch, LOST_HEAD) || IS_SET(gch->extra, EXTRA_OSWITCH))
act_wiz.c:      REMOVE_BIT(gch->loc_hp[0], LOST_HEAD);
act_wiz.c:      REMOVE_BIT(gch->affected_by, AFF_POLYMORPH);
act_wiz.c:      REMOVE_BIT(gch->extra, EXTRA_OSWITCH);
act_wiz.c:      gch->morph = str_dup("");
act_wiz.c:      gch->pcdata->chobj = NULL;
act_wiz.c:      gch->pcdata->obj_vnum = 0;
act_wiz.c:    if (IS_SET(gch->extra, EXTRA_AFK))
act_wiz.c:      SET_BIT(gch->extra, EXTRA_AFK);
act_wiz.c:    if (gch->desc->out_compress)
act_wiz.c:      if (!compressEnd2(gch->desc))
act_wiz.c:      fprintf(fp, "%d %s %s\n", d->descriptor, och->name, d->host);
act_wiz.c:      if (och->level == 1)
act_wiz.c:        och->level++;
aeromancer.c:	if (ch->move < 1000)
aeromancer.c:        if (ch->fight_timer >0) 
aeromancer.c:       if (!IS_SET(ch->pcdata->powers[ELEMENTAL_FORMS], WATER_FORM))
aeromancer.c:       if ( IS_SET(ch->act, AFF_HIDE) )
aeromancer.c:   	 REMOVE_BIT(ch->act, AFF_HIDE);
aeromancer.c:	 ch->move -= 1000;
aeromancer.c:         SET_BIT(ch->act, AFF_HIDE);
aeromancer.c:    if (IS_SET(ch->pcdata->powers[ELEMENTAL_POWERS], ELEMENTAL_ENFOLD))
aeromancer.c:      REMOVE_BIT(ch->pcdata->powers[ELEMENTAL_POWERS], ELEMENTAL_ENFOLD);
aeromancer.c:      SET_BIT(ch->pcdata->powers[ELEMENTAL_POWERS], ELEMENTAL_ENFOLD);
aeromancer.c:  if (ch->move < 250)
aeromancer.c:  if( IS_SET(ch->in_room->room_flags, ROOM_ASTRAL))
aeromancer.c:  if (victim->in_room->vnum == ch->in_room->vnum)
aeromancer.c:  ch->move -= 250;
animal.c:        if (!IS_SET(ch->newbits, NEW_SCLAWS))
animal.c:                SET_BIT(ch->newbits, NEW_SCLAWS);
animal.c:        if (IS_SET(ch->newbits, NEW_SCLAWS))
animal.c:                REMOVE_BIT(ch->newbits, NEW_SCLAWS);
animal.c:	if (IS_SET(ch->pcdata->stats[UNI_AFF], VAM_CLAWS))
animal.c:                REMOVE_BIT(ch->pcdata->stats[UNI_AFF], VAM_CLAWS);
animal.c:                SET_BIT(ch->pcdata->stats[UNI_AFF], VAM_CLAWS);
animal.c:        if (IS_SET(ch->pcdata->stats[UNI_AFF], VAM_FANGS))
animal.c:                REMOVE_BIT(ch->pcdata->stats[UNI_AFF], VAM_FANGS);
animal.c:                SET_BIT(ch->pcdata->stats[UNI_AFF], VAM_FANGS);
animal.c:        if (IS_SET(ch->newbits, NEW_MONKFLAME))
animal.c:                REMOVE_BIT(ch->newbits, NEW_MONKFLAME);
animal.c:        if (!IS_SET(ch->newbits, NEW_MONKFLAME))
animal.c:                SET_BIT(ch->newbits, NEW_MONKFLAME);
animal.c:        if (!IS_SET(ch->newbits, NEW_REND))
animal.c:                SET_BIT(ch->newbits, NEW_REND);
animal.c:        else if (IS_SET(ch->newbits, NEW_REND))
animal.c:                REMOVE_BIT(ch->newbits, NEW_REND);
animal.c:        if ((victim = ch->fighting) == NULL)
animal.c:                        ch->name, victim->name);
animal.c:        if ((victim = ch->fighting) == NULL)
animal.c:        if (IS_SET(ch->newbits, NEW_QUILLS))
animal.c:                REMOVE_BIT(ch->newbits, NEW_QUILLS);
animal.c:        if (!IS_SET(ch->newbits, NEW_QUILLS))
animal.c:                SET_BIT(ch->newbits, NEW_QUILLS);
animal.c:        if (IS_SET(ch->in_room->room_flags, ROOM_ASTRAL))
arena.c:  if (ch->in_room != NULL)
arena.c:    if (IS_SET (ch->in_room->room_flags, ROOM_ARENA))
arena.c:  for (vch=char_list;vch!=NULL;vch=vch->next)
arena.c:    if (vch->in_room != NULL)
arena.c:      if (IS_SET (vch->in_room->room_flags, ROOM_ARENA))
arena.c:        REMOVE_BIT(vch->act, PLR_FREEZE);
arena.c:  if (ch->fight_timer > 0)
arena.c:  if (ch->in_room != NULL)
arena.c:    if (IS_SET (ch->in_room->room_flags, ROOM_ARENA) || IS_SET(ch->in_room->room_flags, ROOM_ASTRAL))
arena.c:  sprintf(buf,"%s has joined the arena!",ch->name);
arena.c:  SET_BIT(ch->act, PLR_FREEZE);
arena.c:  if (ch->in_room != NULL)
arena.c:    if (!IS_SET(ch->in_room->room_flags, ROOM_ARENA))
arena.c:  sprintf(buf,"%s resigns from the arena",ch->name);
arena.c:  ch->fight_timer = 0;
arena.c:  ch->pcdata->alosses++;
arena.c:    sprintf(buf,"#C%s #oemerges victorious from the #Rarena#n",gch->name);
arena.c:    gch->pcdata->awins++;
arena.c:    gch->fight_timer = 0;
arena.c:  if (victim == ch->challenger)
arena.c:  if (!str_cmp(arg2, "death")) ch->deathmatch = TRUE;
arena.c:  else if (!str_cmp(arg2, "spar")) ch->deathmatch = FALSE;
arena.c:  if (ch->deathmatch)
arena.c:    if (!str_cmp(ch->pcdata->last_decap[0], victim->name)) canDecap = FALSE;
arena.c:    if (!str_cmp(victim->pcdata->last_decap[0], ch->name)) canKillYou = FALSE;
arena.c:  ch->challenger = victim;
arena.c:  if (ch->deathmatch) sprintf(buf, "You have been challenged to a #Gdeathmatch#n by %s. Type agree %s to start the fight.\n\r", ch->name, ch->name);
arena.c:  else sprintf(buf, "You have been challenged to a #Gspar#n by %s. Type agree %s to start the fight.\n\r", ch->name, ch->name);
arena.c:  if (ch->fight_timer > 0)
arena.c:  if (ch->in_room != NULL)
arena.c:    if (IS_SET(ch->in_room->room_flags, ROOM_ARENA) || IS_SET(ch->in_room->room_flags, ROOM_ASTRAL))
arena.c:    if (!str_cmp(ch->pcdata->last_decap[0], victim->name)) canDecap = FALSE;
arena.c:    if (!str_cmp(victim->pcdata->last_decap[0], ch->name)) canKillYou = FALSE;
arena.c:  do_restore(ch, ch->name);
arena.c:    sprintf(buf, "%s and %s enter #CThe Forbidden Fortress#n to test their skills", ch->name, victim->name);
arena.c:    sprintf(buf, "%s and %s enter #CThe Forbidden Fortress#n to duel for their lives", ch->name, victim->name);
arena.c:  if (ch->pcdata->betting_char > 0)
arena.c:  if (ch->pcdata->quest < amount)
arena.c:  for (vch = char_list; vch; vch = vch->next)
arena.c:    if (vch->hit < vch->max_hit * 0.75)
arena.c:  ch->pcdata->quest -= amount;
arena.c:  ch->pcdata->betting_amount = amount;
arena.c:  ch->pcdata->betting_char = gch->pcdata->playerid;
arena.c:    ch->name, amount, gch->name);
arena.c:  for (gch = char_list; gch; gch = gch->next)
arena.c:    if (payoff && gch->pcdata->betting_char == ch->pcdata->playerid)
arena.c:      sprintf(buf, "Congratulations, you win %d quest points.\n\r", gch->pcdata->betting_amount*2);
arena.c:      gch->pcdata->quest += gch->pcdata->betting_amount*2;
arena.c:        gch->name, gch->pcdata->betting_amount*2, ch->name);
arena.c:    else if (!payoff && gch->pcdata->betting_char == ch->pcdata->playerid)
arena.c:      gch->pcdata->quest += gch->pcdata->betting_amount;
arena.c:    gch->pcdata->betting_amount = 0;
arena.c:    gch->pcdata->betting_char = 0;
board.c:  if (!str_cmp(ch->pcdata->switchname, note->sender))
board.c:  if (is_full_name(ch->pcdata->switchname, note->to_list))
board.c:  last_read = ch->pcdata->last_note[board_number(board)];
board.c:  if (getMight(ch) < 150 && ch->level < 7)
board.c:  if (IS_SET(ch->act, PLR_SILENCE))
board.c:  if (ch->pcdata->board == NULL)
board.c:  if (get_trust(ch) < ch->pcdata->board->write_level)
board.c:  if (ch->position != POS_STANDING)
board.c:  if (ch->pcdata->in_progress && (!ch->pcdata->in_progress->text))
board.c:    free_note(ch->pcdata->in_progress);
board.c:    ch->pcdata->in_progress = NULL;
board.c:  if (!ch->pcdata->in_progress)
board.c:    ch->pcdata->in_progress = new_note();
board.c:    ch->pcdata->in_progress->sender = str_dup(ch->pcdata->switchname);
board.c:    ch->pcdata->in_progress->date = str_dup(strtime);
board.c:  SET_BIT(ch->extra, EXTRA_AFK);
board.c:  if (ch->master)
board.c:          "If you are using tintin, type #verbose to turn off alias expansion!\n\r\n\r", ch->pcdata->in_progress->text ? "continuing" : "posting", ch->pcdata->board->short_name);
board.c:  sprintf(buf, BOLD YELLOW "From" NO_COLOR ":    %s\n\r\n\r", ch->pcdata->switchname);
board.c:  if (!ch->pcdata->in_progress->text) /* Are we continuing an old note or not? */
board.c:    switch (ch->pcdata->board->force_type)
board.c:        sprintf(buf, "If you press Return, default recipient \"" BOLD "%s" NO_COLOR "\" will be chosen.\n\r", ch->pcdata->board->names);
board.c:        sprintf(buf, "The recipient list MUST include \"" BOLD "%s" NO_COLOR "\". If not, it will be added automatically.\n\r", ch->pcdata->board->names);
board.c:        sprintf(buf, "The recipient of this note must NOT include: \"" BOLD "%s" NO_COLOR "\".", ch->pcdata->board->names);
board.c:    ch->desc->connected = CON_NOTE_TO;
board.c:            BOLD YELLOW "Subject" NO_COLOR ": %s\n\r", ch->pcdata->in_progress->to_list, ctime(&ch->pcdata->in_progress->expire), ch->pcdata->in_progress->subject);
board.c:    if (ch->pcdata->in_progress != NULL)
board.c:      send_to_char(ch->pcdata->in_progress->text, ch);
board.c:    ch->desc->connected = CON_NOTE_TEXT;
board.c:  time_t *last_note = &ch->pcdata->last_note[board_number(ch->pcdata->board)];
board.c:    for (p = ch->pcdata->board->note_first; p; p = p->next)
board.c:    if (ch->pcdata->board == NULL)
board.c:    if (ch->pcdata->board->note_first == NULL)
board.c:    for (p = ch->pcdata->board->note_first; p; p = p->next, count++)
board.c:      sprintf(buf, "Changed to next board, %s.\n\r", ch->pcdata->board->short_name);
board.c:  p = find_note(ch, ch->pcdata->board, atoi(argument));
board.c:  if (str_cmp(ch->pcdata->switchname, p->sender) && ch->trust < MAX_LEVEL)
board.c:  unlink_note(ch->pcdata->board, p);
board.c:  save_board(ch->pcdata->board);  /* save the board */
board.c:    for (p = ch->pcdata->board->note_first; p; p = p->next)
board.c:  last_note = ch->pcdata->last_note[board_number(ch->pcdata->board)];
board.c:  for (p = ch->pcdata->board->note_first; p; p = p->next)
board.c:  for (p = ch->pcdata->board->note_first; p && p->next; p = p->next);
board.c:    ch->pcdata->last_note[board_number(ch->pcdata->board)] = p->date_stamp;
board.c:    if (ch->pcdata->board != NULL)
board.c:      sprintf(buf, "\n\rYou current board is #9%s#n.\n\r", ch->pcdata->board->short_name);
board.c:      if (ch->pcdata->board->read_level > get_trust(ch))
board.c:      else if (ch->pcdata->board->write_level > get_trust(ch))
board.c:      ch->pcdata->board = &boards[i];
board.c:  ch->pcdata->board = &boards[i];
board.c:  int i = board_number(ch->pcdata->board) + 1;
board.c:    ch->pcdata->board = &boards[i];
board.c:  if (!ch->pcdata->in_progress)
board.c:  switch (ch->pcdata->board->force_type)
board.c:        ch->pcdata->in_progress->to_list = str_dup(ch->pcdata->board->names);
board.c:        sprintf(buf, "Assumed default recipient: " BOLD "%s" NO_COLOR "\n\r", ch->pcdata->board->names);
board.c:        ch->pcdata->in_progress->to_list = str_dup(buf);
board.c:      if (!is_full_name(ch->pcdata->board->names, buf))
board.c:        strcat(buf, ch->pcdata->board->names);
board.c:        ch->pcdata->in_progress->to_list = str_dup(buf);
board.c:                BOLD YELLOW "New To" NO_COLOR " :  %s\n\r", ch->pcdata->board->names, ch->pcdata->in_progress->to_list);
board.c:        ch->pcdata->in_progress->to_list = str_dup(buf);
board.c:      if (is_full_name(ch->pcdata->board->names, buf))
board.c:        sprintf(buf, "You are not allowed to send notes to %s on this board. Try again.\n\r" BOLD YELLOW "To" NO_COLOR ":      ", ch->pcdata->board->names);
board.c:        ch->pcdata->in_progress->to_list = str_dup(buf);
board.c:  if (!ch->pcdata->in_progress)
board.c:    ch->pcdata->in_progress->subject = str_dup(buf);
board.c:              "Press Enter for default value for this board, " BOLD "%d" NO_COLOR " days.\n\r" BOLD YELLOW "Expire" NO_COLOR ":  ", ch->pcdata->board->purge_days);
board.c:      ch->pcdata->in_progress->expire = current_time + ch->pcdata->board->purge_days * 24L * 3600L;
board.c:      sprintf(buf, "This note will expire %s\r", ctime(&ch->pcdata->in_progress->expire));
board.c:  if (!ch->pcdata->in_progress)
board.c:    days = ch->pcdata->board->purge_days;
board.c:  ch->pcdata->in_progress->expire = expire;
board.c:  if (!ch->pcdata->in_progress)
board.c:  if (ch->pcdata->in_progress->text != NULL)
board.c:    strcpy(letter, ch->pcdata->in_progress->text);
board.c:    free_string(ch->pcdata->in_progress->text);
board.c:    ch->pcdata->in_progress->text = NULL; /* be sure we don't free it twice */
board.c:    free_note(ch->pcdata->in_progress);
board.c:    ch->pcdata->in_progress = NULL; /* important */
board.c:  ch->pcdata->in_progress->text = str_dup(letter);
board.c:  if (!ch->pcdata->in_progress)
board.c:      if (ch->pcdata->in_progress->text)
board.c:        write_to_buffer(d, ch->pcdata->in_progress->text, 0);
board.c:      if (board_number(ch->pcdata->board) < 4 && is_full_name("all", ch->pcdata->in_progress->to_list))
board.c:        sprintf(buf, "A new note has been posted by %s on board %d", ch->name, board_number(ch->pcdata->board) + 1);
board.c:      finish_note(ch->pcdata->board, ch->pcdata->in_progress);
board.c:      ch->pcdata->in_progress = NULL;
board.c:      free_note(ch->pcdata->in_progress);
board.c:      ch->pcdata->in_progress = NULL;
board.c:    REMOVE_BIT(ch->extra, EXTRA_AFK);
build.c:    if ( (d = ch->desc) == NULL )
build.c:   if ( ch->substate <= SUB_PAUSE )
build.c:      sprintf(buf,"Edit_buffer: illegal ch->substate (%d)", ch->substate);
build.c:   if ( !ch->editor )
build.c:   edit = ch->editor;
build.c:   if ( ch->substate == SUB_MPROG_EDIT || ch->substate == SUB_HELP_EDIT )
build.c:	    int substate = ch->substate;
build.c:	    ch->substate = SUB_RESTRICTED;
build.c:	    ch->substate = substate;
build.c:            if ( !ch->last_cmd )
build.c:            (*ch->last_cmd) ( ch, "" );
build.c:	if ( !ch->desc )
build.c:	if ( ch->substate == SUB_RESTRICTED )
build.c:	   bug( "NOT GOOD: start_editing: ch->substate == SUB_RESTRICTED", 0 );
build.c:	if ( ch->editor )
build.c:	ch->editor = edit;
build.c:	ch->desc->connected = CON_EDITING;
build.c:   if ( !ch->editor )
build.c:   for ( x = 0; x < ch->editor->numlines; x++ )
build.c:      strcpy( tmp, ch->editor->line[x] );
build.c:    DISPOSE( ch->editor );
build.c:    ch->editor = NULL;
build.c:    ch->dest_buf  = NULL;
build.c:    ch->substate  = SUB_NONE;
build.c:    if ( !ch->desc )
build.c:    ch->desc->connected = CON_PLAYING;
build.c:          sprintf(buf, "Do_help: %s tried '%s'", ch->name, argument);
build.c:    if ( !ch->desc )
build.c:    switch( ch->substate )
build.c:	  if ( (pHelp = ch->dest_buf) == NULL )
build.c:		bug( "hedit: sub_help_edit: NULL ch->dest_buf", 0 );
build.c:    ch->substate = SUB_HELP_EDIT;
build.c:    ch->dest_buf = pHelp;
chaos.c:        if (IS_SET(ch->in_room->room_flags, ROOM_ASTRAL))
chaos.c:        if (ch->move < 1000)
chaos.c:        ch->move -= 1000;
chaos.c:        level = ch->spl[RED_MAGIC] / 4;
chaos.c:        if (ch->mana < 1500)
chaos.c:        if (ch->in_room != NULL)
chaos.c:                if (IS_SET(ch->in_room->room_flags, ROOM_SAFE))
chaos.c:        if (arg[0] == '\0' && ch->fighting != NULL)
chaos.c:                victim = ch->fighting;
chaos.c:        ch->mana -= 1500;
chaos.c:                SET_BIT(ch->immune, IMM_SHIELD2);
chaos.c:        REMOVE_BIT(ch->immune, IMM_SHIELD2);
chaos.c:        if (ch->mana < 5000)
chaos.c:        ch->mana -= 5000;
combat.c:	if (IS_SET(ch->newbits, NEW_FIGHTDANCE)) {
combat.c:	REMOVE_BIT(ch->newbits, NEW_FIGHTDANCE);
combat.c:	SET_BIT(ch->newbits, NEW_FIGHTDANCE);
combat.c:                        ch->pcdata->stats[DRACONIAN_SPIKES]);
combat.c:                if (ch->fighting == NULL)
combat.c:                if (ch->pcdata->stats[DRACONIAN_SPIKES] < 1)
combat.c:                victim = ch->fighting;
combat.c:                dam = number_range(ch->pcdata->stats[DRACONIAN_SPIKES] * 20,
combat.c:                                   ch->pcdata->stats[DRACONIAN_SPIKES] * 40);
combat.c:                ch->pcdata->stats[DRACONIAN_SPIKES] = 0;
combat.c:                if (ch->position <= POS_FIGHTING)
combat.c:                if (ch->fight_timer > 0)
combat.c:                if (ch->pcdata->stats[DRACONIAN_SPIKES] >= 200)
combat.c:                                if (ch->exp >= 10000
combat.c:                                    && ch->pcdata->stats[DRACONIAN_SPIKES] <
combat.c:                                        ch->exp -= 10000;
combat.c:                                        ch->pcdata->stats[DRACONIAN_SPIKES]++;
combat.c:  if (ch->fighting == NULL || IS_NPC ((victim = ch->fighting)))
combat.c:  ch->hit -= damage;
combat.c:	   ch->pcdata->switchname, damage2);
combat.c:  oldl = ch->level;
combat.c:  ch->level = 12;
combat.c:  ch->level = oldl;
combat.c:  level = ch->spl[RED_MAGIC]/4;
combat.c:  if (ch->mana < 1500)
combat.c:  if (arg[0] == '\0' && ch->fighting != NULL) victim = ch->fighting;
combat.c:  ch->mana -= 1500;
combat.c:    if (!(arg2[0] == '\0') || ch->fighting != NULL)
combat.c:      if (arg2[0] == '\0') victim = ch->fighting;
combat.c:        if (ch->in_room != NULL)
combat.c:                if (IS_SET(ch->in_room->room_flags, ROOM_SAFE))
combat.c:        if (ch->position == POS_FIGHTING)
combat.c:        if (ch->move < 500)
combat.c:        if (victim->in_room == ch->in_room)
combat.c:                ch->move -= 500;
combat.c:        if (ch->move < 500)
combat.c:        if (ch->fight_timer > 0)
combat.c:        if (IS_SET(ch->act, AFF_HIDE))
combat.c:                REMOVE_BIT(ch->act, AFF_HIDE);
combat.c:                ch->move -= 500;
combat.c:                SET_BIT(ch->act, AFF_HIDE);
combat.c:	REMOVE_BIT(ch->pcdata->stats[UNI_AFF], VAM_CLAWS);
combat.c:	SET_BIT(ch->pcdata->stats[UNI_AFF], VAM_CLAWS);
combat.c:                ch->hit += dam;
combat.c:                if (ch->hit >= ch->max_hit + 500)
combat.c:                        ch->hit = ch->max_hit + 500;
combat.c:                        ch->name, dam);
combat.c:        if (ch->in_room->sector_type == SECT_AIR)
combat.c:        if (!TIME_UP(ch, TIMER_ENTOMB) && ch->level < 12)
combat.c:        if ((objc = get_obj_list(ch, "walln", ch->in_room->contents)) != NULL)
combat.c:                obj_to_room(obj, ch->in_room);
combat.c:        if ((objc = get_obj_list(ch, "walls", ch->in_room->contents)) != NULL)
combat.c:                obj_to_room(obj, ch->in_room);
combat.c:        if ((objc = get_obj_list(ch, "walle", ch->in_room->contents)) != NULL)
combat.c:                obj_to_room(obj, ch->in_room);
combat.c:        if ((objc = get_obj_list(ch, "wallw", ch->in_room->contents)) != NULL)
combat.c:                obj_to_room(obj, ch->in_room);
combat.c:        ch->hit += ch->max_hit * 0.1;
combat.c:        if (ch->hit > ch->max_hit)
combat.c:                ch->hit = ch->max_hit;
combat.c:        if (ch->move < 1000)
combat.c:        if (IS_SET(ch->in_room->room_flags, ROOM_ASTRAL))
combat.c:        if (!IS_NPC(victim) && ch->move < victim->max_move)
combat.c:        if (victim->in_room == ch->in_room)
combat.c:        ch->move -= 1000;
combat.c:  if ( ch->level < skill_table[gsn_berserk].skill_level)
combat.c:  if ( number_percent( ) > ch->pcdata->learned[gsn_berserk] )
combat.c:                vch_next = vch->next;
combat.c:                if (vch->in_room == NULL)
combat.c:                if (!IS_NPC(vch) && vch->pcdata->chobj != NULL)
combat.c://                        if (vch->in_room == ch->in_room)
combat.c:                        if (vch->in_room->area == ch->in_room->area)
combat.c:                if (vch->in_room == ch->in_room && can_see(ch, vch))
combat.c:                        if (vch == NULL || vch->position <= POS_STUNNED)
comm.c:	vch_next = vch->next;
comm.c:    sprintf( log_buf, "Closing link to %s.", ch->name );
comm.c:      if (IS_SET(ch->extra, EXTRA_AFK)) REMOVE_BIT(ch->extra,EXTRA_AFK);
comm.c:      ch->desc = NULL;
comm.c:      ch->desc = NULL;
comm.c:  for (gch = char_list; gch != NULL; gch = gch->next)
comm.c:    if (IS_HEAD(gch,LOST_HEAD) || IS_SET(gch->extra, EXTRA_OSWITCH))
comm.c:      REMOVE_BIT(gch->loc_hp[0], LOST_HEAD);
comm.c:      REMOVE_BIT(gch->affected_by, AFF_POLYMORPH);
comm.c:      REMOVE_BIT(gch->extra, EXTRA_OSWITCH);
comm.c:      gch->morph = str_dup("");
comm.c:      gch->pcdata->chobj = NULL;
comm.c:      gch->pcdata->obj_vnum = 0;
comm.c:    gch->hit = gch->max_hit;
comm.c:    gch->position = POS_STANDING;
comm.c:             fprintf (fp, "%d %s %s\n", d->descriptor, och->name, d->host);
comm.c:        if (IS_SET(ch->act, PLR_BRIEF5))
comm.c:          if (ch->amount_attacks_dealt > 0)
comm.c:              ch->amount_attacks_dealt, ch->amount_damage_dealt,
comm.c:              ch->amount_damage_dealt/ch->amount_attacks_dealt);
comm.c:          if (ch->amount_attacks_recieved > 0)
comm.c:              ch->amount_attacks_recieved, ch->amount_damage_recieved,
comm.c:              ch->amount_damage_recieved/ch->amount_attacks_recieved);
comm.c:          ch->amount_damage_dealt = 0;   
comm.c:          ch->amount_damage_recieved = 0;
comm.c:          ch->amount_attacks_dealt = 0;   
comm.c:          ch->amount_attacks_recieved = 0;
comm.c:        if (!IS_NPC(ch) && IS_SET(ch->pcdata->tempflag, TEMP_VT100))
comm.c:          sprintf(buf, "%s\e[%d;1H", VT_SAVECURSOR, ch->pcdata->vt100_size);
comm.c:	if (IS_SET(ch->act, PLR_PROMPT) && IS_EXTRA(ch, EXTRA_PROMPT))
comm.c:	else if ( IS_SET(ch->act, PLR_PROMPT))
comm.c:		sprintf(exp_str, "%d", ch->exp);
comm.c:		COL_SCALE(exp_str, ch, ch->exp, 1000);
comm.c:	    else if (ch->position == POS_FIGHTING)
comm.c:	        victim = ch->fighting;
comm.c:		sprintf(hit_str, "%d", ch->hit);
comm.c:		COL_SCALE(hit_str, ch, ch->hit, ch->max_hit);
comm.c:		sprintf(mana_str, "%d", ch->mana);
comm.c:		COL_SCALE(mana_str, ch, ch->mana, ch->max_mana);
comm.c:		sprintf(move_str, "%d", ch->move);
comm.c:		COL_SCALE(move_str, ch, ch->move, ch->max_move);
comm.c:                  cond, hit_str, mana_str, move_str, ch->fight_timer);
comm.c:		sprintf(hit_str, "%d", ch->hit);
comm.c:		COL_SCALE(hit_str, ch, ch->hit, ch->max_hit);
comm.c:		sprintf(mana_str, "%d", ch->mana);
comm.c:		COL_SCALE(mana_str, ch, ch->mana, ch->max_mana);
comm.c:		sprintf(move_str, "%d", ch->move);
comm.c:		COL_SCALE(move_str, ch, ch->move, ch->max_move);
comm.c:		sprintf(exp_str, "%d", ch->exp);
comm.c:		COL_SCALE(exp_str, ch, ch->exp, 1000);
comm.c:                  exp_str, hit_str, mana_str, move_str, ch->fight_timer );
comm.c:        if (!IS_NPC(ch) && IS_SET(ch->pcdata->tempflag, TEMP_VT100))
comm.c:	if ( IS_SET(ch->act, PLR_TELNET_GA) )
comm.c:	if ( IS_SET(ch->act, PLR_DENY))
comm.c:            if (ch->pcdata->denied > current_time)
comm.c:              sprintf( log_buf, "Denying access to %s@%s.", argument, ch->lasthost );
comm.c:	    strcmp( argument, ch->pcdata->pwd ) &&
comm.c:	    strcmp( crypt ( argument, ch->pcdata->pwd ),ch->pcdata->pwd )))
comm.c:	    strcmp( crypt ( argument, ch->pcdata->pwd ), ch->pcdata->pwd )))
comm.c:	if (ch->level > 1)
comm.c:	    sprintf(kav,ch->pcdata->switchname);
comm.c:            if (IS_SET(ch->act, PLR_DENY))
comm.c:              if (ch->pcdata->denied < current_time)
comm.c:                REMOVE_BIT(ch->act, PLR_DENY);
comm.c:                sprintf(log_buf, "Removing deny flag on %s.", ch->name);
comm.c:	if (ch->lasthost != NULL) free_string(ch->lasthost);
comm.c:	if (ch->desc != NULL && ch->desc->host != NULL)
comm.c:        ch->lasthost = str_dup(ch->desc->host);
comm.c:	    ch->lasthost = str_dup("(unknown)");
comm.c:	free_string(ch->lasttime);
comm.c:	ch->lasttime = str_dup( strtime );
comm.c:	sprintf( log_buf, "%s@%s has connected.",ch->name, ch->lasthost );
comm.c:	if (ch->level < 4 && ch->trust < 4)
comm.c:	ch->trust = 0;
comm.c:	if ( ch->level > 3 && ch->trust == 0)
comm.c:	    ch->level = 3;
comm.c:	    if ( ch->level > MAX_LEVEL )
comm.c:		ch->level = MAX_LEVEL;
comm.c:	    if ( ch->trust > MAX_LEVEL)
comm.c:		ch->trust = MAX_LEVEL;
comm.c:	ch->next	= char_list;
comm.c:	if (ch->mounted == IS_RIDING) do_dismount(ch,"");
comm.c:	if ( ch->level == 0 )
comm.c:            ch->pcdata->awins        = 0; /* arena wins           */
comm.c:            ch->pcdata->alosses      = 0; /* arena losses         */
comm.c:		ch->pcdata->board = &boards[0];
comm.c:	    ch->challenger = NULL;
comm.c:	    ch->level	= 1;
comm.c:	    ch->exp	= 0;
comm.c:	    ch->hit	= ch->max_hit;
comm.c:	    ch->mana	= ch->max_mana;
comm.c:	    ch->move	= ch->max_move;
comm.c:            ch->special = 0;
comm.c:	    set_switchname(ch, ch->name);
comm.c:	else if (!IS_NPC(ch) && ch->pcdata->obj_vnum != 0)
comm.c:	    if (ch->in_room != NULL) char_to_room( ch, ch->in_room );
comm.c:	else if ( ch->in_room != NULL )
comm.c:	    char_to_room( ch, ch->in_room );
comm.c:        ch->pcdata->time_tick = 0; // resets on a _true_ login
comm.c:        ch->pcdata->safe_counter = 5; // a few good ticks.
comm.c:        if (ch->level > 6) ; /* no info */
comm.c:        else if (IS_SET(ch->pcdata->jflags, JFLAG_SETLOGIN)) login_message(ch);
comm.c:  	  if (!ragnarok) sprintf(buf,"#g%s #7enters #RAge of Heroes#n", ch->name );
comm.c:          else sprintf(buf,"#g%s #7enters #RAge of Heroes #y(#0Ragnarok#y).#n", ch->name );
comm.c:	ch->fight_timer = 0;
comm.c:       for ( obj = ch->carrying; obj != NULL; obj = obj->next_content )
comm.c:		ch->name, echo_off_str );
comm.c:	pwdnew = crypt ( argument, ch->name );
comm.c:	free_string( ch->pcdata->pwd );
comm.c:	ch->pcdata->pwd	= str_dup( pwdnew );
comm.c:  if ( strcmp( crypt ( argument, ch->pcdata->pwd ), ch->pcdata->pwd ) )
comm.c:        ch->race = race;
comm.c:	    ch->perm_stat[i] = pc_race_table[race].stats[i];
comm.c://	ch->affected_by = ch->affected_by|race_table[race].aff;
comm.c://	ch->imm_flags	= ch->imm_flags|race_table[race].imm;
comm.c://	ch->res_flags	= ch->res_flags|race_table[race].res;
comm.c://	ch->vuln_flags	= ch->vuln_flags|race_table[race].vuln;
comm.c://	ch->form	= race_table[race].form;
comm.c://	ch->parts	= race_table[race].parts;
comm.c://	ch->pcdata->points = pc_race_table[race].points;
comm.c:	ch->size = pc_race_table[race].size;
comm.c:	case 'm': case 'M': ch->sex = SEX_MALE;    break;
comm.c:	case 'f': case 'F': ch->sex = SEX_FEMALE;  break;
comm.c:	case 'y': case 'Y': SET_BIT(ch->act,PLR_ANSI);    break;
comm.c:	ch->pcdata->perm_str=number_range(10,16);
comm.c:        ch->pcdata->perm_int=number_range(10,16);
comm.c:        ch->pcdata->perm_wis=number_range(10,16);
comm.c:        ch->pcdata->perm_dex=number_range(10,16);
comm.c:	ch->pcdata->perm_con=number_range(10,16);
comm.c:	ch->class = 0;
comm.c:	sprintf( log_buf, "%s@%s new player.",ch->name, d->host );
comm.c:	ch->next	= char_list;
comm.c:	if (ch->mounted == IS_RIDING) do_dismount(ch,"");
comm.c:	if ( ch->level == 0 )
comm.c:            ch->pcdata->awins        = 0; /* arena wins           */
comm.c:            ch->pcdata->alosses      = 0; /* arena losses         */
comm.c:		ch->pcdata->board = &boards[0];
comm.c:	    ch->challenger = NULL;
comm.c:	    ch->level	= 3;
comm.c:            ch->generation = 6;
comm.c:            ch->stance[19] = -1;
comm.c:            ch->stance[20] = -1;
comm.c:            ch->stance[21] = -1;
comm.c:            ch->stance[22] = -1;
comm.c:            ch->stance[23] = -1;
comm.c:	    ch->exp	= 0;
comm.c:	    ch->hit	= ch->max_hit;
comm.c:	    ch->mana	= ch->max_mana;
comm.c:	    ch->move	= ch->max_move;
comm.c:            ch->special = 0;
comm.c:	    set_switchname(ch, ch->name);
comm.c:  //                          ch->pcdata->buffer = new_buf();
comm.c:    //                        clear_buf(ch->pcdata->buffer);}
comm.c:	else if (!IS_NPC(ch) && ch->pcdata->obj_vnum != 0)
comm.c:	    if (ch->in_room != NULL) char_to_room( ch, ch->in_room );
comm.c:	else if ( ch->in_room != NULL )
comm.c:	    char_to_room( ch, ch->in_room );
comm.c:	sprintf(buf,"#7A #Rnew player#7 named #g%s #7enters #RAge of Heroes.#n", ch->name );
comm.c:	ch->fight_timer = 0;
comm.c:        ch->pcdata->safe_counter = 0;
comm.c:        ch->pcdata->revision = CURRENT_REVISION;
comm.c:    for ( ch = char_list; ch != NULL; ch = ch->next )
comm.c:	if ( !IS_NPC(ch) && ( !fConn || ch->desc == NULL )
comm.c:		d->character->pcdata->pwd = str_dup( ch->pcdata->pwd );
comm.c:                if (ch->desc != NULL)
comm.c:                  close_socket2(ch->desc, TRUE);
comm.c:		ch->desc	 = d;
comm.c:		ch->timer	 = 0;
comm.c:	    	if (IS_NPC(ch) || ch->pcdata->obj_vnum == 0)
comm.c:		sprintf( log_buf, "%s@%s reconnected.",ch->name, ch->lasthost );
comm.c: 		if (ch->pcdata->in_progress)
comm.c:    for ( ch = char_list; ch != NULL; ch = ch->next )
comm.c:	&& ( !fConn || ch->desc == NULL )
comm.c:		d->character->pcdata->pwd = str_dup( ch->pcdata->pwd );
comm.c:		ch->desc	 = d;
comm.c:		ch->timer	 = 0;
comm.c:		sprintf( log_buf, "%s@%s kicking off old link.", ch->name, ch->lasthost );
comm.c:    ||   ch->desc == NULL
comm.c:    ||   (ch->desc->connected != CON_PLAYING && ch->desc->connected != CON_EDITING)
comm.c:    ||   ch->was_in_room == NULL 
comm.c:    ||   ch->in_room != get_room_index( ROOM_VNUM_LIMBO ) )
comm.c:    ch->timer = 0;
comm.c:    char_to_room( ch, ch->was_in_room );
comm.c:    ch->was_in_room	= NULL;
comm.c:    if ( txt != NULL && ch->desc != NULL )
comm.c:	write_to_buffer( ch->desc, txt, strlen(txt) );
comm.c:  if (txt != NULL && ch->desc != NULL)
comm.c:    write_to_buffer( ch->desc, txt, 0);
comm.c:	if ( ch == NULL || ch->in_room == NULL)
comm.c:    to = ch->in_room->people;
comm.c:	if ( vch == NULL || vch->in_room == NULL)
comm.c:	to = vch->in_room->people;
comm.c:		if (to->in_room == ch->in_room && 
comm.c:    	if (ch->in_room->vnum == ROOM_VNUM_IN_OBJECT)
comm.c:	    if (!IS_NPC(ch) && ch->pcdata->chobj != NULL && 
comm.c:	    	ch->pcdata->chobj->in_room != NULL &&
comm.c:	    	ch->in_room == to->in_room)
comm.c:	    if (!IS_NPC(ch) && ch->pcdata->chobj != NULL && 
comm.c:	    	ch->pcdata->chobj->in_obj != NULL &&
comm.c:	    	ch->pcdata->chobj->in_obj == to->pcdata->chobj->in_obj)
comm.c:	    if (to->in_room != ch->in_room && familiar != NULL &&
comm.c:		familiar->in_room == ch->in_room)
comm.c:    if ( ch == NULL || ch->in_room == NULL) return;
comm.c:    to = ch->in_room->people;
comm.c:        if ( vch == NULL || vch->in_room == NULL) return;
comm.c:        to = vch->in_room->people;
comm.c:                if (to->in_room == ch->in_room &&
comm.c:        if (ch->in_room->vnum == ROOM_VNUM_IN_OBJECT)
comm.c:            if (!IS_NPC(ch) && ch->pcdata->chobj != NULL &&
comm.c:                ch->pcdata->chobj->in_room != NULL &&
comm.c:                ch->in_room == to->in_room)
comm.c:            if (!IS_NPC(ch) && ch->pcdata->chobj != NULL &&
comm.c:                ch->pcdata->chobj->in_obj != NULL &&
comm.c:                ch->pcdata->chobj->in_obj == to->pcdata->chobj->in_obj)
comm.c:            if (to->in_room != ch->in_room && familiar != NULL &&
comm.c:                familiar->in_room == ch->in_room)
comm.c:  if (ch->pcdata == NULL )
comm.c:  if ( ch->position == POS_FIGHTING && ch->cprompt[0] == '\0' )
comm.c:    if ( ch->prompt[0] == '\0' )
comm.c:  else if ( ch->position != POS_FIGHTING && ch->prompt[0] == '\0' )
comm.c:  if ( ch->position == POS_FIGHTING && is_fighting )
comm.c:        sprintf( buf2, "%d", ch->hit );
comm.c:        COL_SCALE(buf2, ch, ch->hit, ch->max_hit);
comm.c:        sprintf( buf2, "%d", ch->max_hit );
comm.c:        sprintf( buf2, "%d", ch->mana                              );
comm.c:        COL_SCALE(buf2, ch, ch->mana, ch->max_mana);
comm.c:        sprintf( buf2, "%d", ch->max_mana                          );
comm.c:        sprintf( buf2, "%d", ch->move                              ); 
comm.c:        COL_SCALE(buf2, ch, ch->move, ch->max_move);
comm.c:        sprintf( buf2, "%d", ch->max_move                          );
comm.c:        sprintf( buf2, "%d", ch->exp                               );
comm.c:        COL_SCALE(buf2, ch, ch->exp, 1000);
comm.c:        sprintf( buf2, "%d", ch->pcdata->quest                     );
comm.c:        if ( ( victim = ch->fighting ) == NULL )
comm.c:        if ( ( victim = ch->fighting ) == NULL )
comm.c:         if ( ( victim = ch->fighting ) == NULL )
comm.c:         if ( ( victim = ch->fighting ) == NULL )
comm.c:         sprintf(buf2, "%d", ch->fight_timer			  );
comm.c:         if (!ch->fighting) sprintf(buf2, "N/A");
comm.c:           if (ch->fighting->max_hit != 0)
comm.c:             CHAR_DATA *och = ch->fighting;
comm.c:               if (och->hit > (och->max_hit * k / 10))
comm.c:         if (!ch->fighting) sprintf(buf2, "N/A");
comm.c:           if ((ch->fighting->hit*100/ch->fighting->max_hit) < 25)
comm.c:           else if ((ch->fighting->hit*100/ch->fighting->max_hit) < 50)
comm.c:           else if ((ch->fighting->hit*100/ch->fighting->max_hit) < 75)
comm.c:           else if ((ch->fighting->hit*100/ch->fighting->max_hit) < 100)
comm.c:           if (ch->fighting->max_hit != 0)
comm.c:             CHAR_DATA *och = ch->fighting;
comm.c:               if (och->hit > (och->max_hit * k / 10))
const.c:             (!str_prefix(slay_table[i].owner,ch->name)  &&
const.c:              !str_prefix(slay_table[i].owner, ch->name) )
db.c:  ch->name = &str_empty[0];
db.c:  ch->short_descr = &str_empty[0];
db.c:  ch->long_descr = &str_empty[0];
db.c:  ch->description = &str_empty[0];
db.c:  ch->morph = &str_empty[0];
db.c:  ch->createtime = &str_empty[0];
db.c:  ch->lasthost = &str_empty[0];
db.c:  ch->lasttime = &str_empty[0];
db.c:  ch->pload = &str_empty[0];
db.c:  ch->prompt = &str_empty[0];
db.c:  ch->cprompt = &str_empty[0];
db.c:  ch->hunting = &str_empty[0];
db.c:  ch->tracking = FALSE;
db.c:  ch->logon = current_time;
db.c:  ch->armor = 100;
db.c:  ch->position = POS_STANDING;
db.c:  ch->practice = 0;
db.c:  ch->hit = 1000;
db.c:  ch->max_hit = 1000;
db.c:  ch->mana = 1500;
db.c:  ch->max_mana = 1500;
db.c:  ch->move = 1500;
db.c:  ch->max_move = 1500;
db.c:  ch->master = NULL;
db.c:  ch->leader = NULL;
db.c:  ch->fighting = NULL;
db.c:  ch->mount = NULL;
db.c:  ch->damcap[0] = 1000;
db.c:  ch->damcap[1] = 0;
db.c:  for (obj = ch->carrying; obj != NULL; obj = obj_next)
db.c:  for (paf = ch->affected; paf != NULL; paf = paf_next)
db.c:  free_string(ch->name);
db.c:  free_string(ch->short_descr);
db.c:  free_string(ch->long_descr);
db.c:  free_string(ch->description);
db.c:  free_string(ch->morph);
db.c:  free_string(ch->createtime);
db.c:  free_string(ch->lasttime);
db.c:  free_string(ch->lasthost);
db.c:  free_string(ch->pload);
db.c:  free_string(ch->prompt);
db.c:  free_string(ch->cprompt);
db.c:  free_string(ch->hunting);
db.c:  if (ch->pcdata != NULL)
db.c:    for (ali = ch->pcdata->alias; ali; ali = ali_next)
db.c:    for (quest = ch->pcdata->quests; quest; quest = quest_next)
db.c:    free_string(ch->pcdata->retaliation);
db.c:    free_string(ch->pcdata->switchname);
db.c:    free_string(ch->pcdata->last_decap[0]);
db.c:    free_string(ch->pcdata->last_decap[1]);
db.c:    free_string(ch->pcdata->logoutmessage);
db.c:    free_string(ch->pcdata->avatarmessage);
db.c:    free_string(ch->pcdata->loginmessage);
db.c:    free_string(ch->pcdata->decapmessage);
db.c:    free_string(ch->pcdata->tiemessage);
db.c:    free_string(ch->pcdata->last_global);
db.c:    free_string(ch->pcdata->pwd);
db.c:    free_string(ch->pcdata->bamfin);
db.c:    free_string(ch->pcdata->bamfout);
db.c:    free_string(ch->pcdata->title);
db.c:    free_string(ch->pcdata->conception);
db.c:    free_string(ch->pcdata->parents);
db.c:    free_string(ch->pcdata->cparents);
db.c:    free_string(ch->pcdata->marriage);
db.c:    ch->pcdata->next = pcdata_free;
db.c:    pcdata_free = ch->pcdata;
db.c:  ch->next = char_free;
db.c:    fprintf(fp, "[%5d] %s: %s\n", ch->in_room ? ch->in_room->vnum : 0, ch->name, str);
desc_map.c:  if (ch->level > 6)
desc_map.c:      ch->in_room->name, ch->in_room->vnum);
desc_map.c:    sprintf( buf, "#0+-----------+#n %s\n\r", ch->in_room->name);
desc_map.c:    if (y == 0 && IS_SET(ch->act, PLR_AUTOEXIT))  // the autoexits
desc_map.c:  map[x][y].vnum = ch->in_room->vnum;
desc_map.c:  map_exits( ch, ch->in_room, x, y, 0 );
diviner.c:    chroom = ch->in_room;
diviner.c:	REMOVE_BIT(ch->affected_by, AFF_SHADOWPLANE);
diviner.c:	SET_BIT(ch->affected_by, AFF_SHADOWPLANE);
diviner.c:	SET_BIT(ch->affected_by, AFF_SHADOWPLANE);
diviner.c:	REMOVE_BIT(ch->affected_by, AFF_SHADOWPLANE);
diviner.c:    if (!IS_NPC(victim)) ch->fight_timer += 5;
diviner.c:	spell_identify( skill_lookup( "identify" ), ch->level, ch, obj );
enchanter.c:	if ( ch->practice < 1500)
enchanter.c:		 ch->practice -= 1500;
enchanter.c:	if ( ch->practice < 1500)
enchanter.c:                ch->practice -= 1500;
enchanter.c:        obj->value[1] += 10 - ch->generation;
enchanter.c:        obj->value[2] += 10 - ch->generation;
enhancement.c:	if (IS_SET(ch->newbits, NEW_DARKTENDRILS)) {
enhancement.c:	REMOVE_BIT(ch->newbits, NEW_DARKTENDRILS);
enhancement.c:	SET_BIT(ch->newbits, NEW_DARKTENDRILS);
enhancement.c:	REMOVE_BIT(ch->pcdata->stats[UNI_AFF], VAM_NIGHTSIGHT);
enhancement.c:    SET_BIT(ch->pcdata->stats[UNI_AFF], VAM_NIGHTSIGHT);
enhancement.c:    if (IS_SET(ch->newbits, THIRD_HAND) && IS_SET(ch->newbits, FOURTH_HAND))
enhancement.c:    if (!IS_SET(ch->newbits, FOURTH_HAND))
enhancement.c:	SET_BIT(ch->newbits, FOURTH_HAND);
enhancement.c:	SET_TIMER(ch, TIMER_FOURTH_ARM_GOING, dice(ch->generation, 6) );
enhancement.c:    if (!IS_SET(ch->newbits, THIRD_HAND))
enhancement.c:	SET_BIT(ch->newbits, THIRD_HAND);
enhancement.c:	SET_TIMER(ch, TIMER_THIRD_ARM_GOING, dice(ch->generation, 6) );
fight.c:  for (ch = char_list; ch != NULL; ch = ch->next)
fight.c:    ch_next = ch->next;
fight.c:      if (ch->fight_timer > 0) ch->fight_timer--;
fight.c:    if ((victim = ch->fighting) == NULL || ch->in_room == NULL)
fight.c:      if (ch->fight_timer < 9) ch->fight_timer = 10;
fight.c:      else if (ch->fight_timer < 25) ch->fight_timer += 3;
fight.c:    if (IS_AWAKE(ch) && IS_AWAKE(victim) && ch->in_room == victim->in_room)
fight.c:    if ((victim = ch->fighting) == NULL)
fight.c:    for (rch = ch->in_room->people; rch != NULL; rch = rch_next)
fight.c:      rch_next = rch->next_in_room;
fight.c:      if (IS_AWAKE(rch) && rch->fighting == NULL)
fight.c:        if ((mount = rch->mount) != NULL)
fight.c:          if (rch->pIndexData == ch->pIndexData || number_bits(3) == 0)
fight.c:            for (vch = ch->in_

Showing the first 100 KB of 276.9 KB. Download the archive for the full file.

Site Stats

Snippets: 1791
Codebases: 571