OSDN Git Service

[fix] #41503 超能力者でゲームを開始しようとするとクラッシュ
[hengband/hengband.git] / src / player / player-damage.h
1 #pragma once
2
3 #include "system/angband.h"
4 #include "system/monster-type-definition.h"
5
6 #define DAMAGE_FORCE    1
7 #define DAMAGE_GENO     2
8 #define DAMAGE_LOSELIFE 3
9 #define DAMAGE_ATTACK   4
10 #define DAMAGE_NOESCAPE 5
11 #define DAMAGE_USELIFE  6
12 extern int take_hit(player_type *creature_ptr, int damage_type, HIT_POINT damage, concptr kb_str, int monspell);
13
14 HIT_POINT acid_dam(player_type *creature_ptr, HIT_POINT dam, concptr kb_str, int monspell, bool aura);
15 HIT_POINT elec_dam(player_type *creature_ptr, HIT_POINT dam, concptr kb_str, int monspell, bool aura);
16 HIT_POINT fire_dam(player_type *creature_ptr, HIT_POINT dam, concptr kb_str, int monspell, bool aura);
17 HIT_POINT cold_dam(player_type *creature_ptr, HIT_POINT dam, concptr kb_str, int monspell, bool aura);
18 void touch_zap_player(monster_type *m_ptr, player_type *touched_ptr);