OSDN Git Service

[Refactor] enum spells-typeをenum class AttributeTypeに置換
[hengbandforosx/hengbandosx.git] / src / monster-attack / monster-attack-types.cpp
1 #include "monster-attack/monster-attack-types.h"
2 #include "monster-attack/monster-attack-effect.h"
3 #include "effect/attribute-types.h"
4
5 /*!
6  * @brief モンスターの打撃効力テーブル /
7  * The table of monsters' blow effects
8  */
9 const mbe_info_type mbe_info[static_cast<int>(RaceBlowEffectType::MAX)] = {
10     {
11         0,
12         AttributeType::NONE,
13     }, /* None      */
14
15     {
16         60,
17         AttributeType::MISSILE,
18     }, /* HURT      */
19
20     {
21         5,
22         AttributeType::POIS,
23     }, /* POISON    */
24
25     {
26         20,
27         AttributeType::DISENCHANT,
28     }, /* UN_BONUS  */
29
30     {
31         15,
32         AttributeType::MISSILE,
33     },
34     /* UN_POWER  */ /* ToDo: Apply the correct effects */
35
36     {
37         5,
38         AttributeType::MISSILE,
39     }, /* EAT_GOLD  */
40
41     {
42         5,
43         AttributeType::MISSILE,
44     }, /* EAT_ITEM  */
45
46     {
47         5,
48         AttributeType::MISSILE,
49     }, /* EAT_FOOD  */
50
51     {
52         5,
53         AttributeType::MISSILE,
54     }, /* EAT_LITE  */
55
56     {
57         0,
58         AttributeType::ACID,
59     }, /* ACID      */
60
61     {
62         10,
63         AttributeType::ELEC,
64     }, /* ELEC      */
65
66     {
67         10,
68         AttributeType::FIRE,
69     }, /* FIRE      */
70
71     {
72         10,
73         AttributeType::COLD,
74     }, /* COLD      */
75
76     {
77         2,
78         AttributeType::MISSILE,
79     }, /* BLIND     */
80
81     {
82         10,
83         AttributeType::CONFUSION,
84     }, /* CONFUSE   */
85
86     {
87         10,
88         AttributeType::MISSILE,
89     }, /* TERRIFY   */
90
91     {
92         2,
93         AttributeType::MISSILE,
94     }, /* PARALYZE  */
95
96     {
97         0,
98         AttributeType::MISSILE,
99     }, /* LOSE_STR  */
100
101     {
102         0,
103         AttributeType::MISSILE,
104     }, /* LOSE_INT  */
105
106     {
107         0,
108         AttributeType::MISSILE,
109     }, /* LOSE_WIS  */
110
111     {
112         0,
113         AttributeType::MISSILE,
114     }, /* LOSE_DEX  */
115
116     {
117         0,
118         AttributeType::MISSILE,
119     }, /* LOSE_CON  */
120
121     {
122         0,
123         AttributeType::MISSILE,
124     }, /* LOSE_CHR  */
125
126     {
127         2,
128         AttributeType::MISSILE,
129     }, /* LOSE_ALL  */
130
131     {
132         60,
133         AttributeType::ROCKET,
134     }, /* SHATTER   */
135
136     {
137         5,
138         AttributeType::MISSILE,
139     }, /* EXP_10    */
140
141     {
142         5,
143         AttributeType::MISSILE,
144     }, /* EXP_20    */
145
146     {
147         5,
148         AttributeType::MISSILE,
149     }, /* EXP_40    */
150
151     {
152         5,
153         AttributeType::MISSILE,
154     }, /* EXP_80    */
155
156     {
157         5,
158         AttributeType::POIS,
159     }, /* DISEASE   */
160
161     {
162         5,
163         AttributeType::TIME,
164     }, /* TIME      */
165
166     {
167         5,
168         AttributeType::MISSILE,
169     }, /* EXP_VAMP  */
170
171     {
172         5,
173         AttributeType::MANA,
174     }, /* DR_MANA   */
175
176     {
177         60,
178         AttributeType::MISSILE,
179     }, /* SUPERHURT */
180     {
181         5,
182         AttributeType::MISSILE,
183     }, /* INERTIA */
184     {
185         5,
186         AttributeType::MISSILE,
187     }, /* STUN */
188     {
189         5,
190         AttributeType::MISSILE,
191     }, /* HUNGRY */
192     {
193         0,
194         AttributeType::NONE,
195     }, /* FLAVOR */
196 };