/dports/games/mangband/mangband-1.5.3/src/server/ |
H A D | melee1.c | 1001 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 D | use-obj.c | 94 (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 D | cmd1.c | 1109 (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 D | cmd2.c | 388 (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 D | externs.h | 913 extern bool do_dec_stat(player_type *p_ptr, int stat);
|
H A D | spells2.c | 271 bool do_dec_stat(player_type *p_ptr, int stat) in do_dec_stat() function
|
/dports/games/zangband/zangband/src/ |
H A D | melee1.c | 976 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 D | effects.c | 1720 (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 D | bldg.c | 120 (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 D | cmd5.c | 1846 (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 D | cmd2.c | 343 (void)do_dec_stat(A_STR); in chest_trap() 351 (void)do_dec_stat(A_CON); in chest_trap()
|
H A D | mspells1.c | 1508 (void)do_dec_stat(A_INT); in make_attack_spell() 1509 (void)do_dec_stat(A_WIS); in make_attack_spell()
|
H A D | l-player.pkg | 387 extern bool do_dec_stat(int stat);
|
H A D | xtra2.c | 3366 (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 D | spells2.c | 3693 (void)do_dec_stat(randint0(6)); in activate_ty_curse() 3729 (void)do_dec_stat(stat); in activate_ty_curse()
|
H A D | externs.h | 972 extern bool do_dec_stat(int stat);
|
/dports/games/tomenet/tomenet-4.6.0/src/server/ |
H A D | melee1.c | 451 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 D | traps.c | 609 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 D | cmd6.c | 160 (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 D | monster2.c | 2160 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 D | spells1.c | 2914 (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 D | spells.pre | 163 extern bool do_dec_stat(int Ind, int stat, int mode);
|
H A D | externs.h | 1488 extern bool do_dec_stat(int Ind, int stat, int mode);
|
H A D | dungeon.c | 4742 (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 D | externs.h | 542 extern bool do_dec_stat(int Ind, int stat);
|