OSDN Git Service

[Refactor] #40014 *Genocide* inclusion for monster-type-definition.h from angband.h
[hengband/hengband.git] / src / combat / shoot.h
1 #pragma once
2
3 #include "system/angband.h"
4 #include "system/monster-type-definition.h"
5
6 bool test_hit_fire(player_type *shooter_ptr, int chance, monster_type *m_ptr, int vis, char* o_name);
7 HIT_POINT critical_shot(player_type *shooter_ptr, WEIGHT weight, int plus_ammo, int plus_bow, HIT_POINT dam);
8 ENERGY bow_energy(OBJECT_SUBTYPE_VALUE sval);
9 int bow_tmul(OBJECT_SUBTYPE_VALUE sval);
10 HIT_POINT calc_crit_ratio_shot(player_type *shooter_ptr, HIT_POINT plus_ammo, HIT_POINT plus_bow);
11 HIT_POINT calc_expect_crit_shot(player_type *shooter_ptr, WEIGHT weight, int plus_ammo, int plus_bow, HIT_POINT dam);
12 HIT_POINT calc_expect_crit(player_type *shooter_ptr, WEIGHT weight, int plus, HIT_POINT dam, s16b meichuu, bool dokubari);