Home
last modified time | relevance | path

Searched refs:MODE_PVP (Results 1 – 25 of 25) sorted by relevance

/dports/games/tomenet/tomenet-4.6.0/src/client/
H A Dc-birth.c1142 else if ((dna_sex & MODE_PVP) == MODE_PVP) c_put_str(TERM_SLATE, "PvP", 9, CHAR_COL); in choose_mode()
1166 sex += MODE_PVP; in choose_mode()
1202 else if ((dna_sex & MODE_PVP) == MODE_PVP) c = 'p'; in choose_mode()
1242 else if ((dna_sex & MODE_PVP) == MODE_PVP) c_put_str(TERM_SLATE, "PvP", 9, CHAR_COL); in choose_mode()
1266 sex += MODE_PVP; in choose_mode()
1330 else if ((dna_sex & MODE_PVP) == MODE_PVP) c = 'p'; in choose_mode()
1582 else if ((dna_sex & MODE_PVP) == MODE_PVP) c_put_str(TERM_SLATE, "PvP", 9, CHAR_COL); in get_char_info()
1678 if (sex & MODE_PVP) sex |= MODE_DED_PVP; in get_char_info()
H A Dc-xtra1.c2031 if (p_ptr->mode & MODE_PVP) in display_player()
/dports/games/tomenet/tomenet-4.6.0/src/server/
H A Dcmd4.c742 case MODE_PVP:
872 case MODE_PVP:
1026 case MODE_PVP:
1144 case MODE_PVP:
1235 case MODE_PVP:
1334 else if ((p_ptr->mode & MODE_PVP) && (q_ptr->mode & MODE_PVP)) attr = COLOUR_MODE_PVP;
1361 if ((((p_ptr->mode & MODE_PVP) && (q_ptr->mode & MODE_PVP))
1400 else if ((p_ptr->mode & MODE_PVP) && (q_ptr->mode & MODE_PVP)) attr = COLOUR_MODE_PVP;
1435 if ((((p_ptr->mode & MODE_PVP) && (q_ptr->mode & MODE_PVP))
1474 else if ((p_ptr->mode & MODE_PVP) && (q_ptr->mode & MODE_PVP)) attr = COLOUR_MODE_PVP;
[all …]
H A Dbirth.c2821 if ((p_ptr->mode & (MODE_DED_IDDC | MODE_PVP))) in disable_specific_warnings()
2827 if ((p_ptr->mode & (MODE_NO_GHOST | MODE_PVP))) { in disable_specific_warnings()
3115 if (p_ptr->inval && (p_ptr->mode & MODE_PVP)) { in player_birth()
3116 p_ptr->mode &= ~MODE_PVP; in player_birth()
3132 …if (p_ptr->mode & MODE_PVP) p_ptr->mode &= ~(MODE_EVERLASTING | MODE_HARD | MODE_NO_GHOST | MODE_F… in player_birth()
3159 p_ptr->mode &= ~MODE_PVP; in player_birth()
3187 if (p_ptr->mode & MODE_PVP) { in player_birth()
H A Dutil.c6160 if (p1_ptr->mode & MODE_PVP) {
6161 if (!(p2_ptr->mode & MODE_PVP)) {
6195 if (p_ptr->mode & MODE_PVP) {
6196 if (!(o_ptr->mode & MODE_PVP)) {
6206 if (o_ptr->mode & MODE_PVP) {
6211 } else if (o_ptr->mode & MODE_PVP) {
6236 if (o1_ptr->mode & MODE_PVP) {
6237 if (!(o2_ptr->mode & MODE_PVP)) {
6253 if (mode1 & MODE_PVP) {
6254 if (!(mode2 & MODE_PVP)) {
[all …]
H A Dcmd2.c272 if (p_ptr->mode & MODE_PVP) { in do_cmd_go_up()
914 if (p_ptr->mode & MODE_PVP) { in do_cmd_go_down()
1461 if ((Players[i]->mode & MODE_PVP) && Players[i]->houses_owned >= 1) { in chown_door()
1700 if (p_ptr->mode & MODE_PVP) { in access_door_colour()
1701 if (!(dna->mode & MODE_PVP)) { in access_door_colour()
1708 } else if (dna->mode & MODE_PVP) { in access_door_colour()
2064 if (!(p_ptr->mode & MODE_PVP)) gain_exp(Ind, 1); in do_cmd_open()
3242 if (!(p_ptr->mode & MODE_PVP)) gain_exp(Ind, TRAP_EXP(t_idx, getlevel(&p_ptr->wpos))); in do_id_trap()
4064 if (p_ptr->mode & MODE_PVP) in do_cmd_walk()
4069 if (p_ptr->mode & MODE_PVP) in do_cmd_walk()
[all …]
H A Dcmd6.c563 if (!(p_ptr->mode & MODE_PVP)) gain_exp(Ind, (lev + (p_ptr->lev >> 1)) / p_ptr->lev); in do_cmd_eat_food()
953 if (!(p_ptr->mode & MODE_PVP)) { in quaff_potion()
1179 if (!(p_ptr->mode & MODE_PVP)) gain_exp(Ind, (lev + (p_ptr->lev >> 1)) / p_ptr->lev); in do_cmd_quaff_potion()
2163 if (!(p_ptr->mode & MODE_PVP)) blood_bond(Ind, o_ptr);
2884 if (!(p_ptr->mode & MODE_PVP)) gain_exp(Ind, (lev + (p_ptr->lev >> 1)) / p_ptr->lev);
3320 if (!(p_ptr->mode & MODE_PVP)) gain_exp(Ind, (lev + (p_ptr->lev >> 1)) / p_ptr->lev);
3829 if (!(p_ptr->mode & MODE_PVP)) gain_exp(Ind, (lev + (p_ptr->lev >> 1)) / p_ptr->lev);
4142 if (!(p_ptr->mode & MODE_PVP)) gain_exp(Ind, (lev + (p_ptr->lev >> 1)) / p_ptr->lev);
4609 if (!(p_ptr->mode & MODE_PVP)) gain_exp(Ind, (lev + (p_ptr->lev >> 1)) / p_ptr->lev);
H A Dmonster2.c2714 ((p_ptr->mode & MODE_PVP) && (q_ptr->mode & MODE_PVP)) || in update_player()
2783 && !(q_ptr->mode & MODE_PVP)) flag = FALSE; in update_player()
2797 if ((p_ptr->mode & MODE_PVP) && (q_ptr->mode & MODE_PVP)) flag = TRUE; in update_player()
H A Dxtra2.c1635 if (p_ptr->mode & MODE_PVP) return(FALSE); in set_fast()
4279 if (p_ptr->mode & MODE_PVP) { in check_experience()
4432 if (p_ptr->mode & MODE_PVP) { in gain_exp()
4702 bool henc_cheezed = FALSE, pvp = ((p_ptr->mode & MODE_PVP) != 0);
6332 if(!p_ptr->noscore && !(p_ptr->mode & (MODE_PVP | MODE_EVERLASTING)))
6476 …bool hell = TRUE, secure = FALSE, ge_secure = FALSE, pvp = ((p_ptr->mode & MODE_PVP) != 0), erase …
7474 if (!(Players[i]->mode & MODE_PVP)) continue;
7492 if (!(Players[i]->mode & MODE_PVP)) continue;
7943 && !(p_ptr->mode & MODE_PVP)) {
8601 if (!(p_ptr->mode & MODE_PVP)) gain_exp(Ind, new_exp);
[all …]
H A Dparty.c1183 if ((p_ptr->mode & MODE_PVP)) { in guild_create()
1833 if (p_ptr->mode & MODE_PVP) return FALSE; in guild_auto_add()
3327 else if (((q_ptr->mode & MODE_PVP) && (p_ptr->mode & MODE_PVP)) in check_hostile()
H A Dnserver.c2890 !(p_ptr->mode & MODE_PVP) &&
2934 if (!(p_ptr->mode & MODE_PVP)) continue;
3074 if (p_ptr->mode & MODE_PVP) {
4024 else if (tmpm & MODE_PVP) strcpy(colour_sequence, format("\377%c", COLOUR_MODE_PVP));
4277 if (sex & MODE_PVP) {
4287 sex |= MODE_DED_PVP | MODE_PVP;
4290 sex &= ~(MODE_PVP | MODE_DED_PVP);
4298 if (!(sex & MODE_PVP)) sex &= ~MODE_DED_PVP;
4302 if (sex & MODE_PVP) sex &= ~MODE_DED_IDDC;
4312 if (sex & MODE_DED_PVP) sex |= MODE_PVP;
[all …]
H A Dmelee1.c472 if (!(p_ptr->mode & MODE_PVP)) gain_exp(Ind, r_ptr->mexp / 2); in do_seduce()
3284 if (!(Players[find_player(m_ptr->owner)]->mode & MODE_PVP))
H A Dspells1.c383 if (!(p_ptr->mode & MODE_PVP)) gain_exp(-who, (lev + (p_ptr->lev >> 1)) / p_ptr->lev); in potion_smash_effect()
783 if (p_ptr->mode & MODE_PVP) { in teleport_player()
3623 …switch (randint((safe_area(Ind) || (p_ptr->mode & MODE_PVP)) ? 5 : 8)) { /* don't do baaad things …
8987 if (p_ptr->lev == 99 || (p_ptr->mode & MODE_PVP)) {
9109 if (!p_ptr->resist_chaos && !(p_ptr->mode & MODE_PVP))
9112 if (p_ptr->lev == 99 || (p_ptr->mode & MODE_PVP)) {
9280 if ((p_ptr->mode & MODE_PVP)) break;
H A Dstore.c4832 if (Ind && (p_ptr->mode & MODE_PVP)) {
4833 o_ptr->mode = MODE_PVP;
4834 j_ptr->mode = MODE_PVP;
H A Dobject2.c3345 if (Ind && (p_ptr->mode & MODE_PVP)) {
3346 o_ptr->mode = MODE_PVP;
3347 j_ptr->mode = MODE_PVP;
9358 …if (p_ptr->mode & MODE_PVP) f |= RESF_NOTRUEART; /* PvP mode chars can't find true arts, since tru…
H A Dfiles.c1223 case MODE_PVP: in highscore_send()
H A Dslash.c2731 if (!(p_ptr->mode & MODE_PVP)) {
3806 if ((p_ptr->mode & MODE_PVP)) {
6804 else if (tmpm & MODE_PVP) strcpy(colour_sequence, format("\377%c", COLOUR_MODE_PVP));
6854 else if (tmpm & MODE_PVP) strcpy(colour_sequence, format("\377%c", COLOUR_MODE_PVP));
H A Dcmd3.c2086 if (!(p_ptr->mode & MODE_PVP)) gain_exp((max_point / 2) + (randint(max_point) / 2));
H A Dquests.c3284 if (q_ptr->mode_norm && !(p_ptr->mode & (MODE_EVERLASTING | MODE_PVP))) ok = TRUE;
3286 if (q_ptr->mode_pvp && (p_ptr->mode & MODE_PVP)) ok = TRUE;
H A Dxtra1.c5222 if ((p_ptr->mode & MODE_PVP)) {
7099 if (p_ptr->mode & MODE_PVP) {
7354 if (p_ptr->mode & MODE_PVP) {
H A Dcave.c680 ((p_ptr->mode & MODE_PVP) || p_ptr->total_winner || (p_ptr->r_killed[RI_SAURON] != 1))) in check_Morgoth()
726 } else if (p_ptr->mode & MODE_PVP) { in check_Morgoth()
H A Dspells2.c693 if (p_ptr->mode & MODE_PVP) { in hp_player()
785 if (!autoeffect && (p_ptr->mode & MODE_PVP)) { in hp_player_quiet()
H A Ddungeon.c6926 if ((p_ptr->mode & MODE_PVP) && p_ptr->wpos.wz &&
6932 if (!(Players[j]->mode & MODE_PVP)) continue;
H A Dtraps.c3367 …if (!(Players[who]->mode & MODE_PVP)) gain_exp(who, (k_info[o_ptr->k_idx].level + (Players[who]->l… in identify_mon_trap_load()
/dports/games/tomenet/tomenet-4.6.0/src/common/
H A Ddefines.h6872 #define MODE_PVP 0x10 macro
6883 #define MODE_MASK (MODE_HARD | MODE_NO_GHOST | MODE_EVERLASTING | MODE_PVP) /* real cha…