pc
EmlenMud2003LOC/src/pc · 305.3 KB
From the archive EmlenMud2003LOC.zip
Download the archive « Back to the archive contents
aedit.c: pArea = (AREA_DATA *) ch->desc->pEdit;
aedit.c: ch->desc->pEdit = NULL;
aedit.c: ch->desc->connected = CON_PLAYING;
aedit.c: ch->desc->pEdit = (void *) pArea;
aedit.c: s = (SOCIAL *) ch->desc->pEdit;
aedit.c: ch->desc->pEdit = NULL;
aedit.c: ch->desc->connected = CON_PLAYING;
aedit.c: ch->desc->pEdit = s;
alien.c:if (ch->in_room->vnum != AUGMENT_ROOM)
alien.c: if (!IS_SET(ch->pcdata->augments, oldnum))
alien.c: if (IS_SET(race_info[ch->pcdata->race].nat_augments, oldnum))
alien.c: if (IS_SET(align_info[ch->pcdata->alignment].nat_augments, oldnum))
alien.c: if (ch->pcdata->bank < 5000)
alien.c: ch->pcdata->bank -= 5000;
alien.c: REMOVE_BIT(ch->pcdata->augments, oldnum);
alien.c: SET_BIT(ch->pcdata->augments, newnum);
alien.c:if (ch->pcdata->remort_times < pow.augment_cost[num][0])
alien.c: sprintf(buf, "You need %d remorts to get this augment and you only have %d.\n\r", pow.augment_cost[num][0], ch->pcdata->remort_times);
alien.c:if (ch->pcdata->warpoints < pow.augment_cost[num][3])
alien.c: sprintf(buf, "You need %d warpoints to get this augment and you only have %ld.\n\r", pow.augment_cost[num][3], ch->pcdata->warpoints);
alien.c:if (ch->pcdata->killpoints < pow.augment_cost[num][4])
alien.c: sprintf(buf, "You need %d killpoints to get this augment and you only have %d.\n\r", pow.augment_cost[num][4], ch->pcdata->killpoints);
alien.c:ch->pcdata->warpoints -= pow.augment_cost[num][3];
alien.c:ch->pcdata->killpoints -= pow.augment_cost[num][4];
alien.c:ch->pcdata->augments ^= augment_flagss[num_wanted].flagname;
alien.c: augment = ch->pcdata->augments;
alien.c: affect = ch->affected_by;
alien.c: affect = ch->more_affected_by;
alien.c: int augment = ch->pcdata->augments;
alien.c: !IS_SET(race_info[ch->pcdata->race].nat_augments,augment_flagss[i].flagname) &&
alien.c: !IS_SET(align_info[ch->pcdata->alignment].nat_augments,augment_flagss[i].flagname))
alien.c: sprintf(buf, "-->You are level %d, with %d remorts, %ld warpoints, and %d killpoints.\n\r", LEVEL(ch), ch->pcdata->remort_times, ch->pcdata->warpoints, ch->pcdata->killpoints);
alien.c: for (obj = ch->carrying; obj != NULL; obj = obj_next)
alien.c: if (pow.max_remorts == 1 && ch->pcdata->remort_times > 0)
alien.c: if (ch->pcdata->remort_times >= pow.max_remorts)
alien.c: (!ch->in_room || ch->in_room->vnum != pow.transform_in_room) &&
alien.c: ch->pcdata->race < 11) ||
alien.c: (!ch->in_room || ch->in_room->vnum != pow.asctransform_in_room) &&
alien.c: ch->pcdata->race > 10))
alien.c: if (ch->pcdata->remort_times > 1)
alien.c: if(ch->pcdata->stat[k] > race_info[ch->pcdata->race].limits[k])
alien.c: i += ch->pcdata->stat[k] - race_info[ch->pcdata->race].limits[k];
alien.c: ch->pcdata->stat[k] = race_info[ch->pcdata->race].limits[k];
alien.c: l = race_info[ch->pcdata->race].limits[k] - ch->pcdata->stat[k];
alien.c: ch->pcdata->stat[k] += l;
alien.c: ch->pcdata->stat[k] += i;
alien.c: if (ch->pcdata->stat[i] + tmp_stat[i] > 36)
alien.c: ch->pcdata->stat[guild_data[i].stat_modified]--;
alien.c: if ((ch->pcdata->stat[i] + tmp_stat[i]) >
alien.c: (race_info[ch->pcdata->race].limits[i]+
alien.c: align_info[ch->pcdata->alignment].limits[i]))
alien.c: ch->pcdata->stat[guild_data[i].stat_modified]++;
alien.c: ch->pcdata->stat[guild_data[i].stat_modified]++;
alien.c: ch->pcdata->stat[i] += tmp_stat[i];
alien.c: for (obj = ch->carrying; obj != NULL; obj = next_obj)
alien.c: SET_BIT (ch->pcdata->augments, augment_flagss[augmented].flagname);
alien.c: ch->pcdata->level = 1;
alien.c: ch->exp = 1;
alien.c: free_string(ch->fgt->phunting);
alien.c: ch->fgt->phunting = NULL;
alien.c: free_string(ch->fgt->hunting);
alien.c: ch->fgt->hunting = NULL;
alien.c: ch->pcdata->voting_on = 0;
alien.c: ch->pcdata->deaths =0;
alien.c: REMOVE_BIT(ch->act, PLR_PKED_THIS_MORT);
alien.c: ch->pcdata->practice = 10;
alien.c: ch->pcdata->learn = 2;
alien.c: ch->pcdata->remort_times++;
alien.c: ch->pcdata->learned[k] = -100;
alien.c: sprintf (workstr, "This is remort number \x1B[1;37m%d\x1B[37;0m for your character!\n\r", ch->pcdata->remort_times);
alien.c: if (ch->pcdata->remort_times == 2)
alien.c: if (ch->pcdata->remort_times == 5)
alien.c: max_remort_times[ch->pcdata->alignment] =
alien.c: UMAX(max_remort_times[ch->pcdata->alignment], ch->pcdata->remort_times);
alien.c: for (obj = ch->carrying; obj != NULL; obj = nxt)
alien.c: if (ch->position != POSITION_STANDING)
alien.c: if (IS_PLAYER(ch) && ch->pcdata->learned[gsn_warcry] < 50)
alien.c: if (IS_PLAYER(ch) && (number_percent() > ch->pcdata->learned[gsn_warcry]))
alien.c: if (ch->move < s->mana)
ansi_out.c: if (txt != NULL && ch->desc != NULL)
ansi_out.c: if (!IS_SET (ch->pcdata->act2, PLR_ANSI) && !IS_SET (ch->pcdata->act2, PLR_VT100))
ansi_out.c: else if (IS_SET (ch->pcdata->act2, PLR_VT100) && !IS_SET (ch->pcdata->act2, PLR_ANSI))
ansi_out.c: write_to_buffer (ch->desc, txt, strlen (txt));
ansi_out.c: if(!ch || !ch->in_room || (!ch->desc && (type == TO_CHAR || type ==
ansi_out.c: check_room_more(ch->in_room);
ansi_out.c: to = ch->in_room->more->people;
ar.c: if (IS_SET (ch->affected_by, AFF_FLYING))
ar.c:/*if (victim->level>ch->level)
ar.c: ch->fgt->riding = victim;
ar.c: check_fgt (ch->fgt->riding);
ar.c: ch->fgt->riding->fgt->mounted_by = NULL;
ar.c: ch->fgt->riding = NULL;
ar.c: check_fgt (ch->fgt->mounted_by);
ar.c: ch->fgt->mounted_by->fgt->riding = NULL;
ar.c: NEW_POSITION(ch->fgt->mounted_by, POSITION_RESTING);
ar.c: ch->fgt->mounted_by = NULL;
ar.c: if (ch->pcdata->voting_on == 998 || PHUNTING(ch) != NULL)
ar.c: if (ch->position == POSITION_FIGHTING)
ar.c: if (IS_PLAYER (ch) && ch->pcdata->learned[gsn_track] < 3 && !is_member (ch, GUILD_RANGER))
ar.c: ch->pcdata->voting_on = 0;
ar.c: ch->pcdata->voting_on = 0;
ar.c: free_string (ch->fgt->hunting);
ar.c: ch->fgt->hunting = NULL;
ar.c: ch->pcdata->voting_on = 0;
ar.c: ch->pcdata->voting_on = 0;
ar.c: ch->fgt->hunting = str_dup (arg);
ar.c: ch->pcdata->tickcounts = 9;
ar.c: if (ch->position == POSITION_CASTING) {
ar.c: ch->pcdata->voting_on = 999;
ar.c: ch->pcdata->voting_on = 0;
ar.c: free_string (ch->fgt->hunting);
ar.c: ch->fgt->hunting = NULL;
ar.c: ch->pcdata->voting_on = 0;
ar.c: ch->pcdata->voting_on = 0;
ar.c: free_string(ch->fgt->hunting); ch->fgt->hunting=NULL;
ar.c: ch->pcdata->voting_on=0;
ar.c: ch->fgt->hunting = str_dup (arg);
ar.c: ch->pcdata->tickcounts = 9;
ar.c: if (ch->position == POSITION_CASTING) {
ar.c: ch->pcdata->voting_on = 999;
ar.c: if (ch->position == POSITION_FIGHTING)
ar.c: if (IS_PLAYER (ch) && ch->pcdata->learned[gsn_track] < 3 && !is_member (ch, GUILD_RANGER))
ar.c: free_string(ch->fgt->hunting); ch->fgt->hunting=NULL;
ar.c: free_string (ch->fgt->hunting);
ar.c: ch->fgt->hunting = NULL;
ar.c: free_string(ch->fgt->hunting); ch->fgt->hunting=NULL;
ar.c: (ch->pcdata->learned[gsn_track] < number_range (0, 50) && !is_member (ch, GUILD_RANGER)))
ar.c: free_string(ch->fgt->hunting); ch->fgt->hunting=NULL;
ar.c: ch->pcdata->voting_on=0;
ar.c: for (tr = ch->in_room->tracks; tr != NULL; tr = tr->next_track_in_room)
ar.c: (IS_MOB (tr->ch) && is_name (HUNTING (ch), tr->ch->pIndexData->name)))
ar.c: if (tr->dir_left == 10 || tr->ch->in_room == ch->in_room)
ar.c: free_string (ch->fgt->hunting);
ar.c: ch->fgt->hunting = NULL;
ar.c: ch->pcdata->voting_on = 0;
ar.c: ch->fgt->hunting = str_dup (arg);
ar.c: dir = find_first_step( ch->in_room, vict->in_room );
ar.c: free_string(ch->fgt->hunting); ch->fgt->hunting=NULL;
ar.c: free_string(ch->fgt->hunting); ch->fgt->hunting=NULL;
ar.c: ch->pcdata->voting_on=0;
ar.c: ch->pcdata->voting_on=0;
ar.c: free_string(ch->fgt->hunting); ch->fgt->hunting=NULL;
ar.c: (ch->pcdata->learned[gsn_track]<number_range(0,90) && !is_member(ch,GUILD_RANGER)))
ar.c: ch->fgt->hunting=str_dup( arg );
ar.c: if (ch->in_room && ch->in_room->ptracks != NULL)
ar.c: for (ptrk = ch->in_room->ptracks; (ptrk != NULL && !found); ptrk = ptrk->next_track_in_room)
ar.c: dir = find_first_step (ch->in_room, vict->in_room);
ar.c: dir = find_first_step (ch->in_room, get_room_index (atoi (HUNTING (ch))));
ar.c: if (!ch->in_room->exit[dir] || (ROOM_DATA *) ! ch->in_room->exit[dir]->to_room)
ar.c: if (!is_number (HUNTING (ch)) && ch->in_room->exit[dir] && (ROOM_DATA *) ch->in_room->exit[dir]->to_room &&
ar.c: ch->in_room->area != ((ROOM_DATA *) ch->in_room->exit[dir]->to_room)->area)
ar.c: if (ch->in_room && ch->in_room->exit[dir] && ch->in_room->exit[dir]->d_info &&
ar.c: IS_SET (ch->in_room->exit[dir]->d_info->exit_info, EX_CLOSED) &&
ar.c: IS_SET (ch->in_room->exit[dir]->d_info->exit_info, EX_ISDOOR) &&
ar.c: !IS_SET (ch->in_room->exit[dir]->d_info->exit_info, EX_LOCKED) &&
ar.c: !IS_SET (ch->in_room->exit[dir]->d_info->exit_info, EX_HIDDEN))
ar.c: do_open (ch, ch->in_room->exit[dir]->d_info->keyword);
ar.c: if (is_number (HUNTING (ch)) && ch->in_room->vnum == atoi (HUNTING (ch)))
ar.c: free_string (ch->fgt->hunting);
ar.c: ch->fgt->hunting = NULL;
ar.c: if (!is_number (HUNTING (ch)) && ch->in_room == vict->in_room)
ar.c: if (ch->fgt && ch->fgt->hunting)
ar.c: free_string (ch->fgt->hunting);
ar.c: ch->fgt->hunting = NULL;
ar.c: if (IS_MOB (ch) && IS_MOB (vict) && !IS_SET (ch->pcdata->act3, ACT3_MUTE) &&
arena.c: if (ch->pcdata->bgf)
arena.c: ch->pcdata->bgf = FALSE;
arena.c: ch->pcdata->bgf = TRUE;
arena.c: for (fch = char_list; fch != NULL; fch = fch->next)
arena.c: if(fch->fgt->challenge == 10)
arena.c: ch->pcdata->arena_msg = TRUE;
arena.c: ch->pcdata->arena_msg = FALSE;
arena.c: position = ch->position;
arena.c: ch->position = POSITION_STANDING;
arena.c: ch->position = position;
arena.c: ch->pcdata->bank += biddata.bids[kkkk];
arena.c: if (bet < 1 || bet > ch->pcdata->bank)
arena.c: ch->pcdata->bank += biddata.bids[kkkk];
arena.c: ch->pcdata->bank -= bet;
arena.c: if (!ch->pcdata->challenged_by)
arena.c: strcpy (tempstr, ch->pcdata->challenged_by);
arena.c: sprintf (buf, "\x1B[1;37mYou have been challenged by \x1B[32m%s\x1B[37m.\x1B[37;0m Type ACCEPT YES to accept the challenge.\n\r", ch->pcdata->challenged_by);
arena.c: if (ch->hit < ch->max_hit)
arena.c: if (ch->pcdata->challenged_by)
arena.c: free_string (ch->pcdata->challenged_by);
arena.c: ch->pcdata->challenged_by = NULL;
arena.c: if (ch->in_room && ch->in_room->vnum < 1000)
arena.c: if (ch->pcdata->challenged_by)
arena.c: free_string (ch->pcdata->challenged_by);
arena.c: ch->pcdata->challenged_by = NULL;
arena.c: if (!ch->pcdata->challenged_by)
arena.c: strcpy (tempstr, ch->pcdata->challenged_by);
arena.c: sprintf (buf, "\x1B[1;37mYou have been challenged by \x1B[32m%s\x1B[37m.\x1B[37;0m Type DECLINE YES to decline the challenge.\n\r", ch->pcdata->challenged_by);
arena.c: if (ch->pcdata->challenged_by)
arena.c: free_string (ch->pcdata->challenged_by);
arena.c: ch->pcdata->challenged_by = NULL;
arena.c: if (ch->pcdata->challenged_by)
arena.c: free_string (ch->pcdata->challenged_by);
arena.c: ch->pcdata->challenged_by = NULL;
arena.c: /* if (ch->pcdata->challenge_on)
arena.c: ch->pcdata->challenge_on=FALSE;
arena.c: ch->pcdata->challenge_on=TRUE;
arena.c: ch->pcdata->challenge_on = TRUE;
arena.c: ch->pcdata->challenge_on = FALSE;
arena.c: if (ch->hit != ch->max_hit)
arena.c: if (ch->pcdata->challenge_on == FALSE)
arena.c: if (ch->in_room && ch->in_room->vnum < 1000)
arena.c: ch->pcdata->challenge_time = 0;
arena.c: if (ch->pcdata->challenge_time > 0)
arena.c: if (ch->pcdata->no_quit_pk > 0)
arena.c: ch->pcdata->challenge_time = 5;
armor.c: tprotect = ch->armor / ARC;
armor.c: for (o = ch->carrying; o != NULL; o = o->next_content)
armor.c: tprotect = ch->armor / ARC;
armor.c: for (o = ch->carrying; o != NULL; o = o->next_content)
armor.c: tprotect = ch->armor / ARC;
armor.c: for (o = ch->carrying; o != NULL; o = o->next_content)
armor.c: tprotect = ch->armor / ARC;
armor.c: for (o = ch->carrying; o != NULL; o = o->next_content)
armor.c: tprotect =ch->armor / ARC;
armor.c: for (o = ch->carrying; o != NULL; o = o->next_content)
armor.c: i = ch->armor/ARC;
armor.c: i += ch->pcdata->armor[hit_loc -1];
auction.c: if (ch->in_room->vnum < 1000)
auction.c: if (IS_SET(ch->act, PLR_NOAUCTION))
auction.c: REMOVE_BIT(ch->pcdata->deaf, CHANNEL_AUCTION);
auction.c: if (bid < auct->minbid || bid < auct->bid + 100 || ch->pcdata->bank < bid + prevbids)
auction.c: if (IS_SET (ch->pcdata->deaf, CHANNEL_AUCTION))
auction.c: if (pow.auction_lag && ch->pcdata->no_quit_pk > 0)
auction.c: if (IS_SET(ch->act, PLR_NOAUCTION))
auction.c: if (ch->in_room->vnum < 1000)
auction.c: ch->pcdata->auction_count += 50;
auction.c: if (ch->pcdata->auction_count > 400)
auction.c: SET_BIT(ch->act, PLR_NOAUCTION);
auction.c: if (ch->pcdata->bank < tobj->cost/7)
auction.c: ch->pcdata->bank -= tobj->cost/7;
auction.c: ch->pcdata->listen_auction = TRUE;
auction.c: ch->pcdata->auction_count += 50;
auction.c: if (ch->pcdata->auction_count > 400)
auction.c: SET_BIT(ch->act, PLR_NOAUCTION);
autoeq.c: if (!ch->in_room) return;
autoeq.c: if (ch->in_room->vnum != 90000)
autoeq.c: pArea = ch->in_room->area;
aw.c: if (ch->pcdata->learned[spell->gsn] == -100)
aw.c: if (ch->pcdata->learned[i] < 0)
aw.c: ch->pcdata->learned[spell->gsn] = -100;
aw.c: ch->pcdata->learned[i] = -100;
aw.c: ch->pcdata->practice = (1 + (((LEVEL (ch) - 1) *
aw.c: ch->pcdata->learn = (LEVEL (ch) * 2);
aw.c: ch->pcdata->learn = 6 + (LEVEL (ch) - 3);
aw.c: if (IS_SET (ch->act, WIZ_NOTIFY))
aw.c: REMOVE_BIT (ch->act, WIZ_NOTIFY);
aw.c: SET_BIT (ch->act, WIZ_NOTIFY);
aw.c: if (IS_SET (ch->act, WIZ_NOTIFY_DEATH))
aw.c: REMOVE_BIT (ch->act, WIZ_NOTIFY_DEATH);
aw.c: SET_BIT (ch->act, WIZ_NOTIFY_DEATH);
aw.c: if (IS_SET (ch->act, WIZ_NOTIFY_BUG))
aw.c: REMOVE_BIT (ch->act, WIZ_NOTIFY_BUG);
aw.c: SET_BIT (ch->act, WIZ_NOTIFY_BUG);
aw.c: if (IS_SET (ch->act, WIZ_NOTIFY_LOG))
aw.c: REMOVE_BIT (ch->act, WIZ_NOTIFY_LOG);
aw.c: SET_BIT (ch->act, WIZ_NOTIFY_LOG);
aw.c: if (IS_SET (ch->act, WIZ_NOTIFY_BUG))
aw.c: if (IS_SET (ch->act, WIZ_NOTIFY_LOGIN))
aw.c: REMOVE_BIT (ch->act, WIZ_NOTIFY_LOGIN);
aw.c: SET_BIT (ch->act, WIZ_NOTIFY_LOGIN);
aw.c: IS_SET (ch->act, WIZ_NOTIFY_LOGIN) ? "ON" : "OFF");
aw.c: IS_SET (ch->act, WIZ_NOTIFY_BUG) ? "ON" : "OFF");
aw.c: IS_SET (ch->act, WIZ_NOTIFY_LOG) ? "ON" : "OFF");
aw.c: IS_SET (ch->act, WIZ_NOTIFY_DEATH) ? "ON" : "OFF");
aw.c: IS_SET (ch->act, WIZ_NOTIFY) ? "active" : "inactive");
aw.c: free_string (ch->pcdata->beamin);
aw.c: ch->pcdata->beamin = str_dup (argy);
aw.c: free_string (ch->pcdata->beamout);
aw.c: ch->pcdata->beamout = str_dup (argy);
aw.c: && d->character->in_room == ch->in_room)
aw.c: && d->character->in_room == ch->in_room)
aw.c: location = ch->in_room;
aw.c: original = ch->in_room;
aw.c: original = ch->in_room;
aw.c: gotoxy (ch, 1, ch->pcdata->pagelen);
aw.c: if (ch != NULL && ch->in_room != NULL) sectr = ch->in_room->sector_type;
aw.c: location = (arg[0] == '\0') ? ch->in_room : find_location (ch, arg);
aw.c: location = ch->in_room;
aw.c: (IS_PLAYER (tr->ch) ? NAME (tr->ch) : tr->ch->pIndexData->short_descr),
aw.c: pArea = ch->in_room->area;
aw.c: pArea = ch->in_room->area;
aw.c: pArea = ch->in_room->area;
aw.c: if (d->snoop_by == ch->desc)
aw.c: if (ch->desc != NULL)
aw.c: for (d = ch->desc->snoop_by; d != NULL; d = d->snoop_by)
aw.c: victim->desc->snoop_by = ch->desc;
aw.c: if (IS_MOB (ch) || ch->desc == NULL)
aw.c: if (ch->desc->original != NULL)
aw.c: ch->desc->character = victim;
aw.c: ch->desc->original = ch;
aw.c: victim->desc = ch->desc;
aw.c: ch->desc = NULL;
aw.c: if (ch->desc == NULL)
aw.c: if (ch->desc->original == NULL)
aw.c: ch->desc->character = ch->desc->original;
aw.c: ch->desc->original = NULL;
aw.c: ch->desc->character->desc = ch->desc;
aw.c: ch->desc = NULL;
aw.c: char_to_room (victim, ch->in_room);
aw.c: obj_to (obj, ch->in_room);
aw.c: if (!ch->in_room->more)
aw.c: raw_purge (ch->in_room);
aw.c: for (v = ch->in_room->more->people; v != NULL; v = v->next_in_room)
aw.c: check_room_more (ch->in_room);
aw.c: for (rch = ch->in_room->more->people; rch != NULL; rch = rch->next_in_room)
aw.c: rch->fgt->fighting = NULL;
aw.c: if (rch->fgt->hunting != NULL)
aw.c: free_string (rch->fgt->hunting);
aw.c: rch->fgt->hunting = NULL;
aw.c: if (rch->fgt->phunting !=NULL) /* JRAJRA - track stuff */
aw.c: free_string (rch->fgt->phunting);
aw.c: rch->fgt->phunting = NULL;
aw.c: ch->desc->pString = &obj->description;
aw.c: ch->desc->pString = &victim->pcdata->long_descr;
aw.c: if (ch->pcdata->level > MAX_LEVEL)
aw.c: ch->pcdata->level = MAX_LEVEL;
aw.c: for (tch = char_list; tch != NULL; tch = tch->next)
aw.c: if (IS_PLAYER (tch) && tch->desc == NULL)
aw.c: ch->pcdata->level = MAX_LEVEL;
aw.c: vch_next = vch->next;
aw.c: oldinvis = ch->pcdata->wizinvis;
aw.c: ch->pcdata->wizinvis = ch->pcdata->wizinvis == 0 ? LEVEL (ch) : 0;
aw.c: ch->pcdata->wizinvis = atoi (arg);
aw.c: ch->pcdata->wizinvis = ch->pcdata->wizinvis <= LEVEL (ch) ? ch->pcdata->wizinvis : LEVEL (ch);
aw.c: if (ch->pcdata->wizinvis <= LEVEL_IMMORTAL && ch->pcdata->wizinvis != 0)
aw.c: ch->pcdata->wizinvis = 0;
aw.c: if (ch->pcdata->wizinvis == oldinvis ||
aw.c: (ch->pcdata->wizinvis >= LEVEL_IMMORTAL && oldinvis >= LEVEL_IMMORTAL))
aw.c: if (ch->pcdata->wizinvis < oldinvis && ch->pcdata->wizinvis == 0)
aw.c: else if (ch->pcdata->wizinvis >= LEVEL_IMMORTAL && ch->pcdata->wizinvis > oldinvis)
aw.c: if (IS_SET (ch->act, PLR_HOLYWALK))
aw.c: REMOVE_BIT (ch->act, PLR_HOLYWALK);
aw.c: SET_BIT (ch->act, PLR_HOLYWALK);
aw.c: if (IS_SET (ch->pcdata->act2, PLR_MAPPING) || IS_AFFECTED(ch,AFF_BLIND))
aw.c: REMOVE_BIT (ch->pcdata->act2, PLR_MAPPING);
aw.c: SET_BIT (ch->pcdata->act2, PLR_MAPPING);
aw.c: if (IS_SET (ch->pcdata->act2, PLR_NOIBM))
aw.c: REMOVE_BIT (ch->pcdata->act2, PLR_NOIBM);
aw.c: SET_BIT (ch->pcdata->act2, PLR_NOIBM);
aw.c: if (IS_SET (ch->pcdata->act2, PLR_MAPSPAM))
aw.c: REMOVE_BIT (ch->pcdata->act2, PLR_MAPSPAM);
aw.c: SET_BIT (ch->pcdata->act2, PLR_MAPSPAM);
aw.c: if (IS_SET (ch->pcdata->act2, PLR_VIEWMOBS))
aw.c: REMOVE_BIT (ch->pcdata->act2, PLR_VIEWMOBS);
aw.c: SET_BIT (ch->pcdata->act2, PLR_VIEWMOBS);
aw.c: if (IS_SET (ch->pcdata->act2, PLR_VIEWPLAYERS))
aw.c: REMOVE_BIT (ch->pcdata->act2, PLR_VIEWPLAYERS);
aw.c: SET_BIT (ch->pcdata->act2, PLR_VIEWPLAYERS);
aw.c: if (IS_SET (ch->pcdata->act2, PLR_HOLYLAG))
aw.c: REMOVE_BIT (ch->pcdata->act2, PLR_HOLYLAG);
aw.c: SET_BIT (ch->pcdata->act2, PLR_HOLYLAG);
aw.c: if (IS_SET (ch->act, PLR_HOLYPEACE))
aw.c: REMOVE_BIT (ch->act, PLR_HOLYPEACE);
aw.c: SET_BIT (ch->act, PLR_HOLYPEACE);
aw.c: if (IS_SET (ch->act, PLR_HOLYLIGHT))
aw.c: REMOVE_BIT (ch->act, PLR_HOLYLIGHT);
aw.c: SET_BIT (ch->act, PLR_HOLYLIGHT);
aw.c: (ch->in_room->area == pAreat ? "*" : " "),
aw.c: (ch->in_room->area == pAreat ? "*" : " "),
bank.c: check_room_more (ch->in_room);
bank.c: for (mob = ch->in_room->more->people; mob != NULL; mob = mob->next_in_room)
bank.c: if ((type == 'G') && (ch->pcdata->bank < (amount*100)))
bank.c: else if ((type == 'W') && (ch->pcdata->warpoints < amount))
bank.c: bank_num = ch->pcdata->alignment;
bank.c: ch->pcdata->warpoints -= amount;
bank.c: ch->pcdata->bank -= 100*amount;
bank.c: ch->pcdata->warpoints -= amount;
bank.c: ch->pcdata->bank -= 100*amount;
bank.c: align = ch->pcdata->alignment;
bank.c: sprintf(buf, "You have %ld gold and %ld warpoints.\n\r", ((ch->pcdata->bank)/100), ch->pcdata->warpoints);
bank.c: check_room_more (ch->in_room);
bank.c: for (mob = ch->in_room->more->people; mob != NULL; mob = mob->next_in_room)
bank.c: sprintf (buf, "The banker tells you 'You have %ld coins in your account.'\n\r", ch->pcdata->bank);
bank.c: if (ch->pcdata->storage[k] != NULL)
bank.c: sprintf (buf, "\x1B[1;37m%-2d> \x1B[0m%-30s \x1B[1;30m[\x1B[34m%d coins get back\x1B[30m]\x1B[37;0m\n\r", k + 1, strip_ansi_codes (OOSTR (ch->pcdata->storage[k], short_descr)), ch->pcdata->storage[k]->cost / STOREDIV);
bank.c: check_room_more (ch->in_room);
bank.c: for (mob = ch->in_room->more->people; mob != NULL; mob = mob->next_in_room)
bank.c: if (tally_coins (ch) < store_cost && ch->pcdata->bank < store_cost)
bank.c: ch->pcdata->bank -= store_cost;
bank.c: ch->pcdata->storage[k] = obj;
bank.c: if (ch->pcdata->storage[k] != NULL)
bank.c: sprintf (buf, "\x1B[1;37m%-2d> \x1B[0m%-30s \x1B[1;30m[\x1B[34m%d coins get back\x1B[30m]\x1B[37;0m\n\r", k + 1, strip_ansi_codes (OOSTR (ch->pcdata->storage[k], short_descr)), ch->pcdata->storage[k]->cost / STOREDIV);
bank.c: check_room_more (ch->in_room);
bank.c: for (mob = ch->in_room->more->people; mob != NULL; mob = mob->next_in_room)
bank.c: if (ch->pcdata->storage[itemnum] == NULL)
bank.c: obj = ch->pcdata->storage[itemnum];
bank.c: if (ch->pcdata->storage[k] != NULL && is_name (arg1, ch->pcdata->storage[k]->pIndexData->name))
bank.c: obj = ch->pcdata->storage[k];
bank.c: if (tally_coins (ch) < remove_cost && ch->pcdata->bank < remove_cost)
bank.c: ch->pcdata->bank -= remove_cost;
bank.c: ch->pcdata->storage[k] = NULL;
bank.c: if (ch->in_room->vnum >= cdat->start_vnum + 1 && ch->in_room->vnum <= cdat->start_vnum + 20)
bank.c: if (!IS_SET(ch->in_room->room_flags, ROOM_CLANSTORE))
bank.c: if ((ch->in_room->vnum >= clan->start_vnum) && (ch->in_room->vnum - clan->start_vnum) < 50)
bank.c: if (!IS_SET(ch->in_room->room_flags, ROOM_CLANSTORE))
bank.c: if ((ch->in_room->vnum >= clan->start_vnum) && (ch->in_room->vnum - clan->start_vnum) < 50)
bank.c: check_room_more (ch->in_room);
bank.c: for (mob = ch->in_room->more->people; mob != NULL; mob = mob->next_in_room)
bank.c: ch->pcdata->bank += amount;
bank.c: sprintf (buf, "Your new balance is: %ld copper.\n\r", ch->pcdata->bank);
bank.c: ch->pcdata->bank += amount;
bank.c: sprintf (buf, "Your new balance is: %ld copper.\n\r", ch->pcdata->bank);
bank.c: check_room_more (ch->in_room);
bank.c: for (mob = ch->in_room->more->people; mob != NULL; mob = mob->next_in_room)
bank.c: amount = ch->pcdata->bank;
bank.c: ch->pcdata->bank -= amount;
bank.c: sprintf (buf, "Your new balance is: \e[1;36m%ld\e[0m.\n\r", ch->pcdata->bank);
bank.c: if (amount < 1 || amount > ch->pcdata->bank)
bank.c: ch->pcdata->bank -= amount;
bank.c: sprintf (buf, "Your new balance is: \e[1;36m%ld\e[0m.\n\r", ch->pcdata->bank);
bank.c: check_room_more (ch->in_room);
bank.c: for (mob = ch->in_room->more->people; mob != NULL; mob = mob->next_in_room)
bank.c: ch->pcdata->bank += amount;
bank.c: ch->pcdata->bank -= amount;
bank.c: ch->pcdata->bank -= amount;
bank.c: ch->pcdata->bank -= amount;
bank.c: ch->pcdata->bank += amount;
buysell.c: check_room_more (ch->in_room);
buysell.c: for (keeper = ch->in_room->more->people; keeper; keeper = keeper->next_in_room)
buysell.c: sprintf(buff, "Ahh, welcome %s. It is so good to see you again. I am currently partaking of my midday meal. Perhaps if you would be so kind as to return in a little while, I will be able to assist you, as you are one of my most valued customers. We strive for one hundred percent customer satisfaction here at %s. However, I must eat my lunch, Thank you, come again.\n\r", NAME(ch), ch->in_room->name);
buysell.c: check_room_more (ch->in_room);
buysell.c: for (keeper = ch->in_room->more->people; keeper; keeper = keeper->next_in_room)
buysell.c: if(number_range(1,130) < (ch->pcdata->learned[gsn_patch] +
buysell.c: if(number_range(1,130) < (ch->pcdata->learned[gsn_patch] +
buysell.c: for (obj = ch->carrying; obj != NULL; obj = obj_nxt)
buysell.c: for (obj = ch->carrying; obj != NULL; obj = obj_nxt)
buysell.c: for (obj = ch->carrying; obj != NULL; obj = obj_nxt)
buysell.c: for (obj = ch->carrying; obj != NULL; obj = obj_nxt)
buysell.c: if (LEVEL (ch) > 100 && !IS_REAL_GOD (ch) && ch->in_room->area->open == 1)
buysell.c: if (IS_SET (ch->in_room->room_flags, ROOM_PET_SHOP))
buysell.c: oneroomNext = get_room_index (ch->in_room->vnum + 1);
buysell.c: bug ("Do_buy: bad pet shop at vnum %d.", ch->in_room->vnum);
buysell.c: in_room = ch->in_room;
buysell.c: ch->in_room = oneroomNext;
buysell.c: ch->in_room = in_room;
buysell.c: if (ch->pcdata->number_pets > 1)
buysell.c: if (ch->pcdata->number_pets > 2)
buysell.c: if (ch->pcdata->number_pets > 3)
buysell.c: if (ch->pcdata->number_pets > 4)
buysell.c: ch->pcdata->number_pets++;
buysell.c: char_to_room (pet, ch->in_room);
buysell.c: if (IS_SET (ch->in_room->room_flags, ROOM_PET_SHOP))
buysell.c: oneroomNext = get_room_index (ch->in_room->vnum + 1);
buysell.c: bug ("Do_list: bad pet shop at vnum %d.", ch->in_room->vnum);
buysell.c: flex = 14-(strlen(ch->in_room->name))/2;
buysell.c: sprintf(hugebuf_o, "\x1b[1;36m_\\|%s\x1b[0;32mWelcome to %s, what would you like to buy?%s%s\x1b[1;36m|/_\n\n\r", buff,ch->in_room->name,buff,(IS_SET(strlen(ch->in_room->name), 1) ? " " : ""));
buysell.c: if (LEVEL (ch) > 100 && ch->in_room->area->open == 1 && !IS_REAL_GOD (ch))
chan.c: pp = ch->position;
chan.c: ch->position = POSITION_STANDING;
chan.c: ch->position = POSITION_STANDING;
channels.c: if (IS_PLAYER (ch) && IS_SET (ch->pcdata->act2, PLR_SILENCE))
channels.c: j = ch->position;
channels.c: ch->position = POSITION_STANDING;
channels.c: for (i = ch->pcdata->ctell_counter + 1; i != ch->pcdata->ctell_counter; i++)
channels.c: if (ch->pcdata->last_ctells[i])
channels.c: act (ch->pcdata->last_ctells[i], ch, NULL, ch, TO_CHAR);
channels.c: ch->position = j;
channels.c: ch->position = j;
channels.c: if (!IS_SET (ch->pcdata->chan_ignore, (1 << channel)))
channels.c: ch->pcdata->chan_ignore ^= (1 << channel);
channels.c: if (IS_SET (ch->pcdata->chan_ignore, (1 << channel)))
channels.c: ch->pcdata->chan_ignore ^= (1 << channel);
channels.c: if (IS_PLAYER(ch) && IS_SET (ch->pcdata->chan_ignore, (1 << channel)))
channels.c: ch->pcdata->chan_ignore ^= (1 << channel);
channels.c: if (ch->move < (c->moves+5))
channels.c: p = ch->position;
channels.c: ch->position = POSITION_STANDING;
channels.c: ch->pcdata->chan_color[channel], c->channel_name,
channels.c: argy, ch->pcdata->chan_color[channel],
channels.c: ch->position = p;
channels.c: sprintf (format, "%s%10s > %s%s%s\x1B[37;0m", ch->pcdata->chan_color[channel], NAME(ch),
channels.c: sprintf (format, "%s%10s > %s%s%s\x1B[37;0m", ch->pcdata->chan_color[channel],
channels.c: sprintf (format, "%s%10s > %s%s%s\x1B[37;0m", ch->pcdata->chan_color[channel],NAME(ch),
channels.c: if (ch->pcdata->last_ctells[ch->pcdata->ctell_counter])
channels.c: free (ch->pcdata->last_ctells[ch->pcdata->ctell_counter]);
channels.c: ch->pcdata->last_ctells[ch->pcdata->ctell_counter] = malloc (strlen (format) + 1);
channels.c: strcpy (ch->pcdata->last_ctells[ch->pcdata->ctell_counter], format);
channels.c: ch->pcdata->ctell_counter++;
channels.c: if (ch->pcdata->ctell_counter > 14)
channels.c: ch->pcdata->ctell_counter = 0;
channels.c: sprintf (format, "%s%10s > %s%s%s\x1B[37;0m", ch->pcdata->chan_color[channel],NAME(ch),
channels.c: if (ch->pcdata->ignore[k])
channels.c: sprintf (general_use, "+= %s =+\n\r", ch->pcdata->ignore[k]);
channels.c: if (ch->pcdata->ignore[k] && !str_cmp (ch->pcdata->ignore[k], argy))
channels.c: free_string (ch->pcdata->ignore[k]);
channels.c: ch->pcdata->ignore[k] = NULL;
channels.c: if (!ch->pcdata->ignore[k])
channels.c: ch->pcdata->ignore[k] = str_dup (capitalize (argy));
channels.c: if (!ch->pcdata->ignore[k])
channels.c: if (!str_prefix (ch->pcdata->ignore[k], NAME (victim)))
channels.c: if (IS_PLAYER(ch) && IS_SET(ch->pcdata->act2, PLR_SILENCE)) return;
channels.c: if (IS_MOB (ch) && ch->position == POSITION_SLEEPING)
channels.c: if (IS_SET (ch->in_room->room_flags, ROOM_SILENCE))
channels.c: (IS_MOB (ch) ? "\x1B[1;37m" : color_table[ch->pcdata->colors[COLOR_SAY]].code), verb,
channels.c: if (ch->desc != NULL)
channels.c: sprintf (buf, "%s says (%d): %s\n", NAME (ch), ch->in_room->vnum, conv);
channels.c: if (ch->in_room->vnum == tr->attached_to_room)
channels.c: s->room = ch->in_room;
channels.c: check_room_more (ch->in_room);
channels.c: for (mob = ch->in_room->more->people; mob != NULL; mob = mob->next_in_room)
channels.c: switch (ch->pIndexData->mobtype)
channels.c: /* if not arguments, then list back the last ch->pcdata->tell_counter tells */
channels.c: j = ch->position;
channels.c: ch->position = POSITION_STANDING;
channels.c: for (i = ch->pcdata->tell_counter + 1; i != ch->pcdata->tell_counter; i++)
channels.c: if (ch->pcdata->last_tells[i])
channels.c: act (ch->pcdata->last_tells[i], ch, NULL, ch, TO_CHAR);
channels.c: ch->position = j;
channels.c: if (IS_SET (ch->in_room->room_flags, ROOM_SILENCE))
channels.c: if (IS_PLAYER (ch) && ch->pcdata->quiet)
channels.c: || (IS_MOB (victim) && victim->in_room != ch->in_room) ||
channels.c: (IS_MOB (ch) ? "$7" : color_table[ch->pcdata->colors[COLOR_TELL]].act_code),
channels.c: position = ch->position;
channels.c: ch->position = POSITION_STANDING;
channels.c: ch->position = position;
channels.c: if (ch->pcdata->last_tells[ch->pcdata->tell_counter])
channels.c: free (ch->pcdata->last_tells[ch->pcdata->tell_counter]);
channels.c: ch->pcdata->last_tells[ch->pcdata->tell_counter] = malloc (strlen (buf) + 1);
channels.c: strcpy (ch->pcdata->last_tells[ch->pcdata->tell_counter], buf);
channels.c: ch->pcdata->tell_counter++;
channels.c: if (ch->pcdata->tell_counter > 14)
channels.c: ch->pcdata->tell_counter = 0;
channels.c: if ((victim = ch->ced->reply) == NULL || (DIFF_ALIGN(ch, victim) &&
channels.c: (IS_MOB (ch) ? "$7" : color_table[ch->pcdata->colors[COLOR_TELL]].act_code),
channels.c: position = ch->position;
channels.c: ch->position = POSITION_STANDING;
channels.c: ch->position = position;
channels.c: if (ch->pcdata->last_tells[ch->pcdata->tell_counter])
channels.c: free (ch->pcdata->last_tells[ch->pcdata->tell_counter]);
channels.c: ch->pcdata->last_tells[ch->pcdata->tell_counter] = malloc (strlen (buf) + 1);
channels.c: strcpy (ch->pcdata->last_tells[ch->pcdata->tell_counter], buf);
channels.c: ch->pcdata->tell_counter++;
channels.c: if (ch->pcdata->tell_counter > 14)
channels.c: ch->pcdata->tell_counter = 0;
channels.c: if (!ch->pcdata->quiet)
channels.c: ch->pcdata->quiet = 1;
channels.c: ch->pcdata->quiet = 0;
channels.c: if (!ch->in_room) return;
channels.c: check_room_more(ch->in_room);
channels.c: if (IS_SET (ch->in_room->room_flags, ROOM_SILENCE))
channels.c: for (rch = ch->in_room->more->people; rch != NULL; rch = rch->next_in_room)
channels.c: j = ch->position;
channels.c: ch->position = POSITION_STANDING;
channels.c: for (i = ch->pcdata->gtell_counter + 1; i != ch->pcdata->gtell_counter; i++)
channels.c: if (ch->pcdata->last_gtells[i])
channels.c: act (ch->pcdata->last_gtells[i], ch, NULL, ch, TO_CHAR);
channels.c: ch->position = j;
channels.c: (IS_MOB (ch) ? "\x1B[37;0m" : color_table[ch->pcdata->colors[COLOR_TELL]].code),
channels.c: oldpos = ch->position;
channels.c: ch->position = POSITION_STANDING;
channels.c: ch->position = oldpos;
channels.c: for (gch = char_list; gch != NULL; gch = gch->next)
channels.c: (IS_MOB (gch) ? "\x1B[37;0m" : color_table[gch->pcdata->colors[COLOR_TELL]].code),
channels.c: position = gch->position;
channels.c: gch->position = POSITION_STANDING;
channels.c: (IS_MOB (gch) ? "\x1B[37;0m" : color_table[gch->pcdata->colors[COLOR_TELL]].code),
channels.c: if (gch->pcdata->last_gtells[gch->pcdata->gtell_counter])
channels.c: free (gch->pcdata->last_gtells[gch->pcdata->gtell_counter]);
channels.c: gch->pcdata->last_gtells[gch->pcdata->gtell_counter] = malloc (strlen (buf) + 1);
channels.c: strcpy (gch->pcdata->last_gtells[gch->pcdata->gtell_counter], buf);
channels.c: gch->pcdata->gtell_counter++;
channels.c: if (gch->pcdata->gtell_counter > 14)
channels.c: gch->pcdata->gtell_counter = 0;
channels.c: gch->position = position;
channels.c: (IS_MOB (ch) ? "\x1B[37;0m" : color_table[ch->pcdata->colors[COLOR_TELL]].code),
channels.c: if (ch->pcdata->last_gtells[ch->pcdata->gtell_counter])
channels.c: free (ch->pcdata->last_gtells[ch->pcdata->gtell_counter]);
channels.c: ch->pcdata->last_gtells[ch->pcdata->gtell_counter] = malloc (strlen (buf) + 1);
channels.c: strcpy (ch->pcdata->last_gtells[ch->pcdata->gtell_counter], buf);
channels.c: ch->pcdata->gtell_counter++;
channels.c: if (ch->pcdata->gtell_counter > 14)
channels.c: ch->pcdata->gtell_counter = 0;
char.c: ch->data_type = K_CHAR;
char.c: ch->desc = NULL;
char.c: ch->ced = NULL;
char.c: ch->in_room = NULL;
char.c: ch->gen_next = NULL;
char.c: ch->data_type = K_CHAR;
char.c: ch->armor = 100;
char.c: ch->position = POSITION_STANDING;
char.c: ch->next_fighting = NULL;
char.c: ch->exp = 0;
char.c: ch->height = -1;
char.c: ch->special = 0;
char.c: ch->pIndexData = NULL;
char.c: ch->affected = NULL;
char.c: ch->timer = -1;
char.c: ch->wait = 0;
char.c: ch->affected_by = 0;
char.c: ch->more_affected_by = 0;
char.c: ch->act = 0;
char.c: ch->copper = 0;
char.c: ch->gold = 0;
char.c: ch->position = POSITION_STANDING;
char.c: ch->carrying = NULL;
char.c: ch->hold1 = NULL;
char.c: ch->hold2 = NULL;
char.c: ch->hitroll = 0;
char.c: ch->damroll = 0;
char.c: ch->hit = 20;
char.c: ch->max_hit = 20;
char.c: ch->move = 70;
char.c: ch->max_move = 70;
clan.c: ClanData = (CLAN_DATA *) ch->desc->pEdit;
clan.c: if (ch->fgt->attacker_turn)
clan.c: ch->desc->pEdit = NULL;
clan.c: ch->desc->connected = CON_PLAYING;
clan.c: if (str_cmp (ch->pcdata->name, ClanData->leader))
clan.c: if (str_cmp (ch->pcdata->name, ClanData->leader))
clan.c: ch->pcdata->clan = -1;
clan.c: if (ClanData->alignment != ch->pcdata->alignment)
climb.c: in_room = ch->in_room;
climb.c: move -= ch->pcdata->carry_number - get_curr_str (ch);
climb.c: if (ch->move < move)
climb.c: fch_next = fch->next_in_room;
climb.c: if (IS_SET (fch->act, PLR_HOLYLIGHT))
climb.c: else if (IS_MOB (ch) && IS_SET (ch->act, ACT_SCRAMBLE))
climb.c: if (MOUNTED_BY (ch) != NULL && ch->in_room != MOUNTED_BY (ch)->in_room)
climb.c: fch_next = fch->next_in_room;
climb.c: if (IS_SET (fch->act, PLR_HOLYLIGHT))
climb.c: else if (IS_MOB (ch) && IS_SET (ch->act, ACT_SCRAMBLE))
climb.c: fch_next = fch->next_in_room;
climb.c: if (MASTER (fch) == ch && fch->position >= POSITION_STANDING)
comm.c: for (obj = ch->carrying; obj != NULL; obj = obj_next)
comm.c: ch->carrying = NULL;
comm.c: ch->pcdata->storage[i] = NULL;
comm.c: ch->pcdata->learned[i] = -100;
comm.c: if (FIGHTING (ch) == NULL && ch->position == POSITION_FIGHTING)
comm.c: ch->pcdata->tickcounts = 0;
comm.c: ch->wait = 0;
comm.c: ch->pcdata->speedwalk = 0;
comm.c: ch->pcdata->auction_count = 0;
comm.c: if (--ch->pcdata->tickcounts <= 0)
comm.c: ch->pcdata->tickcounts = 0;
comm.c: if (--ch->pcdata->auction_count <= 0)
comm.c: ch->pcdata->auction_count = 0;
comm.c: if (--ch->pcdata->speedwalk <= 0)
comm.c: ch->pcdata->speedwalk = 0;
comm.c: if (--ch->wait <= 0)
comm.c: ch->wait = 0;
comm.c: if (ch->in_room && ch->pcdata->tickcounts < 1)
comm.c: if (ch->position == POSITION_CASTING && ch->pcdata->temp)
comm.c: ch->wait = 0;
comm.c: do_actual_cast (ch, ch->pcdata->temp->temp_string);
comm.c: else if (ch->position == POSITION_CHARGING && ch->pcdata->temp)
comm.c: ch->wait = 0;
comm.c: do_actual_charge (ch, ch->pcdata->temp->temp_string);
comm.c: else if (ch->position == POSITION_CIRCLE)
comm.c: else if (ch->position == POSITION_INVEST && ch->pcdata->temp)
comm.c: do_actual_investigate (ch, ch->pcdata->temp->temp_string);
comm.c: else if (ch->position == POSITION_BACKSTAB && ch->pcdata->temp)
comm.c: do_actual_backstab (ch, ch->pcdata->temp->temp_string);
comm.c: ch->wait = 8;
comm.c: else if (ch->position == POSITION_SEARCHING && ch->pcdata->temp)
comm.c: do_actual_search (ch, ch->pcdata->temp->temp_string);
comm.c: else if (ch->position == POSITION_SHOOTING && ch->pcdata->temp)
comm.c: do_actual_shoot (ch, ch->pcdata->temp->temp_string);
comm.c: else if (ch->position == POSITION_MINING)
comm.c: if (ch->pcdata->voting_on == 999)
comm.c: ch->pcdata->voting_on = 10;
comm.c: if (ch->pcdata->voting_on == 998)
comm.c: ch->pcdata->voting_on = 11;
comm.c: if (FIGHTING (ch) == NULL && ch->position == POSITION_FIGHTING)
comm.c: if (ch && ch->pcdata && ch->pcdata->tickcounts > 0)
comm.c: switch (ch->position)
comm.c: ch->pcdata->tickcounts = 0;
comm.c: ch->pcdata->tickcounts = 0;
comm.c: ch->pcdata->tickcounts = 0;
comm.c: ch->pcdata->tickcounts = 0;
comm.c: ch->pcdata->tickcounts = 0;
comm.c: ch->pcdata->tickcounts = 0;
comm.c: if ((ch = dclose->character) != NULL && dclose->descriptor > 0 && ch->data_type != 50)
comm.c: sprintf (log_buf, "Closing link to %s.", ch->pcdata->name);
comm.c: ch->desc = NULL;
comm.c: ch->desc = NULL;
comm.c: for (tch = char_list; tch != NULL; tch = tch->next)
comm.c: if (IS_SET (ch->pcdata->act2, PLR_BLANK) || !ch)
comm.c: if (ch && IS_SET (ch->pcdata->act2, PLR_PROMPT) &&
comm.c: ch->pcdata->nat_armor = 100;
comm.c: ch->affected_by = 0;
comm.c: ch->pcdata->nat_abilities = 0;
comm.c: ch->pcdata->nat_abilities2 = 0;
comm.c: ch->pcdata->augments = 0;
comm.c: ch->pcdata->stat[i] = 0;
comm.c: ch->pcdata->stat_mod[i] = 0;
comm.c: ch->pcdata->alignment = 0;
comm.c: ch->pcdata->race = 0;
comm.c: ch->height = 0;
comm.c: ch->pcdata->stat[i] = 0;
comm.c: ch->pcdata->stat_mod[i] = 0;
comm.c: ch->pcdata->stat[j] = 0;
comm.c: ch->pcdata->stat_mod[j] = 0;
comm.c: ch->pcdata->stat_mod[k] +=
comm.c: ch->pcdata->nat_armor = race_info[ch->pcdata->race].natarmor;
comm.c: ch->pcdata->nat_abilities = race_info[ch->pcdata->race].affect_bits;
comm.c: ch->pcdata->nat_abilities2 = race_info[ch->pcdata->race].affect_bits2;
comm.c: ch->pcdata->augments = race_info[ch->pcdata->race].nat_augments;
comm.c: ch->pcdata->alignment = race_info[ch->pcdata->race].start_room -100;
comm.c: ch->pcdata->stat[i] = ch->pcdata->stat_mod[i] + race_info[ch->pcdata->race].bonus[i] + align_info[ch->pcdata->alignment].bonus[i];
comm.c: ch->pcdata->stat_mod[i] = 0;
comm.c: if (ch->pcdata->stat[i] > 23) {
comm.c: ch->pcdata->stat[i] = 23;
comm.c: if (i+1 < NUM_STATS) ch->pcdata->stat[i+1]++;
comm.c: if (ch->pcdata->stat[i] > 24) {
comm.c: ch->pcdata->stat[i] = 24;
comm.c: if (i+1 < NUM_STATS) ch->pcdata->stat[i+1]++;
comm.c: ch->pcdata->start_stat[i] = ch->pcdata->stat[i];
comm.c: if (!IS_SET (ch->pcdata->act2, PLR_ANSI))
comm.c: ch->pcdata->act2 = PLR_AUTOGOLD | PLR_AUTOLOOT | PLR_AUTOEXIT | PLR_ASSIST | PLR_AUTOSPLIT | PLR_BLANK | PLR_COMBINE | PLR_PROMPT | PLR_AUTOSCAN;
comm.c: ch->pcdata->act2 = PLR_AUTOGOLD | PLR_AUTOLOOT | PLR_AUTOEXIT | PLR_ASSIST | PLR_AUTOSPLIT | PLR_BLANK | PLR_COMBINE | PLR_PROMPT | PLR_AUTOSCAN | PLR_ANSI;
comm.c: ch->pcdata->temp_room = get_room_index (race_info[ch->pcdata->race].start_room);
comm.c: ch->pcdata->level = 0;
comm.c: if ((IS_SET(d->act, DESC_WRONG_PWD) || pow.validation) && !IS_SET (ch->act, ACT_UNVAL))
comm.c: ch->act |= ACT_UNVAL;
comm.c: sprintf (buf, "the %s Adventurer", race_info[ch->pcdata->race].name);
comm.c: ch->pcdata->n_mana = ch->pcdata->n_max_mana;
comm.c: if (!ch->pcdata->pwd || ch->pcdata->pwd[0] == '\0' || ch->pcdata->pwd == "") {
comm.c: /* if (strcmp (argy, ch->pcdata->pwd) && */
comm.c: if (strcmp(argy,ch->pcdata->rpwd)) { /* JRAJRA */
comm.c: (ch->desc ? ch->desc->username : "nodesc"),(ch->desc ? ch->desc->host : "nodesc"), NAME(ch));
comm.c: if (ch->pcdata->rpwd != NULL) free_string(ch->pcdata->rpwd);
comm.c: ch->pcdata->rpwd = str_dup(argy);
comm.c: if (ch->desc && ch->desc->host[29] != 1 ) {
comm.c: write_to_buffer (ch->desc, echo_on_str, 0);
comm.c: if (check_reconnect (d, ch->pcdata->name, TRUE)) { /*Player entered NM & PW */
comm.c: if (IS_SET (ch->act, ACT_UNVAL)) {
comm.c: kks = ch->pcdata->pagelen;
comm.c: ch->pcdata->pagelen = 99;
comm.c: ch->pcdata->pagelen = kks;
comm.c: ch->pcdata->stat_mod[i] = 0;
comm.c: ch->pcdata->name, echo_off_str);
comm.c: if (ch->pcdata->pwd)
comm.c: free_string (ch->pcdata->pwd);
comm.c: ch->pcdata->pwd = str_dup (pwdnew);
comm.c: if (ch->pcdata->rpwd)
comm.c: free_string(ch->pcdata->rpwd);
comm.c: ch->pcdata->rpwd = str_dup (argy);
comm.c: if (strcmp (argy, ch->pcdata->pwd) &&
comm.c: strcmp(argy, ch->pcdata->rpwd))
comm.c: if (ch->pcdata->rpwd)
comm.c: free_string(ch->pcdata->rpwd);
comm.c: ch->pcdata->rpwd = str_dup(argy);
comm.c: sprintf (buf2, "New player %s@%s.", ch->pcdata->name, d->host);
comm.c: ch->pcdata->sex = SEX_MALE;
comm.c: ch->pcdata->sex = SEX_FEMALE;
comm.c: ch->pcdata->sex = SEX_NEUTRAL;
comm.c: SET_BIT (ch->pcdata->act2, PLR_TELNET_GA);
comm.c: SET_BIT (ch->pcdata->act2, PLR_ANSI);
comm.c: SET_BIT (ch->pcdata->act2, PLR_ANSI);
comm.c: strcpy (ch->pcdata->email, argy);
comm.c: ch->pcdata->race = iRace;
comm.c: ch->pcdata->alignment = race_info[iRace].start_room -100;
comm.c: ch->pcdata->pray_points = BASE_ROLLING_POINTS-2;
comm.c: ch->pcdata->tmp_str = 15;
comm.c: ch->pcdata->tmp_con = 15;
comm.c: ch->pcdata->tmp_dex = 15;
comm.c: ch->pcdata->tmp_int = 15;
comm.c: ch->pcdata->tmp_wis = 15;
comm.c: if (ch->pcdata->pray_points>0 && ch->pcdata->tmp_str < 24 && ch->pcdata->tmp_str < race_info[ch->pcdata->race].limits[0])
comm.c: ch->pcdata->tmp_str++;
comm.c: ch->pcdata->pray_points--;
comm.c: if (ch->pcdata->pray_points>0 && ch->pcdata->tmp_con < 24 && ch->pcdata->tmp_con < race_info[ch->pcdata->race].limits[4])
comm.c: ch->pcdata->tmp_con++;
comm.c: ch->pcdata->pray_points--;
comm.c: if (ch->pcdata->pray_points>0 && ch->pcdata->tmp_dex < 24 && ch->pcdata->tmp_dex < race_info[ch->pcdata->race].limits[3])
comm.c: ch->pcdata->tmp_dex++;
comm.c: ch->pcdata->pray_points--;
comm.c: if (ch->pcdata->pray_points>0 && ch->pcdata->tmp_int < 24 && ch->pcdata->tmp_int < race_info[ch->pcdata->race].limits[1])
comm.c: ch->pcdata->tmp_int++;
comm.c: ch->pcdata->pray_points--;
comm.c: if (ch->pcdata->pray_points>0 && ch->pcdata->tmp_wis < 24 && ch->pcdata->tmp_wis < race_info[ch->pcdata->race].limits[2])
comm.c: ch->pcdata->tmp_wis++;
comm.c: ch->pcdata->pray_points--;
comm.c: if (ch->pcdata->tmp_str>3)
comm.c: ch->pcdata->tmp_str--;
comm.c: ch->pcdata->pray_points++;
comm.c: if (ch->pcdata->tmp_con>3)
comm.c: ch->pcdata->tmp_con--;
comm.c: ch->pcdata->pray_points++;
comm.c: if(ch->pcdata->tmp_dex>3)
comm.c: ch->pcdata->tmp_dex--;
comm.c: ch->pcdata->pray_points++;
comm.c: if(ch->pcdata->tmp_int>3)
comm.c: ch->pcdata->tmp_int--;
comm.c: ch->pcdata->pray_points++;
comm.c: if(ch->pcdata->tmp_wis>3)
comm.c: ch->pcdata->tmp_wis--;
comm.c: ch->pcdata->pray_points++;
comm.c: tmp_stats[0] = ch->pcdata->tmp_str;
comm.c: tmp_stats[4] = ch->pcdata->tmp_con;
comm.c: tmp_stats[3] = ch->pcdata->tmp_dex;
comm.c: tmp_stats[1] = ch->pcdata->tmp_int;
comm.c: tmp_stats[2] = ch->pcdata->tmp_wis;
comm.c: ch->pcdata->nat_armor = race_info[ch->pcdata->race].natarmor;
comm.c: ch->pcdata->nat_abilities = race_info[ch->pcdata->race].affect_bits;
comm.c: ch->pcdata->nat_abilities2 = race_info[ch->pcdata->race].affect_bits2;
comm.c: ch->pcdata->augments = race_info[ch->pcdata->race].nat_augments;
comm.c: ch->pcdata->alignment = race_info[ch->pcdata->race].start_room -100;
comm.c: /* ch->pcdata->stat[i] = ch->pcdata->stat_mod[i]
comm.c: + race_info[ch->pcdata->race].bonus[i]
comm.c: + align_info[ch->pcdata->alignment].bonus[i]
comm.c: ch->pcdata->stat[i] = tmp_stats[i];
comm.c: ch->pcdata->stat_mod[i] = 0;
comm.c: ch->pcdata->start_stat[i] = ch->pcdata->stat[i];
comm.c: if (!IS_SET (ch->pcdata->act2, PLR_ANSI))
comm.c: ch->pcdata->act2 = PLR_AUTOGOLD | PLR_AUTOLOOT | PLR_AUTOEXIT | PLR_ASSIST | PLR_AUTOSPLIT | PLR_BLANK | PLR_COMBINE | PLR_PROMPT | PLR_AUTOSCAN;
comm.c: ch->pcdata->act2 = PLR_AUTOGOLD | PLR_AUTOLOOT | PLR_AUTOEXIT | PLR_ASSIST | PLR_AUTOSPLIT | PLR_BLANK | PLR_COMBINE | PLR_PROMPT | PLR_AUTOSCAN | PLR_ANSI;
comm.c: ch->pcdata->temp_room = get_room_index (race_info[ch->pcdata->race].start_room);
comm.c: ch->pcdata->level = 0;
comm.c: if ((IS_SET(d->act, DESC_WRONG_PWD) || pow.validation) && !IS_SET (ch->act, ACT_UNVAL))
comm.c: ch->act |= ACT_UNVAL;
comm.c: sprintf (buf, "the %s Adventurer", race_info[ch->pcdata->race].name);
comm.c: ch->pcdata->n_mana = ch->pcdata->n_max_mana;
comm.c: ch->pcdata->pray_points = BASE_ROLLING_POINTS + (4 * ch->pcdata->ascend_times);
comm.c: ch->pcdata->tmp_str = 15;
comm.c: ch->pcdata->tmp_con = 15;
comm.c: ch->pcdata->tmp_dex = 15;
comm.c: ch->pcdata->tmp_int = 15;
comm.c: ch->pcdata->tmp_wis = 15;
comm.c: if (ch->pcdata->pray_points>0 && ch->pcdata->tmp_str < 26 && ch->pcdata->tmp_str < race_info[ch->pcdata->race].limits[0])
comm.c: ch->pcdata->tmp_str++;
comm.c: ch->pcdata->pray_points--;
comm.c: if (ch->pcdata->pray_points>0 && ch->pcdata->tmp_con < 26 && ch->pcdata->tmp_con < race_info[ch->pcdata->race].limits[4])
comm.c: ch->pcdata->tmp_con++;
comm.c: ch->pcdata->pray_points--;
comm.c: if (ch->pcdata->pray_points>0 && ch->pcdata->tmp_dex < 26 && ch->pcdata->tmp_dex < race_info[ch->pcdata->race].limits[3])
comm.c: ch->pcdata->tmp_dex++;
comm.c: ch->pcdata->pray_points--;
comm.c: if (ch->pcdata->pray_points>0 && ch->pcdata->tmp_int < 26 && ch->pcdata->tmp_int < race_info[ch->pcdata->race].limits[1])
comm.c: ch->pcdata->tmp_int++;
comm.c: ch->pcdata->pray_points--;
comm.c: if (ch->pcdata->pray_points>0 && ch->pcdata->tmp_wis < 26 && ch->pcdata->tmp_wis < race_info[ch->pcdata->race].limits[2])
comm.c: ch->pcdata->tmp_wis++;
comm.c: ch->pcdata->pray_points--;
comm.c: if (ch->pcdata->tmp_str>3)
comm.c: ch->pcdata->tmp_str--;
comm.c: ch->pcdata->pray_points++;
comm.c: if (ch->pcdata->tmp_con>3)
comm.c: ch->pcdata->tmp_con--;
comm.c: ch->pcdata->pray_points++;
comm.c: if(ch->pcdata->tmp_dex>3)
comm.c: ch->pcdata->tmp_dex--;
comm.c: ch->pcdata->pray_points++;
comm.c: if(ch->pcdata->tmp_int>3)
comm.c: ch->pcdata->tmp_int--;
comm.c: ch->pcdata->pray_points++;
comm.c: if(ch->pcdata->tmp_wis>3)
comm.c: ch->pcdata->tmp_wis--;
comm.c: ch->pcdata->pray_points++;
comm.c: if(ch->pcdata->pray_points == 0) {
comm.c: tmp_stats[0] = ch->pcdata->tmp_str;
comm.c: tmp_stats[4] = ch->pcdata->tmp_con;
comm.c: tmp_stats[3] = ch->pcdata->tmp_dex;
comm.c: tmp_stats[1] = ch->pcdata->tmp_int;
comm.c: tmp_stats[2] = ch->pcdata->tmp_wis;
comm.c: ch->pcdata->nat_armor = race_info[ch->pcdata->race].natarmor;
comm.c: ch->pcdata->nat_abilities = race_info[ch->pcdata->race].affect_bits;
comm.c: ch->pcdata->nat_abilities2 = race_info[ch->pcdata->race].affect_bits2;
comm.c: ch->pcdata->augments = race_info[ch->pcdata->race].nat_augments;
comm.c: //ch->pcdata->alignment = race_info[ch->pcdata->race].start_room -100;
comm.c: /* ch->pcdata->stat[i] = ch->pcdata->stat_mod[i]
comm.c: + race_info[ch->pcdata->race].bonus[i]
comm.c: + align_info[ch->pcdata->alignment].bonus[i]
comm.c: ch->pcdata->stat[i] = tmp_stats[i];
comm.c: ch->pcdata->stat_mod[i] = 0;
comm.c: ch->pcdata->start_stat[i] = ch->pcdata->stat[i];
comm.c: //if (!IS_SET (ch->pcdata->act2, PLR_ANSI))
comm.c: // ch->pcdata->act2 = PLR_AUTOGOLD | PLR_AUTOLOOT | PLR_AUTOEXIT | PLR_ASSIST | PLR_AUTOSPLIT | PLR_BLANK | PLR_COMBINE | PLR_PROMPT | PLR_AUTOSCAN;
comm.c: // ch->pcdata->act2 = PLR_AUTOGOLD | PLR_AUTOLOOT | PLR_AUTOEXIT | PLR_ASSIST | PLR_AUTOSPLIT | PLR_BLANK | PLR_COMBINE | PLR_PROMPT | PLR_AUTOSCAN | PLR_ANSI;
comm.c: ch->pcdata->temp_room = get_room_index (race_info[ch->pcdata->race].start_room);
comm.c: ch->pcdata->level = 0;
comm.c: //if ((IS_SET(d->act, DESC_WRONG_PWD) || pow.validation) && !IS_SET (ch->act, ACT_UNVAL))
comm.c: // ch->act |= ACT_UNVAL;
comm.c: sprintf (buf, "the Ascended %s", race_info[ch->pcdata->race].name);
comm.c: ch->pcdata->n_mana = ch->pcdata->n_max_mana;
comm.c: if (ch->pcdata->stat[WIS] == 0)
comm.c: ch->pcdata->nat_armor = 100;
comm.c: ch->affected_by = 0;
comm.c: ch->pcdata->nat_abilities = 0;
comm.c: ch->pcdata->nat_abilities2 = 0;
comm.c: ch->pcdata->augments = 0;
comm.c: ch->pcdata->stat[i] = 0;
comm.c: ch->pcdata->stat_mod[i] = 0;
comm.c: ch->height = 0;
comm.c: ch->pcdata->stat[i] = 0;
comm.c: ch->pcdata->stat_mod[i] = 0;
comm.c: SET_BIT (ch->pcdata->act2, PLR_HARDCORE);
comm.c: sprintf (log_buf, "%s@%s new player.", ch->pcdata->name, d->host);
comm.c: ch->pcdata->pray_points = -1;
comm.c: ch->pcdata->bank = 50;
comm.c: fprintf (fpp, "Email Address....... '%s'\n", ch->pcdata->email);
comm.c: fprintf (fpp, "Current Site Logon.. '%s'\n", ch->desc->host);
comm.c: if (!str_cmp (playerbase->player_name, ch->pcdata->name))
comm.c: if (!str_cmp (playerbase->email_address, ch->pcdata->email) && playerbase->player_level != -1)
comm.c: ch->pcdata->temp_room = get_room_index (race_info[ch->pcdata->race].start_room);
comm.c: int i=ch->pcdata->pagelen;
comm.c: ch->pcdata->pagelen=100;
comm.c: ch->pcdata->pagelen=i;
comm.c: sprintf (log_buf, "%s@%s ascended.", ch->pcdata->name, d->host);
comm.c: ch->pcdata->pray_points = -1;
comm.c: if (ch->in_room) char_from_room (ch);
comm.c: ch->pcdata->temp_room = get_room_index(100+ch->pcdata->alignment);
comm.c: char_to_room (ch, ch->pcdata->temp_room);
comm.c: for (tch = char_list; tch != NULL; tch = tch->next)
comm.c: ch->next = char_list;
comm.c: if (!str_cmp (ch->pcdata->name, online->name))
comm.c: ch->pcdata->online_spot = online;
comm.c: online_new->name = str_dup(ch->pcdata->name);
comm.c: ch->pcdata->online_spot = online_new;
comm.c: sprintf (buf2, "%s@%s has entered the game.", ch->pcdata->name, d->host);
comm.c: ch->pcdata->voting_on = 0;
comm.c: ch->pcdata->tickcounts = 0;
comm.c: if (ch->position != POSITION_SLEEPING
comm.c: || ch->position != POSITION_RESTING
comm.c: || ch->position != POSITION_STANDING
comm.c: || ch->position != POSITION_MEDITATING)
comm.c: ch->affected_by |= ch->pcdata->nat_abilities;
comm.c: ch->more_affected_by |= ch->pcdata->nat_abilities2;
comm.c: if (ch->pcdata->ignore[k])
comm.c: if (!str_cmp (playerbase->player_name, ch->pcdata->ignore[k]))
comm.c: sprintf (bufnot, "Ignore -= %s =- not found in playerbase; removing.\n\r", ch->pcdata->ignore[k]);
comm.c: free_string (ch->pcdata->ignore[k]);
comm.c: ch->pcdata->ignore[k] = NULL;
comm.c: playerbase->player_last_login = (int) ch->pcdata->logon;
comm.c: playerbase->player_align = ch->pcdata->alignment;
comm.c: playerbase->player_level = (ch->pcdata->level);
comm.c: strcpy (playerbase->email_address, ch->pcdata->email);
comm.c: playerbase->player_remort_times = ch->pcdata->remort_times;
comm.c: playerbase->player_created = ch->pcdata->created;
comm.c: strcpy (playerbase->email_address, ch->pcdata->email);
comm.c: playerbase->player_last_login = (int) ch->pcdata->logon;
comm.c: playerbase->player_align = ch->pcdata->alignment;
comm.c: playerbase->player_level = ch->pcdata->level;
comm.c: playerbase->player_remort_times = ch->pcdata->remort_times;
comm.c: if (ch->in_room)
comm.c: if (ch->pcdata->temp_room == NULL)
comm.c: ch->pcdata->temp_room = get_room_index(100+ch->pcdata->alignment);
comm.c: if(ch->pcdata->temp_room->vnum > 500 && ch->pcdata->temp_room->vnum < 510)
comm.c: ch->pcdata->temp_room = get_room_index (100+ch->pcdata->alignment);
comm.c: char_to_room (ch, ch->pcdata->temp_room);
comm.c: ch->pcdata->level = 1;
comm.c: ch->pcdata->created = current_time;
comm.c: if (CHALLENGE (ch) != 10 && ch->in_room && ch->in_room->vnum < 1000)
comm.c: char_to_room(ch, ch->pcdata->temp_room);
comm.c: ch->pcdata->clan = clan_number(ch);
comm.c: ch->pcdata->clan2 = clan_number_2(ch);
comm.c: ch->pcdata->pet_temp[uui] = 0;
comm.c: if (is_note_to (ch, pnote) && str_cmp (ch->pcdata->name, pnote->sender) && pnote->date_stamp > ch->pcdata->last_note)
comm.c: if (is_note_to (ch, pnote) && str_cmp (ch->pcdata->name, pnote->sender) && pnote->date_stamp > ch->pcdata->last_note && pnote->board_num == 1)
comm.c: for (cch = char_list; cch != NULL; cch = cch->next)
comm.c: if ((cch->pcdata->alignment == ch->pcdata->alignment && str_cmp(ch->pcdata->name,cch->pcdata->name)) || IS_IMMORTAL(cch))
comm.c: if(ch->pcdata->alignment == 1)
comm.c: sprintf(buf,"\n\r\x1b[0;31mThe forces of evil strengthen as \x1B[32;0m%s\x1B[0;37m\x1b[0;31m steps from the shadows.\x1b[0;37m\n\r",ch->pcdata->name);
comm.c: else if(ch->pcdata->alignment == 2)
comm.c: sprintf(buf,"\n\r\x1b[1;37mThe forces of good strengthen as \x1B[32;0m%s\x1B[0;37m\x1b[1;37m emerges from a beam of light.\x1b[0;37m\n\r",ch->pcdata->name);
comm.c: else if(ch->pcdata->alignment == 0)
comm.c: sprintf(buf, "\n\r\x1b[1;37mThe \x1b[0;34mp\x1b[1;34mr\x1b[0;36mo\x1b[1;36mt\x1b[1;37me\x1b[1;36mc\x1b[0;36mt\x1b[1;34me\x1b[0;34md\x1b[1;37m forces become stronger as \x1b[1;36m%s\x1b[1;37m emerges from a beam of light.\x1b[0;37m\n\r",ch->pcdata->name);
comm.c: else if(!str_cmp(ch->pcdata->name,"Bern") && str_cmp(cch->pcdata->name,ch->pcdata->name))
comm.c: for (ch = char_list; ch != NULL; ch = ch->next)
comm.c: || ch->desc == NULL
comm.c: || ch->desc->connected != CON_PLAYING
comm.c: || (ch->ced && ch->ced->was_in_room == NULL))
comm.c: ch->timer = 0;
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 || !txt)
comm.c: free_string (ch->desc->showstr_head);
comm.c: ch->desc->showstr_head = add_color (txt);
comm.c: ch->desc->showstr_point = ch->desc->showstr_head;
comm.c: show_string (ch->desc, "");
comm.c: if (txt == NULL || ch->desc == NULL || !txt)
comm.c: free_string (ch->desc->showstr_head);
comm.c: ch->desc->showstr_head = add_color_limited (txt);
comm.c: ch->desc->showstr_point = ch->desc->showstr_head;
comm.c: show_string (ch->desc, "");
comm.c: race_info[ch->pcdata->race].name);
comm.c: race_info[ch->pcdata->race].limits[STR],ch->pcdata->tmp_str);
comm.c: race_info[ch->pcdata->race].limits[CON],ch->pcdata->tmp_con);
comm.c: race_info[ch->pcdata->race].limits[DEX],ch->pcdata->tmp_dex);
comm.c: race_info[ch->pcdata->race].limits[INT],ch->pcdata->tmp_int);
comm.c: race_info[ch->pcdata->race].limits[WIS],ch->pcdata->tmp_wis);
comm.c: ch->pcdata->pray_points);
config.c: if (IS_SET (ch->pcdata->act2, PLR_BLANK))
config.c: if (IS_PLAYER (ch) && IS_SET (ch->act, PLR_SILENCE))
config.c: send_to_char (!IS_SET (ch->pcdata->deaf, CHANNEL_AUCTION)
config.c: send_to_char (!IS_SET (ch->pcdata->deaf, CHANNEL_YELL)
config.c: REMOVE_BIT (ch->pcdata->deaf, bit);
config.c: SET_BIT (ch->pcdata->deaf, bit);
config.c: if (IS_SET (ch->ced->fight_ops, F_JUJI))
config.c: if (IS_SET (ch->ced->fight_ops, F_CHOKE))
config.c: if (IS_SET (ch->ced->fight_ops, F_BITE))
config.c: if (IS_SET (ch->ced->fight_ops, F_ELBOW))
config.c: if (IS_SET (ch->ced->fight_ops, F_KNEE))
config.c: if (IS_SET (ch->ced->fight_ops, F_HEADBUTT))
config.c: if (IS_SET (ch->ced->fight_ops, F_POWER))
config.c: if (IS_SET (ch->ced->fight_ops, F_AGGRESSIVE))
config.c: if (IS_SET (ch->ced->fight_ops, F_GROUND))
config.c: ch->ced->fight_ops ^= F_JUJI;
config.c: ch->ced->fight_ops ^= F_HEADBUTT;
config.c: ch->ced->fight_ops ^= F_ELBOW;
config.c: ch->ced->fight_ops ^= F_KNEE;
config.c: ch->ced->fight_ops ^= F_BITE;
config.c: ch->ced->fight_ops ^= F_CHOKE;
config.c: if (IS_SET(ch->ced->fight_ops, F_AGGRESSIVE))
config.c: ch->damroll -=2;
config.c: ch->damroll +=2;
config.c: ch->ced->fight_ops ^= F_AGGRESSIVE;
config.c: if (IS_SET(ch->ced->fight_ops, F_POWER))
config.c: ch->damroll -=1;
config.c: ch->damroll +=1;
config.c: ch->ced->fight_ops ^= F_POWER;
config.c: ch->ced->fight_ops ^= F_GROUND;
config.c: if (ch->pcdata->learned[gsn_stance1] < 68)
config.c: if (ch->pcdata->stance == 0)
config.c: if (ch->pcdata->stance == 1)
config.c: if (ch->pcdata->stance == 2)
config.c: if (ch->pcdata->stance == 3)
config.c: if (ch->pcdata->stance == 4)
config.c: if (ch->pcdata->stance == 5)
config.c: if (ch->pcdata->stance == 6)
config.c: if (ch->pcdata->stance == 7)
config.c: if (ch->pcdata->stance == 8)
config.c: ch->pcdata->stance = 0;
config.c: ch->pcdata->stance = 1;
config.c: ch->pcdata->stance = 2;
config.c: ch->pcdata->stance = 3;
config.c: else if (!strcmp(argy, "tiger") && ch->pcdata->race > 11)
config.c: ch->pcdata->stance = 4;
config.c: else if (!strcmp(argy, "mongoose") && ch->pcdata->race > 11)
config.c: ch->pcdata->stance = 5;
config.c: else if (!strcmp(argy, "bear") && ch->pcdata->race > 11)
config.c: ch->pcdata->stance = 6;
config.c: else if (!strcmp(argy, "dragon") && ch->pcdata->level > 79
config.c: && ch->pcdata->race > 11)
config.c: ch->pcdata->stance = 7;
config.c: else if (!strcmp(argy, "crane") && ch->pcdata->level > 79
config.c: && ch->pcdata->race > 11)
config.c: ch->pcdata->stance = 8;
config.c: if (wimpy > (ch->max_hit / 3))
config.c: ch->ced->wimpy = wimpy;
config.c: if (IS_SET (ch->pcdata->act2, PLR_BRIEF))
config.c: ch->pcdata->pagelen = lines;
config.c: if (ch->pcdata->rprompt)
config.c: free_string (ch->pcdata->rprompt);
config.c: ch->pcdata->rprompt = str_dup (argy);
config.c: if (!IS_SET (ch->pcdata->act2, PLR_PROMPT))
config.c: SET_BIT (ch->pcdata->act2, PLR_PROMPT);
config.c: REMOVE_BIT (ch->pcdata->act2, PLR_PROMPT);
config.c: if (ch->position == POSITION_GROUNDFIGHTING)
config.c: if (ch->position != POSITION_STANDING)
config.c: ch->fgt->fighting = victim->fgt->fighting;
config.c: if (IS_SET (ch->pcdata->act2, PLR_ANSI))
config.c: p = ch->position;
config.c: ch->position = POSITION_STANDING;
config.c: sprintf (buf, "$R%s", ch->pcdata->chan_color[i]);
config.c: ch->pcdata->chan_color[i]);
config.c: ch->position = p;
config.c: strcpy (ch->pcdata->chan_color[i], argy);
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_PROMPT_UP)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_AUTOEXIT)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_AUTOLOOT)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_AUTOSAC)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_AUTOGOLD)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_AUTOSPLIT)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_AUTOSCAN)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_AUTOBLINK)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_ASSIST)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_BLANK)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_BRIEF)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_COMBINE)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_PROMPT)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_ANSI)
config.c: /* send_to_char( IS_SET(ch->pcdata->act2, PLR_TELNET_GA)
config.c: send_to_char (ch->pcdata->challenge_on
config.c: send_to_char (ch->pcdata->arena_msg == 1
config.c: : (ch->pcdata->arena_msg == 2
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_SILENCE)
config.c: send_to_char (IS_SET (ch->act, PLR_HOLYLIGHT) && IS_IMMORTAL (ch)
config.c: send_to_char (IS_SET (ch->act, PLR_HOLYPEACE) && IS_IMMORTAL (ch)
config.c: send_to_char (IS_SET (ch->pcdata->act2, PLR_HOLYLAG) && IS_IMMORTAL (ch)
config.c: send_to_char (IS_SET (ch->act, PLR_HOLYWALK) && IS_IMMORTAL (ch)
config.c: if (ch->pcdata->challenge_on)
config.c: ch->pcdata->challenge_on = FALSE;
config.c: ch->pcdata->challenge_on = TRUE;
config.c: if (ch->pcdata->arena_msg == 2)
config.c: ch->pcdata->arena_msg = 0;
config.c: else if (ch->pcdata->arena_msg == 1)
config.c: ch->pcdata->arena_msg = 2;
config.c: ch->pcdata->arena_msg = 1;
config.c: SET_BIT (ch->pcdata->act2, bit);
config.c: REMOVE_BIT (ch->pcdata->act2, bit);
config.c: if (IS_SET (ch->pcdata->act2, bit))
config.c: REMOVE_BIT (ch->pcdata->act2, bit);
config.c: SET_BIT (ch->pcdata->act2, bit);
config.c: free_string (ch->pcdata->title);
config.c: ch->pcdata->title = str_dup (buf);
config.c: if (strlen(ch->pcdata->title) > 80)
config.c: free_string (ch->pcdata->title);
config.c: ch->pcdata->title = str_dup ("my title was too long");
config.c: if (IS_SET(ch->act, PLR_LAMER))
config.c: if (IS_SET(ch->act, PLR_LAMER))
config.c: string_append (ch, &ch->pcdata->description);
config.c:/*if (ch->description!=NULL) {
config.c: for (t=ch->description; *t!='\0'; t++) {
config.c: strcpy(tp,ch->description);
config.c: free_string(ch->description);
config.c: ch->description=str_dup(tp);
config.c: free_string( ch->description );
config.c: ch->description = str_dup( buf );
config.c: send_to_char( ch->description ? ch->description : "(None).\n\r", ch );
consid.c: ch_dam += ch->pIndexData->damroll;
consid.c: if (IS_PLAYER(ch) && ch->pcdata->learned[gsn_resilience] > 7)
consid.c: ch_absorb +=(ch->pcdata->learned[gsn_resilience]/4);
consid.c: if (ch->pcdata->learned[571] > 0)
consid.c: ch_attacks += ch->pcdata->learned[571]*3/50 + 1;
consid.c: if (ch->pcdata->learned[gsn_second_attack] > 0)
consid.c: ch_attacks += ch->pcdata->learned[gsn_second_attack]*3/50 + 1;
consid.c: if (ch->pcdata->learned[gsn_third_attack] > 0)
consid.c: ch_attacks += ch->pcdata->learned[gsn_third_attack]/20 + 1;
consid.c: rounds_to_kill_ch = ch->hit * 10/victim_dam;
consid.c: for (attacker = ch->in_room->more->people; attacker !=NULL; attacker = attacker->next_in_room)
consid.c: rounds_to_kill_ch = ch->hit * 10/victim_dam + number_range(0,2);
create.c: if(!ch->in_room) return;
create.c: if (ch->in_room->sector_type != SECT_FOREST &&
create.c: ch->in_room->sector_type != SECT_WOODS &&
create.c: ch->in_room->sector_type != SECT_BRUSH)
create.c: if (!check_skill(ch, gsn_chop) || number_range(1,300) > ch->pcdata->learned[gsn_chop])
create.c: if (ch->pcdata->online_spot->chopped > 200 && LEVEL(ch) < 100)
create.c: if (ch->in_room->minerals <= 0)
create.c: obj_to(log, ch->in_room);
create.c: ch->in_room->minerals--;
create.c: ch->pcdata->online_spot->chopped++;
create.c: if(!ch->in_room) return;
create.c: check_room_more (ch->in_room);
create.c: for(obj = ch->in_room->more->contents; obj != NULL; obj = obj->next_content)
create.c: check_room_more (ch->in_room);
create.c: for(obj = ch->in_room->more->contents; obj != NULL; obj = obj->next_content)
create.c: for(obj = ch->in_room->more->contents; obj != NULL; obj = obj->next_content)
create.c: for(obj = ch->in_room->more->contents; obj != NULL; obj = obj_next)
create.c: for(obj = ch->in_room->more->contents; obj != NULL; obj = obj_next)
create.c: if (!ch->in_room) return;
create.c: check_room_more(ch->in_room);
create.c: for(obj = ch->in_room->more->contents; obj != NULL; obj = obj_next)
create.c: for(obj = ch->in_room->more->contents; obj != NULL; obj = obj->next_content)
create.c: for(obj = ch->in_room->more->contents; obj != NULL; obj = obj_next)
create.c: for(obj = ch->in_room->more->contents; obj != NULL; obj = obj_next)
create.c: if(ch->pcdata->learned[spell[i]->gsn] < pow.max_prac_spells)
create.c: ch->pcdata->tickcounts = number_range(10,45);
create.c: ch->position = POSITION_STANDING;
create.c: if (ch->in_room->sector_type != SECT_MOUNTAIN &&
create.c: ch->in_room->sector_type != SECT_HILLS &&
create.c: ch->in_room->sector_type != SECT_ROCKY &&
create.c: ch->in_room->sector_type != SECT_CANYON &&
create.c: ch->in_room->sector_type < SECT_CAVE)
create.c: if (ch->pcdata->online_spot->mined > 200)
create.c: if (ch->in_room->minerals <= 0)
create.c: ch->in_room->minerals--;
create.c: ch->pcdata->online_spot->mined++;
create.c: if (ch->max_hit < 800)
create.c: if (ch->pcdata->learned[gsn_enchant] < pow.max_prac_skills)
create.c: ch->hit = 1;
create.c: if (ch->pcdata->bank < cost)
create.c: ch->max_hit--;
create.c: ch->pcdata->bank -= cost/10;
create.c: ch->hit = 1;
create.c: ch->max_hit--;
create.c: ch->pcdata->bank -= cost;
create.c: if (number_range(1,220) < ch->pcdata->learned[gsn_lore] && pot_info[potion_number].ingredients[i] > 0)
dam.c: ch->position=nw;
dam.c: if (!ch || ch->data_type==50)
dam.c:ch->hit-=i;
dam.c: if (!ch || ch->data_type==50)
dam.c: ch->move-=i;
dam.c:ch->hit+=i;
dam.c: ch->move+=i;
dam.c: ch->hit=ch->max_hit;
dam.c: ch->move=ch->max_move;
dam2.c: if( IS_MOB(ch) && ch->pIndexData->mobtype == MOB_DUMMY )
dam2.c: if(IS_MOB(ch) && ch->pIndexData->mobtype == MOB_DUMMY) return;
dam2.c: if (!ch->pIndexData->attackname || !str_cmp ("(null)", ch->pIndexData->attackname) || !str_cmp ("N/A", ch->pIndexData->attackname) || ch->pIndexData->attackname == NULL || ch->pIndexData->attackname[0] == ' ')
dam2.c: if (!str_cmp (mob_type_attack (ch->pIndexData->mobtype), "punch") && FIGHTING (ch) != NULL &&
dam2.c: strcpy (bare, mob_type_attack (ch->pIndexData->mobtype));
dam2.c: if (!str_cmp (ch->pIndexData->attackname, "punch") && FIGHTING (ch) != NULL && FIGHTING (ch)->position == POSITION_GROUNDFIGHTING)
dam2.c: strcpy (bare, ch->pIndexData->attackname);
dam2.c: if (victim->in_room != ch->in_room)
db2.c: if (!ch->pcdata->script_flags[i]) continue;
db2.c: for (temp=sa_head[CALCULATE_HEAD(ch->pcdata->script_flags[i])]; temp!=NULL; temp=temp->next) {
db2.c: if (!str_cmp(temp->flagname,ch->pcdata->script_flags[i])) {
db2.c: if (!allf && oneroom->area != ch->in_room->area)
db2.c: write_to_descriptor2 (ch->desc, tmpbuf, 0);
db2.c: ch->in_room ? ch->in_room->vnum : 0, NAME (ch), str);
death.c: check_room_more (ch->in_room);
death.c: if (ch->pcdata->learned[gsn_invest] < 1)
death.c: if ((obj = get_obj_list (ch, argy, ch->in_room->more->contents)) == NULL)
death.c: ch->pcdata->tickcounts = 21;
death.c: strcpy (ch->pcdata->temp->temp_string, argy);
death.c: if ((obj = get_obj_list (ch, argy, ch->in_room->more->contents)) == NULL)
death.c: if (number_range (1, 90) > ch->pcdata->learned[gsn_invest])
death.c: check_room_more (ch->in_room);
death.c: ((I_CONTAINER *) (corpse->more))->key_vnum=ch->pIndexData->vnum;
death.c: if (IS_PLAYER (ch) || (IS_MOB (ch) && ch->pIndexData->pShop == NULL))
death.c: check_room_more (ch->in_room);
death.c: ch->in_room->more->copper += ch->copper;
death.c: ch->in_room->more->gold += ch->gold;
death.c: ch->gold=0;
death.c: ch->copper=0;
death.c: for (obj = ch->carrying; obj != NULL; obj = obj_next)
death.c: obj_to (obj, ch->in_room);
death.c: || IS_SET(ch->pcdata->act2, PLR_HARDCORE))
death.c: obj_to (obj, ch->in_room);
death.c: ch->gold = 0;
death.c: ch->copper = 0;
death.c: obj_to (corpse, ch->in_room);
death.c: if (IS_MOB (ch) && ch->pIndexData->mobtype == MOB_REPTILE)
death.c: else if (IS_MOB (ch) && ch->pIndexData->mobtype == MOB_UNDEAD)
death.c: else if (IS_MOB (ch) && ch->pIndexData->mobtype == MOB_GHOST)
death.c: else if (IS_MOB (ch) && ch->pIndexData->mobtype == MOB_FISH)
death.c: else if (IS_MOB (ch) && ch->pIndexData->mobtype == MOB_PLANT)
death.c: else if (IS_MOB (ch) && ch->pIndexData->mobtype == MOB_STATUE)
death.c: else if (IS_MOB (ch) && ch->pIndexData->mobtype == MOB_BIRD)
death.c: obj_to (obj, ch->in_room);
death.c: was_in_room = ch->in_room;
death.c: ch->in_room = pexit->to_room;
death.c: ch->in_room = was_in_room;
death.c: tmpchnx = tmpch->next_in_room;
death.c: if (tmpch->fgt && tmpch->fgt->fighting == victim)
death.c: tmpch->fgt->fighting = NULL;
death.c: tmpch->position = POSITION_STANDING;
death.c: if(tmpch->fgt && tmpch->fgt->phunting &&
death.c: !str_cmp(tmpch->fgt->phunting, NAME(victim)))
death.c: free_string(tmpch->fgt->phunting);
death.c: tmpch->fgt->phunting = NULL;
death.c: if (tmpch->fgt && tmpch->fgt->hunting &&
death.c: !str_cmp(tmpch->fgt->hunting, NAME(victim)))
death.c: free_string(tmpch->fgt->hunting);
death.c: tmpch->fgt->hunting = NULL;
death.c: tmpchnx = tmpch->next;
death.c: if (tmpch->fgt && (tmpch->fgt->fighting == victim))
death.c: tmpch->fgt->fighting = NULL;
death.c: tmpch->position = POSITION_STANDING;
death.c: if (tmpch->in_room)
death.c: check_room_more(tmpch->in_room);
death.c: for (cd = tmpch->in_room->more->people; cd != NULL; cd = cdnext)
death.c: tmpch->fgt->fighting = cd;
death.c: tmpch->position = POSITION_FIGHTING;
death.c: if (HUNTING (tmpch) && !str_cmp (tmpch->fgt->hunting, NAME (victim)))
death.c: free_string (tmpch->fgt->hunting);
death.c: tmpch->fgt->hunting = NULL;
death.c: for (gch = curr_room->more->people; gch != NULL; gch =gch->next_in_room)
death.c: ch->pcdata->remort_times <= victim->pcdata->remort_times &&
death.c: ch->pcdata->hard_pkills++;
death.c: for (gch = curr_room->more->people; gch != NULL; gch = gch->next_in_room)
death.c: gch->pcdata->pkills++;
death.c: gch->pcdata->pklevels += LEVEL(victim);
death.c: gch->pcdata->pkhelpers += same_align;
death.c: gch->pcdata->totalkills++;
death.c: gch->pcdata->killpoints++;
death.c: gch->pcdata->killpoints++;
death.c: gch->pcdata->killpoints++;
death.c: gch->pcdata->killpoints++;
death.c: if (IS_SET(gch->pcdata->act2, PLR_HARDCORE))
death.c: sprintf (g_exp, "You've gained %d experience for the kill, and %d for fighting.\n\r", xp, gch->pcdata->voting_on);
death.c: gch->pcdata->voting_on = 0;
draw.c: write_to_buffer (ch->desc, "\x1B[37;0m\x1B[2J\x1B[1;1f", 0);
draw.c: write_to_buffer (ch->desc, tt, 0);
draw.c: write_to_descriptor (ch->desc->descriptor, tt, 0);
draw.c: if (!ch->desc)
draw.c: if (IS_SET(ch->pcdata->act2, PLR_NOIBM))
draw.c: ch->pcdata->maxx = maxx;
draw.c: ch->pcdata->maxy = maxy;
draw.c: go_display (ch, ch->in_room, (maxx/2), (maxy/2), maxy, maxx);
draw.c: write_to_buffer(ch->desc, "\x1B[0;37m", 0);
draw.c: undisplay(ch, ch->in_room, 150);
draw.c: gotoxy(ch, 1, ch->pcdata->pagelen);
draw.c: bool ibm = !IS_SET(ch->pcdata->act2, PLR_NOIBM);
draw.c: for (j = 1; j < ch->pcdata->maxx+1; j++)
draw.c: write_to_buffer (ch->desc, " ", 0);
draw.c: write_to_buffer (ch->desc, scrnn[j][i], 0);
draw.c: write_to_buffer (ch->desc, outp[j][i], 0); /* Draw the char */
draw.c: if (!ch->desc)
draw.c: write_to_buffer (ch->desc, "\x1B[0;37m", 0);
draw.c: sprintf (tt, "\x1B[%d;1f", ch->pcdata->pagelen);
draw.c: for(rch = rid->more->people; rch != NULL; rch=rch->next_in_room)
draw.c: for (rch = rid->more->people; rch != NULL; rch = rch->next_in_room)
draw.c: for(rch = rid->more->people; rch != NULL; rch=rch->next_in_room)
draw.c: for (rch = rid->more->people; rch != NULL; rch =rch->next_in_room)
draw.c: if (IS_SET(ch->pcdata->act2, PLR_NOIBM)) noibm = TRUE;
draw.c: if (IS_SET(ch->pcdata->act2, PLR_VIEWMOBS)) mb = TRUE;
draw.c: if (IS_SET(ch->pcdata->act2, PLR_VIEWPLAYERS)) kk = TRUE;
draw.c: ch->pcdata->x = (MAP_WIDTH/2);
draw.c: ch->pcdata->y = (MAP_HEIGHT/2);
draw.c: sml_noibm(ch, ch->in_room,MAP_WIDTH/2, MAP_HEIGHT/2);
draw.c: sml_ibm(ch, ch->in_room, MAP_WIDTH/2, MAP_HEIGHT/2);
draw.c: write_to_buffer(ch->desc, "\x1B[0;37m", 0);
draw.c: undisplay(ch, ch->in_room, 50);
draw.c: gotoxy(ch, 1, ch->pcdata->pagelen);
draw.c: sprintf(buf, "\x1b[%d;%dr", MAP_HEIGHT, ch->pcdata->pagelen);
draw.c: write_to_buffer (ch->desc, " ", 0);
draw.c: write_to_buffer (ch->desc, color_table[smlcolors[j][i]].code, 0);
draw.c: write_to_buffer (ch->desc, smlmap[j][i] , 0);
draw.c: sprintf(buf, "\x1b[%d;1f", ch->pcdata->pagelen);
edit.c: sprintf (buf, "\x1B[24;1f%d,%d [%d] ", row, col, ch->desc->location);
edit.c: write_to_descriptor2 (ch->desc, buf, 0);
edit.c: write_to_descriptor2 (ch->desc, buf, 0);
edit.c: if (!ch->desc->pString)
edit.c: ch->desc->connected = CON_PLAYING;
edit.c: strcpy (buf, *ch->desc->pString);
edit.c: if (!ch->desc)
edit.c: if (!ch->pcdata->name)
edit.c: tpos = ch->desc->location;
edit.c: ch->desc->location = ll;
edit.c: position_cursor (ch, ch->desc->location, *ch->desc->pString);
edit.c: tpos = ch->desc->location;
edit.c: for (spl = ch->desc->location;; spl--)
edit.c: for (snl = ch->desc->location;; snl++)
edit.c: ch->desc->location = ppp;
edit.c: position_cursor (ch, ch->desc->location, *ch->desc->pString);
edit.c: if (ch->desc->location + 1 <= max)
edit.c: ch->desc->location++;
edit.c: if (ch->desc->location > 1 && buf[ch->desc->location - 1] == '\n')
edit.c: if (ch->desc->location + 1 <= max)
edit.c: ch->desc->location += 1;
edit.c: position_cursor (ch, ch->desc->location, *ch->desc->pString);
edit.c: if (ch->desc->location - 1 >= 0)
edit.c: ch->desc->location--;
edit.c: if (buf[ch->desc->location] == '\r')
edit.c: if (ch->desc->location - 1 >= 0)
edit.c: ch->desc->location--;
edit.c: position_cursor (ch, ch->desc->location, *ch->desc->pString);
edit.c: free_string (*ch->desc->pString);
edit.c: *ch->desc->pString = str_dup ("");
edit.c: ch->desc->location = 0;
edit.c: write_to_descriptor2 (ch->desc, "\x1B[2J", 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[24;15fCTRL-E = CLEAR @ = Save/Quit CTRL-R = Redraw CTRL-F = Format", 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[1;1f", 0);
edit.c: *ch->desc->pString = format_string (*ch->desc->pString);
edit.c: ch->desc->location = 0;
edit.c: write_to_descriptor2 (ch->desc, "\x1B[2J", 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[1;1f", 0);
edit.c: strcpy (buf, *ch->desc->pString);
edit.c: write_to_descriptor2 (ch->desc, buf, 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[24;15fCTRL-E = CLEAR @ = Save/Quit CTRL-R = Redraw CTRL-F = Format", 0);
edit.c: position_cursor (ch, ch->desc->location, buf);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[2J\x1B[1;1f", 0);
edit.c: write_to_descriptor2 (ch->desc, buf, 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[24;15fCTRL-E = CLEAR @ = Save/Quit CTRL-R = Redraw CTRL-F = Format", 0);
edit.c: position_cursor (ch, ch->desc->location, buf);
edit.c: if (ch->desc->location - 1 < 0)
edit.c: if (ch->desc->location - 1 >= 0 && buf[ch->desc->location - 1] == '\r')
edit.c: for (ii = ch->desc->location - 1; ii < oldlen; ii++)
edit.c: ch->desc->location--;
edit.c: for (ii = ch->desc->location - 1; ii < oldlen; ii++)
edit.c: ch->desc->location--;
edit.c: free_string (*ch->desc->pString);
edit.c: *ch->desc->pString = str_dup (buf);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[2J", 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[1;1f", 0);
edit.c: write_to_descriptor2 (ch->desc, buf, 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[24;15fCTRL-E = CLEAR @ = Save/Quit CTRL-R = Redraw CTRL-F = Format", 0);
edit.c: position_cursor (ch, ch->desc->location, buf);
edit.c: strcpy (buf, *ch->desc->pString);
edit.c: for (ctr = ch->desc->location;; ctr++)
edit.c: position_cursor (ch, ch->desc->location, *ch->desc->pString);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[K", 0);
edit.c: write_to_descriptor2 (ch->desc, teol, 0);
edit.c: position_cursor (ch, ch->desc->location, *ch->desc->pString);
edit.c: ch->desc->pString = NULL;
edit.c: ch->desc->location = 0;
edit.c: ch->desc->connected = CON_PLAYING;
edit.c: SET_BIT (ch->pcdata->act2, PLR_TELNET_GA);
edit.c: write_to_descriptor2 (ch->desc, linemode_on, 0);
edit.c: write_to_descriptor2 (ch->desc, echo_on_str, 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[24;1f\x1B[KText Saved. Press Enter. ", 0);
edit.c: if (!IS_SET(ch->desc->act, DESC_INSERT))
edit.c: if (buf[ch->desc->location] != '\0')
edit.c: position_cursor (ch, ch->desc->location, buf);
edit.c: for (tt = slb; tt >= ch->desc->location; tt--)
edit.c: buf[ch->desc->location] = to_add[i];
edit.c: for (pteol = ch->desc->location; pteol < slb; pteol++)
edit.c: write_to_descriptor2 (ch->desc, "\x1B[2J", 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[1;1f", 0);
edit.c: write_to_descriptor2 (ch->desc, buf, 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[24;15fCTRL-E = CLEAR @ = Save/Quit CTRL-R = Redraw CTRL-F = Format", 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[K", 0);
edit.c: write_to_descriptor2 (ch->desc, ts, 0);
edit.c: position_cursor (ch, ch->desc->location + 1, buf);
edit.c: buf[ch->desc->location] = to_add[i];
edit.c: ch->desc->location++;
edit.c: position_cursor (ch, ch->desc->location, buf);
edit.c: free_string (*ch->desc->pString);
edit.c: *ch->desc->pString = str_dup (buf);
edit.c: write_to_descriptor2 (ch->desc, dontecho, 0);
edit.c: write_to_descriptor2 (ch->desc, echo_off_str, 0);
edit.c: write_to_descriptor2 (ch->desc, linemode_off, 0);
edit.c: write_to_descriptor2 (ch->desc, echo_off_str, 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[2J", 0);
edit.c: REMOVE_BIT (ch->pcdata->act2, PLR_TELNET_GA);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[1;1f", 0);
edit.c: write_to_descriptor2 (ch->desc, *pString, 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[24;15fCTRL-E = CLEAR @ = Save/Quit CTRL-R = Redraw CTRL-F = Format", 0);
edit.c: write_to_descriptor2 (ch->desc, "\x1B[1;1f", 0);
edit.c: ch->desc->location = 0;
edit.c: ch->desc->pString = pString;
edit.c: ch->desc->connected = CON_FSEDITOR;
emlen.h: (ch->pcdata->security <= area->security \
emlen.h: || strstr( area->builders, ch->pcdata->name ) != NULL \
emlen.h:#define IS_OUTSIDE(ch) (!IS_SET((ch)->in_room->room_flags, ROOM_INDOORS) && ch->in_room->sector_type !=SECT_INSIDE && ch->in_room->sector_type < SECT_CAVE)
emlen.h:#define NAME( ch ) (( IS_PLAYER( ch ) ? (ch)->pcdata->name : ch->pIndexData->short_descr ))
emlen.h: if (ch->in_room) strcat(cl,itoa(ch->in_room->vnum)); \
emlen.h:#define BUILDERS_CAN_GIVE(yn) if ( !(yn) && IS_PLAYER(ch) && ch->pcdata->level>99 && ch->pcdata->level<110 ) {send_to_char("Builders cannot use the 'give' command, sorry.\n\r",ch); return;}
emlen.h:#define TEMPFLAG(num) (ch->pcdata->tempflag[(num)])
emlen.h:#define FLAG(num) (ch->pcdata->complete[(num)])
emlen.h:/* Example: LOOP(ch,char_list,ch->next) { blah } */
fgt.c: if (spl->guilds & ~(ch->pcdata->guilds))
fgt.c: if (ch->pcdata->learned[gsn] == -100 || number_range(1,103) > ch->pcdata->learned[gsn])
fgt.c: if (IS_MOB(victim) || !ch->in_room)
fgt.c: check_room_more(ch->in_room);
fgt.c: if (IS_PLAYER(ch) && (ch != victim) && (!ch->fgt || ch->fgt->fighting != victim))
fgt.c: if ((!IS_SET(victim->act, PLR_SAME_SIDE_PK) && ch->in_room->vnum >= 1000 && !DIFF_ALIGN(ch, victim)) || LEVEL(victim) >= IMM_LEVEL)
fgt.c: sprintf(log_buf, "ILLEGAL PKILL %s attacked %s at %d.\n\r", NAME(ch), NAME(victim), ch->in_room->vnum);
fgt.c: SET_BIT(ch->act, PLR_SAME_SIDE_PK);
fgt.c: else if (!DIFF_ALIGN(ch, victim) && ch->in_room->vnum >=1000)
fgt.c: sprintf(log_buf, "OK PKILL %s attacked %s at %d.\n\r", NAME(ch), NAME(victim), ch->in_room->vnum);
fgt.c: SET_BIT(ch->act, PLR_SAME_SIDE_PK);
fgt.c: sprintf(buf, "Help, I am being attacked by %s at %s.\n\r",rNAME(ch, victim), ch->in_room->name);
fgt.c: if (IS_PLAYER (ch) && ch->pcdata->no_quit_pk == 0 && IS_PLAYER(victim) && ALIGN(ch)!= 0
fgt.c: && ALIGN(victim)!=0 && !IN_BATTLE(ch) && ch->fgt->challenge != 10)
fgt.c: ch->pcdata->no_quit_pk = 4;
fgt.c: && ALIGN(victim)!=0 && !IN_BATTLE(ch) && ch->fgt->challenge != 10)
fgt.c: ch->fgt->fighting = guarder;
fgt.c: if (!IS_SET (ch->ced->fight_ops, F_GROUND)) {
fgt.c: if (ch->fgt->ears > 9) {
fgt.c: if (ch->wait > 2) return;
fgt.c: && ch->fgt->challenge != 10)
fgt.c: && ch->fgt->challenge != 10)
fgt.c: (str_cmp(race_info[ch->pcdata->race].name, "minotaur") &&
fgt.c: str_cmp(race_info[ch->pcdata->race].name, "gargoyle")))) {
fgt.c: if ((ch->hold1 != NULL && (ch->hold1->pIndexData->item_type == ITEM_WEAPON)))
fgt.c:if (IS_PLAYER(ch) && ch->pcdata->learned[gsn_grapple] > 0)
fgt.c: chan += (ch->pcdata->learned[gsn_grapple]/4);
fgt.c:if (IS_PLAYER(ch) && ch->pcdata->learned[gsn_tackle] > 0)
fgt.c: chan += (ch->pcdata->learned[gsn_tackle]/4);
fgt.c:chan += ch->height / 5;
fgt.c:if (IS_PLAYER(ch) && (!str_cmp(race_info[ch->pcdata->race].name, "minotaur")
fgt.c: || !str_cmp(race_info[ch->pcdata->race].name, "gargoyle")))
fgt.c:if ((number_range (0, xn) > chan && IS_AWAKE (victim)) || (number_range(1,70) > ch->pcdata->learned[gsn_tackle]))
fgt.c:ch->ced->ground_pos = 0;
fgt.c:ch->fgt->fighting = victim;
fgt.c:ch->ced->ground_pos = 0;
fgt.c: if (ch->data_type==50)
fgt.c: ch->fgt->fighting=NULL;
fgt.c: ch_next = ch->next_fighting;
fgt.c: ch->fgt->ears--;
fgt.c: if (ch->fgt->ears <= 10)
fgt.c: ch->fgt->ears = 2;
fgt.c: if (ch->position == POSITION_BASHED)
fgt.c: if (ch->position == POSITION_FIGHTING)
fgt.c: if (IS_SET (ch->pIndexData->act, ACT_FASTHUNT) &&
fgt.c: ch->fgt->hunting != NULL &&
fgt.c: ch->position == POSITION_STANDING &&
fgt.c: ch->fgt->master != NULL &&
fgt.c: ch->fgt->master->in_room == ch->in_room &&
fgt.c: ch->fgt->master->fgt != NULL &&
fgt.c: ch->fgt->master->fgt->fighting != NULL)
fgt.c: multi_hit (ch, ch->fgt->master->fgt->fighting, TYPE_UNDEFINED);
fgt.c: ch->fgt->fighting = NULL;
fgt.c: ch->position = POSITION_STANDING;
fgt.c: if (IS_AWAKE (ch) && ch->in_room == victim->in_room)
fgt.c: if (IS_MOB (ch) && IS_SET (ch->act, ACT_MOBSWITCH))
fgt.c: for (cir = ch->in_room->more->people; cir != NULL; cir = cir->next_in_room)
fgt.c: if (ch->fgt->challenge == 10 && number_range (1, 7) == 2)
fgt.c: if (ch != victim && ch->position == POSITION_GROUNDFIGHTING && victim->position == POSITION_GROUNDFIGHTING)
fgt.c: else if (ch->position != POSITION_CASTING)
fgt.c: if (ch->fgt->challenge == 10 && number_range (1, 5) == 2)
fgt.c: if (IS_MOB (ch) && ch->pIndexData && ch->pIndexData->opt)
fgt.c: if (number_range (1, 101) < ch->pIndexData->opt->warrior_percent)
fgt.c: if (number_range (1, 101) < ch->pIndexData->opt->cast_percent)
fgt.c: if (number_range (1, 2) == 1 && ch->pIndexData->opt->cast_spells[iil] != NULL)
fgt.c: if ((spl = skill_lookup (ch->pIndexData->opt->cast_spells[iil], -1)) == NULL)
fgt.c: if(number_percent() < ch->pcdata->learned[gsn_guard])
fgt.c: ch->fgt->fighting = guarder;
fgt.c: for (rch = ch->in_room->more->people; rch != NULL; rch = rch_next)
fgt.c: rch_next = rch->next_in_room;
fgt.c: && IS_SET (rch->pcdata->act2, PLR_ASSIST)
fgt.c: && rch->position == POSITION_STANDING)
fgt.c: if (IS_MOB (rch) && !IS_AFFECTED (rch, AFF_CHARM) && (rch->pIndexData == ch->pIndexData) &&LEVEL (rch) > 9 && can_see (rch, victim))
fgt.c: rch->fgt->fighting = victim;
fgt.c: if (ch->fgt->ears > 9)
fgt.c: if (ch->pcdata->tickcounts > 3)
fgt.c: if (ch->wait > 1)
fgt.c: if (ch->position != POSITION_FIGHTING)
fgt.c: if (ch->pcdata->learned[!gsn_circle] < 3)
fgt.c: ch->pcdata->tickcounts = spl->mana; /*13; */
fgt.c: if (ch->wait > 1)
fgt.c: if (ch->position != POSITION_CIRCLE && !used_flash)
fgt.c: if (ch->pcdata->learned[gsn_circle] < 2)
fgt.c: if (number_range (0, 104) < ch->pcdata->learned[gsn_circle])
fgt.c: ch->pcdata->tickcounts = spl->casting_time;
fgt.c: if (ch->in_room != victim->in_room)
fgt.c: ch->fgt->fighting=NULL;
fgt.c: ch->position=POSITION_STANDING;
fgt.c: if (IS_MOB (ch) && (ch->pIndexData->mobtype == MOB_DUMMY))
fgt.c: if (ch->position == POSITION_SLEEPING)
fgt.c: if (ch->position <= POSITION_STUNNED && ch->position >= 0)
fgt.c: ch->wait = 0;
fgt.c: wield1 = ((ch->hold1 != NULL && ch->hold1->pIndexData->item_type ==
fgt.c: ITEM_WEAPON) ? ch->hold1 : NULL);
fgt.c: wield2 = ((ch->hold2 != NULL && ch->hold2->pIndexData->item_type ==
fgt.c: ITEM_WEAPON) ? ch->hold2 : NULL);
fgt.c: if (IS_PLAYER (ch) && ch->desc != NULL && FIGHTING (ch) == NULL)
fgt.c: write_to_descriptor2 (ch->desc, "\n\r", 2);
fgt.c: ch->fgt->fighting = victim;
fgt.c: ch->fgt->fighting = victim;
fgt.c: ch->ced->attackers[0] = victim;
fgt.c: for (vch = victim->in_room->more->people; vch != NULL; vch = vch->next_in_room)
fgt.c: if (ch->fgt->combat_delay_count <= -5)
fgt.c: ch->fgt->combat_delay_count--;
fgt.c: if (ch->fgt->combat_delay_count < -8)
fgt.c: ch->fgt->combat_delay_count = -1;
fgt.c: if (ch->fgt->combat_delay_count > 0)
fgt.c: ch->fgt->combat_delay_count--;
fgt.c: if (ch->position != POSITION_BASHED && ch->fgt->combat_delay_count == 0)
fgt.c: ch->fgt->combat_delay_count = -1;
fgt.c: ch->fgt->ears = 2;
fgt.c: if (IS_MOB (ch) && ch->position == POSITION_BASHED && ch->fgt->combat_delay_count < 1)
fgt.c: ch->fgt->combat_delay_count = -5;
fgt.c: ch->fgt->ears = 2;
fgt.c: if (ch->position == POSITION_BASHED)
fgt.c: if (ch->fgt->combat_delay_count < 1 && ch->position == POSITION_STANDING)
fgt.c: && ch->hit < ch->max_hit/2)
fgt.c: !IS_SET (ch->ced->fight_ops, F_GROUND) ||
fgt.c: ch->position == POSITION_GROUNDFIGHTING)
fgt.c: if (number_range(1,4) == 2 && ch->pcdata->learned[gsn_unarmed] > 85)
fgt.c: if (number_range(1,4) == 2 && ch->pcdata->stance != 2)
fgt.c: (ch->pcdata->stance == 1 || ch->pcdata->stance == 4 ||
fgt.c: ch->pcdata->stance == 7) )
fgt.c: if (number_range(1,4) == 2 && ch->pcdata->stance == 4)
fgt.c: if (number_range(1,4) == 2 && ch->pcdata->stance == 4)
fgt.c: IS_SET(ch->pcdata->elemental_alignment, ELEMENTAL_ALIGN_FIRE) &&
fgt.c: IS_SET(ch->pcdata->elemental_alignment, ELEMENTAL_ALIGN_EARTH) &&
fgt.c: IS_SET(ch->pcdata->elemental_alignment, ELEMENTAL_ALIGN_AIR) &&
fgt.c: IS_SET(ch->pcdata->elemental_alignment, ELEMENTAL_ALIGN_WATER) &&
fgt.c: number_percent() < ch->pcdata->learned[571]*3/5)
fgt.c: ((ch->pcdata->learned[gsn_second_attack]*3/5)); /* JRAJRA were 4 */
fgt.c: ch->pcdata->learned[gsn_third_attack]/2); /* JRAJRA was 4 */
fgt.c: for (fch = ch->in_room->more->people; fch != NULL; fch = fch->next_in_room)
fgt.c: if (ch->pcdata->stance == 1)
fgt.c: else if (ch->pcdata->stance == 4)
fgt.c: else if (ch->pcdata->stance == 5)
fgt.c: else if (ch->pcdata->stance == 8)
fgt.c: if (ch->pcdata->stance == 1)
fgt.c: else if (ch->pcdata->stance == 4)
fgt.c: else if (ch->pcdata->stance == 5)
fgt.c: else if (ch->pcdata->stance == 8)
fgt.c: return (ch->pcdata->learned[gsn_polearm] == -100 ? -30 : (-20+ch->pcdata->learned[gsn_polearm] / 7));
fgt.c: return (ch->pcdata->learned[gsn_pierce] == -100 ? 0 : ch->pcdata->learned[gsn_pierce] / 4);
fgt.c: return (ch->pcdata->learned[gsn_concussion] == -100 ? 0 : ch->pcdata->learned[gsn_concussion] / 5);
fgt.c: return (ch->pcdata->learned[gsn_whip] == -100 ? 0 : ch->pcdata->learned[gsn_whip] / 4);
fgt.c: else if (ch->pcdata->learned[gsn_slashing] == -100)
fgt.c: return (ch->pcdata->learned[gsn_slashing] / 7);
fgt.c: return (ch->pcdata->learned[gsn_slashing] / 6);
fgt.c: return (ch->pcdata->learned[gsn_slashing] / 5);
fgt.c: return (ch->pcdata->learned[gsn_slashing] / 4);
fgt.c: return ((ch->pcdata->learned[gsn_slashing] / 4) + ((get_curr_str (ch) - 5) / 2));
fgt.c: return (ch->pcdata->learned[gsn_slashing] / 5);
fgt.c: return (ch->pcdata->learned[gsn_polearm] == -100 ? -30 : (-20+ch->pcdata->learned[gsn_polearm] / 7));
fgt.c: return (ch->pcdata->learned[gsn_pierce] == -100 ? 0 : ch->pcdata->learned[gsn_pierce] / 4);
fgt.c: return (ch->pcdata->learned[gsn_concussion] == -100 ? 0 : ch->pcdata->learned[gsn_concussion] / 5);
fgt.c: return (ch->pcdata->learned[gsn_whip] == -100 ? 0 : ch->pcdata->learned[gsn_whip] / 4);
fgt.c: else if (ch->pcdata->learned[gsn_slashing] == -100)
fgt.c: return (ch->pcdata->learned[gsn_slashing] / 7);
fgt.c: return (ch->pcdata->learned[gsn_slashing] / 6);
fgt.c: return (ch->pcdata->learned[gsn_slashing] / 5);
fgt.c: return (ch->pcdata->learned[gsn_slashing] / 4);
fgt.c: return ((ch->pcdata->learned[gsn_slashing] / 4) + ((get_curr_str (ch) - 5) / 2));
fgt.c: return (ch->pcdata->learned[gsn_slashing] / 5);
fgt.c: if (IS_MOB (ch) && (ch->pIndexData->mobtype == MOB_DUMMY)) {
fgt.c: if(ch->pIndexData->mobtype == MOB_DUMMY) send_to_char("Its a dummy\n\r",victim);
fgt.c: if (ch->in_room != victim->in_room || victim->position == POSITION_DEAD)
fgt.c: ch->fgt->fighting=NULL;
fgt.c: ch->position=POSITION_STANDING;
fgt.c: free_string (ch->fgt->hunting);
fgt.c: ch->fgt->hunting = NULL;
fgt.c: ch->fgt->hunting = str_dup (NAME (victim));
fgt.c: ch->fgt->riding = NULL;
fgt.c: if (ch-> hit > dam)
fgt.c: (IS_MOB(ch) ? ch->pIndexData->hitroll : (ch->pcdata->learned[gsn_accuracy] > 0 ? ch->pcdata->learned[gsn_accuracy]/8 : 0));
fgt.c: dam += ch->pIndexData->damroll/2;
fgt.c: if (is_member(ch, GUILD_MONK) && ch->pcdata->stance == 7
fgt.c: int monkbonus = ch->pcdata->learned[gsn_unarmed] - 68;
fgt.c: if (ch->pcdata->stance == 3)
fgt.c: else if (ch->pcdata->stance == 6)
fgt.c: else if (ch->pcdata->stance == 7)
fgt.c: else if (ch->pcdata->stance == 2)
fgt.c: else if (ch->pcdata->stance == 5)
fgt.c: if (is_member(ch, GUILD_MONK) && IS_SET(ch->act, PLR_HAS_SHIELD))
fgt.c: for (fch = ch->in_room->more->people; fch != NULL; fch = fch->next_in_room)
fgt.c: if (ch->pcdata->alignment == fch->pcdata->alignment)
fgt.c: else if (fch->pcdata->alignment > 0)
fgt.c: if (ch->pcdata->learned[gsn_enhanced_damage] > 0)
fgt.c: roll = number_range(0, ch->pcdata->learned[gsn_enhanced_damage]);
fgt.c: if (IS_PLAYER (ch) && dif > 4 && number_range (1, 100) < ch->pcdata->learned[gsn_penetration])
fgt.c: if (ch->in_room->sector_type == SECT_ASTRAL)
fgt.c: dam = dam * (race_info[ch->pcdata->race].backstab_percent +
fgt.c: align_info[ch->pcdata->alignment].backstab_percent)/100;
fgt.c: if (number_range(1,38) == 2 && ch->position != POSITION_BASHED && victim->position != POSITION_BASHED)
fgt.c: if (ch->hit > 7)
fgt.c: if (ch->hit > 10)
fgt.c: dam = (dam*(race_info[ch->pcdata->race].backstab_percent +
fgt.c: align_info[ch->pcdata->alignment].backstab_percent))/100;
fgt.c: if (number_range (1, 5) == 1 && ch->move > 0) {
fgt.c: if (ch->pIndexData->mobtype == MOB_HUMAN
fgt.c: || ch->pIndexData->mobtype == MOB_DWARF
fgt.c: || ch->pIndexData->mobtype == MOB_ELF
fgt.c: || ch->pIndexData->mobtype == MOB_GIANT
fgt.c: || ch->pIndexData->mobtype == MOB_DRAGON)
fgt.c: if (ch->pIndexData->mobtype == MOB_GHOST)
fgt.c: if (ch->pIndexData->mobtype == MOB_DRAGON)
fgt.c: if (ch->pIndexData->mobtype == MOB_GHOST)
fgt.c: if (ch->in_room != victim->in_room) /* Not a spell or ranged */
fgt.c: ch->fgt->fighting=NULL;
fgt.c: ch->position=POSITION_STANDING;
fgt.c: if (IS_PLAYER(ch) && LEVEL(ch) >= IMM_LEVEL && LEVEL(ch) < MAX_LEVEL && (!ch->in_room->area || ch->in_room->area->open == 1))
fgt.c: ch->fgt->fighting = NULL;
fgt.c: ch->wait = 0;
fgt.c: if (ch->in_room == victim->in_room)
fgt.c: if (FIGHTING (victim) == ch && FIGHTING (ch) != victim && !(victim->position == POSITION_GROUNDFIGHTING && ch->position == POSITION_GROUNDFIGHTING) && dt != gsn_kick && victim->position != POSITION_CASTING && victim->position != POSITION_BASHED
fgt.c: && ch->position != POSITION_CASTING && ch->position != POSITION_BASHED)
fgt.c: ch->fgt->fighting = victim;
fgt.c: if (ch->position == POSITION_GROUNDFIGHTING && victim->position != POSITION_GROUNDFIGHTING)
fgt.c: if(ch->pcdata->no_quit_pk < MOB_QUIT_TIMER)
fgt.c: ch->pcdata->no_quit_pk = MOB_QUIT_TIMER;
fgt.c: ch->pcdata->no_quit_pk = PK_QUIT_TIMER;
fgt.c: if (can_yell (victim) && victim->hit < 8 && victim->max_hit > 100 && ch->hit > 60 && dt > 300)
fgt.c: ch->pcdata->voting_on += gn;
fgt.c: REMOVE_BIT (ch->affected_by, AFF_HIDE);
fgt.c: REMOVE_BIT (ch->more_affected_by, AFF_CHAMELEON);
fgt.c: if ((IS_MOB (ch) && number_percent () < 20) && ch->move > 10)
fgt.c: && ch->move > 10)
fgt.c: if(ch->in_room == victim->in_room)
fgt.c: ch->copper++;
fgt.c: ch->wait = 0;
fgt.c: ch->fgt->fighting = NULL;
fgt.c: ch->wait = 0;
fgt.c: if(victim->pcdata->no_quit_pk >= 5 && IS_MOB(ch) && !victim->in_room->area->homeland && !IS_SET(ch->act, ACT_AGGRESSIVE)
fgt.c: && !IS_SET(ch->pIndexData->act4, ACT4_KILL_OPP) )
fgt.c: for (gch = victim->in_room->more->people; gch != NULL; gch=gch->next_in_room)
fgt.c: if (IS_SET (ch->pcdata->act2, PLR_AUTOLOOT))
fgt.c: else if (IS_SET (ch->pcdata->act2, PLR_AUTOGOLD))
fgt.c: if (IS_SET (ch->pcdata->act2, PLR_AUTOSAC))
fgt.c: if (IS_SET (ch->pcdata->act2, PLR_AUTOSPLIT)
fgt.c: ch->wait = 0;
fgt.c:if (ch->in_room && ((ch->in_room->vnum < 111 && ch->in_room->vnum > 95)||
fgt.c: ch->in_room->vnum == 112))
fgt.c:for (tch = victim->in_room->more->people; tch != NULL; tch = tch->next_in_room)
fgt.c: if (IS_PLAYER(tch) && LEVEL(tch) > IMM_LEVEL && IS_SET (tch->act, PLR_HOLYPEACE))
fgt.c: ch->fgt->fighting = NULL;
fgt.c: ch->fgt->fighting = victim;
fgt.c: if (ch->position != POSITION_GROUNDFIGHTING && ch->position != POSITION_BASHED)
fgt.c: NEW_POSITION(ch->fgt->fighting,POSITION_STANDING);
fgt.c: ch->fgt->fighting->fgt->fighting = NULL;
fgt.c: fch_next = fch->next_fighting;
fgt.c: fch->fgt->fighting = NULL;
fgt.c: if (fch->position == POSITION_BASHED) continue;
fgt.c: fch->fgt->combat_delay_count = -1;
fgt.c: if (ch->fgt)
fgt.c: ch->fgt->fighting = NULL;
fgt.c: if (ch->is_undead)
fgt.c: switch (ch->pIndexData->mobtype)
fgt.c: if (ch->in_room && ch->in_room->vnum < 1000) return;
fgt.c: if (ch->wait > 2)
fgt.c: ch->wait+= 5;
fgt.c:if (ch->pcdata->learned[gsn_bash] < 10)
fgt.c: if (ch->fgt->ears > 9)
fgt.c: if (ch->in_room->sector_type == SECT_UNDERWATER)
fgt.c: if ((FIGHTING (ch) == NULL || ch->position != POSITION_FIGHTING) && (argy == "" || argy[0] == '\0'))
fgt.c: && ch->fgt->challenge != 10)
fgt.c: && ch->fgt->challenge != 10)
fgt.c: victim = ch->fgt->fighting;
fgt.c: if (ch->position == POSITION_GROUNDFIGHTING)
fgt.c: if (ch->position == POSITION_BASHED)
fgt.c: chan = ((ch->pcdata->learned[gsn_bash]) + (get_curr_str (ch) * 3)) -tmpi;
fgt.c: if (IS_PLAYER (ch) && ch->pcdata->learned[gsn_bash] < 5)
fgt.c: if ((number_percent() < ch->pcdata->learned[gsn_smash]) &&
fgt.c: ( ch->pcdata->learned[gsn_smash] > 20))
fgt.c: ch->fgt->ears = 9 + (s->casting_time * 2);
fgt.c: ch->fgt->ears = 10 + (s->casting_time *2);
fgt.c: if((IS_MOB(ch) && number_range(1,10) == 4) ||(IS_PLAYER(ch) && is_member(ch, GUILD_BATTLEMASTER) && is_member(ch, GUILD_WARRIOR) && ch->pcdata->lShowing the first 100 KB of 305.3 KB. Download the archive for the full file.