OSDN Git Service

Reworded English message for a monk's successful MA_SLOW attack.
[hengband/hengband.git] / src / mspell / mspell-attack-util.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 typedef enum mspell_lite_type {
6     DO_SPELL_NONE = 0,
7     DO_SPELL_BR_LITE = 1,
8     DO_SPELL_BR_DISI = 2,
9     DO_SPELL_BA_LITE = 3,
10 } mspell_lite_type;
11
12 // Monster Spell Attack.
13 typedef struct monster_type monster_type;
14 typedef struct monster_race monster_race;
15 typedef struct msa_type {
16     MONSTER_IDX m_idx;
17     monster_type *m_ptr;
18     monster_race *r_ptr;
19     bool no_inate;
20     BIT_FLAGS f4;
21     BIT_FLAGS f5;
22     BIT_FLAGS f6;
23     POSITION x;
24     POSITION y;
25     POSITION x_br_lite;
26     POSITION y_br_lite;
27     bool do_spell;
28     bool in_no_magic_dungeon;
29     bool success;
30     byte mspells[96];
31     byte num;
32     SPELL_IDX thrown_spell;
33     GAME_TEXT m_name[MAX_NLEN];
34     bool can_remember;
35     int dam;
36     DEPTH rlev;
37 } msa_type;
38
39 msa_type *initialize_msa_type(player_type *target_ptr, msa_type *msa_ptr, MONSTER_IDX m_idx);