OSDN Git Service

replace some #ifdef jp macros at mutation.c
[hengband/hengband.git] / src / mutation.c
1 /* File: mutation.c */
2
3 /*
4  * Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
5  *
6  * This software may be copied and distributed for educational, research,
7  * and not for profit purposes provided that this copyright and statement
8  * are included in all such copies.  Other copyrights may also apply.
9  */
10
11 /* Purpose: Mutation effects (and racial powers) */
12
13 #include "angband.h"
14
15
16 bool gain_random_mutation(int choose_mut)
17 {
18         int     attempts_left = 20;
19         cptr    muta_desc = "";
20         bool    muta_chosen = FALSE;
21         u32b    muta_which = 0;
22         u32b    *muta_class = NULL;
23
24         if (choose_mut) attempts_left = 1;
25
26         while (attempts_left--)
27         {
28                 switch (choose_mut ? choose_mut : (p_ptr->pclass == CLASS_BERSERKER ? 74+randint1(119) : randint1(193)))
29                 {
30                 case 1: case 2: case 3: case 4:
31                         muta_class = &(p_ptr->muta1);
32                         muta_which = MUT1_SPIT_ACID;
33                         muta_desc = _("»À¤òÅǤ¯Ç½ÎϤòÆÀ¤¿¡£", "You gain the ability to spit acid.");
34                         break;
35                         
36                 case 5: case 6: case 7:
37                         muta_class = &(p_ptr->muta1);
38                         muta_which = MUT1_BR_FIRE;
39                         muta_desc = _("²Ð¤òÅǤ¯Ç½ÎϤòÆÀ¤¿¡£", "You gain the ability to breathe fire.");
40                         break;
41                         
42                 case 8: case 9:
43                         muta_class = &(p_ptr->muta1);
44                         muta_which = MUT1_HYPN_GAZE;
45                         muta_desc = _("ºÅ̲´ã¤ÎǽÎϤòÆÀ¤¿¡£", "Your eyes look mesmerizing...");
46                         break;
47                         
48                 case 10: case 11:
49                         muta_class = &(p_ptr->muta1);
50                         muta_which = MUT1_TELEKINES;
51                         muta_desc = _("ʪÂΤòÇ°Æ°ÎϤÇÆ°¤«¤¹Ç½ÎϤòÆÀ¤¿¡£", "You gain the ability to move objects telekinetically.");
52                         break;
53                         
54                 case 12: case 13: case 14:
55                         muta_class = &(p_ptr->muta1);
56                         muta_which = MUT1_VTELEPORT;
57                         muta_desc = _("¼«Ê¬¤Î°Õ»×¤Ç¥Æ¥ì¥Ý¡¼¥È¤¹¤ëǽÎϤòÆÀ¤¿¡£", "You gain the power of teleportation at will.");
58                         break;
59                         
60                 case 15: case 16:
61                         muta_class = &(p_ptr->muta1);
62                         muta_which = MUT1_MIND_BLST;
63                         muta_desc = _("Àº¿À¹¶·â¤ÎǽÎϤòÆÀ¤¿¡£", "You gain the power of Mind Blast.");
64                         break;
65                         
66                 case 17: case 18:
67                         muta_class = &(p_ptr->muta1);
68                         muta_which = MUT1_RADIATION;
69                         muta_desc = _("¤¢¤Ê¤¿¤Ï¶¯¤¤Êü¼ÍÀþ¤òȯÀ¸¤·»Ï¤á¤¿¡£", "You start emitting hard radiation.");
70                         break;
71                         
72                 case 19: case 20:
73                         muta_class = &(p_ptr->muta1);
74                         muta_which = MUT1_VAMPIRISM;
75                         muta_desc = _("À¸Ì¿ÎϤòµÛ¼ý¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£", "You become vampiric.");
76                         break;
77                         
78                 case 21: case 22: case 23:
79                         muta_class = &(p_ptr->muta1);
80                         muta_which = MUT1_SMELL_MET;
81                         muta_desc = _("¶â°¤ÎÆ÷¤¤¤òÓ̤®Ê¬¤±¤é¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£", "You smell a metallic odor.");
82                         break;
83                         
84                 case 24: case 25: case 26: case 27:
85                         muta_class = &(p_ptr->muta1);
86                         muta_which = MUT1_SMELL_MON;
87                         muta_desc = _("¥â¥ó¥¹¥¿¡¼¤Î½­¤¤¤òÓ̤®Ê¬¤±¤é¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£", "You smell filthy monsters.");
88                         break;
89                         
90                 case 28: case 29: case 30:
91                         muta_class = &(p_ptr->muta1);
92                         muta_which = MUT1_BLINK;
93                         muta_desc = _("¶áµ÷Î¥¥Æ¥ì¥Ý¡¼¥È¤ÎǽÎϤòÆÀ¤¿¡£", "You gain the power of minor teleportation.");
94                         break;
95                         
96                 case 31: case 32:
97                         muta_class = &(p_ptr->muta1);
98                         muta_which = MUT1_EAT_ROCK;
99                         muta_desc = _("Êɤ¬ÈþÌ£¤·¤½¤¦¤Ë¸«¤¨¤ë¡£", "The walls look delicious.");
100                         break;
101                         
102                 case 33: case 34:
103                         muta_class = &(p_ptr->muta1);
104                         muta_which = MUT1_SWAP_POS;
105                         muta_desc = _("¾¿Í¤Î·¤¤Ç°ì¥Þ¥¤¥ëÊ⤯¤è¤¦¤Êµ¤Ê¬¤¬¤¹¤ë¡£", "You feel like walking a mile in someone else's shoes.");
106                         break;
107                         
108                 case 35: case 36: case 37:
109                         muta_class = &(p_ptr->muta1);
110                         muta_which = MUT1_SHRIEK;
111                         muta_desc = _("¤¢¤Ê¤¿¤ÎÀ¼¤ÏÁêÅö¶¯¤¯¤Ê¤Ã¤¿¡£", "Your vocal cords get much tougher.");
112                         break;
113                         
114                 case 38: case 39: case 40:
115                         muta_class = &(p_ptr->muta1);
116                         muta_which = MUT1_ILLUMINE;
117                         muta_desc = _("¤¢¤Ê¤¿¤Ï¸÷¤êµ±¤¤¤ÆÉô²°¤òÌÀ¤ë¤¯¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£", "You can light up rooms with your presence.");
118                         break;
119                         
120                 case 41: case 42:
121                         muta_class = &(p_ptr->muta1);
122                         muta_which = MUT1_DET_CURSE;
123                         muta_desc = _("¼Ù°­¤ÊËâË¡¤ò´¶ÃΤǤ­¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£", "You can feel evil magics.");
124                         break;
125                         
126                 case 43: case 44: case 45:
127                         muta_class = &(p_ptr->muta1);
128                         muta_which = MUT1_BERSERK;
129                         muta_desc = _("À©¸æ¤Ç¤­¤ë·ã¾ð¤ò´¶¤¸¤ë¡£", "You feel a controlled rage.");
130                         break;
131                         
132                 case 46:
133                         muta_class = &(p_ptr->muta1);
134                         muta_which = MUT1_POLYMORPH;
135                         muta_desc = _("ÂΤ¬ÊÑ°Û¤·¤ä¤¹¤¯¤Ê¤Ã¤¿¡£", "Your body seems mutable.");
136                         break;
137                         
138                 case 47: case 48:
139                         muta_class = &(p_ptr->muta1);
140                         muta_which = MUT1_MIDAS_TCH;
141                         muta_desc = _("¡Ö¥ß¥À¥¹²¦¤Î¼ê¡×¤ÎǽÎϤòÆÀ¤¿¡£", "You gain the Midas touch.");/*¥È¥¥¡¼¥à¥ì¥¤¥À¡¼¥¹¤Ë¤¢¤ê¤Þ¤·¤¿¤Í¡£ */
142                         break;
143                         
144                 case 49:
145                         muta_class = &(p_ptr->muta1);
146                         muta_which = MUT1_GROW_MOLD;
147                         muta_desc = _("ÆÍÁ³¥«¥Ó¤Ë¿Æ¤·¤ß¤ò³Ð¤¨¤¿¡£", "You feel a sudden affinity for mold.");
148                         break;
149                         
150                 case 50: case 51: case 52:
151                         muta_class = &(p_ptr->muta1);
152                         muta_which = MUT1_RESIST;
153                         muta_desc = _("¤¢¤Ê¤¿¤Ï¼«Ê¬¼«¿È¤ò¼é¤ì¤ëµ¤¤¬¤¹¤ë¡£", "You feel like you can protect yourself.");
154                         break;
155                         
156                 case 53: case 54: case 55:
157                         muta_class = &(p_ptr->muta1);
158                         muta_which = MUT1_EARTHQUAKE;
159                         muta_desc = _("¥À¥ó¥¸¥ç¥ó¤òÇ˲õ¤¹¤ëǽÎϤòÆÀ¤¿¡£", "You gain the ability to wreck the dungeon.");
160                         break;
161                         
162                 case 56:
163                         muta_class = &(p_ptr->muta1);
164                         muta_which = MUT1_EAT_MAGIC;
165                         muta_desc = _("ËâË¡¤Î¥¢¥¤¥Æ¥à¤¬ÈþÌ£¤½¤¦¤Ë¸«¤¨¤ë¡£", "Your magic items look delicious.");
166                         break;
167                         
168                 case 57: case 58:
169                         muta_class = &(p_ptr->muta1);
170                         muta_which = MUT1_WEIGH_MAG;
171                         muta_desc = _("¤¢¤Ê¤¿¤Ï¼þ°Ï¤Ë¤¢¤ëËâË¡¤ò¤è¤êÎɤ¯Íý²ò¤Ç¤­¤ëµ¤¤¬¤¹¤ë¡£", "You feel you can better understand the magic around you.");
172                         break;
173                         
174                 case 59:
175                         muta_class = &(p_ptr->muta1);
176                         muta_which = MUT1_STERILITY;
177                         muta_desc = _("¼þ¤ê¤ÎÁ´¤Æ¤Î¼Ô¤ËƬÄˤòµ¯¤³¤¹¤³¤È¤¬¤Ç¤­¤ë¡£", "You can give everything around you a headache.");
178                         break;
179                 case 60: case 61:
180                         muta_class = &(p_ptr->muta1);
181                         muta_which = MUT1_PANIC_HIT;
182                         muta_desc = _("ÆÍÁ³¡¢Å¥ËÀ¤Îµ¤Ê¬¤¬Ê¬¤«¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£", "You suddenly understand how thieves feel.");
183                         break;
184                         
185                 case 62: case 63: case 64:
186                         muta_class = &(p_ptr->muta1);
187                         muta_which = MUT1_DAZZLE;
188                         muta_desc = _("âÁ¤¤Á®¸÷¤òȯ¤¹¤ëǽÎϤòÆÀ¤¿¡£", "You gain the ability to emit dazzling lights.");
189                         break;
190                         
191                 case 65: case 66: case 67:
192                         muta_class = &(p_ptr->muta1);
193                         muta_which = MUT1_LASER_EYE;
194                         muta_desc = _("¤¢¤Ê¤¿¤ÎÌܤϰì½Ö¾Æ¤±ÉÕ¤¤¤¿¡£", "Your eyes burn for a moment.");
195                         break;
196                         
197                 case 68: case 69:
198                         muta_class = &(p_ptr->muta1);
199                         muta_which = MUT1_RECALL;
200                         muta_desc = _("¾¯¤·¤À¤±¥Û¡¼¥à¥·¥Ã¥¯¤Ë¤Ê¤Ã¤¿¤¬¡¢¤¹¤°Ä¾¤Ã¤¿¡£", "You feel briefly homesick, but it passes.");
201                         break;
202                         
203                 case 70:
204                         muta_class = &(p_ptr->muta1);
205                         muta_which = MUT1_BANISH;
206                         muta_desc = _("¿ÀÀ»¤ÊÅܤê¤ÎÎϤËËþ¤¿¤µ¤ì¤¿¡£", "You feel a holy wrath fill you.");
207                         break;
208                         
209                 case 71: case 72:
210                         muta_class = &(p_ptr->muta1);
211                         muta_which = MUT1_COLD_TOUCH;
212                         muta_desc = _("¤¢¤Ê¤¿¤Îξ¼ê¤Ï¤È¤Æ¤âÎ䤿¤¯¤Ê¤Ã¤¿¡£", "Your hands get very cold.");
213                         break;
214                         
215                 case 73: case 74:
216                         muta_class = &(p_ptr->muta1);
217                         muta_which = MUT1_LAUNCHER;
218                         muta_desc = _("¤¢¤Ê¤¿¤Îʪ¤òÅꤲ¤ë¼ê¤Ï¤«¤Ê¤ê¶¯¤¯¤Ê¤Ã¤¿µ¤¤¬¤¹¤ë¡£", "Your throwing arm feels much stronger.");
219                         break;
220                         
221                 case 75:
222                         muta_class = &(p_ptr->muta2);
223                         muta_which = MUT2_BERS_RAGE;
224                         muta_desc = _("¤¢¤Ê¤¿¤Ï¶¸Ë½²½¤Îȯºî¤òµ¯¤³¤¹¤è¤¦¤Ë¤Ê¤Ã¤¿¡ª", "You become subject to fits of berserk rage!");
225                         break;
226                         
227                 case 76:
228                         muta_class = &(p_ptr->muta2);
229                         muta_which = MUT2_COWARDICE;
230                         muta_desc = _("¿®¤¸¤é¤ì¤Ê¤¤¤¯¤é¤¤²²É¤ˤʤä¿¡ª", "You become an incredible coward!");
231                         break;
232                         
233                 case 77:
234                         muta_class = &(p_ptr->muta2);
235                         muta_which = MUT2_RTELEPORT;
236                         muta_desc = _("¤¢¤Ê¤¿¤Î°ÌÃÖ¤ÏÈó¾ï¤ËÉÔ³ÎÄê¤Ë¤Ê¤Ã¤¿¡£", "Your position seems very uncertain...");
237                         break;
238                         
239                 case 78:
240                         muta_class = &(p_ptr->muta2);
241                         muta_which = MUT2_ALCOHOL;
242                         muta_desc = _("¤¢¤Ê¤¿¤Ï¥¢¥ë¥³¡¼¥ë¤òʬÈ礹¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£", "Your body starts producing alcohol!");
243                         break;
244                         
245                 case 79:
246                         muta_class = &(p_ptr->muta2);
247                         muta_which = MUT2_HALLU;
248                         muta_desc = _("¤¢¤Ê¤¿¤Ï¸¸³Ð¤ò°ú¤­µ¯¤³¤¹Àº¿ÀºøÍð¤Ë¿¯¤µ¤ì¤¿¡£", "You are afflicted by a hallucinatory insanity!");
249                         break;
250                         
251                 case 80:
252                         muta_class = &(p_ptr->muta2);
253                         muta_which = MUT2_FLATULENT;
254                         muta_desc = _( "¤¢¤Ê¤¿¤ÏÀ©¸æÉÔǽ¤Ê¶¯Îõ¤ÊÕû¤ò¤³¤¯¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You become subject to uncontrollable flatulence.");
255
256                         break;
257                 case 81: case 82:
258                         muta_class = &(p_ptr->muta2);
259                         muta_which = MUT2_SCOR_TAIL;
260                         muta_desc = _( "¥µ¥½¥ê¤Î¿¬Èø¤¬À¸¤¨¤Æ¤­¤¿¡ª",  "You grow a scorpion tail!");
261
262                         break;
263                 case 83: case 84:
264                         muta_class = &(p_ptr->muta2);
265                         muta_which = MUT2_HORNS;
266                         muta_desc = _( "³Û¤Ë³Ñ¤¬À¸¤¨¤¿¡ª",  "Horns pop forth into your forehead!");
267
268                         break;
269                 case 85: case 86:
270                         muta_class = &(p_ptr->muta2);
271                         muta_which = MUT2_BEAK;
272                         muta_desc = _( "¸ý¤¬±Ô¤¯¶¯¤¤¥¯¥Á¥Ð¥·¤ËÊѲ½¤·¤¿¡ª",  "Your mouth turns into a sharp, powerful beak!");
273
274                         break;
275                 case 87: case 88:
276                         muta_class = &(p_ptr->muta2);
277                         muta_which = MUT2_ATT_DEMON;
278                         muta_desc = _( "°­Ëâ¤ò°ú¤­ÉÕ¤±¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You start attracting demons.");
279
280                         break;
281                 case 89:
282                         muta_class = &(p_ptr->muta2);
283                         muta_which = MUT2_PROD_MANA;
284                         muta_desc = _( "¤¢¤Ê¤¿¤ÏÀ©¸æÉÔǽ¤ÊËâË¡¤Î¥¨¥Í¥ë¥®¡¼¤òȯÀ¸¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You start producing magical energy uncontrollably.");
285
286                         break;
287                 case 90: case 91:
288                         muta_class = &(p_ptr->muta2);
289                         muta_which = MUT2_SPEED_FLUX;
290                         muta_desc = _( "¤¢¤Ê¤¿¤Ïí¯Ýµ¼Á¤Ë¤Ê¤Ã¤¿¡£",  "You become manic-depressive.");
291
292                         break;
293                 case 92: case 93:
294                         muta_class = &(p_ptr->muta2);
295                         muta_which = MUT2_BANISH_ALL;
296                         muta_desc = _( "¶²¤í¤·¤¤ÎϤ¬¤¢¤Ê¤¿¤ÎÇظå¤ËÀø¤ó¤Ç¤¤¤ëµ¤¤¬¤¹¤ë¡£",  "You feel a terrifying power lurking behind you.");
297
298                         break;
299                 case 94:
300                         muta_class = &(p_ptr->muta2);
301                         muta_which = MUT2_EAT_LIGHT;
302                         muta_desc = _( "¤¢¤Ê¤¿¤Ï¥¦¥ó¥´¥ê¥¢¥ó¥È¤Ë´ñ̯¤Ê¿Æ¤·¤ß¤ò³Ð¤¨¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You feel a strange kinship with Ungoliant.");
303
304                         break;
305                 case 95: case 96:
306                         muta_class = &(p_ptr->muta2);
307                         muta_which = MUT2_TRUNK;
308                         muta_desc = _( "¤¢¤Ê¤¿¤ÎÉ¡¤Ï¿­¤Ó¤Æ¾Ý¤ÎÉ¡¤Î¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "Your nose grows into an elephant-like trunk.");
309
310                         break;
311                 case 97:
312                         muta_class = &(p_ptr->muta2);
313                         muta_which = MUT2_ATT_ANIMAL;
314                         muta_desc = _( "ưʪ¤ò°ú¤­ÉÕ¤±¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You start attracting animals.");
315
316                         break;
317                 case 98:
318                         muta_class = &(p_ptr->muta2);
319                         muta_which = MUT2_TENTACLES;
320                         muta_desc = _( "¼Ù°­¤Ê¿¨¼ê¤¬ÂΤÎËÀ¸¤¨¤Æ¤­¤¿¡£",  "Evil-looking tentacles sprout from your sides.");
321
322                         break;
323                 case 99:
324                         muta_class = &(p_ptr->muta2);
325                         muta_which = MUT2_RAW_CHAOS;
326                         muta_desc = _( "¼þ°Ï¤Î¶õ´Ö¤¬ÉÔ°ÂÄê¤Ë¤Ê¤Ã¤¿µ¤¤¬¤¹¤ë¡£",  "You feel the universe is less stable around you.");
327
328                         break;
329                 case 100: case 101: case 102:
330                         muta_class = &(p_ptr->muta2);
331                         muta_which = MUT2_NORMALITY;
332                         muta_desc = _( "¤¢¤Ê¤¿¤Ï´ñ̯¤Ê¤Û¤ÉÉáÄ̤ˤʤ俵¤¤¬¤¹¤ë¡£",  "You feel strangely normal.");
333
334                         break;
335                 case 103:
336                         muta_class = &(p_ptr->muta2);
337                         muta_which = MUT2_WRAITH;
338                         muta_desc = _( "¤¢¤Ê¤¿¤ÏÍ©Â⽤·¤¿¤ê¼ÂÂ⽤·¤¿¤ê¤¹¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You start to fade in and out of the physical world.");
339
340                         break;
341                 case 104:
342                         muta_class = &(p_ptr->muta2);
343                         muta_which = MUT2_POLY_WOUND;
344                         muta_desc = _( "¤¢¤Ê¤¿¤Ï¥«¥ª¥¹¤ÎÎϤ¬¸Å¤¤½ý¤ËÆþ¤ê¹þ¤ó¤Ç¤¯¤ë¤Î¤ò´¶¤¸¤¿¡£",  "You feel forces of chaos entering your old scars.");
345
346                         break;
347                 case 105:
348                         muta_class = &(p_ptr->muta2);
349                         muta_which = MUT2_WASTING;
350                         muta_desc = _( "¤¢¤Ê¤¿¤ÏÆÍÁ³¤ª¤¾¤Þ¤·¤¤¿ê¼åɤˤ«¤«¤Ã¤¿¡£",  "You suddenly contract a horrible wasting disease.");
351
352                         break;
353                 case 106:
354                         muta_class = &(p_ptr->muta2);
355                         muta_which = MUT2_ATT_DRAGON;
356                         muta_desc = _( "¤¢¤Ê¤¿¤Ï¥É¥é¥´¥ó¤ò°ú¤­¤Ä¤±¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You start attracting dragons.");
357
358                         break;
359                 case 107: case 108:
360                         muta_class = &(p_ptr->muta2);
361                         muta_which = MUT2_WEIRD_MIND;
362                         muta_desc = _( "¤¢¤Ê¤¿¤Î»×¹Í¤ÏÆÍÁ³¤ª¤«¤·¤ÊÊý¸þ¤Ë¸þ¤­»Ï¤á¤¿¡£",  "Your thoughts suddenly take off in strange directions.");
363
364                         break;
365                 case 109:
366                         muta_class = &(p_ptr->muta2);
367                         muta_which = MUT2_NAUSEA;
368                         muta_desc = _( "°ßÂÞ¤¬¥Ô¥¯¥Ô¥¯¤·¤Ï¤¸¤á¤¿¡£",  "Your stomach starts to roil nauseously.");
369
370                         break;
371                 case 110: case 111:
372                         /* Chaos warriors already have a chaos deity */
373                         if (p_ptr->pclass != CLASS_CHAOS_WARRIOR)
374                         {
375                                 muta_class = &(p_ptr->muta2);
376                                 muta_which = MUT2_CHAOS_GIFT;
377                         muta_desc = _( "¤¢¤Ê¤¿¤Ï¥«¥ª¥¹¤Î¼é¸î°­Ëâ¤ÎÃí°Õ¤ò¼æ¤¯¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You attract the notice of a chaos deity!");
378
379                         }
380                         break;
381                 case 112:
382                         muta_class = &(p_ptr->muta2);
383                         muta_which = MUT2_WALK_SHAD;
384                         muta_desc = _( "¤¢¤Ê¤¿¤Ï¸½¼Â¤¬»æ¤Î¤è¤¦¤ËÇö¤¤¤È´¶¤¸¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You feel like reality is as thin as paper.");
385
386                         break;
387                 case 113: case 114:
388                         muta_class = &(p_ptr->muta2);
389                         muta_which = MUT2_WARNING;
390                         muta_desc = _( "¤¢¤Ê¤¿¤ÏÆÍÁ³¥Ñ¥é¥Î¥¤¥¢¤Ë¤Ê¤Ã¤¿µ¤¤¬¤¹¤ë¡£",  "You suddenly feel paranoid.");
391
392                         break;
393                 case 115:
394                         muta_class = &(p_ptr->muta2);
395                         muta_which = MUT2_INVULN;
396                         muta_desc = _( "¤¢¤Ê¤¿¤Ï½ËÊ¡¤µ¤ì¡¢ÌµÅ¨¾õÂ֤ˤʤëȯºî¤òµ¯¤³¤¹¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You are blessed with fits of invulnerability.");
397
398                         break;
399                 case 116: case 117:
400                         muta_class = &(p_ptr->muta2);
401                         muta_which = MUT2_SP_TO_HP;
402                         muta_desc = _( "ËâË¡¤Î¼£Ìþ¤Îȯºî¤òµ¯¤³¤¹¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You are subject to fits of magical healing.");
403
404                         break;
405                 case 118:
406                         muta_class = &(p_ptr->muta2);
407                         muta_which = MUT2_HP_TO_SP;
408                         muta_desc = _( "Äˤߤòȼ¤¦Àº¿ÀÌÀÎƲ½¤Îȯºî¤òµ¯¤³¤¹¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You are subject to fits of painful clarity.");
409
410                         break;
411                 case 119:
412                         muta_class = &(p_ptr->muta2);
413                         muta_which = MUT2_DISARM;
414                         muta_desc = _( "¤¢¤Ê¤¿¤ÎµÓ¤ÏŤµ¤¬»ÍÇܤˤʤä¿¡£",  "Your feet grow to four times their former size.");
415
416                         break;
417                 case 120: case 121: case 122:
418                         muta_class = &(p_ptr->muta3);
419                         muta_which = MUT3_HYPER_STR;
420                         muta_desc = _( "Ķ¿ÍŪ¤Ë¶¯¤¯¤Ê¤Ã¤¿¡ª",  "You turn into a superhuman he-man!");
421
422                         break;
423                 case 123: case 124: case 125:
424                         muta_class = &(p_ptr->muta3);
425                         muta_which = MUT3_PUNY;
426                         muta_desc = _( "¶ÚÆù¤¬¼å¤Ã¤Æ¤·¤Þ¤Ã¤¿...",  "Your muscles wither away...");
427
428                         break;
429                 case 126: case 127: case 128:
430                         muta_class = &(p_ptr->muta3);
431                         muta_which = MUT3_HYPER_INT;
432                         muta_desc = _( "¤¢¤Ê¤¿¤ÎǾ¤ÏÀ¸ÂÎ¥³¥ó¥Ô¥å¡¼¥¿¤Ë¿Ê²½¤·¤¿¡ª",  "Your brain evolves into a living computer!");
433
434                         break;
435                 case 129: case 130: case 131:
436                         muta_class = &(p_ptr->muta3);
437                         muta_which = MUT3_MORONIC;
438                         muta_desc = _( "Ǿ¤¬°à½Ì¤·¤Æ¤·¤Þ¤Ã¤¿...",  "Your brain withers away...");
439
440                         break;
441                 case 132: case 133:
442                         muta_class = &(p_ptr->muta3);
443                         muta_which = MUT3_RESILIENT;
444                         muta_desc = _( "ʳ°¤ì¤Æ¥¿¥Õ¤Ë¤Ê¤Ã¤¿¡£",  "You become extraordinarily resilient.");
445
446                         break;
447                 case 134: case 135:
448                         muta_class = &(p_ptr->muta3);
449                         muta_which = MUT3_XTRA_FAT;
450                         muta_desc = _( "¤¢¤Ê¤¿¤Ïµ¤»ý¤Á°­¤¤¤¯¤é¤¤ÂÀ¤Ã¤¿¡ª",  "You become sickeningly fat!");
451
452                         break;
453                 case 136: case 137:
454                         muta_class = &(p_ptr->muta3);
455                         muta_which = MUT3_ALBINO;
456                         muta_desc = _( "¥¢¥ë¥Ó¥Î¤Ë¤Ê¤Ã¤¿¡ª¼å¤¯¤Ê¤Ã¤¿µ¤¤¬¤¹¤ë...",  "You turn into an albino! You feel frail...");
457
458                         break;
459                 case 138: case 139: case 140:
460                         muta_class = &(p_ptr->muta3);
461                         muta_which = MUT3_FLESH_ROT;
462                         muta_desc = _( "¤¢¤Ê¤¿¤ÎÆùÂΤÏÉåÇÔ¤¹¤ëɵ¤¤Ë¿¯¤µ¤ì¤¿¡ª",  "Your flesh is afflicted by a rotting disease!");
463
464                         break;
465                 case 141: case 142:
466                         muta_class = &(p_ptr->muta3);
467                         muta_which = MUT3_SILLY_VOI;
468                         muta_desc = _( "À¼¤¬´ÖÈ´¤±¤Ê¥­¡¼¥­¡¼À¼¤Ë¤Ê¤Ã¤¿¡ª",  "Your voice turns into a ridiculous squeak!");
469
470                         break;
471                 case 143: case 144:
472                         muta_class = &(p_ptr->muta3);
473                         muta_which = MUT3_BLANK_FAC;
474                         muta_desc = _( "¤Î¤Ã¤Ú¤é¤Ü¤¦¤Ë¤Ê¤Ã¤¿¡ª",  "Your face becomes completely featureless!");
475
476                         break;
477                 case 145:
478                         muta_class = &(p_ptr->muta3);
479                         muta_which = MUT3_ILL_NORM;
480                         muta_desc = _( "¿´¤Î°Â¤é¤°¸¸±Æ¤ò±Ç¤·½Ð¤¹¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You start projecting a reassuring image.");
481
482                         break;
483                 case 146: case 147: case 148:
484                         muta_class = &(p_ptr->muta3);
485                         muta_which = MUT3_XTRA_EYES;
486                         muta_desc = _( "¿·¤¿¤ËÆó¤Ä¤ÎÌܤ¬½ÐÍ褿¡ª",  "You grow an extra pair of eyes!");
487
488                         break;
489                 case 149: case 150:
490                         muta_class = &(p_ptr->muta3);
491                         muta_which = MUT3_MAGIC_RES;
492                         muta_desc = _( "ËâË¡¤Ø¤ÎÂÑÀ­¤¬¤Ä¤¤¤¿¡£",  "You become resistant to magic.");
493
494                         break;
495                 case 151: case 152: case 153:
496                         muta_class = &(p_ptr->muta3);
497                         muta_which = MUT3_XTRA_NOIS;
498                         muta_desc = _( "¤¢¤Ê¤¿¤Ï´ñ̯¤Ê²»¤òΩ¤Æ»Ï¤á¤¿¡ª",  "You start making strange noise!");
499
500                         break;
501                 case 154: case 155: case 156:
502                         muta_class = &(p_ptr->muta3);
503                         muta_which = MUT3_INFRAVIS;
504                         muta_desc = _( "ÀÖ³°Àþ»ëÎϤ¬Áý¤·¤¿¡£",  "Your infravision is improved.");
505
506                         break;
507                 case 157: case 158:
508                         muta_class = &(p_ptr->muta3);
509                         muta_which = MUT3_XTRA_LEGS;
510                         muta_desc = _( "¿·¤¿¤ËÆóËܤέ¤¬À¸¤¨¤Æ¤­¤¿¡ª",  "You grow an extra pair of legs!");
511
512                         break;
513                 case 159: case 160:
514                         muta_class = &(p_ptr->muta3);
515                         muta_which = MUT3_SHORT_LEG;
516                         muta_desc = _( "­¤¬Ã»¤¤Æ͵¯¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿¡ª",  "Your legs turn into short stubs!");
517
518                         break;
519                 case 161: case 162:
520                         muta_class = &(p_ptr->muta3);
521                         muta_which = MUT3_ELEC_TOUC;
522                         muta_desc = _( "·ì´É¤òÅÅή¤¬Î®¤ì»Ï¤á¤¿¡ª",  "Electricity starts running through you!");
523
524                         break;
525                 case 163: case 164:
526                         muta_class = &(p_ptr->muta3);
527                         muta_which = MUT3_FIRE_BODY;
528                         muta_desc = _( "¤¢¤Ê¤¿¤ÎÂΤϱê¤Ë¤Ä¤Ä¤Þ¤ì¤Æ¤¤¤ë¡£",  "Your body is enveloped in flames!");
529
530                         break;
531                 case 165: case 166: case 167:
532                         muta_class = &(p_ptr->muta3);
533                         muta_which = MUT3_WART_SKIN;
534                         muta_desc = _( "µ¤»ý¤Á°­¤¤¥¤¥Ü¥¤¥Ü¤¬ÂÎÃæ¤Ë¤Ç¤­¤¿¡ª",  "Disgusting warts appear everywhere on you!");
535
536                         break;
537                 case 168: case 169: case 170:
538                         muta_class = &(p_ptr->muta3);
539                         muta_which = MUT3_SCALES;
540                         muta_desc = _( "È©¤¬¹õ¤¤ÎÚ¤ËÊѤï¤Ã¤¿¡ª",  "Your skin turns into black scales!");
541
542                         break;
543                 case 171: case 172:
544                         muta_class = &(p_ptr->muta3);
545                         muta_which = MUT3_IRON_SKIN;
546                         muta_desc = _( "¤¢¤Ê¤¿¤ÎÈ©¤ÏÅ´¤Ë¤Ê¤Ã¤¿¡ª",  "Your skin turns to steel!");
547
548                         break;
549                 case 173: case 174:
550                         muta_class = &(p_ptr->muta3);
551                         muta_which = MUT3_WINGS;
552                         muta_desc = _( "ÇØÃæ¤Ë±©¤¬À¸¤¨¤¿¡£",  "You grow a pair of wings.");
553
554                         break;
555                 case 175: case 176: case 177:
556                         muta_class = &(p_ptr->muta3);
557                         muta_which = MUT3_FEARLESS;
558                         muta_desc = _( "´°Á´¤ËÉݤìÃΤ餺¤Ë¤Ê¤Ã¤¿¡£",  "You become completely fearless.");
559
560                         break;
561                 case 178: case 179:
562                         muta_class = &(p_ptr->muta3);
563                         muta_which = MUT3_REGEN;
564                         muta_desc = _( "µÞ®¤Ë²óÉü¤·»Ï¤á¤¿¡£",  "You start regenerating.");
565
566                         break;
567                 case 180: case 181:
568                         muta_class = &(p_ptr->muta3);
569                         muta_which = MUT3_ESP;
570                         muta_desc = _( "¥Æ¥ì¥Ñ¥·¡¼¤ÎǽÎϤòÆÀ¤¿¡ª",  "You develop a telepathic ability!");
571
572                         break;
573                 case 182: case 183: case 184:
574                         muta_class = &(p_ptr->muta3);
575                         muta_which = MUT3_LIMBER;
576                         muta_desc = _( "¶ÚÆù¤¬¤·¤Ê¤ä¤«¤Ë¤Ê¤Ã¤¿¡£",  "Your muscles become limber.");
577
578                         break;
579                 case 185: case 186: case 187:
580                         muta_class = &(p_ptr->muta3);
581                         muta_which = MUT3_ARTHRITIS;
582                         muta_desc = _( "´ØÀ᤬ÆÍÁ³Äˤ߽Ф·¤¿¡£",  "Your joints suddenly hurt.");
583
584                         break;
585                 case 188:
586                         if (p_ptr->pseikaku == SEIKAKU_LUCKY) break;
587                         muta_class = &(p_ptr->muta3);
588                         muta_which = MUT3_BAD_LUCK;
589                         muta_desc = _( "°­°Õ¤ËËþ¤Á¤¿¹õ¤¤¥ª¡¼¥é¤¬¤¢¤Ê¤¿¤ò¤È¤ê¤Þ¤¤¤¿...",  "There is a malignant black aura surrounding you...");
590
591                         break;
592                 case 189:
593                         muta_class = &(p_ptr->muta3);
594                         muta_which = MUT3_VULN_ELEM;
595                         muta_desc = _( "̯¤Ë̵ËÉÈ÷¤Ë¤Ê¤Ã¤¿µ¤¤¬¤¹¤ë¡£",  "You feel strangely exposed.");
596
597                         break;
598                 case 190: case 191: case 192:
599                         muta_class = &(p_ptr->muta3);
600                         muta_which = MUT3_MOTION;
601                         muta_desc = _( "ÂΤÎÆ°ºî¤¬¤è¤êÀµ³Î¤Ë¤Ê¤Ã¤¿¡£",  "You move with new assurance.");
602
603                         break;
604                 case 193:
605                         muta_class = &(p_ptr->muta3);
606                         muta_which = MUT3_GOOD_LUCK;
607                         muta_desc = _( "»üÈῼ¤¤Çò¤¤¥ª¡¼¥é¤¬¤¢¤Ê¤¿¤ò¤È¤ê¤Þ¤¤¤¿...",  "There is a benevolent white aura surrounding you...");
608
609                         break;
610                 default:
611                         muta_class = NULL;
612                         muta_which = 0;
613                 }
614
615                 if (muta_class && muta_which)
616                 {
617                         if (!(*muta_class & muta_which))
618                         {
619                                 muta_chosen = TRUE;
620                         }
621                 }
622                 if (muta_chosen == TRUE) break;
623         }
624
625         if (!muta_chosen)
626         {
627                 msg_print(_("ÉáÄ̤ˤʤ俵¤¤¬¤¹¤ë¡£", "You feel normal."));
628
629                 return FALSE;
630         }
631         else
632         {
633                 chg_virtue(V_CHANCE, 1);
634
635                 /*
636                   some races are apt to gain specified mutations
637                   This should be allowed only if "choose_mut" is 0.
638                                                         --- henkma
639                 */
640                 if(!choose_mut){
641                         if (p_ptr->prace == RACE_VAMPIRE &&
642                           !(p_ptr->muta1 & MUT1_HYPN_GAZE) &&
643                            (randint1(10) < 7))
644                         {
645                                 muta_class = &(p_ptr->muta1);
646                                 muta_which = MUT1_HYPN_GAZE;
647                         muta_desc = _( "´ã¤¬¸¸ÏÇŪ¤Ë¤Ê¤Ã¤¿...",  "Your eyes look mesmerizing...");
648
649                         }
650
651                         else if (p_ptr->prace == RACE_IMP &&
652                                  !(p_ptr->muta2 & MUT2_HORNS) &&
653                                  (randint1(10) < 7))
654                           {
655                                 muta_class = &(p_ptr->muta2);
656                                 muta_which = MUT2_HORNS;
657                         muta_desc = _( "³Ñ¤¬³Û¤«¤éÀ¸¤¨¤Æ¤­¤¿¡ª",  "Horns pop forth into your forehead!");
658
659                         }
660
661                         else if (p_ptr->prace == RACE_YEEK &&
662                                 !(p_ptr->muta1 & MUT1_SHRIEK) &&
663                                 (randint1(10) < 7))
664                         {
665                                 muta_class = &(p_ptr->muta1);
666                                 muta_which = MUT1_SHRIEK;
667                         muta_desc = _( "À¼¼Á¤¬¤«¤Ê¤ê¶¯¤¯¤Ê¤Ã¤¿¡£",  "Your vocal cords get much tougher.");
668
669                         }
670
671                         else if (p_ptr->prace == RACE_BEASTMAN &&
672                                 !(p_ptr->muta1 & MUT1_POLYMORPH) &&
673                                 (randint1(10) < 2))
674                         {
675                                 muta_class = &(p_ptr->muta1);
676                                 muta_which = MUT1_POLYMORPH;
677                         muta_desc = _( "¤¢¤Ê¤¿¤ÎÆùÂΤÏÊѲ½¤Ç¤­¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡¢",  "Your body seems mutable.");
678
679                         }
680
681                         else if (p_ptr->prace == RACE_MIND_FLAYER &&
682                                 !(p_ptr->muta2 & MUT2_TENTACLES) &&
683                                 (randint1(10) < 7))
684                         {
685                                 muta_class = &(p_ptr->muta2);
686                                 muta_which = MUT2_TENTACLES;
687                         muta_desc = _( "¼Ù°­¤Ê¿¨¼ê¤¬¸ý¤Î¼þ¤ê¤ËÀ¸¤¨¤¿¡£",  "Evil-looking tentacles sprout from your mouth.");
688
689                         }
690                 }
691                 msg_print(_("ÆÍÁ³ÊÑ°Û¤·¤¿¡ª", "You mutate!"));
692
693                 msg_print(muta_desc);
694                 *muta_class |= muta_which;
695
696                 if (muta_class == &(p_ptr->muta3))
697                 {
698                         if (muta_which == MUT3_PUNY)
699                         {
700                                 if (p_ptr->muta3 & MUT3_HYPER_STR)
701                                 {
702                                         msg_print(_("¤¢¤Ê¤¿¤Ï¤â¤¦Ä¶¿ÍŪ¤Ë¶¯¤¯¤Ï¤Ê¤¤¡ª", "You no longer feel super-strong!"));
703
704                                         p_ptr->muta3 &= ~(MUT3_HYPER_STR);
705                                 }
706                         }
707                         else if (muta_which == MUT3_HYPER_STR)
708                         {
709                                 if (p_ptr->muta3 & MUT3_PUNY)
710                                 {
711                                         msg_print(_("¤¢¤Ê¤¿¤Ï¤â¤¦µõ¼å¤Ç¤Ï¤Ê¤¤¡ª", "You no longer feel puny!"));
712
713                                         p_ptr->muta3 &= ~(MUT3_PUNY);
714                                 }
715                         }
716                         else if (muta_which == MUT3_MORONIC)
717                         {
718                                 if (p_ptr->muta3 & MUT3_HYPER_INT)
719                                 {
720                                         msg_print(_("¤¢¤Ê¤¿¤ÎǾ¤Ï¤â¤¦À¸ÂÎ¥³¥ó¥Ô¥å¡¼¥¿¤Ç¤Ï¤Ê¤¤¡£", "Your brain is no longer a living computer."));
721
722                                         p_ptr->muta3 &= ~(MUT3_HYPER_INT);
723                                 }
724                         }
725                         else if (muta_which == MUT3_HYPER_INT)
726                         {
727                                 if (p_ptr->muta3 & MUT3_MORONIC)
728                                 {
729                                         msg_print(_("¤¢¤Ê¤¿¤Ï¤â¤¦Àº¿ÀÇö¼å¤Ç¤Ï¤Ê¤¤¡£", "You are no longer moronic."));
730
731                                         p_ptr->muta3 &= ~(MUT3_MORONIC);
732                                 }
733                         }
734                         else if (muta_which == MUT3_IRON_SKIN)
735                         {
736                                 if (p_ptr->muta3 & MUT3_SCALES)
737                                 {
738                                         msg_print(_("ÎÚ¤¬¤Ê¤¯¤Ê¤Ã¤¿¡£", "You lose your scales."));
739
740                                         p_ptr->muta3 &= ~(MUT3_SCALES);
741                                 }
742                                 if (p_ptr->muta3 & MUT3_FLESH_ROT)
743                                 {
744                                         msg_print(_("ÆùÂΤ¬ÉåÍ𤷤ʤ¯¤Ê¤Ã¤¿¡£", "Your flesh rots no longer."));
745
746                                         p_ptr->muta3 &= ~(MUT3_FLESH_ROT);
747                                 }
748                                 if (p_ptr->muta3 & MUT3_WART_SKIN)
749                                 {
750                                         msg_print(_("È©¤Î¥¤¥Ü¥¤¥Ü¤¬¤Ê¤¯¤Ê¤Ã¤¿¡£", "You lose your warts."));
751
752                                         p_ptr->muta3 &= ~(MUT3_WART_SKIN);
753                                 }
754                         }
755                         else if (muta_which == MUT3_WART_SKIN || muta_which == MUT3_SCALES
756                                 || muta_which == MUT3_FLESH_ROT)
757                         {
758                                 if (p_ptr->muta3 & MUT3_IRON_SKIN)
759                                 {
760                                         msg_print(_("¤¢¤Ê¤¿¤ÎÈ©¤Ï¤â¤¦Å´¤Ç¤Ï¤Ê¤¤¡£", "Your skin is no longer made of steel."));
761
762                                         p_ptr->muta3 &= ~(MUT3_IRON_SKIN);
763                                 }
764                         }
765                         else if (muta_which == MUT3_FEARLESS)
766                         {
767                                 if (p_ptr->muta2 & MUT2_COWARDICE)
768                                 {
769                                         msg_print(_("²²É¤Ǥʤ¯¤Ê¤Ã¤¿¡£", "You are no longer cowardly."));
770
771                                         p_ptr->muta2 &= ~(MUT2_COWARDICE);
772                                 }
773                         }
774                         else if (muta_which == MUT3_FLESH_ROT)
775                         {
776                                 if (p_ptr->muta3 & MUT3_REGEN)
777                                 {
778                                         msg_print(_("µÞ®¤Ë²óÉü¤·¤Ê¤¯¤Ê¤Ã¤¿¡£", "You stop regenerating."));
779
780                                         p_ptr->muta3 &= ~(MUT3_REGEN);
781                                 }
782                         }
783                         else if (muta_which == MUT3_REGEN)
784                         {
785                                 if (p_ptr->muta3 & MUT3_FLESH_ROT)
786                                 {
787                                         msg_print(_("ÆùÂΤ¬ÉåÍ𤷤ʤ¯¤Ê¤Ã¤¿¡£", "Your flesh stops rotting."));
788
789                                         p_ptr->muta3 &= ~(MUT3_FLESH_ROT);
790                                 }
791                         }
792                         else if (muta_which == MUT3_LIMBER)
793                         {
794                                 if (p_ptr->muta3 & MUT3_ARTHRITIS)
795                                 {
796                                         msg_print(_("´ØÀ᤬Äˤ¯¤Ê¤¯¤Ê¤Ã¤¿¡£", "Your joints stop hurting."));
797
798                                         p_ptr->muta3 &= ~(MUT3_ARTHRITIS);
799                                 }
800                         }
801                         else if (muta_which == MUT3_ARTHRITIS)
802                         {
803                                 if (p_ptr->muta3 & MUT3_LIMBER)
804                                 {
805                                         msg_print(_("¤¢¤Ê¤¿¤Ï¤·¤Ê¤ä¤«¤Ç¤Ê¤¯¤Ê¤Ã¤¿¡£", "You no longer feel limber."));
806
807                                         p_ptr->muta3 &= ~(MUT3_LIMBER);
808                                 }
809                         }
810                 }
811                 else if (muta_class == &(p_ptr->muta2))
812                 {
813                         if (muta_which == MUT2_COWARDICE)
814                         {
815                                 if (p_ptr->muta3 & MUT3_FEARLESS)
816                                 {
817                                         msg_print(_("¶²¤ìÃΤ餺¤Ç¤Ê¤¯¤Ê¤Ã¤¿¡£", "You no longer feel fearless."));
818
819                                         p_ptr->muta3 &= ~(MUT3_FEARLESS);
820                                 }
821                         }
822                         if (muta_which == MUT2_BEAK)
823                         {
824                                 if (p_ptr->muta2 & MUT2_TRUNK)
825                                 {
826                                         msg_print(_("¤¢¤Ê¤¿¤ÎÉ¡¤Ï¤â¤¦¾Ý¤ÎÉ¡¤Î¤è¤¦¤Ç¤Ï¤Ê¤¯¤Ê¤Ã¤¿¡£", "Your nose is no longer elephantine."));
827
828                                         p_ptr->muta2 &= ~(MUT2_TRUNK);
829                                 }
830                         }
831                         if (muta_which == MUT2_TRUNK)
832                         {
833                                 if (p_ptr->muta2 & MUT2_BEAK)
834                                 {
835                                         msg_print(_("¹Å¤¤¥¯¥Á¥Ð¥·¤¬¤Ê¤¯¤Ê¤Ã¤¿¡£", "You no longer have a hard beak."));
836
837                                         p_ptr->muta2 &= ~(MUT2_BEAK);
838                                 }
839                         }
840                 }
841
842                 mutant_regenerate_mod = calc_mutant_regenerate_mod();
843                 p_ptr->update |= PU_BONUS;
844                 handle_stuff();
845                 return TRUE;
846         }
847 }
848
849
850 bool lose_mutation(int choose_mut)
851 {
852         int attempts_left = 20;
853         cptr muta_desc = "";
854         bool muta_chosen = FALSE;
855         u32b muta_which = 0;
856         u32b *muta_class = NULL;
857
858         if (choose_mut) attempts_left = 1;
859
860         while (attempts_left--)
861         {
862                 switch (choose_mut ? choose_mut : randint1(193))
863                 {
864                 case 1: case 2: case 3: case 4:
865                         muta_class = &(p_ptr->muta1);
866                         muta_which = MUT1_SPIT_ACID;
867                         muta_desc = _( "»À¤ò¿á¤­¤«¤±¤ëǽÎϤò¼º¤Ã¤¿¡£",  "You lose the ability to spit acid.");
868
869                         break;
870                 case 5: case 6: case 7:
871                         muta_class = &(p_ptr->muta1);
872                         muta_which = MUT1_BR_FIRE;
873                         muta_desc = _( "±ê¤Î¥Ö¥ì¥¹¤òÅǤ¯Ç½ÎϤò¼º¤Ã¤¿¡£",  "You lose the ability to breathe fire.");
874
875                         break;
876                 case 8: case 9:
877                         muta_class = &(p_ptr->muta1);
878                         muta_which = MUT1_HYPN_GAZE;
879                         muta_desc = _( "¤¢¤Ê¤¿¤ÎÌܤϤĤޤé¤Ê¤¤Ìܤˤʤä¿¡£",  "Your eyes look uninteresting.");
880
881                         break;
882                 case 10: case 11:
883                         muta_class = &(p_ptr->muta1);
884                         muta_which = MUT1_TELEKINES;
885                         muta_desc = _( "Ç°Æ°ÎϤÇʪ¤òÆ°¤«¤¹Ç½ÎϤò¼º¤Ã¤¿¡£",  "You lose the ability to move objects telekinetically.");
886
887                         break;
888                 case 12: case 13: case 14:
889                         muta_class = &(p_ptr->muta1);
890                         muta_which = MUT1_VTELEPORT;
891                         muta_desc = _( "¼«Ê¬¤Î°Õ»×¤Ç¥Æ¥ì¥Ý¡¼¥È¤¹¤ëǽÎϤò¼º¤Ã¤¿¡£",  "You lose the power of teleportation at will.");
892
893                         break;
894                 case 15: case 16:
895                         muta_class = &(p_ptr->muta1);
896                         muta_which = MUT1_MIND_BLST;
897                         muta_desc = _( "Àº¿À¹¶·â¤ÎǽÎϤò¼º¤Ã¤¿¡£",  "You lose the power of Mind Blast.");
898
899                         break;
900                 case 17: case 18:
901                         muta_class = &(p_ptr->muta1);
902                         muta_which = MUT1_RADIATION;
903                         muta_desc = _( "¤¢¤Ê¤¿¤ÏÊü¼Íǽ¤òȯÀ¸¤·¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You stop emitting hard radiation.");
904
905                         break;
906                 case 19: case 20:
907                         muta_class = &(p_ptr->muta1);
908                         muta_which = MUT1_VAMPIRISM;
909                         muta_desc = _( "µÛ·ì¤ÎǽÎϤò¼º¤Ã¤¿¡£",  "You are no longer vampiric.");
910
911                         break;
912                 case 21: case 22: case 23:
913                         muta_class = &(p_ptr->muta1);
914                         muta_which = MUT1_SMELL_MET;
915                         muta_desc = _( "¶â°¤Î½­¤¤¤òÓ̤²¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You no longer smell a metallic odor.");
916
917                         break;
918                 case 24: case 25: case 26: case 27:
919                         muta_class = &(p_ptr->muta1);
920                         muta_which = MUT1_SMELL_MON;
921                         muta_desc = _( "ÉÔ·é¤Ê¥â¥ó¥¹¥¿¡¼¤Î½­¤¤¤òÓ̤²¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You no longer smell filthy monsters.");
922
923                         break;
924                 case 28: case 29: case 30:
925                         muta_class = &(p_ptr->muta1);
926                         muta_which = MUT1_BLINK;
927                         muta_desc = _( "¶áµ÷Î¥¥Æ¥ì¥Ý¡¼¥È¤ÎǽÎϤò¼º¤Ã¤¿¡£",  "You lose the power of minor teleportation.");
928
929                         break;
930                 case 31: case 32:
931                         muta_class = &(p_ptr->muta1);
932                         muta_which = MUT1_EAT_ROCK;
933                         muta_desc = _( "ÊɤÏÈþÌ£¤·¤½¤¦¤Ë¸«¤¨¤Ê¤¯¤Ê¤Ã¤¿¡£",  "The walls look unappetizing.");
934
935                         break;
936                 case 33: case 34:
937                         muta_class = &(p_ptr->muta1);
938                         muta_which = MUT1_SWAP_POS;
939                         muta_desc = _( "¤¢¤Ê¤¿¤Ï¼«Ê¬¤Î·¤¤Ëα¤Þ¤ë´¶¤¸¤¬¤¹¤ë¡£",  "You feel like staying in your own shoes.");
940
941                         break;
942                 case 35: case 36: case 37:
943                         muta_class = &(p_ptr->muta1);
944                         muta_which = MUT1_SHRIEK;
945                         muta_desc = _( "¤¢¤Ê¤¿¤ÎÀ¼¼Á¤Ï¼å¤¯¤Ê¤Ã¤¿¡£",  "Your vocal cords get much weaker.");
946
947                         break;
948                 case 38: case 39: case 40:
949                         muta_class = &(p_ptr->muta1);
950                         muta_which = MUT1_ILLUMINE;
951                         muta_desc = _( "Éô²°¤òÌÀ¤ë¤¯¾È¤é¤¹¤³¤È¤¬½ÐÍè¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You can no longer light up rooms with your presence.");
952
953                         break;
954                 case 41: case 42:
955                         muta_class = &(p_ptr->muta1);
956                         muta_which = MUT1_DET_CURSE;
957                         muta_desc = _( "¼Ù°­¤ÊËâË¡¤ò´¶¤¸¤é¤ì¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You can no longer feel evil magics.");
958
959                         break;
960                 case 43: case 44: case 45:
961                         muta_class = &(p_ptr->muta1);
962                         muta_which = MUT1_BERSERK;
963                         muta_desc = _( "À©¸æ¤Ç¤­¤ë·ã¾ð¤ò´¶¤¸¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You no longer feel a controlled rage.");
964
965                         break;
966                 case 46:
967                         muta_class = &(p_ptr->muta1);
968                         muta_which = MUT1_POLYMORPH;
969                         muta_desc = _( "¤¢¤Ê¤¿¤ÎÂΤϰÂÄꤷ¤¿¤è¤¦¤Ë¸«¤¨¤ë¡£",  "Your body seems stable.");
970
971                         break;
972                 case 47: case 48:
973                         muta_class = &(p_ptr->muta1);
974                         muta_which = MUT1_MIDAS_TCH;
975                         muta_desc = _( "¥ß¥À¥¹¤Î¼ê¤ÎǽÎϤò¼º¤Ã¤¿¡£",  "You lose the Midas touch.");
976
977                         break;
978                 case 49:
979                         muta_class = &(p_ptr->muta1);
980                         muta_which = MUT1_GROW_MOLD;
981                         muta_desc = _( "ÆÍÁ³¥«¥Ó¤¬·ù¤¤¤Ë¤Ê¤Ã¤¿¡£",  "You feel a sudden dislike for mold.");
982
983                         break;
984                 case 50: case 51: case 52:
985                         muta_class = &(p_ptr->muta1);
986                         muta_which = MUT1_RESIST;
987                         muta_desc = _( "½ý¤Ä¤­°×¤¯¤Ê¤Ã¤¿µ¤¤¬¤¹¤ë¡£",  "You feel like you might be vulnerable.");
988
989                         break;
990                 case 53: case 54: case 55:
991                         muta_class = &(p_ptr->muta1);
992                         muta_which = MUT1_EARTHQUAKE;
993                         muta_desc = _( "¥À¥ó¥¸¥ç¥ó¤ò²õ¤¹Ç½ÎϤò¼º¤Ã¤¿¡£",  "You lose the ability to wreck the dungeon.");
994
995                         break;
996                 case 56:
997                         muta_class = &(p_ptr->muta1);
998                         muta_which = MUT1_EAT_MAGIC;
999                         muta_desc = _( "ËâË¡¤Î¥¢¥¤¥Æ¥à¤Ï¤â¤¦ÈþÌ£¤·¤½¤¦¤Ë¸«¤¨¤Ê¤¯¤Ê¤Ã¤¿¡£",  "Your magic items no longer look delicious.");
1000
1001                         break;
1002                 case 57: case 58:
1003                         muta_class = &(p_ptr->muta1);
1004                         muta_which = MUT1_WEIGH_MAG;
1005                         muta_desc = _( "ËâÎϤò´¶¤¸¤é¤ì¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You no longer sense magic.");
1006
1007                         break;
1008                 case 59:
1009                         muta_class = &(p_ptr->muta1);
1010                         muta_which = MUT1_STERILITY;
1011                         muta_desc = _( "¤¿¤¯¤µ¤ó¤Î°ÂÅȤÎÅÇ©¤¬Ê¹¤³¤¨¤¿¡£",  "You hear a massed sigh of relief.");
1012
1013                         break;
1014                 case 60: case 61:
1015                         muta_class = &(p_ptr->muta1);
1016                         muta_which = MUT1_PANIC_HIT;
1017                         muta_desc = _( "¤¢¤Á¤³¤Á¤ØÄ·¤Ù¤ëµ¤Ê¬¤¬¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You no longer feel jumpy.");
1018
1019                         break;
1020                 case 62: case 63: case 64:
1021                         muta_class = &(p_ptr->muta1);
1022                         muta_which = MUT1_DAZZLE;
1023                         muta_desc = _( "¤Þ¤Ð¤æ¤¤Á®¸÷¤òȯ¤¹¤ëǽÎϤò¼º¤Ã¤¿¡£",  "You lose the ability to emit dazzling lights.");
1024
1025                         break;
1026                 case 65: case 66: case 67:
1027                         muta_class = &(p_ptr->muta1);
1028                         muta_which = MUT1_LASER_EYE;
1029                         muta_desc = _( "´ã¤¬¾¯¤·¤Î´Ö¾Æ¤­ÉÕ¤¤¤Æ¡¢Äˤߤ¬Ï¤餤¤À¡£",  "Your eyes burn for a moment, then feel soothed.");
1030
1031                         break;
1032                 case 68: case 69:
1033                         muta_class = &(p_ptr->muta1);
1034                         muta_which = MUT1_RECALL;
1035                         muta_desc = _( "¾¯¤·¤Î´Ö¥Û¡¼¥à¥·¥Ã¥¯¤Ë¤Ê¤Ã¤¿¡£",  "You feel briefly homesick.");
1036
1037                         break;
1038                 case 70:
1039                         muta_class = &(p_ptr->muta1);
1040                         muta_which = MUT1_BANISH;
1041                         muta_desc = _( "¿ÀÀ»¤ÊÅܤê¤ÎÎϤò´¶¤¸¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You no longer feel a holy wrath.");
1042
1043                         break;
1044                 case 71: case 72:
1045                         muta_class = &(p_ptr->muta1);
1046                         muta_which = MUT1_COLD_TOUCH;
1047                         muta_desc = _( "¼ê¤¬ÃȤ«¤¯¤Ê¤Ã¤¿¡£",  "Your hands warm up.");
1048
1049                         break;
1050                 case 73: case 74:
1051                         muta_class = &(p_ptr->muta1);
1052                         muta_which = MUT1_LAUNCHER;
1053                         muta_desc = _( "ʪ¤òÅꤲ¤ë¼ê¤¬¼å¤¯¤Ê¤Ã¤¿µ¤¤¬¤¹¤ë¡£",  "Your throwing arm feels much weaker.");
1054
1055                         break;
1056                 case 75:
1057                         muta_class = &(p_ptr->muta2);
1058                         muta_which = MUT2_BERS_RAGE;
1059                         muta_desc = _( "¶§Ë½²½¤Îȯºî¤Ë¤µ¤é¤µ¤ì¤Ê¤¯¤Ê¤Ã¤¿¡ª",  "You are no longer subject to fits of berserk rage!");
1060
1061                         break;
1062                 case 76:
1063                         muta_class = &(p_ptr->muta2);
1064                         muta_which = MUT2_COWARDICE;
1065                         muta_desc = _( "¤â¤¦¿®¤¸¤¬¤¿¤¤¤Û¤É²²É¤ǤϤʤ¯¤Ê¤Ã¤¿¡ª",  "You are no longer an incredible coward!");
1066
1067                         break;
1068                 case 77:
1069                         muta_class = &(p_ptr->muta2);
1070                         muta_which = MUT2_RTELEPORT;
1071                         muta_desc = _( "¤¢¤Ê¤¿¤Î°ÌÃ֤Ϥè¤ê³ÎÄêŪ¤Ë¤Ê¤Ã¤¿¡£",  "Your position seems more certain.");
1072
1073                         break;
1074                 case 78:
1075                         muta_class = &(p_ptr->muta2);
1076                         muta_which = MUT2_ALCOHOL;
1077                         muta_desc = _( "¤¢¤Ê¤¿¤Ï¥¢¥ë¥³¡¼¥ë¤òʬÈ礷¤Ê¤¯¤Ê¤Ã¤¿¡ª",  "Your body stops producing alcohol!");
1078
1079                         break;
1080                 case 79:
1081                         muta_class = &(p_ptr->muta2);
1082                         muta_which = MUT2_HALLU;
1083                         muta_desc = _( "¸¸³Ð¤ò¤Ò¤­µ¯¤³¤¹Àº¿À¾ã³²¤òµ¯¤³¤µ¤Ê¤¯¤Ê¤Ã¤¿¡ª",  "You are no longer afflicted by a hallucinatory insanity!");
1084
1085                         break;
1086                 case 80:
1087                         muta_class = &(p_ptr->muta2);
1088                         muta_which = MUT2_FLATULENT;
1089                         muta_desc = _( "¤â¤¦¶¯Îõ¤ÊÕû¤Ï¤³¤«¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You are no longer subject to uncontrollable flatulence.");
1090
1091                         break;
1092                 case 81: case 82:
1093                         muta_class = &(p_ptr->muta2);
1094                         muta_which = MUT2_SCOR_TAIL;
1095                         muta_desc = _( "¥µ¥½¥ê¤Î¿¬Èø¤¬¤Ê¤¯¤Ê¤Ã¤¿¡ª",  "You lose your scorpion tail!");
1096
1097                         break;
1098                 case 83: case 84:
1099                         muta_class = &(p_ptr->muta2);
1100                         muta_which = MUT2_HORNS;
1101                         muta_desc = _( "³Û¤«¤é³Ñ¤¬¾Ã¤¨¤¿¡ª",  "Your horns vanish from your forehead!");
1102
1103                         break;
1104                 case 85: case 86:
1105                         muta_class = &(p_ptr->muta2);
1106                         muta_which = MUT2_BEAK;
1107                         muta_desc = _( "¸ý¤¬ÉáÄ̤ËÌá¤Ã¤¿¡ª",  "Your mouth reverts to normal!");
1108
1109                         break;
1110                 case 87: case 88:
1111                         muta_class = &(p_ptr->muta2);
1112                         muta_which = MUT2_ATT_DEMON;
1113                         muta_desc = _( "¥Ç¡¼¥â¥ó¤ò°ú¤­´ó¤»¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You stop attracting demons.");
1114
1115                         break;
1116                 case 89:
1117                         muta_class = &(p_ptr->muta2);
1118                         muta_which = MUT2_PROD_MANA;
1119                         muta_desc = _( "À©¸æÉÔǽ¤ÊËâË¡¤Î¥¨¥Í¥ë¥®¡¼¤òȯÀ¸¤·¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You stop producing magical energy uncontrollably.");
1120
1121                         break;
1122                 case 90: case 91:
1123                         muta_class = &(p_ptr->muta2);
1124                         muta_which = MUT2_SPEED_FLUX;
1125                         muta_desc = _( "í¯Ýµ¼Á¤Ç¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You are no longer manic-depressive.");
1126
1127                         break;
1128                 case 92: case 93:
1129                         muta_class = &(p_ptr->muta2);
1130                         muta_which = MUT2_BANISH_ALL;
1131                         muta_desc = _( "Çظå¤Ë¶²¤í¤·¤¤ÎϤò´¶¤¸¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You no longer feel a terrifying power lurking behind you.");
1132
1133                         break;
1134                 case 94:
1135                         muta_class = &(p_ptr->muta2);
1136                         muta_which = MUT2_EAT_LIGHT;
1137                         muta_desc = _( "À¤³¦¤¬ÌÀ¤ë¤¤¤È´¶¤¸¤ë¡£",  "You feel the world's a brighter place.");
1138
1139                         break;
1140                 case 95: case 96:
1141                         muta_class = &(p_ptr->muta2);
1142                         muta_which = MUT2_TRUNK;
1143                         muta_desc = _( "É¡¤¬ÉáÄ̤ÎŤµ¤ËÌá¤Ã¤¿¡£",  "Your nose returns to a normal length.");
1144
1145                         break;
1146                 case 97:
1147                         muta_class = &(p_ptr->muta2);
1148                         muta_which = MUT2_ATT_ANIMAL;
1149                         muta_desc = _( "ưʪ¤ò°ú¤­´ó¤»¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You stop attracting animals.");
1150
1151                         break;
1152                 case 98:
1153                         muta_class = &(p_ptr->muta2);
1154                         muta_which = MUT2_TENTACLES;
1155                         muta_desc = _( "¿¨¼ê¤¬¾Ã¤¨¤¿¡£",  "Your tentacles vanish from your sides.");
1156
1157                         break;
1158                 case 99:
1159                         muta_class = &(p_ptr->muta2);
1160                         muta_which = MUT2_RAW_CHAOS;
1161                         muta_desc = _( "¼þ°Ï¤Î¶õ´Ö¤¬°ÂÄꤷ¤¿µ¤¤¬¤¹¤ë¡£",  "You feel the universe is more stable around you.");
1162
1163                         break;
1164                 case 100: case 101: case 102:
1165                         muta_class = &(p_ptr->muta2);
1166                         muta_which = MUT2_NORMALITY;
1167                         muta_desc = _( "ÉáÄ̤˴ñ̯¤Ê´¶¤¸¤¬¤¹¤ë¡£",  "You feel normally strange.");
1168
1169                         break;
1170                 case 103:
1171                         muta_class = &(p_ptr->muta2);
1172                         muta_which = MUT2_WRAITH;
1173                         muta_desc = _( "¤¢¤Ê¤¿¤Ïʪ¼ÁÀ¤³¦¤Ë¤·¤Ã¤«¤ê¸ºß¤·¤Æ¤¤¤ë¡£",  "You are firmly in the physical world.");
1174
1175                         break;
1176                 case 104:
1177                         muta_class = &(p_ptr->muta2);
1178                         muta_which = MUT2_POLY_WOUND;
1179                         muta_desc = _( "¸Å¤¤½ý¤«¤é¥«¥ª¥¹¤ÎÎϤ¬µî¤Ã¤Æ¤¤¤Ã¤¿¡£",  "You feel forces of chaos departing your old scars.");
1180
1181                         break;
1182                 case 105:
1183                         muta_class = &(p_ptr->muta2);
1184                         muta_which = MUT2_WASTING;
1185                         muta_desc = _( "¤ª¤¾¤Þ¤·¤¤¿ê¼åɤ¬¼£¤Ã¤¿¡ª",  "You are cured of the horrible wasting disease!");
1186
1187                         break;
1188                 case 106:
1189                         muta_class = &(p_ptr->muta2);
1190                         muta_which = MUT2_ATT_DRAGON;
1191                         muta_desc = _( "¥É¥é¥´¥ó¤ò°ú¤­´ó¤»¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You stop attracting dragons.");
1192
1193                         break;
1194                 case 107: case 108:
1195                         muta_class = &(p_ptr->muta2);
1196                         muta_which = MUT2_WEIRD_MIND;
1197                         muta_desc = _( "»×¹Í¤¬Âà¶þ¤ÊÊý¸þ¤ËÌá¤Ã¤¿¡£",  "Your thoughts return to boring paths.");
1198
1199                         break;
1200                 case 109:
1201                         muta_class = &(p_ptr->muta2);
1202                         muta_which = MUT2_NAUSEA;
1203                         muta_desc = _( "°ß¤¬áÛÚ»¤·¤Ê¤¯¤Ê¤Ã¤¿¡£",  "Your stomach stops roiling.");
1204
1205                         break;
1206                 case 110: case 111:
1207                         muta_class = &(p_ptr->muta2);
1208                         muta_which = MUT2_CHAOS_GIFT;
1209                         muta_desc = _( "º®Æ٤οÀ¡¹¤Î¶½Ì£¤ò¼æ¤«¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You lose the attention of the chaos deities.");
1210
1211                         break;
1212                 case 112:
1213                         muta_class = &(p_ptr->muta2);
1214                         muta_which = MUT2_WALK_SHAD;
1215                         muta_desc = _( "ʪ¼ÁÀ¤³¦¤ËÊá¤é¤ï¤ì¤Æ¤¤¤ëµ¤¤¬¤¹¤ë¡£",  "You feel like you're trapped in reality.");
1216
1217                         break;
1218                 case 113: case 114:
1219                         muta_class = &(p_ptr->muta2);
1220                         muta_which = MUT2_WARNING;
1221                         muta_desc = _( "¥Ñ¥é¥Î¥¤¥¢¤Ç¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You no longer feel paranoid.");
1222
1223                         break;
1224                 case 115:
1225                         muta_class = &(p_ptr->muta2);
1226                         muta_which = MUT2_INVULN;
1227                         muta_desc = _( "̵Ũ¾õÂÖ¤Îȯºî¤òµ¯¤³¤µ¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You are no longer blessed with fits of invulnerability.");
1228
1229                         break;
1230                 case 116: case 117:
1231                         muta_class = &(p_ptr->muta2);
1232                         muta_which = MUT2_SP_TO_HP;
1233                         muta_desc = _( "ËâË¡¤Î¼£Ìþ¤Îȯºî¤Ë½±¤ï¤ì¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You are no longer subject to fits of magical healing.");
1234
1235                         break;
1236                 case 118:
1237                         muta_class = &(p_ptr->muta2);
1238                         muta_which = MUT2_HP_TO_SP;
1239                         muta_desc = _( "Äˤߤòȼ¤¦Àº¿ÀÌÀÎƲ½¤Îȯºî¤Ë½±¤ï¤ì¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You are no longer subject to fits of painful clarity.");
1240
1241                         break;
1242                 case 119:
1243                         muta_class = &(p_ptr->muta2);
1244                         muta_which = MUT2_DISARM;
1245                         muta_desc = _( "µÓ¤¬¸µ¤ÎÂ礭¤µ¤ËÌá¤Ã¤¿¡£",  "Your feet shrink to their former size.");
1246
1247                         break;
1248                 case 120: case 121: case 122:
1249                         muta_class = &(p_ptr->muta3);
1250                         muta_which = MUT3_HYPER_STR;
1251                         muta_desc = _( "¶ÚÆù¤¬ÉáÄ̤ËÌá¤Ã¤¿¡£",  "Your muscles revert to normal.");
1252
1253                         break;
1254                 case 123: case 124: case 125:
1255                         muta_class = &(p_ptr->muta3);
1256                         muta_which = MUT3_PUNY;
1257                         muta_desc = _( "¶ÚÆù¤¬ÉáÄ̤ËÌá¤Ã¤¿¡£",  "Your muscles revert to normal.");
1258
1259                         break;
1260                 case 126: case 127: case 128:
1261                         muta_class = &(p_ptr->muta3);
1262                         muta_which = MUT3_HYPER_INT;
1263                         muta_desc = _( "Ǿ¤¬ÉáÄ̤ËÌá¤Ã¤¿¡£",  "Your brain reverts to normal.");
1264
1265                         break;
1266                 case 129: case 130: case 131:
1267                         muta_class = &(p_ptr->muta3);
1268                         muta_which = MUT3_MORONIC;
1269                         muta_desc = _( "Ǿ¤¬ÉáÄ̤ËÌá¤Ã¤¿¡£",  "Your brain reverts to normal.");
1270
1271                         break;
1272                 case 132: case 133:
1273                         muta_class = &(p_ptr->muta3);
1274                         muta_which = MUT3_RESILIENT;
1275                         muta_desc = _( "ÉáÄ̤ξæÉפµ¤ËÌá¤Ã¤¿¡£",  "You become ordinarily resilient again.");
1276
1277                         break;
1278                 case 134: case 135:
1279                         muta_class = &(p_ptr->muta3);
1280                         muta_which = MUT3_XTRA_FAT;
1281                         muta_desc = _( "´ñÀ×Ū¤Ê¥À¥¤¥¨¥Ã¥È¤ËÀ®¸ù¤·¤¿¡ª",  "You benefit from a miracle diet!");
1282
1283                         break;
1284                 case 136: case 137:
1285                         muta_class = &(p_ptr->muta3);
1286                         muta_which = MUT3_ALBINO;
1287                         muta_desc = _( "¥¢¥ë¥Ó¥Î¤Ç¤Ê¤¯¤Ê¤Ã¤¿¡ª",  "You are no longer an albino!");
1288
1289                         break;
1290                 case 138: case 139: case 140:
1291                         muta_class = &(p_ptr->muta3);
1292                         muta_which = MUT3_FLESH_ROT;
1293                         muta_desc = _( "ÆùÂΤòÉåÇÔ¤µ¤»¤ëɵ¤¤¬¼£¤Ã¤¿¡ª",  "Your flesh is no longer afflicted by a rotting disease!");
1294
1295                         break;
1296                 case 141: case 142:
1297                         muta_class = &(p_ptr->muta3);
1298                         muta_which = MUT3_SILLY_VOI;
1299                         muta_desc = _( "À¼¼Á¤¬ÉáÄ̤ËÌá¤Ã¤¿¡£",  "Your voice returns to normal.");
1300
1301                         break;
1302                 case 143: case 144:
1303                         muta_class = &(p_ptr->muta3);
1304                         muta_which = MUT3_BLANK_FAC;
1305                         muta_desc = _( "´é¤ËÌÜÉ¡¤¬Ìá¤Ã¤¿¡£",  "Your facial features return.");
1306
1307                         break;
1308                 case 145:
1309                         muta_class = &(p_ptr->muta3);
1310                         muta_which = MUT3_ILL_NORM;
1311                         muta_desc = _( "¿´¤¬°Â¤é¤°¸¸±Æ¤ò±Ç¤·½Ð¤µ¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You stop projecting a reassuring image.");
1312
1313                         break;
1314                 case 146: case 147: case 148:
1315                         muta_class = &(p_ptr->muta3);
1316                         muta_which = MUT3_XTRA_EYES;
1317                         muta_desc = _( ";ʬ¤ÊÌܤ¬¾Ã¤¨¤Æ¤·¤Þ¤Ã¤¿¡ª",  "Your extra eyes vanish!");
1318
1319                         break;
1320                 case 149: case 150:
1321                         muta_class = &(p_ptr->muta3);
1322                         muta_which = MUT3_MAGIC_RES;
1323                         muta_desc = _( "ËâË¡¤Ë¼å¤¯¤Ê¤Ã¤¿¡£",  "You become susceptible to magic again.");
1324
1325                         break;
1326                 case 151: case 152: case 153:
1327                         muta_class = &(p_ptr->muta3);
1328                         muta_which = MUT3_XTRA_NOIS;
1329                         muta_desc = _( "´ñ̯¤Ê²»¤òΩ¤Æ¤Ê¤¯¤Ê¤Ã¤¿¡ª",  "You stop making strange noise!");
1330
1331                         break;
1332                 case 154: case 155: case 156:
1333                         muta_class = &(p_ptr->muta3);
1334                         muta_which = MUT3_INFRAVIS;
1335                         muta_desc = _( "ÀÖ³°Àþ»ëÎϤ¬Íî¤Á¤¿¡£",  "Your infravision is degraded.");
1336
1337                         break;
1338                 case 157: case 158:
1339                         muta_class = &(p_ptr->muta3);
1340                         muta_which = MUT3_XTRA_LEGS;
1341                         muta_desc = _( ";ʬ¤ÊµÓ¤¬¾Ã¤¨¤Æ¤·¤Þ¤Ã¤¿¡ª",  "Your extra legs disappear!");
1342
1343                         break;
1344                 case 159: case 160:
1345                         muta_class = &(p_ptr->muta3);
1346                         muta_which = MUT3_SHORT_LEG;
1347                         muta_desc = _( "µÓ¤ÎŤµ¤¬ÉáÄ̤ËÌá¤Ã¤¿¡£",  "Your legs lengthen to normal.");
1348
1349                         break;
1350                 case 161: case 162:
1351                         muta_class = &(p_ptr->muta3);
1352                         muta_which = MUT3_ELEC_TOUC;
1353                         muta_desc = _( "ÂΤòÅÅή¤¬Î®¤ì¤Ê¤¯¤Ê¤Ã¤¿¡£",  "Electricity stops running through you.");
1354
1355                         break;
1356                 case 163: case 164:
1357                         muta_class = &(p_ptr->muta3);
1358                         muta_which = MUT3_FIRE_BODY;
1359                         muta_desc = _( "ÂΤ¬±ê¤ËÊñ¤Þ¤ì¤Ê¤¯¤Ê¤Ã¤¿¡£",  "Your body is no longer enveloped in flames.");
1360
1361                         break;
1362                 case 165: case 166: case 167:
1363                         muta_class = &(p_ptr->muta3);
1364                         muta_which = MUT3_WART_SKIN;
1365                         muta_desc = _( "¥¤¥Ü¥¤¥Ü¤¬¾Ã¤¨¤¿¡ª",  "Your warts disappear!");
1366
1367                         break;
1368                 case 168: case 169: case 170:
1369                         muta_class = &(p_ptr->muta3);
1370                         muta_which = MUT3_SCALES;
1371                         muta_desc = _( "ÎÚ¤¬¾Ã¤¨¤¿¡ª",  "Your scales vanish!");
1372
1373                         break;
1374                 case 171: case 172:
1375                         muta_class = &(p_ptr->muta3);
1376                         muta_which = MUT3_IRON_SKIN;
1377                         muta_desc = _( "È©¤¬Æù¤Ë¤â¤É¤Ã¤¿¡ª",  "Your skin reverts to flesh!");
1378
1379                         break;
1380                 case 173: case 174:
1381                         muta_class = &(p_ptr->muta3);
1382                         muta_which = MUT3_WINGS;
1383                         muta_desc = _( "ÇØÃæ¤Î±©º¬¤¬¼è¤ìÍî¤Á¤¿¡£",  "Your wings fall off.");
1384
1385                         break;
1386                 case 175: case 176: case 177:
1387                         muta_class = &(p_ptr->muta3);
1388                         muta_which = MUT3_FEARLESS;
1389                         muta_desc = _( "ºÆ¤Ó¶²Éݤò´¶¤¸¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£",  "You begin to feel fear again.");
1390
1391                         break;
1392                 case 178: case 179:
1393                         muta_class = &(p_ptr->muta3);
1394                         muta_which = MUT3_REGEN;
1395                         muta_desc = _( "µÞ®²óÉü¤·¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You stop regenerating.");
1396
1397                         break;
1398                 case 180: case 181:
1399                         muta_class = &(p_ptr->muta3);
1400                         muta_which = MUT3_ESP;
1401                         muta_desc = _( "¥Æ¥ì¥Ñ¥·¡¼¤ÎǽÎϤò¼º¤Ã¤¿¡ª",  "You lose your telepathic ability!");
1402
1403                         break;
1404                 case 182: case 183: case 184:
1405                         muta_class = &(p_ptr->muta3);
1406                         muta_which = MUT3_LIMBER;
1407                         muta_desc = _( "¶ÚÆù¤¬¹Å¤¯¤Ê¤Ã¤¿¡£",  "Your muscles stiffen.");
1408
1409                         break;
1410                 case 185: case 186: case 187:
1411                         muta_class = &(p_ptr->muta3);
1412                         muta_which = MUT3_ARTHRITIS;
1413                         muta_desc = _( "´ØÀ᤬Äˤ¯¤Ê¤¯¤Ê¤Ã¤¿¡£",  "Your joints stop hurting.");
1414
1415                         break;
1416                 case 188:
1417                         muta_class = &(p_ptr->muta3);
1418                         muta_which = MUT3_BAD_LUCK;
1419                         muta_desc = _( "¹õ¤¤¥ª¡¼¥é¤Ï±²´¬¤¤¤Æ¾Ã¤¨¤¿¡£",  "Your black aura swirls and fades.");
1420
1421                         break;
1422                 case 189:
1423                         muta_class = &(p_ptr->muta3);
1424                         muta_which = MUT3_VULN_ELEM;
1425                         muta_desc = _( "̵ËÉÈ÷¤Ê´¶¤¸¤Ï¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You feel less exposed.");
1426
1427                         break;
1428                 case 190: case 191: case 192:
1429                         muta_class = &(p_ptr->muta3);
1430                         muta_which = MUT3_MOTION;
1431                         muta_desc = _( "Æ°ºî¤ÎÀµ³Î¤µ¤¬¤Ê¤¯¤Ê¤Ã¤¿¡£",  "You move with less assurance.");
1432
1433                         break;
1434                 case 193:
1435                         if (p_ptr->pseikaku == SEIKAKU_LUCKY) break;
1436                         muta_class = &(p_ptr->muta3);
1437                         muta_which = MUT3_GOOD_LUCK;
1438                         muta_desc = _( "Çò¤¤¥ª¡¼¥é¤Ïµ±¤¤¤Æ¾Ã¤¨¤¿¡£",  "Your white aura shimmers and fades.");
1439
1440                         break;
1441                 default:
1442                         muta_class = NULL;
1443                         muta_which = 0;
1444                 }
1445
1446                 if (muta_class && muta_which)
1447                 {
1448                         if (*(muta_class) & muta_which)
1449                         {
1450                                 muta_chosen = TRUE;
1451                         }
1452                 }
1453                 if (muta_chosen == TRUE) break;
1454         }
1455
1456         if (!muta_chosen)
1457         {
1458                 return FALSE;
1459         }
1460         else
1461         {
1462                 msg_print(muta_desc);
1463                 *(muta_class) &= ~(muta_which);
1464
1465                 p_ptr->update |= PU_BONUS;
1466                 handle_stuff();
1467                 mutant_regenerate_mod = calc_mutant_regenerate_mod();
1468                 return TRUE;
1469         }
1470 }
1471
1472
1473 void dump_mutations(FILE *OutFile)
1474 {
1475         if (!OutFile) return;
1476
1477         if (p_ptr->muta1)
1478         {
1479                 if (p_ptr->muta1 & MUT1_SPIT_ACID)
1480                 {
1481                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï»À¤ò¿á¤­¤«¤±¤ë¤³¤È¤¬¤Ç¤­¤ë¡£(¥À¥á¡¼¥¸ ¥ì¥Ù¥ëX1)\n", " You can spit acid (dam lvl).\n"));
1482
1483                 }
1484                 if (p_ptr->muta1 & MUT1_BR_FIRE)
1485                 {
1486                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï±ê¤Î¥Ö¥ì¥¹¤òÅǤ¯¤³¤È¤¬¤Ç¤­¤ë¡£(¥À¥á¡¼¥¸ ¥ì¥Ù¥ëX2)\n", " You can breathe fire (dam lvl * 2).\n"));
1487
1488                 }
1489                 if (p_ptr->muta1 & MUT1_HYPN_GAZE)
1490                 {
1491                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎâˤߤϺÅ̲¸ú²Ì¤ò¤â¤Ä¡£\n", " Your gaze is hypnotic.\n"));
1492
1493                 }
1494                 if (p_ptr->muta1 & MUT1_TELEKINES)
1495                 {
1496                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏÇ°Æ°ÎϤò¤â¤Ã¤Æ¤¤¤ë¡£\n", " You are telekinetic.\n"));
1497
1498                 }
1499                 if (p_ptr->muta1 & MUT1_VTELEPORT)
1500                 {
1501                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¼«Ê¬¤Î°Õ»×¤Ç¥Æ¥ì¥Ý¡¼¥È¤Ç¤­¤ë¡£\n", " You can teleport at will.\n"));
1502
1503                 }
1504                 if (p_ptr->muta1 & MUT1_MIND_BLST)
1505                 {
1506                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏŨ¤òÀº¿À¹¶·â¤Ç¤­¤ë¡£\n", " You can Mind Blast your enemies.\n"));
1507
1508                 }
1509                 if (p_ptr->muta1 & MUT1_RADIATION)
1510                 {
1511                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¼«Ê¬¤Î°Õ»×¤ÇÊü¼Íǽ¤òȯÀ¸¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can emit hard radiation at will.\n"));
1512
1513                 }
1514                 if (p_ptr->muta1 & MUT1_VAMPIRISM)
1515                 {
1516                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏµÛ·ìµ´¤Î¤è¤¦¤ËŨ¤«¤éÀ¸Ì¿ÎϤòµÛ¼ý¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can drain life from a foe like a vampire.\n"));
1517
1518                 }
1519                 if (p_ptr->muta1 & MUT1_SMELL_MET)
1520                 {
1521                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¶á¤¯¤Ë¤¢¤ëµ®¶â°¤ò¤«¤®Ê¬¤±¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can smell nearby precious metal.\n"));
1522
1523                 }
1524                 if (p_ptr->muta1 & MUT1_SMELL_MON)
1525                 {
1526                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¶á¤¯¤Î¥â¥ó¥¹¥¿¡¼¤Î¸ºß¤ò¤«¤®Ê¬¤±¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can smell nearby monsters.\n"));
1527
1528                 }
1529                 if (p_ptr->muta1 & MUT1_BLINK)
1530                 {
1531                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ïû¤¤µ÷Î¥¤ò¥Æ¥ì¥Ý¡¼¥È¤Ç¤­¤ë¡£\n", " You can teleport yourself short distances.\n"));
1532
1533                 }
1534                 if (p_ptr->muta1 & MUT1_EAT_ROCK)
1535                 {
1536                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¹Å¤¤´ä¤ò¿©¤Ù¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can consume solid rock.\n"));
1537
1538                 }
1539                 if (p_ptr->muta1 & MUT1_SWAP_POS)
1540                 {
1541                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¾¤Î¼Ô¤È¾ì½ê¤òÆþ¤ìÂؤï¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can switch locations with another being.\n"));
1542
1543                 }
1544                 if (p_ptr->muta1 & MUT1_SHRIEK)
1545                 {
1546                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¿È¤ÎÌÓ¤â¤è¤À¤Ä¶«¤ÓÀ¼¤òȯ¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can emit a horrible shriek.\n"));
1547
1548                 }
1549                 if (p_ptr->muta1 & MUT1_ILLUMINE)
1550                 {
1551                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏÌÀ¤ë¤¤¸÷¤òÊü¤Ä¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can emit bright light.\n"));
1552
1553                 }
1554                 if (p_ptr->muta1 & MUT1_DET_CURSE)
1555                 {
1556                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¼Ù°­¤ÊËâË¡¤Î´í¸±¤ò´¶¤¸¤È¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can feel the danger of evil magic.\n"));
1557
1558                 }
1559                 if (p_ptr->muta1 & MUT1_BERSERK)
1560                 {
1561                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¼«Ê¬¤Î°Õ»×¤Ç¶¸ÍðÀïÆ®¾õÂ֤ˤʤ뤳¤È¤¬¤Ç¤­¤ë¡£\n", " You can drive yourself into a berserk frenzy.\n"));
1562
1563                 }
1564                 if (p_ptr->muta1 & MUT1_POLYMORPH)
1565                 {
1566                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¼«Ê¬¤Î°Õ»Ö¤ÇÊѲ½¤Ç¤­¤ë¡£\n", " You can polymorph yourself at will.\n"));
1567
1568                 }
1569                 if (p_ptr->muta1 & MUT1_MIDAS_TCH)
1570                 {
1571                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏÄ̾異¥¤¥Æ¥à¤ò¶â¤ËÊѤ¨¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can turn ordinary items to gold.\n"));
1572
1573                 }
1574                 if (p_ptr->muta1 & MUT1_GROW_MOLD)
1575                 {
1576                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¼þ°Ï¤Ë¥­¥Î¥³¤òÀ¸¤ä¤¹¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can cause mold to grow near you.\n"));
1577
1578                 }
1579                 if (p_ptr->muta1 & MUT1_RESIST)
1580                 {
1581                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¸µÁǤι¶·â¤ËÂФ·¤Æ¿È¤ò¹Å¤¯¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can harden yourself to the ravages of the elements.\n"));
1582
1583                 }
1584                 if (p_ptr->muta1 & MUT1_EARTHQUAKE)
1585                 {
1586                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¼þ°Ï¤Î¥À¥ó¥¸¥ç¥ó¤òÊø²õ¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can bring down the dungeon around your ears.\n"));
1587
1588                 }
1589                 if (p_ptr->muta1 & MUT1_EAT_MAGIC)
1590                 {
1591                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏËâË¡¤Î¥¨¥Í¥ë¥®¡¼¤ò¼«Ê¬¤Îʪ¤È¤·¤Æ»ÈÍѤǤ­¤ë¡£\n", " You can consume magic energy for your own use.\n"));
1592
1593                 }
1594                 if (p_ptr->muta1 & MUT1_WEIGH_MAG)
1595                 {
1596                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¼«Ê¬¤Ë±Æ¶Á¤òÍ¿¤¨¤ëËâË¡¤ÎÎϤò´¶¤¸¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can feel the strength of the magics affecting you.\n"));
1597
1598                 }
1599                 if (p_ptr->muta1 & MUT1_STERILITY)
1600                 {
1601                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï½¸ÃÄŪÀ¸¿£ÉÔǽ¤òµ¯¤³¤¹¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can cause mass impotence.\n"));
1602
1603                 }
1604                 if (p_ptr->muta1 & MUT1_PANIC_HIT)
1605                 {
1606                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¹¶·â¤·¤¿¸å¿È¤ò¼é¤ë¤¿¤áƨ¤²¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can run for your life after hitting something.\n"));
1607
1608                 }
1609                 if (p_ptr->muta1 & MUT1_DAZZLE)
1610                 {
1611                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ïº®Íð¤ÈÌÕÌܤò°ú¤­µ¯¤³¤¹Êü¼Íǽ¤òȯÀ¸¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£ \n", " You can emit confusing, blinding radiation.\n"));
1612
1613                 }
1614                 if (p_ptr->muta1 & MUT1_LASER_EYE)
1615                 {
1616                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏÌܤ«¤é¥ì¡¼¥¶¡¼¸÷Àþ¤òȯ¼Í¤¹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " Your eyes can fire laser beams.\n"));
1617
1618                 }
1619                 if (p_ptr->muta1 & MUT1_RECALL)
1620                 {
1621                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï³¹¤È¥À¥ó¥¸¥ç¥ó¤Î´Ö¤ò¹Ô¤­Í褹¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can travel between town and the depths.\n"));
1622
1623                 }
1624                 if (p_ptr->muta1 & MUT1_BANISH)
1625                 {
1626                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¼Ù°­¤Ê¥â¥ó¥¹¥¿¡¼¤òÃϹö¤ËÍî¤È¤¹¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can send evil creatures directly to Hell.\n"));
1627
1628                 }
1629                 if (p_ptr->muta1 & MUT1_COLD_TOUCH)
1630                 {
1631                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ïʪ¤ò¿¨¤Ã¤ÆÅà¤é¤»¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can freeze things with a touch.\n"));
1632
1633                 }
1634                 if (p_ptr->muta1 & MUT1_LAUNCHER)
1635                 {
1636                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¥¢¥¤¥Æ¥à¤òÎ϶¯¤¯Åꤲ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£\n", " You can hurl objects with great force.\n"));
1637
1638                 }
1639         }
1640
1641         if (p_ptr->muta2)
1642         {
1643                 if (p_ptr->muta2 & MUT2_BERS_RAGE)
1644                 {
1645                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¶¸Àï»Î²½¤Îȯºî¤òµ¯¤³¤¹¡£\n", " You are subject to berserker fits.\n"));
1646
1647                 }
1648                 if (p_ptr->muta2 & MUT2_COWARDICE)
1649                 {
1650                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï»þ¡¹²²É¤ˤʤ롣\n", " You are subject to cowardice.\n"));
1651
1652                 }
1653                 if (p_ptr->muta2 & MUT2_RTELEPORT)
1654                 {
1655                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¥é¥ó¥À¥à¤Ë¥Æ¥ì¥Ý¡¼¥È¤¹¤ë¡£\n", " You are teleporting randomly.\n"));
1656
1657                 }
1658                 if (p_ptr->muta2 & MUT2_ALCOHOL)
1659                 {
1660                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎÂΤϥ¢¥ë¥³¡¼¥ë¤òʬÈ礹¤ë¡£\n", " Your body produces alcohol.\n"));
1661
1662                 }
1663                 if (p_ptr->muta2 & MUT2_HALLU)
1664                 {
1665                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¸¸³Ð¤ò°ú¤­µ¯¤³¤¹Àº¿ÀºøÍð¤Ë¿¯¤µ¤ì¤Æ¤¤¤ë¡£\n", " You have a hallucinatory insanity.\n"));
1666
1667                 }
1668                 if (p_ptr->muta2 & MUT2_FLATULENT)
1669                 {
1670                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏÀ©¸æ¤Ç¤­¤Ê¤¤¶¯Îõ¤ÊÕû¤ò¤³¤¯¡£\n", " You are subject to uncontrollable flatulence.\n"));
1671
1672                 }
1673                 if (p_ptr->muta2 & MUT2_PROD_MANA)
1674                 {
1675                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏÀ©¸æÉÔǽ¤ÊËâË¡¤Î¥¨¥Í¥ë¥®¡¼¤òȯ¤·¤Æ¤¤¤ë¡£\n", " You are producing magical energy uncontrollably.\n"));
1676
1677                 }
1678                 if (p_ptr->muta2 & MUT2_ATT_DEMON)
1679                 {
1680                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¥Ç¡¼¥â¥ó¤ò°ú¤­¤Ä¤±¤ë¡£\n", " You attract demons.\n"));
1681
1682                 }
1683                 if (p_ptr->muta2 & MUT2_SCOR_TAIL)
1684                 {
1685                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¥µ¥½¥ê¤Î¿¬Èø¤¬À¸¤¨¤Æ¤¤¤ë¡£(ÆÇ¡¢¥À¥á¡¼¥¸ 3d7)\n", " You have a scorpion tail (poison, 3d7).\n"));
1686
1687                 }
1688                 if (p_ptr->muta2 & MUT2_HORNS)
1689                 {
1690                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï³Ñ¤¬À¸¤¨¤Æ¤¤¤ë¡£(¥À¥á¡¼¥¸ 2d6)\n", " You have horns (dam. 2d6).\n"));
1691
1692                 }
1693                 if (p_ptr->muta2 & MUT2_BEAK)
1694                 {
1695                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¥¯¥Á¥Ð¥·¤¬À¸¤¨¤Æ¤¤¤ë¡£(¥À¥á¡¼¥¸ 2d4)\n", " You have a beak (dam. 2d4).\n"));
1696
1697                 }
1698                 if (p_ptr->muta2 & MUT2_SPEED_FLUX)
1699                 {
1700                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¥é¥ó¥À¥à¤ËÁ᤯ư¤¤¤¿¤êÃÙ¤¯Æ°¤¤¤¿¤ê¤¹¤ë¡£\n", " You move faster or slower randomly.\n"));
1701
1702                 }
1703                 if (p_ptr->muta2 & MUT2_BANISH_ALL)
1704                 {
1705                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï»þ¡¹¶á¤¯¤Î¥â¥ó¥¹¥¿¡¼¤ò¾ÃÌǤµ¤»¤ë¡£\n", " You sometimes cause nearby creatures to vanish.\n"));
1706
1707                 }
1708                 if (p_ptr->muta2 & MUT2_EAT_LIGHT)
1709                 {
1710                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï»þ¡¹¼þ°Ï¤Î¸÷¤òµÛ¼ý¤·¤Æ±ÉÍܤˤ¹¤ë¡£\n", " You sometimes feed off of the light around you.\n"));
1711
1712                 }
1713                 if (p_ptr->muta2 & MUT2_TRUNK)
1714                 {
1715                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¾Ý¤Î¤è¤¦¤ÊÉ¡¤ò»ý¤Ã¤Æ¤¤¤ë¡£(¥À¥á¡¼¥¸ 1d4)\n", " You have an elephantine trunk (dam 1d4).\n"));
1716
1717                 }
1718                 if (p_ptr->muta2 & MUT2_ATT_ANIMAL)
1719                 {
1720                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ïưʪ¤ò°ú¤­¤Ä¤±¤ë¡£\n", " You attract animals.\n"));
1721
1722                 }
1723                 if (p_ptr->muta2 & MUT2_TENTACLES)
1724                 {
1725                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¼Ù°­¤Ê¿¨¼ê¤ò»ý¤Ã¤Æ¤¤¤ë¡£(¥À¥á¡¼¥¸ 2d5)\n", " You have evil looking tentacles (dam 2d5).\n"));
1726
1727                 }
1728                 if (p_ptr->muta2 & MUT2_RAW_CHAOS)
1729                 {
1730                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¤·¤Ð¤·¤Ð½ã¥«¥ª¥¹¤ËÊñ¤Þ¤ì¤ë¡£\n", " You occasionally are surrounded with raw chaos.\n"));
1731
1732                 }
1733                 if (p_ptr->muta2 & MUT2_NORMALITY)
1734                 {
1735                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏÊÑ°Û¤·¤Æ¤¤¤¿¤¬¡¢²óÉü¤·¤Æ¤­¤Æ¤¤¤ë¡£\n", " You may be mutated, but you're recovering.\n"));
1736
1737                 }
1738                 if (p_ptr->muta2 & MUT2_WRAITH)
1739                 {
1740                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎÆùÂΤÏÍ©Â⽤·¤¿¤ê¼ÂÂ⽤·¤¿¤ê¤¹¤ë¡£\n", " You fade in and out of physical reality.\n"));
1741
1742                 }
1743                 if (p_ptr->muta2 & MUT2_POLY_WOUND)
1744                 {
1745                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Î·ò¹¯¤Ï¥«¥ª¥¹¤ÎÎϤ˱ƶÁ¤ò¼õ¤±¤ë¡£\n", " Your health is subject to chaotic forces.\n"));
1746
1747                 }
1748                 if (p_ptr->muta2 & MUT2_WASTING)
1749                 {
1750                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¿ê¼å¤¹¤ë¶²¤í¤·¤¤Éµ¤¤Ë¤«¤«¤Ã¤Æ¤¤¤ë¡£\n", " You have a horrible wasting disease.\n"));
1751
1752                 }
1753                 if (p_ptr->muta2 & MUT2_ATT_DRAGON)
1754                 {
1755                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¥É¥é¥´¥ó¤ò°ú¤­¤Ä¤±¤ë¡£\n", " You attract dragons.\n"));
1756
1757                 }
1758                 if (p_ptr->muta2 & MUT2_WEIRD_MIND)
1759                 {
1760                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎÀº¿À¤Ï¥é¥ó¥À¥à¤Ë³ÈÂ礷¤¿¤ê½Ì¾®¤·¤¿¤ê¤·¤Æ¤¤¤ë¡£\n", " Your mind randomly expands and contracts.\n"));
1761
1762                 }
1763                 if (p_ptr->muta2 & MUT2_NAUSEA)
1764                 {
1765                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Î°ß¤ÏÈó¾ï¤ËÍî¤ÁÃ夭¤¬¤Ê¤¤¡£\n", " You have a seriously upset stomach.\n"));
1766
1767                 }
1768                 if (p_ptr->muta2 & MUT2_CHAOS_GIFT)
1769                 {
1770                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¥«¥ª¥¹¤Î¼é¸î°­Ë⤫¤éË«Èþ¤ò¤¦¤±¤È¤ë¡£\n", " Chaos deities give you gifts.\n"));
1771
1772                 }
1773                 if (p_ptr->muta2 & MUT2_WALK_SHAD)
1774                 {
1775                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¤·¤Ð¤·¤Ð¾¤Î¡Ö±Æ¡×¤Ë̤¤¹þ¤à¡£\n", " You occasionally stumble into other shadows.\n"));
1776
1777                 }
1778                 if (p_ptr->muta2 & MUT2_WARNING)
1779                 {
1780                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏŨ¤Ë´Ø¤¹¤ë·Ù¹ð¤ò´¶¤¸¤ë¡£\n", " You receive warnings about your foes.\n"));
1781
1782                 }
1783                 if (p_ptr->muta2 & MUT2_INVULN)
1784                 {
1785                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï»þ¡¹É餱ÃΤ餺¤Êµ¤Ê¬¤Ë¤Ê¤ë¡£\n", " You occasionally feel invincible.\n"));
1786
1787                 }
1788                 if (p_ptr->muta2 & MUT2_SP_TO_HP)
1789                 {
1790                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï»þ¡¹·ì¤¬¶ÚÆù¤Ë¤É¤Ã¤Èή¤ì¤ë¡£\n", " Your blood sometimes rushes to your muscles.\n"));
1791
1792                 }
1793                 if (p_ptr->muta2 & MUT2_HP_TO_SP)
1794                 {
1795                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï»þ¡¹Æ¬¤Ë·ì¤¬¤É¤Ã¤Èή¤ì¤ë¡£\n", " Your blood sometimes rushes to your head.\n"));
1796
1797                 }
1798                 if (p_ptr->muta2 & MUT2_DISARM)
1799                 {
1800                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¤è¤¯¤Ä¤Þ¤Å¤¤¤Æʪ¤òÍî¤È¤¹¡£\n", " You occasionally stumble and drop things.\n"));
1801
1802                 }
1803         }
1804
1805         if (p_ptr->muta3)
1806         {
1807                 if (p_ptr->muta3 & MUT3_HYPER_STR)
1808                 {
1809                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏĶ¿ÍŪ¤Ë¶¯¤¤¡£(ÏÓÎÏ+4)\n", " You are superhumanly strong (+4 STR).\n"));
1810
1811                 }
1812                 if (p_ptr->muta3 & MUT3_PUNY)
1813                 {
1814                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ïµõ¼å¤À¡£(ÏÓÎÏ-4)\n", " You are puny (-4 STR).\n"));
1815
1816                 }
1817                 if (p_ptr->muta3 & MUT3_HYPER_INT)
1818                 {
1819                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎǾ¤ÏÀ¸ÂÎ¥³¥ó¥Ô¥å¡¼¥¿¤À¡£(ÃÎǽ¡õ¸­¤µ+4)\n", " Your brain is a living computer (+4 INT/WIS).\n"));
1820
1821                 }
1822                 if (p_ptr->muta3 & MUT3_MORONIC)
1823                 {
1824                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏÀº¿ÀÇö¼å¤À¡£(ÃÎǽ¡õ¸­¤µ-4)\n", " You are moronic (-4 INT/WIS).\n"));
1825
1826                 }
1827                 if (p_ptr->muta3 & MUT3_RESILIENT)
1828                 {
1829                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎÂΤÏÃÆÎÏÀ­¤ËÉÙ¤ó¤Ç¤¤¤ë¡£(Âѵ×+4)\n", " You are very resilient (+4 CON).\n"));
1830
1831                 }
1832                 if (p_ptr->muta3 & MUT3_XTRA_FAT)
1833                 {
1834                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¶Ëü¤ËÂÀ¤Ã¤Æ¤¤¤ë¡£(Âѵ×+2,¥¹¥Ô¡¼¥É-2)\n", " You are extremely fat (+2 CON, -2 speed).\n"));
1835
1836                 }
1837                 if (p_ptr->muta3 & MUT3_ALBINO)
1838                 {
1839                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¥¢¥ë¥Ó¥Î¤À¡£(Âѵ×-4)\n", " You are albino (-4 CON).\n"));
1840
1841                 }
1842                 if (p_ptr->muta3 & MUT3_FLESH_ROT)
1843                 {
1844                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎÆùÂΤÏÉåÇÔ¤·¤Æ¤¤¤ë¡£(Âѵ×-2,Ì¥ÎÏ-1)\n", " Your flesh is rotting (-2 CON, -1 CHR).\n"));
1845
1846                 }
1847                 if (p_ptr->muta3 & MUT3_SILLY_VOI)
1848                 {
1849                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎÀ¼¤Ï´ÖÈ´¤±¤Ê¥­¡¼¥­¡¼À¼¤À¡£(Ì¥ÎÏ-4)\n", " Your voice is a silly squeak (-4 CHR).\n"));
1850
1851                 }
1852                 if (p_ptr->muta3 & MUT3_BLANK_FAC)
1853                 {
1854                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¤Î¤Ã¤Ú¤é¤Ü¤¦¤À¡£(Ì¥ÎÏ-1)\n", " Your face is featureless (-1 CHR).\n"));
1855
1856                 }
1857                 if (p_ptr->muta3 & MUT3_ILL_NORM)
1858                 {
1859                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¸¸±Æ¤Ëʤ¤ï¤ì¤Æ¤¤¤ë¡£\n", " Your appearance is masked with illusion.\n"));
1860
1861                 }
1862                 if (p_ptr->muta3 & MUT3_XTRA_EYES)
1863                 {
1864                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï;ʬ¤ËÆó¤Ä¤ÎÌܤò»ý¤Ã¤Æ¤¤¤ë¡£(õº÷+15)\n", " You have an extra pair of eyes (+15 search).\n"));
1865
1866                 }
1867                 if (p_ptr->muta3 & MUT3_MAGIC_RES)
1868                 {
1869                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏËâË¡¤Ø¤ÎÂÑÀ­¤ò¤â¤Ã¤Æ¤¤¤ë¡£\n", " You are resistant to magic.\n"));
1870
1871                 }
1872                 if (p_ptr->muta3 & MUT3_XTRA_NOIS)
1873                 {
1874                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏÊѤʲ»¤òȯ¤·¤Æ¤¤¤ë¡£(±£Ì©-3)\n", " You make a lot of strange noise (-3 stealth).\n"));
1875
1876                 }
1877                 if (p_ptr->muta3 & MUT3_INFRAVIS)
1878                 {
1879                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏÁÇÀ²¤é¤·¤¤ÀÖ³°Àþ»ëÎϤò»ý¤Ã¤Æ¤¤¤ë¡£(+3)\n", " You have remarkable infravision (+3).\n"));
1880
1881                 }
1882                 if (p_ptr->muta3 & MUT3_XTRA_LEGS)
1883                 {
1884                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï;ʬ¤ËÆóËܤέ¤¬À¸¤¨¤Æ¤¤¤ë¡£(²Ã®+3)\n", " You have an extra pair of legs (+3 speed).\n"));
1885
1886                 }
1887                 if (p_ptr->muta3 & MUT3_SHORT_LEG)
1888                 {
1889                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Î­¤Ïû¤¤Æ͵¯¤À¡£(²Ã®-3)\n", " Your legs are short stubs (-3 speed).\n"));
1890
1891                 }
1892                 if (p_ptr->muta3 & MUT3_ELEC_TOUC)
1893                 {
1894                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Î·ì´É¤Ë¤ÏÅÅή¤¬Î®¤ì¤Æ¤¤¤ë¡£\n", " Electricity is running through your veins.\n"));
1895
1896                 }
1897                 if (p_ptr->muta3 & MUT3_FIRE_BODY)
1898                 {
1899                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎÂΤϱê¤Ë¤Ä¤Ä¤Þ¤ì¤Æ¤¤¤ë¡£\n", " Your body is enveloped in flames.\n"));
1900
1901                 }
1902                 if (p_ptr->muta3 & MUT3_WART_SKIN)
1903                 {
1904                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎÈ©¤Ï¥¤¥Ü¤ËÈï¤ï¤ì¤Æ¤¤¤ë¡£(Ì¥ÎÏ-2, AC+5)\n", " Your skin is covered with warts (-2 CHR, +5 AC).\n"));
1905
1906                 }
1907                 if (p_ptr->muta3 & MUT3_SCALES)
1908                 {
1909                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎÈ©¤ÏÎڤˤʤäƤ¤¤ë¡£(Ì¥ÎÏ-1, AC+10)\n", " Your skin has turned into scales (-1 CHR, +10 AC).\n"));
1910
1911                 }
1912                 if (p_ptr->muta3 & MUT3_IRON_SKIN)
1913                 {
1914                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎÈ©¤ÏÅ´¤Ç¤Ç¤­¤Æ¤¤¤ë¡£(´ïÍÑ-1, AC+25)\n", " Your skin is made of steel (-1 DEX, +25 AC).\n"));
1915
1916                 }
1917                 if (p_ptr->muta3 & MUT3_WINGS)
1918                 {
1919                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï±©¤ò»ý¤Ã¤Æ¤¤¤ë¡£\n", " You have wings.\n"));
1920
1921                 }
1922                 if (p_ptr->muta3 & MUT3_FEARLESS)
1923                 {
1924                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏÁ´¤¯¶²Éݤò´¶¤¸¤Ê¤¤¡£\n", " You are completely fearless.\n"));
1925
1926                 }
1927                 if (p_ptr->muta3 & MUT3_REGEN)
1928                 {
1929                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏµÞ®¤Ë²óÉü¤¹¤ë¡£\n", " You are regenerating.\n"));
1930
1931                 }
1932                 if (p_ptr->muta3 & MUT3_ESP)
1933                 {
1934                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¥Æ¥ì¥Ñ¥·¡¼¤ò»ý¤Ã¤Æ¤¤¤ë¡£\n", " You are telepathic.\n"));
1935
1936                 }
1937                 if (p_ptr->muta3 & MUT3_LIMBER)
1938                 {
1939                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎÂΤÏÈó¾ï¤Ë¤·¤Ê¤ä¤«¤À¡£(´ïÍÑ+3)\n", " Your body is very limber (+3 DEX).\n"));
1940
1941                 }
1942                 if (p_ptr->muta3 & MUT3_ARTHRITIS)
1943                 {
1944                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¤¤¤Ä¤â´ØÀá¤ËÄˤߤò´¶¤¸¤Æ¤¤¤ë¡£(´ïÍÑ-3)\n", " Your joints ache constantly (-3 DEX).\n"));
1945
1946                 }
1947                 if (p_ptr->muta3 & MUT3_VULN_ELEM)
1948                 {
1949                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¸µÁǤι¶·â¤Ë¼å¤¤¡£\n", " You are susceptible to damage from the elements.\n"));
1950
1951                 }
1952                 if (p_ptr->muta3 & MUT3_MOTION)
1953                 {
1954                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÎÆ°ºî¤ÏÀµ³Î¤ÇÎ϶¯¤¤¡£(±£Ì©+1)\n", " Your movements are precise and forceful (+1 STL).\n"));
1955
1956                 }
1957                 if (p_ptr->muta3 & MUT3_GOOD_LUCK)
1958                 {
1959                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤ÏÇò¤¤¥ª¡¼¥é¤Ë¤Ä¤Ä¤Þ¤ì¤Æ¤¤¤ë¡£\n", " There is a white aura surrounding you.\n"));
1960
1961                 }
1962                 if (p_ptr->muta3 & MUT3_BAD_LUCK)
1963                 {
1964                         fprintf(OutFile, _(" ¤¢¤Ê¤¿¤Ï¹õ¤¤¥ª¡¼¥é¤Ë¤Ä¤Ä¤Þ¤ì¤Æ¤¤¤ë¡£\n", " There is a black aura surrounding you.\n"));
1965
1966                 }
1967         }
1968 }
1969
1970
1971 /*
1972  * List mutations we have...
1973  */
1974 void do_cmd_knowledge_mutations(void)
1975 {
1976         FILE *fff;
1977         char file_name[1024];
1978
1979         /* Open a new file */
1980         fff = my_fopen_temp(file_name, 1024);
1981
1982         /* Dump the mutations to file */
1983         if (fff) dump_mutations(fff);
1984
1985         /* Close the file */
1986         my_fclose(fff);
1987
1988         /* Display the file contents */
1989 #ifdef JP
1990 show_file(TRUE, file_name, "ÆÍÁ³ÊÑ°Û", 0, 0);
1991 #else
1992         show_file(TRUE, file_name, "Mutations", 0, 0);
1993 #endif
1994
1995
1996         /* Remove the file */
1997         fd_kill(file_name);
1998 }
1999
2000
2001 int count_bits(u32b x)
2002 {
2003         int n = 0;
2004
2005         if (x) do
2006         {
2007                 n++;
2008         }
2009         while (0 != (x = x&(x-1)));
2010
2011         return (n);
2012 }
2013
2014
2015 static int count_mutations(void)
2016 {
2017         return (count_bits(p_ptr->muta1) +
2018                 count_bits(p_ptr->muta2) +
2019                 count_bits(p_ptr->muta3));
2020 }
2021
2022
2023 /*
2024  * Return the modifier to the regeneration rate
2025  * (in percent)
2026  */
2027 int calc_mutant_regenerate_mod(void)
2028 {
2029         int regen;
2030         int mod = 10;
2031         int count = count_mutations();
2032
2033         /*
2034          * Beastman get 10 "free" mutations and
2035          * only 5% decrease per additional mutation
2036          */
2037
2038         if (p_ptr->pseikaku == SEIKAKU_LUCKY) count--;
2039         if (p_ptr->prace == RACE_BEASTMAN)
2040         {
2041                 count -= 10;
2042                 mod = 5;
2043         }
2044
2045         /* No negative modifier */
2046         if (count <= 0) return 100;
2047
2048         regen = 100 - count * mod;
2049
2050         /* Max. 90% decrease in regeneration speed */
2051         if (regen < 10) regen = 10;
2052
2053         return (regen);
2054 }
2055
2056
2057 void mutation_stop_mouth()
2058 {
2059         if (music_singing_any()) stop_singing();
2060         if (hex_spelling_any()) stop_hex_spell_all();
2061 }
2062
2063
2064 bool mutation_power_aux(u32b power)
2065 {
2066         int     dir = 0;
2067         int     lvl = p_ptr->lev;
2068
2069
2070         switch (power)
2071         {
2072                 case MUT1_SPIT_ACID:
2073                         if (!get_aim_dir(&dir)) return FALSE;
2074                         mutation_stop_mouth();
2075                         msg_print(_("»À¤òÅǤ­¤«¤±¤¿...", "You spit acid..."));
2076
2077                         fire_ball(GF_ACID, dir, lvl, 1 + (lvl / 30));
2078                         break;
2079
2080                 case MUT1_BR_FIRE:
2081                         if (!get_aim_dir(&dir)) return FALSE;
2082                         mutation_stop_mouth();
2083                         msg_print(_("¤¢¤Ê¤¿¤Ï²Ð±ê¤Î¥Ö¥ì¥¹¤òÅǤ¤¤¿...", "You breathe fire..."));
2084
2085                         fire_ball(GF_FIRE, dir, lvl * 2, 1 + (lvl / 20));
2086                         break;
2087
2088                 case MUT1_HYPN_GAZE:
2089                         if (!get_aim_dir(&dir)) return FALSE;
2090                         msg_print(_("¤¢¤Ê¤¿¤ÎÌܤϸ¸ÏÇŪ¤Ë¤Ê¤Ã¤¿...", "Your eyes look mesmerizing..."));
2091
2092                         (void)charm_monster(dir, lvl);
2093                         break;
2094
2095                 case MUT1_TELEKINES:
2096                         if (!get_aim_dir(&dir)) return FALSE;
2097                         msg_print(_("½¸Ã椷¤Æ¤¤¤ë...", "You concentrate..."));
2098
2099                         fetch(dir, lvl * 10, TRUE);
2100                         break;
2101
2102                 case MUT1_VTELEPORT:
2103                         msg_print(_("½¸Ã椷¤Æ¤¤¤ë...", "You concentrate..."));
2104
2105                         teleport_player(10 + 4 * lvl, 0L);
2106                         break;
2107
2108                 case MUT1_MIND_BLST:
2109                         if (!get_aim_dir(&dir)) return FALSE;
2110                         msg_print(_("½¸Ã椷¤Æ¤¤¤ë...", "You concentrate..."));
2111
2112                         fire_bolt(GF_PSI, dir, damroll(3 + ((lvl - 1) / 5), 3));
2113                         break;
2114
2115                 case MUT1_RADIATION:
2116                         msg_print(_("ÂΤ«¤éÊü¼Íǽ¤¬È¯À¸¤·¤¿¡ª", "Radiation flows from your body!"));
2117
2118                         fire_ball(GF_NUKE, 0, (lvl * 2), 3 + (lvl / 20));
2119                         break;
2120
2121                 case MUT1_VAMPIRISM:
2122                         {
2123                                 int x, y, dummy;
2124                                 cave_type *c_ptr;
2125
2126                                 /* Only works on adjacent monsters */
2127                                 if (!get_rep_dir2(&dir)) return FALSE;
2128                                 y = py + ddy[dir];
2129                                 x = px + ddx[dir];
2130                                 c_ptr = &cave[y][x];
2131
2132                                 mutation_stop_mouth();
2133
2134                                 if (!(c_ptr->m_idx))
2135                                 {
2136                                         msg_print(_("²¿¤â¤Ê¤¤¾ì½ê¤Ë³ú¤ß¤Ä¤¤¤¿¡ª", "You bite into thin air!"));
2137
2138                                         break;
2139                                 }
2140
2141                                 msg_print(_("¤¢¤Ê¤¿¤Ï¥Ë¥ä¥ê¤È¤·¤Æ²ç¤ò¤à¤¤¤¿...", "You grin and bare your fangs..."));
2142
2143
2144                                 dummy = lvl * 2;
2145
2146                                 if (drain_life(dir, dummy))
2147                                 {
2148                                         if (p_ptr->food < PY_FOOD_FULL)
2149                                                 /* No heal if we are "full" */
2150                                                 (void)hp_player(dummy);
2151                                         else
2152                                                 msg_print(_("¤¢¤Ê¤¿¤Ï¶õÊ¢¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£", "You were not hungry."));
2153
2154                                         /* Gain nutritional sustenance: 150/hp drained */
2155                                         /* A Food ration gives 5000 food points (by contrast) */
2156                                         /* Don't ever get more than "Full" this way */
2157                                         /* But if we ARE Gorged,  it won't cure us */
2158                                         dummy = p_ptr->food + MIN(5000, 100 * dummy);
2159                                         if (p_ptr->food < PY_FOOD_MAX)   /* Not gorged already */
2160                                                 (void)set_food(dummy >= PY_FOOD_MAX ? PY_FOOD_MAX-1 : dummy);
2161                                 }
2162                                 else
2163                                         msg_print(_("¤²¤§¡ª¤Ò¤É¤¤Ì£¤À¡£", "Yechh. That tastes foul."));
2164
2165                         }
2166                         break;
2167
2168                 case MUT1_SMELL_MET:
2169                         mutation_stop_mouth();
2170                         (void)detect_treasure(DETECT_RAD_DEFAULT);
2171                         break;
2172
2173                 case MUT1_SMELL_MON:
2174                         mutation_stop_mouth();
2175                         (void)detect_monsters_normal(DETECT_RAD_DEFAULT);
2176                         break;
2177
2178                 case MUT1_BLINK:
2179                         teleport_player(10, 0L);
2180                         break;
2181
2182                 case MUT1_EAT_ROCK:
2183                         {
2184                                 int x, y;
2185                                 cave_type *c_ptr;
2186                                 feature_type *f_ptr, *mimic_f_ptr;
2187
2188                                 if (!get_rep_dir2(&dir)) return FALSE;
2189                                 y = py + ddy[dir];
2190                                 x = px + ddx[dir];
2191                                 c_ptr = &cave[y][x];
2192                                 f_ptr = &f_info[c_ptr->feat];
2193                                 mimic_f_ptr = &f_info[get_feat_mimic(c_ptr)];
2194
2195                                 mutation_stop_mouth();
2196
2197                                 if (!have_flag(mimic_f_ptr->flags, FF_HURT_ROCK))
2198                                 {
2199                                         msg_print(_("¤³¤ÎÃÏ·Á¤Ï¿©¤Ù¤é¤ì¤Ê¤¤¡£", "You cannot eat this feature."));
2200                                         break;
2201                                 }
2202                                 else if (have_flag(f_ptr->flags, FF_PERMANENT))
2203                                 {
2204 #ifdef JP
2205                                         msg_format("¤¤¤Æ¤Ã¡ª¤³¤Î%s¤Ï¤¢¤Ê¤¿¤Î»õ¤è¤ê¹Å¤¤¡ª", f_name + mimic_f_ptr->name);
2206 #else
2207                                         msg_format("Ouch!  This %s is harder than your teeth!", f_name + mimic_f_ptr->name);
2208 #endif
2209                                         break;
2210                                 }
2211                                 else if (c_ptr->m_idx)
2212                                 {
2213                                         monster_type *m_ptr = &m_list[c_ptr->m_idx];
2214                                         msg_print(_("²¿¤«¤¬¼ÙË⤷¤Æ¤¤¤Þ¤¹¡ª", "There's something in the way!"));
2215
2216                                         if (!m_ptr->ml || !is_pet(m_ptr)) py_attack(y, x, 0);
2217                                         break;
2218                                 }
2219                                 else if (have_flag(f_ptr->flags, FF_TREE))
2220                                 {
2221                                         msg_print(_("ÌÚ¤ÎÌ£¤Ï¹¥¤­¤¸¤ã¤Ê¤¤¡ª", "You don't like the woody taste!"));
2222                                         break;
2223                                 }
2224                                 else if (have_flag(f_ptr->flags, FF_GLASS))
2225                                 {
2226                                         msg_print(_("¥¬¥é¥¹¤ÎÌ£¤Ï¹¥¤­¤¸¤ã¤Ê¤¤¡ª", "You don't like the glassy taste!"));
2227                                         break;
2228                                 }
2229                                 else if (have_flag(f_ptr->flags, FF_DOOR) || have_flag(f_ptr->flags, FF_CAN_DIG))
2230                                 {
2231                                         (void)set_food(p_ptr->food + 3000);
2232                                 }
2233                                 else if (have_flag(f_ptr->flags, FF_MAY_HAVE_GOLD) || have_flag(f_ptr->flags, FF_HAS_GOLD))
2234                                 {
2235                                         (void)set_food(p_ptr->food + 5000);
2236                                 }
2237                                 else
2238                                 {
2239 #ifdef JP
2240                                         msg_format("¤³¤Î%s¤Ï¤È¤Æ¤â¤ª¤¤¤·¤¤¡ª", f_name + mimic_f_ptr->name);
2241 #else
2242                                         msg_format("This %s is very filling!", f_name + mimic_f_ptr->name);
2243 #endif
2244                                         (void)set_food(p_ptr->food + 10000);
2245                                 }
2246
2247                                 /* Destroy the wall */
2248                                 cave_alter_feat(y, x, FF_HURT_ROCK);
2249
2250                                 /* Move the player */
2251                                 (void)move_player_effect(y, x, MPE_DONT_PICKUP);
2252                         }
2253                         break;
2254
2255                 case MUT1_SWAP_POS:
2256                         project_length = -1;
2257                         if (!get_aim_dir(&dir))
2258                         {
2259                                 project_length = 0;
2260                                 return FALSE;
2261                         }
2262                         (void)teleport_swap(dir);
2263                         project_length = 0;
2264                         break;
2265
2266                 case MUT1_SHRIEK:
2267                         mutation_stop_mouth();
2268                         (void)fire_ball(GF_SOUND, 0, 2 * lvl, 8);
2269                         (void)aggravate_monsters(0);
2270                         break;
2271
2272                 case MUT1_ILLUMINE:
2273                         (void)lite_area(damroll(2, (lvl / 2)), (lvl / 10) + 1);
2274                         break;
2275
2276                 case MUT1_DET_CURSE:
2277                         {
2278                                 int i;
2279
2280                                 for (i = 0; i < INVEN_TOTAL; i++)
2281                                 {
2282                                         object_type *o_ptr = &inventory[i];
2283
2284                                         if (!o_ptr->k_idx) continue;
2285                                         if (!object_is_cursed(o_ptr)) continue;
2286
2287                                         o_ptr->feeling = FEEL_CURSED;
2288                                 }
2289                         }
2290                         break;
2291
2292                 case MUT1_BERSERK:
2293                         (void)set_shero(randint1(25) + 25, FALSE);
2294                         (void)hp_player(30);
2295                         (void)set_afraid(0);
2296                         break;
2297
2298                 case MUT1_POLYMORPH:
2299 #ifdef JP
2300                         if (!get_check("ÊѿȤ·¤Þ¤¹¡£¤è¤í¤·¤¤¤Ç¤¹¤«¡©")) return FALSE;
2301 #else
2302                         if (!get_check("You will polymorph your self. Are you sure? ")) return FALSE;
2303 #endif
2304                         do_poly_self();
2305                         break;
2306
2307                 case MUT1_MIDAS_TCH:
2308                         if (!alchemy()) return FALSE;
2309                         break;
2310
2311                 /* Summon pet molds around the player */
2312                 case MUT1_GROW_MOLD:
2313                         {
2314                                 int i;
2315                                 for (i = 0; i < 8; i++)
2316                                 {
2317                                         summon_specific(-1, py, px, lvl, SUMMON_BIZARRE1, PM_FORCE_PET);
2318                                 }
2319                         }
2320                         break;
2321
2322                 case MUT1_RESIST:
2323                         {
2324                                 int num = lvl / 10;
2325                                 int dur = randint1(20) + 20;
2326
2327                                 if (randint0(5) < num)
2328                                 {
2329                                         (void)set_oppose_acid(dur, FALSE);
2330                                         num--;
2331                                 }
2332                                 if (randint0(4) < num)
2333                                 {
2334                                         (void)set_oppose_elec(dur, FALSE);
2335                                         num--;
2336                                 }
2337                                 if (randint0(3) < num)
2338                                 {
2339                                         (void)set_oppose_fire(dur, FALSE);
2340                                         num--;
2341                                 }
2342                                 if (randint0(2) < num)
2343                                 {
2344                                         (void)set_oppose_cold(dur, FALSE);
2345                                         num--;
2346                                 }
2347                                 if (num)
2348                                 {
2349                                         (void)set_oppose_pois(dur, FALSE);
2350                                         num--;
2351                                 }
2352                         }
2353                         break;
2354
2355                 case MUT1_EARTHQUAKE:
2356                         (void)earthquake(py, px, 10);
2357                         break;
2358
2359                 case MUT1_EAT_MAGIC:
2360                         if (!eat_magic(p_ptr->lev * 2)) return FALSE;
2361                         break;
2362
2363                 case MUT1_WEIGH_MAG:
2364                         report_magics();
2365                         break;
2366
2367                 case MUT1_STERILITY:
2368                         /* Fake a population explosion. */
2369 #ifdef JP
2370                         msg_print("ÆÍÁ³Æ¬¤¬Äˤ¯¤Ê¤Ã¤¿¡ª");
2371                         take_hit(DAMAGE_LOSELIFE, randint1(17) + 17, "¶ØÍߤò¶¯¤¤¤¿ÈèÏ«", -1);
2372 #else
2373                         msg_print("You suddenly have a headache!");
2374                         take_hit(DAMAGE_LOSELIFE, randint1(17) + 17, "the strain of forcing abstinence", -1);
2375 #endif
2376
2377                         num_repro += MAX_REPRO;
2378                         break;
2379
2380                 case MUT1_PANIC_HIT:
2381                         {
2382                                 int x, y;
2383
2384                                 if (!get_rep_dir2(&dir)) return FALSE;
2385                                 y = py + ddy[dir];
2386                                 x = px + ddx[dir];
2387                                 if (cave[y][x].m_idx)
2388                                 {
2389                                         py_attack(y, x, 0);
2390                                         if (randint0(p_ptr->skill_dis) < 7)
2391                                                 msg_print(_("¤¦¤Þ¤¯Æ¨¤²¤é¤ì¤Ê¤«¤Ã¤¿¡£", "You failed to teleport."));
2392                                         else teleport_player(30, 0L);
2393                                 }
2394                                 else
2395                                 {
2396                                         msg_print(_("¤½¤ÎÊý¸þ¤Ë¤Ï¥â¥ó¥¹¥¿¡¼¤Ï¤¤¤Þ¤»¤ó¡£", "You don't see any monster in this direction"));
2397
2398                                         msg_print(NULL);
2399                                 }
2400                         }
2401                         break;
2402
2403                 case MUT1_DAZZLE:
2404                         stun_monsters(lvl * 4);
2405                         confuse_monsters(lvl * 4);
2406                         turn_monsters(lvl * 4);
2407                         break;
2408
2409                 case MUT1_LASER_EYE:
2410                         if (!get_aim_dir(&dir)) return FALSE;
2411                         fire_beam(GF_LITE, dir, 2 * lvl);
2412                         break;
2413
2414                 case MUT1_RECALL:
2415                         if (!word_of_recall()) return FALSE;
2416                         break;
2417
2418                 case MUT1_BANISH:
2419                         {
2420                                 int x, y;
2421                                 cave_type *c_ptr;
2422                                 monster_type *m_ptr;
2423                                 monster_race *r_ptr;
2424
2425                                 if (!get_rep_dir2(&dir)) return FALSE;
2426                                 y = py + ddy[dir];
2427                                 x = px + ddx[dir];
2428                                 c_ptr = &cave[y][x];
2429
2430                                 if (!c_ptr->m_idx)
2431                                 {
2432                                         msg_print(_("¼Ù°­¤Ê¸ºß¤ò´¶¤¸¤È¤ì¤Þ¤»¤ó¡ª", "You sense no evil there!"));
2433
2434                                         break;
2435                                 }
2436
2437                                 m_ptr = &m_list[c_ptr->m_idx];
2438                                 r_ptr = &r_info[m_ptr->r_idx];
2439
2440                                 if ((r_ptr->flags3 & RF3_EVIL) &&
2441                                     !(r_ptr->flags1 & RF1_QUESTOR) &&
2442                                     !(r_ptr->flags1 & RF1_UNIQUE) &&
2443                                     !p_ptr->inside_arena && !p_ptr->inside_quest &&
2444                                         (r_ptr->level < randint1(p_ptr->lev+50)) &&
2445                                         !(m_ptr->mflag2 & MFLAG2_NOGENO))
2446                                 {
2447                                         if (record_named_pet && is_pet(m_ptr) && m_ptr->nickname)
2448                                         {
2449                                                 char m_name[80];
2450
2451                                                 monster_desc(m_name, m_ptr, MD_INDEF_VISIBLE);
2452                                                 do_cmd_write_nikki(NIKKI_NAMED_PET, RECORD_NAMED_PET_GENOCIDE, m_name);
2453                                         }
2454
2455                                         /* Delete the monster, rather than killing it. */
2456                                         delete_monster_idx(c_ptr->m_idx);
2457                                         msg_print(_("¤½¤Î¼Ù°­¤Ê¥â¥ó¥¹¥¿¡¼¤Ïⲫ½­¤¤±ì¤È¤È¤â¤Ë¾Ã¤¨µî¤Ã¤¿¡ª", "The evil creature vanishes in a puff of sulfurous smoke!"));
2458
2459                                 }
2460                                 else
2461                                 {
2462                                         msg_print(_("µ§¤ê¤Ï¸ú²Ì¤¬¤Ê¤«¤Ã¤¿¡ª", "Your invocation is ineffectual!"));
2463
2464                                         if (one_in_(13)) m_ptr->mflag2 |= MFLAG2_NOGENO;
2465                                 }
2466                         }
2467                         break;
2468
2469                 case MUT1_COLD_TOUCH:
2470                         {
2471                                 int x, y;
2472                                 cave_type *c_ptr;
2473
2474                                 if (!get_rep_dir2(&dir)) return FALSE;
2475                                 y = py + ddy[dir];
2476                                 x = px + ddx[dir];
2477                                 c_ptr = &cave[y][x];
2478
2479                                 if (!c_ptr->m_idx)
2480                                 {
2481                                         msg_print(_("¤¢¤Ê¤¿¤Ï²¿¤â¤Ê¤¤¾ì½ê¤Ç¼ê¤ò¿¶¤Ã¤¿¡£", "You wave your hands in the air."));
2482
2483                                         break;
2484                                 }
2485                                 fire_bolt(GF_COLD, dir, 2 * lvl);
2486                         }
2487                         break;
2488
2489                 /* XXX_XXX_XXX Hack!  MUT1_LAUNCHER is negative, see above */
2490                 case 3: /* MUT1_LAUNCHER */
2491                         /* Gives a multiplier of 2 at first, up to 3 at 40th */
2492                         if (!do_cmd_throw_aux(2 + lvl / 40, FALSE, -1)) return FALSE;
2493                         break;
2494
2495                 default:
2496                         energy_use = 0;
2497 #ifdef JP
2498                         msg_format("ǽÎÏ %s ¤Ï¼ÂÁõ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¡£", power);
2499 #else
2500                         msg_format("Power %s not implemented. Oops.", power);
2501 #endif
2502
2503         }
2504
2505         return TRUE;
2506 }