Home
last modified time | relevance | path

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

12

/dports/games/mangband/mangband-1.5.3/src/server/
H A Dmelee1.c1001 if (do_dec_stat(p_ptr, A_STR)) obvious = TRUE; in make_attack_normal()
1012 if (do_dec_stat(p_ptr, A_INT)) obvious = TRUE; in make_attack_normal()
1023 if (do_dec_stat(p_ptr, A_WIS)) obvious = TRUE; in make_attack_normal()
1034 if (do_dec_stat(p_ptr, A_DEX)) obvious = TRUE; in make_attack_normal()
1045 if (do_dec_stat(p_ptr, A_CON)) obvious = TRUE; in make_attack_normal()
1056 if (do_dec_stat(p_ptr, A_CHR)) obvious = TRUE; in make_attack_normal()
1067 if (do_dec_stat(p_ptr, A_STR)) obvious = TRUE; in make_attack_normal()
1068 if (do_dec_stat(p_ptr, A_DEX)) obvious = TRUE; in make_attack_normal()
1069 if (do_dec_stat(p_ptr, A_CON)) obvious = TRUE; in make_attack_normal()
1070 if (do_dec_stat(p_ptr, A_INT)) obvious = TRUE; in make_attack_normal()
[all …]
H A Duse-obj.c94 (void)do_dec_stat(p_ptr, A_STR); in eat_food()
102 (void)do_dec_stat(p_ptr, A_CON); in eat_food()
110 (void)do_dec_stat(p_ptr, A_INT); in eat_food()
118 (void)do_dec_stat(p_ptr, A_WIS); in eat_food()
126 (void)do_dec_stat(p_ptr, A_CON); in eat_food()
134 (void)do_dec_stat(p_ptr, A_STR); in eat_food()
347 if (do_dec_stat(p_ptr, A_STR)) *ident = TRUE; in quaff_potion()
353 if (do_dec_stat(p_ptr, A_INT)) *ident = TRUE; in quaff_potion()
359 if (do_dec_stat(p_ptr, A_WIS)) *ident = TRUE; in quaff_potion()
365 if (do_dec_stat(p_ptr, A_DEX)) *ident = TRUE; in quaff_potion()
[all …]
H A Dcmd1.c1109 (void)do_dec_stat(p_ptr, A_STR); in hit_trap()
1125 (void)do_dec_stat(p_ptr, A_DEX); in hit_trap()
1141 (void)do_dec_stat(p_ptr, A_CON); in hit_trap()
H A Dcmd2.c388 (void)do_dec_stat(p_ptr, A_STR); in chest_trap()
396 (void)do_dec_stat(p_ptr, A_CON); in chest_trap()
H A Dexterns.h913 extern bool do_dec_stat(player_type *p_ptr, int stat);
H A Dspells2.c271 bool do_dec_stat(player_type *p_ptr, int stat) in do_dec_stat() function
/dports/games/zangband/zangband/src/
H A Dmelee1.c976 if (do_dec_stat(A_STR)) obvious = TRUE; in make_attack_normal()
987 if (do_dec_stat(A_INT)) obvious = TRUE; in make_attack_normal()
998 if (do_dec_stat(A_WIS)) obvious = TRUE; in make_attack_normal()
1009 if (do_dec_stat(A_DEX)) obvious = TRUE; in make_attack_normal()
1020 if (do_dec_stat(A_CON)) obvious = TRUE; in make_attack_normal()
1031 if (do_dec_stat(A_CHR)) obvious = TRUE; in make_attack_normal()
1042 if (do_dec_stat(A_STR)) obvious = TRUE; in make_attack_normal()
1043 if (do_dec_stat(A_DEX)) obvious = TRUE; in make_attack_normal()
1044 if (do_dec_stat(A_CON)) obvious = TRUE; in make_attack_normal()
1045 if (do_dec_stat(A_INT)) obvious = TRUE; in make_attack_normal()
[all …]
H A Deffects.c1720 (void)do_dec_stat(A_CHR); in acid_dam()
1752 (void)do_dec_stat(A_DEX); in elec_dam()
1781 (void)do_dec_stat(A_STR); in fire_dam()
1810 (void)do_dec_stat(A_STR); in cold_dam()
1838 (void)do_dec_stat(A_CON); in pois_dam()
1973 if (!(FLAG(p_ptr, TR_SUST_INT))) (void)do_dec_stat(A_INT); in set_stun()
1974 if (!(FLAG(p_ptr, TR_SUST_WIS))) (void)do_dec_stat(A_WIS); in set_stun()
1978 if (!(FLAG(p_ptr, TR_SUST_INT))) (void)do_dec_stat(A_INT); in set_stun()
1982 if (!(FLAG(p_ptr, TR_SUST_WIS))) (void)do_dec_stat(A_WIS); in set_stun()
2231 (void)do_dec_stat(A_CHR); in set_cut()
[all …]
H A Dbldg.c120 (void)do_dec_stat(A_INT); in have_nightmare_aux()
121 (void)do_dec_stat(A_WIS); in have_nightmare_aux()
139 (void)do_dec_stat(A_INT); in have_nightmare_aux()
140 (void)do_dec_stat(A_WIS); in have_nightmare_aux()
H A Dcmd5.c1846 (void)do_dec_stat(A_INT); in cast_trump_spell()
1847 (void)do_dec_stat(A_WIS); in cast_trump_spell()
2761 (void)do_dec_stat(A_INT); in do_cmd_cast()
2762 (void)do_dec_stat(A_WIS); in do_cmd_cast()
H A Dcmd2.c343 (void)do_dec_stat(A_STR); in chest_trap()
351 (void)do_dec_stat(A_CON); in chest_trap()
H A Dmspells1.c1508 (void)do_dec_stat(A_INT); in make_attack_spell()
1509 (void)do_dec_stat(A_WIS); in make_attack_spell()
H A Dl-player.pkg387 extern bool do_dec_stat(int stat);
H A Dxtra2.c3366 (void)do_dec_stat(chaos_stats[patron]); in gain_level_reward()
3368 (void)do_dec_stat(randint0(A_MAX)); in gain_level_reward()
H A Dspells2.c3693 (void)do_dec_stat(randint0(6)); in activate_ty_curse()
3729 (void)do_dec_stat(stat); in activate_ty_curse()
H A Dexterns.h972 extern bool do_dec_stat(int stat);
/dports/games/tomenet/tomenet-4.6.0/src/server/
H A Dmelee1.c451 do_dec_stat(Ind, A_CON, STAT_DEC_NORMAL); in do_seduce()
1930 if (do_dec_stat(Ind, A_STR, STAT_DEC_NORMAL)) obvious = TRUE;
1963 if (do_dec_stat(Ind, A_INT, STAT_DEC_NORMAL)) obvious = TRUE;
1996 if (do_dec_stat(Ind, A_WIS, STAT_DEC_NORMAL)) obvious = TRUE;
2029 if (do_dec_stat(Ind, A_DEX, STAT_DEC_NORMAL)) obvious = TRUE;
2062 if (do_dec_stat(Ind, A_CON, STAT_DEC_NORMAL)) obvious = TRUE;
2095 if (do_dec_stat(Ind, A_CHR, STAT_DEC_NORMAL)) obvious = TRUE;
2128 if (do_dec_stat(Ind, A_STR, STAT_DEC_NORMAL)) obvious = TRUE;
2129 if (do_dec_stat(Ind, A_DEX, STAT_DEC_NORMAL)) obvious = TRUE;
2130 if (do_dec_stat(Ind, A_CON, STAT_DEC_NORMAL)) obvious = TRUE;
[all …]
H A Dtraps.c609 case TRAP_OF_WEAKNESS_I: ident = do_dec_stat(Ind, A_STR, STAT_DEC_TEMPORARY); break; in player_activate_trap_type()
610 case TRAP_OF_WEAKNESS_II: ident = do_dec_stat(Ind, A_STR, STAT_DEC_NORMAL); break; in player_activate_trap_type()
611 case TRAP_OF_WEAKNESS_III: ident = do_dec_stat(Ind, A_STR, STAT_DEC_PERMANENT); break; in player_activate_trap_type()
612 case TRAP_OF_INTELLIGENCE_I: ident = do_dec_stat(Ind, A_INT, STAT_DEC_TEMPORARY); break; in player_activate_trap_type()
613 case TRAP_OF_INTELLIGENCE_II: ident = do_dec_stat(Ind, A_INT, STAT_DEC_NORMAL); break; in player_activate_trap_type()
614 case TRAP_OF_INTELLIGENCE_III: ident = do_dec_stat(Ind, A_INT, STAT_DEC_PERMANENT); break; in player_activate_trap_type()
616 case TRAP_OF_WISDOM_II: ident = do_dec_stat(Ind, A_WIS, STAT_DEC_NORMAL); break; in player_activate_trap_type()
619 case TRAP_OF_FUMBLING_II: ident = do_dec_stat(Ind, A_DEX, STAT_DEC_NORMAL); break; in player_activate_trap_type()
622 case TRAP_OF_WASTING_II: ident = do_dec_stat(Ind, A_CON, STAT_DEC_NORMAL); break; in player_activate_trap_type()
625 case TRAP_OF_BEAUTY_II: ident = do_dec_stat(Ind, A_CHR, STAT_DEC_NORMAL); break; in player_activate_trap_type()
[all …]
H A Dcmd6.c160 (void)do_dec_stat(Ind, A_STR, STAT_DEC_NORMAL); in eat_food()
166 (void)do_dec_stat(Ind, A_CON, STAT_DEC_NORMAL); in eat_food()
172 (void)do_dec_stat(Ind, A_INT, STAT_DEC_NORMAL); in eat_food()
178 (void)do_dec_stat(Ind, A_WIS, STAT_DEC_NORMAL); in eat_food()
184 (void)do_dec_stat(Ind, A_CON, STAT_DEC_NORMAL); in eat_food()
190 (void)do_dec_stat(Ind, A_STR, STAT_DEC_NORMAL); in eat_food()
682 if (do_dec_stat(Ind, A_STR, STAT_DEC_NORMAL)) ident = TRUE; in quaff_potion()
685 if (do_dec_stat(Ind, A_INT, STAT_DEC_NORMAL)) ident = TRUE; in quaff_potion()
688 if (do_dec_stat(Ind, A_WIS, STAT_DEC_NORMAL)) ident = TRUE; in quaff_potion()
691 if (do_dec_stat(Ind, A_DEX, STAT_DEC_NORMAL)) ident = TRUE; in quaff_potion()
[all …]
H A Dmonster2.c2160 do_dec_stat (Ind, A_INT, STAT_DEC_NORMAL); in sanity_blast()
2161 do_dec_stat (Ind, A_WIS, STAT_DEC_NORMAL); in sanity_blast()
2172 (void)do_dec_stat(Ind, A_INT, STAT_DEC_NORMAL); in sanity_blast()
2174 (void)do_dec_stat(Ind, A_WIS, STAT_DEC_NORMAL); in sanity_blast()
H A Dspells1.c2914 (void) do_dec_stat(Ind, A_CHR, DAM_STAT_TYPE(inv));
2965 (void) do_dec_stat(Ind, A_DEX, DAM_STAT_TYPE(inv));
3012 (void) do_dec_stat(Ind, A_STR, DAM_STAT_TYPE(inv));
3057 (void) do_dec_stat(Ind, A_STR, DAM_STAT_TYPE(inv));
8936 …if (rand_int(3)) (void) do_dec_stat(Ind, A_STR, DAM_STAT_TYPE((dam < 30) ? 1 : (dam < 60) ? 2 : 3)…
8937 else (void) do_dec_stat(Ind, A_DEX, DAM_STAT_TYPE((dam < 30) ? 1 : (dam < 60) ? 2 : 3));
8941 (void) do_dec_stat(Ind, A_STR, DAM_STAT_TYPE((dam < 30) ? 1 : (dam < 60) ? 2 : 3));
8944 (void) do_dec_stat(Ind, A_DEX, DAM_STAT_TYPE((dam < 30) ? 1 : (dam < 60) ? 2 : 3));
H A Dspells.pre163 extern bool do_dec_stat(int Ind, int stat, int mode);
H A Dexterns.h1488 extern bool do_dec_stat(int Ind, int stat, int mode);
H A Ddungeon.c4742 (void)do_dec_stat(Ind, rand_int(6), STAT_DEC_NORMAL);
4746 (void)do_dec_stat(Ind, rand_int(6), STAT_DEC_NORMAL);
/dports/games/tomenet/tomenet-4.6.0/src/common/
H A Dexterns.h542 extern bool do_dec_stat(int Ind, int stat);

12