3 #include "system/angband.h"
7 #define DAMAGE_LOSELIFE 3
8 #define DAMAGE_ATTACK 4
9 #define DAMAGE_NOESCAPE 5
10 #define DAMAGE_USELIFE 6
12 typedef struct monster_type monster_type;
13 typedef struct player_type player_type;
14 int take_hit(player_type *creature_ptr, int damage_type, HIT_POINT damage, concptr kb_str);
15 HIT_POINT acid_dam(player_type *creature_ptr, HIT_POINT dam, concptr kb_str, bool aura);
16 HIT_POINT elec_dam(player_type *creature_ptr, HIT_POINT dam, concptr kb_str, bool aura);
17 HIT_POINT fire_dam(player_type *creature_ptr, HIT_POINT dam, concptr kb_str, bool aura);
18 HIT_POINT cold_dam(player_type *creature_ptr, HIT_POINT dam, concptr kb_str, bool aura);
19 void touch_zap_player(monster_type *m_ptr, player_type *touched_ptr);