OSDN Git Service

[Refactor] #38997 test_hit_fire() に player_type * 引数を追加. / Add player_type * argument...
[hengband/hengband.git] / src / combat / shoot.h
1 /*!
2  * @file shoot.c
3  */
4 #pragma once
5
6 extern bool test_hit_fire(player_type *shooter_ptr, int chance, monster_type *m_ptr, int vis, char* o_name);
7 extern HIT_POINT critical_shot(player_type *shooter_ptr, WEIGHT weight, int plus_ammo, int plus_bow, HIT_POINT dam);
8 extern ENERGY bow_energy(OBJECT_SUBTYPE_VALUE sval);
9 extern int bow_tmul(OBJECT_SUBTYPE_VALUE sval);
10 extern HIT_POINT calc_crit_ratio_shot(HIT_POINT plus_ammo, HIT_POINT plus_bow);
11 extern HIT_POINT calc_expect_crit_shot(WEIGHT weight, int plus_ammo, int plus_bow, HIT_POINT dam);
12 extern HIT_POINT calc_expect_crit(WEIGHT weight, int plus, HIT_POINT dam, s16b meichuu, bool dokubari);