5 #include "object-curse.h"
6 #include "monsterrace-hook.h"
7 #include "objectkind-hook.h"
8 #include "spells-summon.h"
14 const concptr chaos_patrons[MAX_PATRON] =
37 const concptr chaos_patrons[MAX_PATRON] =
63 * @brief カオスパトロンの報酬能力値テーブル
65 const int chaos_stats[MAX_PATRON] =
89 * @brief カオスパトロンの報酬テーブル
91 const int chaos_rewards[MAX_PATRON][20] =
93 /* Slortar the Old: */
95 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL, REW_LOSE_ABL,
96 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_SLF,
97 REW_POLY_SLF, REW_POLY_SLF, REW_GAIN_ABL, REW_GAIN_ABL, REW_GAIN_EXP,
98 REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_AUGM_ABL, REW_AUGM_ABL
101 /* Mabelode the Faceless: */
103 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_H_SUMMON, REW_SUMMON_M,
104 REW_SUMMON_M, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_WND,
105 REW_POLY_SLF, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_ABL, REW_SER_UNDE,
106 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GOOD_OBJ, REW_GOOD_OBS, REW_GOOD_OBS
109 /* Chardros the Reaper: */
111 REW_WRATH, REW_WRATH, REW_HURT_LOT, REW_PISS_OFF, REW_H_SUMMON,
112 REW_SUMMON_M, REW_IGNORE, REW_IGNORE, REW_DESTRUCT, REW_SER_UNDE,
113 REW_GENOCIDE, REW_MASS_GEN, REW_MASS_GEN, REW_DISPEL_C, REW_GOOD_OBJ,
114 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_AUGM_ABL, REW_AUGM_ABL
117 /* Hionhurn the Executioner: */
119 REW_WRATH, REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL,
120 REW_IGNORE, REW_IGNORE, REW_SER_UNDE, REW_DESTRUCT, REW_GENOCIDE,
121 REW_MASS_GEN, REW_MASS_GEN, REW_HEAL_FUL, REW_GAIN_ABL, REW_GAIN_ABL,
122 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_AUGM_ABL, REW_AUGM_ABL
125 /* Xiombarg the Sword-Queen: */
127 REW_TY_CURSE, REW_TY_CURSE, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_ABL,
128 REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND, REW_POLY_WND,
129 REW_GENOCIDE, REW_DISPEL_C, REW_GOOD_OBJ, REW_GOOD_OBJ, REW_SER_MONS,
130 REW_GAIN_ABL, REW_CHAOS_WP, REW_GAIN_EXP, REW_AUGM_ABL, REW_GOOD_OBS
134 /* Pyaray the Tentacled Whisperer of Impossible Secretes: */
136 REW_WRATH, REW_TY_CURSE, REW_PISS_OFF, REW_H_SUMMON, REW_H_SUMMON,
137 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_SLF,
138 REW_POLY_SLF, REW_SER_DEMO, REW_HEAL_FUL, REW_GAIN_ABL, REW_GAIN_ABL,
139 REW_CHAOS_WP, REW_DO_HAVOC, REW_GOOD_OBJ, REW_GREA_OBJ, REW_GREA_OBS
142 /* Balaan the Grim: */
144 REW_TY_CURSE, REW_HURT_LOT, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL,
145 REW_SUMMON_M, REW_LOSE_EXP, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND,
146 REW_SER_UNDE, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_EXP, REW_GAIN_EXP,
147 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GOOD_OBS, REW_GREA_OBS, REW_AUGM_ABL
150 /* Arioch, Duke of Hell: */
152 REW_WRATH, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_EXP, REW_H_SUMMON,
153 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF,
154 REW_POLY_SLF, REW_MASS_GEN, REW_SER_DEMO, REW_HEAL_FUL, REW_CHAOS_WP,
155 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GAIN_EXP, REW_GREA_OBJ, REW_AUGM_ABL
158 /* Eequor, Blue Lady of Dismay: */
160 REW_WRATH, REW_TY_CURSE, REW_PISS_OFF, REW_CURSE_WP, REW_RUIN_ABL,
161 REW_IGNORE, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND,
162 REW_GOOD_OBJ, REW_GOOD_OBJ, REW_SER_MONS, REW_HEAL_FUL, REW_GAIN_EXP,
163 REW_GAIN_ABL, REW_CHAOS_WP, REW_GOOD_OBS, REW_GREA_OBJ, REW_AUGM_ABL
166 /* Narjhan, Lord of Beggars: */
168 REW_WRATH, REW_CURSE_AR, REW_CURSE_WP, REW_CURSE_WP, REW_CURSE_AR,
169 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF,
170 REW_POLY_WND, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_EXP, REW_AUGM_ABL,
171 REW_GOOD_OBJ, REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_GREA_OBS
174 /* Balo the Jester: */
176 REW_WRATH, REW_SER_DEMO, REW_CURSE_WP, REW_CURSE_AR, REW_LOSE_EXP,
177 REW_GAIN_ABL, REW_LOSE_ABL, REW_POLY_WND, REW_POLY_SLF, REW_IGNORE,
178 REW_DESTRUCT, REW_MASS_GEN, REW_CHAOS_WP, REW_GREA_OBJ, REW_HURT_LOT,
179 REW_AUGM_ABL, REW_RUIN_ABL, REW_H_SUMMON, REW_GREA_OBS, REW_AUGM_ABL
182 /* Khorne the Bloodgod: */
184 REW_WRATH, REW_HURT_LOT, REW_HURT_LOT, REW_H_SUMMON, REW_H_SUMMON,
185 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_SER_MONS, REW_SER_DEMO,
186 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GOOD_OBJ,
187 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_GREA_OBJ, REW_GREA_OBS
192 REW_WRATH, REW_PISS_OFF, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_ABL,
193 REW_LOSE_EXP, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_SER_DEMO,
194 REW_POLY_SLF, REW_HEAL_FUL, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GAIN_EXP,
195 REW_GAIN_EXP, REW_CHAOS_WP, REW_GAIN_ABL, REW_GREA_OBJ, REW_AUGM_ABL
200 REW_WRATH, REW_PISS_OFF, REW_HURT_LOT, REW_RUIN_ABL, REW_LOSE_ABL,
201 REW_LOSE_EXP, REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF,
202 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GAIN_ABL,
203 REW_GAIN_ABL, REW_SER_UNDE, REW_CHAOS_WP, REW_GREA_OBJ, REW_AUGM_ABL
208 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL, REW_LOSE_ABL,
209 REW_LOSE_EXP, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_SLF,
210 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_CHAOS_WP, REW_GREA_OBJ,
211 REW_GAIN_ABL, REW_GAIN_ABL, REW_GAIN_EXP, REW_GAIN_EXP, REW_AUGM_ABL
216 REW_WRATH, REW_HURT_LOT, REW_PISS_OFF, REW_LOSE_ABL, REW_LOSE_EXP,
217 REW_IGNORE, REW_IGNORE, REW_DISPEL_C, REW_DO_HAVOC, REW_DO_HAVOC,
218 REW_POLY_SLF, REW_POLY_SLF, REW_GAIN_EXP, REW_GAIN_ABL, REW_GAIN_ABL,
219 REW_SER_MONS, REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_GOOD_OBS
224 void gain_level_reward(int chosen_reward)
228 char wrath_reason[32] = "";
229 int nasty_chance = 6;
230 OBJECT_TYPE_VALUE dummy = 0;
231 OBJECT_SUBTYPE_VALUE dummy2 = 0;
233 concptr reward = NULL;
234 GAME_TEXT o_name[MAX_NLEN];
240 if (multi_rew) return;
241 else multi_rew = TRUE;
245 if (p_ptr->lev == 13) nasty_chance = 2;
246 else if (!(p_ptr->lev % 13)) nasty_chance = 3;
247 else if (!(p_ptr->lev % 14)) nasty_chance = 12;
249 if (one_in_(nasty_chance))
250 type = randint1(20); /* Allow the 'nasty' effects */
252 type = randint1(15) + 5; /* Or disallow them */
254 if (type < 1) type = 1;
255 if (type > 20) type = 20;
259 sprintf(wrath_reason, _("%sの怒り", "the Wrath of %s"), chaos_patrons[p_ptr->chaos_patron]);
261 effect = chaos_rewards[p_ptr->chaos_patron][type];
263 if (one_in_(6) && !chosen_reward)
265 msg_format(_("%^sは褒美としてあなたを突然変異させた。", "%^s rewards you with a mutation!"), chaos_patrons[p_ptr->chaos_patron]);
266 (void)gain_random_mutation(0);
267 reward = _("変異した。", "mutation");
271 switch (chosen_reward ? chosen_reward : effect)
276 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
277 msg_print(_("「汝、新たなる姿を必要とせり!」", "'Thou needst a new form, mortal!'"));
280 reward = _("変異した。", "polymorphing");
285 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
286 msg_print(_("「汝は良く行いたり!続けよ!」", "'Well done, mortal! Lead on!'"));
288 if (p_ptr->prace == RACE_ANDROID)
290 msg_print(_("しかし何も起こらなかった。", "But, nothing happen."));
292 else if (p_ptr->exp < PY_MAX_EXP)
294 s32b ee = (p_ptr->exp / 2) + 10;
295 if (ee > 100000L) ee = 100000L;
296 msg_print(_("更に経験を積んだような気がする。", "You feel more experienced."));
299 reward = _("経験値を得た", "experience");
305 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
306 msg_print(_("「下僕よ、汝それに値せず。」", "'Thou didst not deserve that, slave.'"));
308 if (p_ptr->prace == RACE_ANDROID)
310 msg_print(_("しかし何も起こらなかった。", "But, nothing happen."));
314 lose_exp(p_ptr->exp / 6);
315 reward = _("経験値を失った。", "losing experience");
321 msg_format("%sの声がささやいた:",
322 chaos_patrons[p_ptr->chaos_patron]);
324 msg_format("The voice of %s whispers:",
325 chaos_patrons[p_ptr->chaos_patron]);
328 msg_print(_("「我が与えし物を賢明に使うべし。」", "'Use my gift wisely.'"));
330 acquirement(p_ptr->y, p_ptr->x, 1, FALSE, FALSE, FALSE);
331 reward = _("上質なアイテムを手に入れた。", "a good item");
336 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
337 msg_print(_("「我が与えし物を賢明に使うべし。」", "'Use my gift wisely.'"));
339 acquirement(p_ptr->y, p_ptr->x, 1, TRUE, FALSE, FALSE);
340 reward = _("高級品のアイテムを手に入れた。", "an excellent item");
345 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
346 msg_print(_("「汝の行いは貴き剣に値せり。」", "'Thy deed hath earned thee a worthy blade.'"));
349 switch (randint1(p_ptr->lev))
355 dummy2 = SV_MAIN_GAUCHE;
364 dummy2 = SV_SMALL_SWORD;
367 dummy2 = SV_BASILLARD;
369 case 11: case 12: case 13:
370 dummy2 = SV_SHORT_SWORD;
379 dummy2 = SV_WAKIZASHI;
388 dummy2 = SV_BROAD_SWORD;
391 dummy2 = SV_LONG_SWORD;
394 dummy2 = SV_SCIMITAR;
403 dummy2 = SV_BASTARD_SWORD;
406 dummy2 = SV_GREAT_SCIMITAR;
409 dummy2 = SV_CLAYMORE;
415 dummy2 = SV_TWO_HANDED_SWORD;
418 dummy2 = SV_FLAMBERGE;
421 dummy2 = SV_NO_DACHI;
424 dummy2 = SV_EXECUTIONERS_SWORD;
427 dummy2 = SV_ZWEIHANDER;
430 dummy2 = SV_HAYABUSA;
433 dummy2 = SV_BLADE_OF_CHAOS;
436 object_prep(q_ptr, lookup_kind(dummy, dummy2));
437 q_ptr->to_h = 3 + randint1(dun_level) % 10;
438 q_ptr->to_d = 3 + randint1(dun_level) % 10;
439 one_resistance(q_ptr);
440 q_ptr->name2 = EGO_CHAOTIC;
441 (void)drop_near(q_ptr, -1, p_ptr->y, p_ptr->x);
442 reward = _("(混沌)の武器を手に入れた。", "chaos weapon");
447 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
448 msg_print(_("「汝の行いは貴き報いに値せり。」", "'Thy deed hath earned thee a worthy reward.'"));
450 acquirement(p_ptr->y, p_ptr->x, randint1(2) + 1, FALSE, FALSE, FALSE);
451 reward = _("上質なアイテムを手に入れた。", "good items");
456 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
457 msg_print(_("「下僕よ、汝の献身への我が惜しみ無き報いを見るがよい。」", "'Behold, mortal, how generously I reward thy loyalty.'"));
459 acquirement(p_ptr->y, p_ptr->x, randint1(2) + 1, TRUE, FALSE, FALSE);
460 reward = _("高級品のアイテムを手に入れた。", "excellent items");
465 msg_format("%sの声が轟き渡った:", chaos_patrons[p_ptr->chaos_patron]);
467 msg_format("The voice of %s thunders:", chaos_patrons[p_ptr->chaos_patron]);
470 msg_print(_("「下僕よ、汝傲慢なり。」", "'Thou art growing arrogant, mortal.'"));
472 (void)activate_ty_curse(FALSE, &count);
473 reward = _("禍々しい呪いをかけられた。", "cursing");
478 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
479 msg_print(_("「我が下僕たちよ、かの傲慢なる者を倒すべし!」", "'My pets, destroy the arrogant mortal!'"));
481 for (dummy = 0; dummy < randint1(5) + 1; dummy++)
483 (void)summon_specific(0, p_ptr->y, p_ptr->x, dun_level, 0, (PM_ALLOW_GROUP | PM_ALLOW_UNIQUE | PM_NO_PET), '\0');
485 reward = _("モンスターを召喚された。", "summoning hostile monsters");
491 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
492 msg_print(_("「汝、より強き敵を必要とせり!」", "'Thou needst worthier opponents!'"));
494 activate_hi_summon(p_ptr->y, p_ptr->x, FALSE);
495 reward = _("モンスターを召喚された。", "summoning many hostile monsters");
501 msg_format("%sの声が響き渡った:",
502 chaos_patrons[p_ptr->chaos_patron]);
504 msg_format("The voice of %s booms out:",
505 chaos_patrons[p_ptr->chaos_patron]);
508 msg_print(_("「死と破壊こそ我が喜びなり!」", "'Death and destruction! This pleaseth me!'"));
511 reward = _("カオスの力が渦巻いた。", "calling chaos");
517 msg_format("%sの声が鳴り響いた:",
518 chaos_patrons[p_ptr->chaos_patron]);
520 msg_format("The voice of %s rings out:",
521 chaos_patrons[p_ptr->chaos_patron]);
524 msg_print(_("「留まるのだ、下僕よ。余が汝の肉体を鍛えん。」", "'Stay, mortal, and let me mold thee.'"));
526 if (one_in_(3) && !(chaos_stats[p_ptr->chaos_patron] < 0))
527 do_inc_stat(chaos_stats[p_ptr->chaos_patron]);
529 do_inc_stat(randint0(6));
530 reward = _("能力値が上がった。", "increasing a stat");
536 msg_format("%sの声が響き渡った:",
537 chaos_patrons[p_ptr->chaos_patron]);
539 msg_format("The voice of %s booms out:",
540 chaos_patrons[p_ptr->chaos_patron]);
543 msg_print(_("「下僕よ、余は汝に飽みたり。」", "'I grow tired of thee, mortal.'"));
545 if (one_in_(3) && !(chaos_stats[p_ptr->chaos_patron] < 0))
546 do_dec_stat(chaos_stats[p_ptr->chaos_patron]);
548 (void)do_dec_stat(randint0(6));
549 reward = _("能力値が下がった。", "decreasing a stat");
556 msg_format("%sの声が轟き渡った:",
557 chaos_patrons[p_ptr->chaos_patron]);
559 msg_format("The voice of %s thunders:",
560 chaos_patrons[p_ptr->chaos_patron]);
563 msg_print(_("「汝、謙虚たることを学ぶべし!」", "'Thou needst a lesson in humility, mortal!'"));
564 msg_print(_("あなたは以前より弱くなった!", "You feel less powerful!"));
566 for (dummy = 0; dummy < A_MAX; dummy++)
568 (void)dec_stat(dummy, 10 + randint1(15), TRUE);
570 reward = _("全能力値が下がった。", "decreasing all stats");
575 msg_format(_("%sの力が触れるのを感じた。", "You feel the power of %s touch you."),
576 chaos_patrons[p_ptr->chaos_patron]);
578 reward = _("傷が変化した。", "polymorphing wounds");
583 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
585 msg_print(_("「我がささやかなる賜物を受けとるがよい!」", "'Receive this modest gift from me!'"));
587 for (dummy = 0; dummy < A_MAX; dummy++)
589 (void)do_inc_stat(dummy);
591 reward = _("全能力値が上がった。", "increasing all stats");
596 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
597 msg_print(_("「苦しむがよい、無能な愚か者よ!」", "'Suffer, pathetic fool!'"));
599 fire_ball(GF_DISINTEGRATE, 0, p_ptr->lev * 4, 4);
600 take_hit(DAMAGE_NOESCAPE, p_ptr->lev * 4, wrath_reason, -1);
601 reward = _("分解の球が発生した。", "generating disintegration ball");
606 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
607 (void)restore_level();
608 (void)restore_all_status();
609 (void)true_healing(5000);
610 reward = _("体力が回復した。", "healing");
615 if (!buki_motteruka(INVEN_RARM) && !buki_motteruka(INVEN_LARM)) break;
616 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
617 msg_print(_("「汝、武器に頼ることなかれ。」", "'Thou reliest too much on thy weapon.'"));
620 if (buki_motteruka(INVEN_LARM))
623 if (buki_motteruka(INVEN_RARM) && one_in_(2)) dummy = INVEN_RARM;
625 object_desc(o_name, &inventory[dummy], OD_NAME_ONLY);
626 (void)curse_weapon(FALSE, dummy);
627 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
632 if (!inventory[INVEN_BODY].k_idx) break;
633 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
634 msg_print(_("「汝、防具に頼ることなかれ。」", "'Thou reliest too much on thine equipment.'"));
636 object_desc(o_name, &inventory[INVEN_BODY], OD_NAME_ONLY);
638 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
642 msg_format(_("%sの声がささやいた:", "The voice of %s whispers:"), chaos_patrons[p_ptr->chaos_patron]);
643 msg_print(_("「我を怒りしめた罪を償うべし。」", "'Now thou shalt pay for annoying me.'"));
648 (void)activate_ty_curse(FALSE, &count);
649 reward = _("禍々しい呪いをかけられた。", "cursing");
652 activate_hi_summon(p_ptr->y, p_ptr->x, FALSE);
653 reward = _("モンスターを召喚された。", "summoning hostile monsters");
658 if (!buki_motteruka(INVEN_RARM) && !buki_motteruka(INVEN_LARM)) break;
660 if (buki_motteruka(INVEN_LARM))
663 if (buki_motteruka(INVEN_RARM) && one_in_(2)) dummy = INVEN_RARM;
665 object_desc(o_name, &inventory[dummy], OD_NAME_ONLY);
666 (void)curse_weapon(FALSE, dummy);
667 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
671 if (!inventory[INVEN_BODY].k_idx) break;
672 object_desc(o_name, &inventory[INVEN_BODY], OD_NAME_ONLY);
674 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
678 for (dummy = 0; dummy < A_MAX; dummy++)
680 (void)dec_stat(dummy, 10 + randint1(15), TRUE);
682 reward = _("全能力値が下がった。", "decreasing all stats");
689 msg_format(_("%sの声が轟き渡った:", "The voice of %s thunders:"), chaos_patrons[p_ptr->chaos_patron]);
690 msg_print(_("「死ぬがよい、下僕よ!」", "'Die, mortal!'"));
692 take_hit(DAMAGE_LOSELIFE, p_ptr->lev * 4, wrath_reason, -1);
693 for (dummy = 0; dummy < A_MAX; dummy++)
695 (void)dec_stat(dummy, 10 + randint1(15), FALSE);
697 activate_hi_summon(p_ptr->y, p_ptr->x, FALSE);
698 (void)activate_ty_curse(FALSE, &count);
703 if (buki_motteruka(INVEN_RARM))
706 if (buki_motteruka(INVEN_LARM) && one_in_(2)) dummy = INVEN_LARM;
708 else if (buki_motteruka(INVEN_LARM)) dummy = INVEN_LARM;
710 if (dummy) (void)curse_weapon(FALSE, dummy);
712 if (one_in_(2)) (void)curse_armor();
717 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
718 msg_print(_("「死と破壊こそ我が喜びなり!」", "'Death and destruction! This pleaseth me!'"));
720 (void)destroy_area(p_ptr->y, p_ptr->x, 25, FALSE);
721 reward = _("ダンジョンが*破壊*された。", "*destruct*ing dungeon");
726 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
727 msg_print(_("「我、汝の敵を抹殺せん!」", "'Let me relieve thee of thine oppressors!'"));
728 (void)symbol_genocide(0, FALSE);
729 reward = _("モンスターが抹殺された。", "genociding monsters");
734 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
735 msg_print(_("「我、汝の敵を抹殺せん!」", "'Let me relieve thee of thine oppressors!'"));
737 (void)mass_genocide(0, FALSE);
738 reward = _("モンスターが抹殺された。", "genociding nearby monsters");
743 msg_format(_("%sの力が敵を攻撃するのを感じた!", "You can feel the power of %s assault your enemies!"), chaos_patrons[p_ptr->chaos_patron]);
744 (void)dispel_monsters(p_ptr->lev * 4);
749 msg_format(_("%sはあなたを無視した。", "%s ignores you."), chaos_patrons[p_ptr->chaos_patron]);
754 msg_format(_("%sは褒美として悪魔の使いをよこした!", "%s rewards you with a demonic servant!"), chaos_patrons[p_ptr->chaos_patron]);
756 if (!summon_specific(-1, p_ptr->y, p_ptr->x, dun_level, SUMMON_DEMON, PM_FORCE_PET, '\0'))
757 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
759 reward = _("悪魔がペットになった。", "a demonic servant");
764 msg_format(_("%sは褒美として使いをよこした!", "%s rewards you with a servant!"), chaos_patrons[p_ptr->chaos_patron]);
766 if (!summon_specific(-1, p_ptr->y, p_ptr->x, dun_level, 0, PM_FORCE_PET, '\0'))
767 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
769 reward = _("モンスターがペットになった。", "a servant");
774 msg_format(_("%sは褒美としてアンデッドの使いをよこした。", "%s rewards you with an undead servant!"), chaos_patrons[p_ptr->chaos_patron]);
776 if (!summon_specific(-1, p_ptr->y, p_ptr->x, dun_level, SUMMON_UNDEAD, PM_FORCE_PET, '\0'))
777 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
779 reward = _("アンデッドがペットになった。", "an undead servant");
784 msg_format(_("%sの声がどもった:", "The voice of %s stammers:"),
786 chaos_patrons[p_ptr->chaos_patron]);
787 msg_format(_("「あー、あー、答えは %d/%d。質問は何?」", "'Uh... uh... the answer's %d/%d, what's the question?'"), type, effect);
793 do_cmd_write_nikki(NIKKI_BUNSHOU, 0, format(_("パトロンの報酬で%s", "The patron rewards you with %s."), reward));