5 #include "object-curse.h"
6 #include "monsterrace-hook.h"
7 #include "objectkind-hook.h"
8 #include "spells-summon.h"
11 #include "player-status.h"
17 const concptr chaos_patrons[MAX_PATRON] =
40 const concptr chaos_patrons[MAX_PATRON] =
66 * @brief カオスパトロンの報酬能力値テーブル
68 const int chaos_stats[MAX_PATRON] =
92 * @brief カオスパトロンの報酬テーブル
94 const int chaos_rewards[MAX_PATRON][20] =
96 /* Slortar the Old: */
98 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL, REW_LOSE_ABL,
99 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_SLF,
100 REW_POLY_SLF, REW_POLY_SLF, REW_GAIN_ABL, REW_GAIN_ABL, REW_GAIN_EXP,
101 REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_AUGM_ABL, REW_AUGM_ABL
104 /* Mabelode the Faceless: */
106 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_H_SUMMON, REW_SUMMON_M,
107 REW_SUMMON_M, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_WND,
108 REW_POLY_SLF, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_ABL, REW_SER_UNDE,
109 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GOOD_OBJ, REW_GOOD_OBS, REW_GOOD_OBS
112 /* Chardros the Reaper: */
114 REW_WRATH, REW_WRATH, REW_HURT_LOT, REW_PISS_OFF, REW_H_SUMMON,
115 REW_SUMMON_M, REW_IGNORE, REW_IGNORE, REW_DESTRUCT, REW_SER_UNDE,
116 REW_GENOCIDE, REW_MASS_GEN, REW_MASS_GEN, REW_DISPEL_C, REW_GOOD_OBJ,
117 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_AUGM_ABL, REW_AUGM_ABL
120 /* Hionhurn the Executioner: */
122 REW_WRATH, REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL,
123 REW_IGNORE, REW_IGNORE, REW_SER_UNDE, REW_DESTRUCT, REW_GENOCIDE,
124 REW_MASS_GEN, REW_MASS_GEN, REW_HEAL_FUL, REW_GAIN_ABL, REW_GAIN_ABL,
125 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_AUGM_ABL, REW_AUGM_ABL
128 /* Xiombarg the Sword-Queen: */
130 REW_TY_CURSE, REW_TY_CURSE, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_ABL,
131 REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND, REW_POLY_WND,
132 REW_GENOCIDE, REW_DISPEL_C, REW_GOOD_OBJ, REW_GOOD_OBJ, REW_SER_MONS,
133 REW_GAIN_ABL, REW_CHAOS_WP, REW_GAIN_EXP, REW_AUGM_ABL, REW_GOOD_OBS
137 /* Pyaray the Tentacled Whisperer of Impossible Secretes: */
139 REW_WRATH, REW_TY_CURSE, REW_PISS_OFF, REW_H_SUMMON, REW_H_SUMMON,
140 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_SLF,
141 REW_POLY_SLF, REW_SER_DEMO, REW_HEAL_FUL, REW_GAIN_ABL, REW_GAIN_ABL,
142 REW_CHAOS_WP, REW_DO_HAVOC, REW_GOOD_OBJ, REW_GREA_OBJ, REW_GREA_OBS
145 /* Balaan the Grim: */
147 REW_TY_CURSE, REW_HURT_LOT, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL,
148 REW_SUMMON_M, REW_LOSE_EXP, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND,
149 REW_SER_UNDE, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_EXP, REW_GAIN_EXP,
150 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GOOD_OBS, REW_GREA_OBS, REW_AUGM_ABL
153 /* Arioch, Duke of Hell: */
155 REW_WRATH, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_EXP, REW_H_SUMMON,
156 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF,
157 REW_POLY_SLF, REW_MASS_GEN, REW_SER_DEMO, REW_HEAL_FUL, REW_CHAOS_WP,
158 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GAIN_EXP, REW_GREA_OBJ, REW_AUGM_ABL
161 /* Eequor, Blue Lady of Dismay: */
163 REW_WRATH, REW_TY_CURSE, REW_PISS_OFF, REW_CURSE_WP, REW_RUIN_ABL,
164 REW_IGNORE, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND,
165 REW_GOOD_OBJ, REW_GOOD_OBJ, REW_SER_MONS, REW_HEAL_FUL, REW_GAIN_EXP,
166 REW_GAIN_ABL, REW_CHAOS_WP, REW_GOOD_OBS, REW_GREA_OBJ, REW_AUGM_ABL
169 /* Narjhan, Lord of Beggars: */
171 REW_WRATH, REW_CURSE_AR, REW_CURSE_WP, REW_CURSE_WP, REW_CURSE_AR,
172 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF,
173 REW_POLY_WND, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_EXP, REW_AUGM_ABL,
174 REW_GOOD_OBJ, REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_GREA_OBS
177 /* Balo the Jester: */
179 REW_WRATH, REW_SER_DEMO, REW_CURSE_WP, REW_CURSE_AR, REW_LOSE_EXP,
180 REW_GAIN_ABL, REW_LOSE_ABL, REW_POLY_WND, REW_POLY_SLF, REW_IGNORE,
181 REW_DESTRUCT, REW_MASS_GEN, REW_CHAOS_WP, REW_GREA_OBJ, REW_HURT_LOT,
182 REW_AUGM_ABL, REW_RUIN_ABL, REW_H_SUMMON, REW_GREA_OBS, REW_AUGM_ABL
185 /* Khorne the Bloodgod: */
187 REW_WRATH, REW_HURT_LOT, REW_HURT_LOT, REW_H_SUMMON, REW_H_SUMMON,
188 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_SER_MONS, REW_SER_DEMO,
189 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GOOD_OBJ,
190 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_GREA_OBJ, REW_GREA_OBS
195 REW_WRATH, REW_PISS_OFF, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_ABL,
196 REW_LOSE_EXP, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_SER_DEMO,
197 REW_POLY_SLF, REW_HEAL_FUL, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GAIN_EXP,
198 REW_GAIN_EXP, REW_CHAOS_WP, REW_GAIN_ABL, REW_GREA_OBJ, REW_AUGM_ABL
203 REW_WRATH, REW_PISS_OFF, REW_HURT_LOT, REW_RUIN_ABL, REW_LOSE_ABL,
204 REW_LOSE_EXP, REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF,
205 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GAIN_ABL,
206 REW_GAIN_ABL, REW_SER_UNDE, REW_CHAOS_WP, REW_GREA_OBJ, REW_AUGM_ABL
211 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL, REW_LOSE_ABL,
212 REW_LOSE_EXP, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_SLF,
213 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_CHAOS_WP, REW_GREA_OBJ,
214 REW_GAIN_ABL, REW_GAIN_ABL, REW_GAIN_EXP, REW_GAIN_EXP, REW_AUGM_ABL
219 REW_WRATH, REW_HURT_LOT, REW_PISS_OFF, REW_LOSE_ABL, REW_LOSE_EXP,
220 REW_IGNORE, REW_IGNORE, REW_DISPEL_C, REW_DO_HAVOC, REW_DO_HAVOC,
221 REW_POLY_SLF, REW_POLY_SLF, REW_GAIN_EXP, REW_GAIN_ABL, REW_GAIN_ABL,
222 REW_SER_MONS, REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_GOOD_OBS
227 void gain_level_reward(int chosen_reward)
231 char wrath_reason[32] = "";
232 int nasty_chance = 6;
233 OBJECT_TYPE_VALUE dummy = 0;
234 OBJECT_SUBTYPE_VALUE dummy2 = 0;
236 concptr reward = NULL;
237 GAME_TEXT o_name[MAX_NLEN];
243 if (multi_rew) return;
244 else multi_rew = TRUE;
248 if (p_ptr->lev == 13) nasty_chance = 2;
249 else if (!(p_ptr->lev % 13)) nasty_chance = 3;
250 else if (!(p_ptr->lev % 14)) nasty_chance = 12;
252 if (one_in_(nasty_chance))
253 type = randint1(20); /* Allow the 'nasty' effects */
255 type = randint1(15) + 5; /* Or disallow them */
257 if (type < 1) type = 1;
258 if (type > 20) type = 20;
262 sprintf(wrath_reason, _("%sの怒り", "the Wrath of %s"), chaos_patrons[p_ptr->chaos_patron]);
264 effect = chaos_rewards[p_ptr->chaos_patron][type];
266 if (one_in_(6) && !chosen_reward)
268 msg_format(_("%^sは褒美としてあなたを突然変異させた。", "%^s rewards you with a mutation!"), chaos_patrons[p_ptr->chaos_patron]);
269 (void)gain_random_mutation(0);
270 reward = _("変異した。", "mutation");
274 switch (chosen_reward ? chosen_reward : effect)
279 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
280 msg_print(_("「汝、新たなる姿を必要とせり!」", "'Thou needst a new form, mortal!'"));
283 reward = _("変異した。", "polymorphing");
288 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
289 msg_print(_("「汝は良く行いたり!続けよ!」", "'Well done, mortal! Lead on!'"));
291 if (p_ptr->prace == RACE_ANDROID)
293 msg_print(_("しかし何も起こらなかった。", "But, nothing happen."));
295 else if (p_ptr->exp < PY_MAX_EXP)
297 s32b ee = (p_ptr->exp / 2) + 10;
298 if (ee > 100000L) ee = 100000L;
299 msg_print(_("更に経験を積んだような気がする。", "You feel more experienced."));
302 reward = _("経験値を得た", "experience");
308 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
309 msg_print(_("「下僕よ、汝それに値せず。」", "'Thou didst not deserve that, slave.'"));
311 if (p_ptr->prace == RACE_ANDROID)
313 msg_print(_("しかし何も起こらなかった。", "But, nothing happen."));
317 lose_exp(p_ptr->exp / 6);
318 reward = _("経験値を失った。", "losing experience");
324 msg_format("%sの声がささやいた:",
325 chaos_patrons[p_ptr->chaos_patron]);
327 msg_format("The voice of %s whispers:",
328 chaos_patrons[p_ptr->chaos_patron]);
331 msg_print(_("「我が与えし物を賢明に使うべし。」", "'Use my gift wisely.'"));
333 acquirement(p_ptr->y, p_ptr->x, 1, FALSE, FALSE, FALSE);
334 reward = _("上質なアイテムを手に入れた。", "a good item");
339 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
340 msg_print(_("「我が与えし物を賢明に使うべし。」", "'Use my gift wisely.'"));
342 acquirement(p_ptr->y, p_ptr->x, 1, TRUE, FALSE, FALSE);
343 reward = _("高級品のアイテムを手に入れた。", "an excellent item");
348 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
349 msg_print(_("「汝の行いは貴き剣に値せり。」", "'Thy deed hath earned thee a worthy blade.'"));
352 switch (randint1(p_ptr->lev))
358 dummy2 = SV_MAIN_GAUCHE;
367 dummy2 = SV_SMALL_SWORD;
370 dummy2 = SV_BASILLARD;
372 case 11: case 12: case 13:
373 dummy2 = SV_SHORT_SWORD;
382 dummy2 = SV_WAKIZASHI;
391 dummy2 = SV_BROAD_SWORD;
394 dummy2 = SV_LONG_SWORD;
397 dummy2 = SV_SCIMITAR;
406 dummy2 = SV_BASTARD_SWORD;
409 dummy2 = SV_GREAT_SCIMITAR;
412 dummy2 = SV_CLAYMORE;
418 dummy2 = SV_TWO_HANDED_SWORD;
421 dummy2 = SV_FLAMBERGE;
424 dummy2 = SV_NO_DACHI;
427 dummy2 = SV_EXECUTIONERS_SWORD;
430 dummy2 = SV_ZWEIHANDER;
433 dummy2 = SV_HAYABUSA;
436 dummy2 = SV_BLADE_OF_CHAOS;
439 object_prep(q_ptr, lookup_kind(dummy, dummy2));
440 q_ptr->to_h = 3 + randint1(dun_level) % 10;
441 q_ptr->to_d = 3 + randint1(dun_level) % 10;
442 one_resistance(q_ptr);
443 q_ptr->name2 = EGO_CHAOTIC;
444 (void)drop_near(q_ptr, -1, p_ptr->y, p_ptr->x);
445 reward = _("(混沌)の武器を手に入れた。", "chaos weapon");
450 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
451 msg_print(_("「汝の行いは貴き報いに値せり。」", "'Thy deed hath earned thee a worthy reward.'"));
453 acquirement(p_ptr->y, p_ptr->x, randint1(2) + 1, FALSE, FALSE, FALSE);
454 reward = _("上質なアイテムを手に入れた。", "good items");
459 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
460 msg_print(_("「下僕よ、汝の献身への我が惜しみ無き報いを見るがよい。」", "'Behold, mortal, how generously I reward thy loyalty.'"));
462 acquirement(p_ptr->y, p_ptr->x, randint1(2) + 1, TRUE, FALSE, FALSE);
463 reward = _("高級品のアイテムを手に入れた。", "excellent items");
468 msg_format("%sの声が轟き渡った:", chaos_patrons[p_ptr->chaos_patron]);
470 msg_format("The voice of %s thunders:", chaos_patrons[p_ptr->chaos_patron]);
473 msg_print(_("「下僕よ、汝傲慢なり。」", "'Thou art growing arrogant, mortal.'"));
475 (void)activate_ty_curse(FALSE, &count);
476 reward = _("禍々しい呪いをかけられた。", "cursing");
481 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
482 msg_print(_("「我が下僕たちよ、かの傲慢なる者を倒すべし!」", "'My pets, destroy the arrogant mortal!'"));
484 for (dummy = 0; dummy < randint1(5) + 1; dummy++)
486 (void)summon_specific(0, p_ptr->y, p_ptr->x, dun_level, 0, (PM_ALLOW_GROUP | PM_ALLOW_UNIQUE | PM_NO_PET), '\0');
488 reward = _("モンスターを召喚された。", "summoning hostile monsters");
494 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
495 msg_print(_("「汝、より強き敵を必要とせり!」", "'Thou needst worthier opponents!'"));
497 activate_hi_summon(p_ptr->y, p_ptr->x, FALSE);
498 reward = _("モンスターを召喚された。", "summoning many hostile monsters");
504 msg_format("%sの声が響き渡った:",
505 chaos_patrons[p_ptr->chaos_patron]);
507 msg_format("The voice of %s booms out:",
508 chaos_patrons[p_ptr->chaos_patron]);
511 msg_print(_("「死と破壊こそ我が喜びなり!」", "'Death and destruction! This pleaseth me!'"));
514 reward = _("カオスの力が渦巻いた。", "calling chaos");
520 msg_format("%sの声が鳴り響いた:",
521 chaos_patrons[p_ptr->chaos_patron]);
523 msg_format("The voice of %s rings out:",
524 chaos_patrons[p_ptr->chaos_patron]);
527 msg_print(_("「留まるのだ、下僕よ。余が汝の肉体を鍛えん。」", "'Stay, mortal, and let me mold thee.'"));
529 if (one_in_(3) && !(chaos_stats[p_ptr->chaos_patron] < 0))
530 do_inc_stat(chaos_stats[p_ptr->chaos_patron]);
532 do_inc_stat(randint0(6));
533 reward = _("能力値が上がった。", "increasing a stat");
539 msg_format("%sの声が響き渡った:",
540 chaos_patrons[p_ptr->chaos_patron]);
542 msg_format("The voice of %s booms out:",
543 chaos_patrons[p_ptr->chaos_patron]);
546 msg_print(_("「下僕よ、余は汝に飽みたり。」", "'I grow tired of thee, mortal.'"));
548 if (one_in_(3) && !(chaos_stats[p_ptr->chaos_patron] < 0))
549 do_dec_stat(chaos_stats[p_ptr->chaos_patron]);
551 (void)do_dec_stat(randint0(6));
552 reward = _("能力値が下がった。", "decreasing a stat");
559 msg_format("%sの声が轟き渡った:",
560 chaos_patrons[p_ptr->chaos_patron]);
562 msg_format("The voice of %s thunders:",
563 chaos_patrons[p_ptr->chaos_patron]);
566 msg_print(_("「汝、謙虚たることを学ぶべし!」", "'Thou needst a lesson in humility, mortal!'"));
567 msg_print(_("あなたは以前より弱くなった!", "You feel less powerful!"));
569 for (dummy = 0; dummy < A_MAX; dummy++)
571 (void)dec_stat(dummy, 10 + randint1(15), TRUE);
573 reward = _("全能力値が下がった。", "decreasing all stats");
578 msg_format(_("%sの力が触れるのを感じた。", "You feel the power of %s touch you."),
579 chaos_patrons[p_ptr->chaos_patron]);
581 reward = _("傷が変化した。", "polymorphing wounds");
586 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
588 msg_print(_("「我がささやかなる賜物を受けとるがよい!」", "'Receive this modest gift from me!'"));
590 for (dummy = 0; dummy < A_MAX; dummy++)
592 (void)do_inc_stat(dummy);
594 reward = _("全能力値が上がった。", "increasing all stats");
599 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
600 msg_print(_("「苦しむがよい、無能な愚か者よ!」", "'Suffer, pathetic fool!'"));
602 fire_ball(GF_DISINTEGRATE, 0, p_ptr->lev * 4, 4);
603 take_hit(DAMAGE_NOESCAPE, p_ptr->lev * 4, wrath_reason, -1);
604 reward = _("分解の球が発生した。", "generating disintegration ball");
609 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
610 (void)restore_level();
611 (void)restore_all_status();
612 (void)true_healing(5000);
613 reward = _("体力が回復した。", "healing");
618 if (!has_melee_weapon(INVEN_RARM) && !has_melee_weapon(INVEN_LARM)) break;
619 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
620 msg_print(_("「汝、武器に頼ることなかれ。」", "'Thou reliest too much on thy weapon.'"));
623 if (has_melee_weapon(INVEN_LARM))
626 if (has_melee_weapon(INVEN_RARM) && one_in_(2)) dummy = INVEN_RARM;
628 object_desc(o_name, &inventory[dummy], OD_NAME_ONLY);
629 (void)curse_weapon(FALSE, dummy);
630 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
635 if (!inventory[INVEN_BODY].k_idx) break;
636 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
637 msg_print(_("「汝、防具に頼ることなかれ。」", "'Thou reliest too much on thine equipment.'"));
639 object_desc(o_name, &inventory[INVEN_BODY], OD_NAME_ONLY);
641 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
645 msg_format(_("%sの声がささやいた:", "The voice of %s whispers:"), chaos_patrons[p_ptr->chaos_patron]);
646 msg_print(_("「我を怒りしめた罪を償うべし。」", "'Now thou shalt pay for annoying me.'"));
651 (void)activate_ty_curse(FALSE, &count);
652 reward = _("禍々しい呪いをかけられた。", "cursing");
655 activate_hi_summon(p_ptr->y, p_ptr->x, FALSE);
656 reward = _("モンスターを召喚された。", "summoning hostile monsters");
661 if (!has_melee_weapon(INVEN_RARM) && !has_melee_weapon(INVEN_LARM)) break;
663 if (has_melee_weapon(INVEN_LARM))
666 if (has_melee_weapon(INVEN_RARM) && one_in_(2)) dummy = INVEN_RARM;
668 object_desc(o_name, &inventory[dummy], OD_NAME_ONLY);
669 (void)curse_weapon(FALSE, dummy);
670 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
674 if (!inventory[INVEN_BODY].k_idx) break;
675 object_desc(o_name, &inventory[INVEN_BODY], OD_NAME_ONLY);
677 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
681 for (dummy = 0; dummy < A_MAX; dummy++)
683 (void)dec_stat(dummy, 10 + randint1(15), TRUE);
685 reward = _("全能力値が下がった。", "decreasing all stats");
692 msg_format(_("%sの声が轟き渡った:", "The voice of %s thunders:"), chaos_patrons[p_ptr->chaos_patron]);
693 msg_print(_("「死ぬがよい、下僕よ!」", "'Die, mortal!'"));
695 take_hit(DAMAGE_LOSELIFE, p_ptr->lev * 4, wrath_reason, -1);
696 for (dummy = 0; dummy < A_MAX; dummy++)
698 (void)dec_stat(dummy, 10 + randint1(15), FALSE);
700 activate_hi_summon(p_ptr->y, p_ptr->x, FALSE);
701 (void)activate_ty_curse(FALSE, &count);
706 if (has_melee_weapon(INVEN_RARM))
709 if (has_melee_weapon(INVEN_LARM) && one_in_(2)) dummy = INVEN_LARM;
711 else if (has_melee_weapon(INVEN_LARM)) dummy = INVEN_LARM;
713 if (dummy) (void)curse_weapon(FALSE, dummy);
715 if (one_in_(2)) (void)curse_armor();
720 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
721 msg_print(_("「死と破壊こそ我が喜びなり!」", "'Death and destruction! This pleaseth me!'"));
723 (void)destroy_area(p_ptr->y, p_ptr->x, 25, FALSE);
724 reward = _("ダンジョンが*破壊*された。", "*destruct*ing dungeon");
729 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
730 msg_print(_("「我、汝の敵を抹殺せん!」", "'Let me relieve thee of thine oppressors!'"));
731 (void)symbol_genocide(0, FALSE);
732 reward = _("モンスターが抹殺された。", "genociding monsters");
737 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
738 msg_print(_("「我、汝の敵を抹殺せん!」", "'Let me relieve thee of thine oppressors!'"));
740 (void)mass_genocide(0, FALSE);
741 reward = _("モンスターが抹殺された。", "genociding nearby monsters");
746 msg_format(_("%sの力が敵を攻撃するのを感じた!", "You can feel the power of %s assault your enemies!"), chaos_patrons[p_ptr->chaos_patron]);
747 (void)dispel_monsters(p_ptr->lev * 4);
752 msg_format(_("%sはあなたを無視した。", "%s ignores you."), chaos_patrons[p_ptr->chaos_patron]);
757 msg_format(_("%sは褒美として悪魔の使いをよこした!", "%s rewards you with a demonic servant!"), chaos_patrons[p_ptr->chaos_patron]);
759 if (!summon_specific(-1, p_ptr->y, p_ptr->x, dun_level, SUMMON_DEMON, PM_FORCE_PET, '\0'))
760 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
762 reward = _("悪魔がペットになった。", "a demonic servant");
767 msg_format(_("%sは褒美として使いをよこした!", "%s rewards you with a servant!"), chaos_patrons[p_ptr->chaos_patron]);
769 if (!summon_specific(-1, p_ptr->y, p_ptr->x, dun_level, 0, PM_FORCE_PET, '\0'))
770 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
772 reward = _("モンスターがペットになった。", "a servant");
777 msg_format(_("%sは褒美としてアンデッドの使いをよこした。", "%s rewards you with an undead servant!"), chaos_patrons[p_ptr->chaos_patron]);
779 if (!summon_specific(-1, p_ptr->y, p_ptr->x, dun_level, SUMMON_UNDEAD, PM_FORCE_PET, '\0'))
780 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
782 reward = _("アンデッドがペットになった。", "an undead servant");
787 msg_format(_("%sの声がどもった:", "The voice of %s stammers:"),
789 chaos_patrons[p_ptr->chaos_patron]);
790 msg_format(_("「あー、あー、答えは %d/%d。質問は何?」", "'Uh... uh... the answer's %d/%d, what's the question?'"), type, effect);
796 do_cmd_write_nikki(NIKKI_BUNSHOU, 0, format(_("パトロンの報酬で%s", "The patron rewards you with %s."), reward));