5 #include "object-curse.h"
6 #include "monsterrace-hook.h"
7 #include "objectkind-hook.h"
8 #include "spells-summon.h"
15 const concptr chaos_patrons[MAX_PATRON] =
38 const concptr chaos_patrons[MAX_PATRON] =
64 * @brief カオスパトロンの報酬能力値テーブル
66 const int chaos_stats[MAX_PATRON] =
90 * @brief カオスパトロンの報酬テーブル
92 const int chaos_rewards[MAX_PATRON][20] =
94 /* Slortar the Old: */
96 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL, REW_LOSE_ABL,
97 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_SLF,
98 REW_POLY_SLF, REW_POLY_SLF, REW_GAIN_ABL, REW_GAIN_ABL, REW_GAIN_EXP,
99 REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_AUGM_ABL, REW_AUGM_ABL
102 /* Mabelode the Faceless: */
104 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_H_SUMMON, REW_SUMMON_M,
105 REW_SUMMON_M, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_WND,
106 REW_POLY_SLF, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_ABL, REW_SER_UNDE,
107 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GOOD_OBJ, REW_GOOD_OBS, REW_GOOD_OBS
110 /* Chardros the Reaper: */
112 REW_WRATH, REW_WRATH, REW_HURT_LOT, REW_PISS_OFF, REW_H_SUMMON,
113 REW_SUMMON_M, REW_IGNORE, REW_IGNORE, REW_DESTRUCT, REW_SER_UNDE,
114 REW_GENOCIDE, REW_MASS_GEN, REW_MASS_GEN, REW_DISPEL_C, REW_GOOD_OBJ,
115 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_AUGM_ABL, REW_AUGM_ABL
118 /* Hionhurn the Executioner: */
120 REW_WRATH, REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL,
121 REW_IGNORE, REW_IGNORE, REW_SER_UNDE, REW_DESTRUCT, REW_GENOCIDE,
122 REW_MASS_GEN, REW_MASS_GEN, REW_HEAL_FUL, REW_GAIN_ABL, REW_GAIN_ABL,
123 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_AUGM_ABL, REW_AUGM_ABL
126 /* Xiombarg the Sword-Queen: */
128 REW_TY_CURSE, REW_TY_CURSE, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_ABL,
129 REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND, REW_POLY_WND,
130 REW_GENOCIDE, REW_DISPEL_C, REW_GOOD_OBJ, REW_GOOD_OBJ, REW_SER_MONS,
131 REW_GAIN_ABL, REW_CHAOS_WP, REW_GAIN_EXP, REW_AUGM_ABL, REW_GOOD_OBS
135 /* Pyaray the Tentacled Whisperer of Impossible Secretes: */
137 REW_WRATH, REW_TY_CURSE, REW_PISS_OFF, REW_H_SUMMON, REW_H_SUMMON,
138 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_SLF,
139 REW_POLY_SLF, REW_SER_DEMO, REW_HEAL_FUL, REW_GAIN_ABL, REW_GAIN_ABL,
140 REW_CHAOS_WP, REW_DO_HAVOC, REW_GOOD_OBJ, REW_GREA_OBJ, REW_GREA_OBS
143 /* Balaan the Grim: */
145 REW_TY_CURSE, REW_HURT_LOT, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL,
146 REW_SUMMON_M, REW_LOSE_EXP, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND,
147 REW_SER_UNDE, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_EXP, REW_GAIN_EXP,
148 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GOOD_OBS, REW_GREA_OBS, REW_AUGM_ABL
151 /* Arioch, Duke of Hell: */
153 REW_WRATH, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_EXP, REW_H_SUMMON,
154 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF,
155 REW_POLY_SLF, REW_MASS_GEN, REW_SER_DEMO, REW_HEAL_FUL, REW_CHAOS_WP,
156 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GAIN_EXP, REW_GREA_OBJ, REW_AUGM_ABL
159 /* Eequor, Blue Lady of Dismay: */
161 REW_WRATH, REW_TY_CURSE, REW_PISS_OFF, REW_CURSE_WP, REW_RUIN_ABL,
162 REW_IGNORE, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND,
163 REW_GOOD_OBJ, REW_GOOD_OBJ, REW_SER_MONS, REW_HEAL_FUL, REW_GAIN_EXP,
164 REW_GAIN_ABL, REW_CHAOS_WP, REW_GOOD_OBS, REW_GREA_OBJ, REW_AUGM_ABL
167 /* Narjhan, Lord of Beggars: */
169 REW_WRATH, REW_CURSE_AR, REW_CURSE_WP, REW_CURSE_WP, REW_CURSE_AR,
170 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF,
171 REW_POLY_WND, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_EXP, REW_AUGM_ABL,
172 REW_GOOD_OBJ, REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_GREA_OBS
175 /* Balo the Jester: */
177 REW_WRATH, REW_SER_DEMO, REW_CURSE_WP, REW_CURSE_AR, REW_LOSE_EXP,
178 REW_GAIN_ABL, REW_LOSE_ABL, REW_POLY_WND, REW_POLY_SLF, REW_IGNORE,
179 REW_DESTRUCT, REW_MASS_GEN, REW_CHAOS_WP, REW_GREA_OBJ, REW_HURT_LOT,
180 REW_AUGM_ABL, REW_RUIN_ABL, REW_H_SUMMON, REW_GREA_OBS, REW_AUGM_ABL
183 /* Khorne the Bloodgod: */
185 REW_WRATH, REW_HURT_LOT, REW_HURT_LOT, REW_H_SUMMON, REW_H_SUMMON,
186 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_SER_MONS, REW_SER_DEMO,
187 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GOOD_OBJ,
188 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_GREA_OBJ, REW_GREA_OBS
193 REW_WRATH, REW_PISS_OFF, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_ABL,
194 REW_LOSE_EXP, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_SER_DEMO,
195 REW_POLY_SLF, REW_HEAL_FUL, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GAIN_EXP,
196 REW_GAIN_EXP, REW_CHAOS_WP, REW_GAIN_ABL, REW_GREA_OBJ, REW_AUGM_ABL
201 REW_WRATH, REW_PISS_OFF, REW_HURT_LOT, REW_RUIN_ABL, REW_LOSE_ABL,
202 REW_LOSE_EXP, REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF,
203 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GAIN_ABL,
204 REW_GAIN_ABL, REW_SER_UNDE, REW_CHAOS_WP, REW_GREA_OBJ, REW_AUGM_ABL
209 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL, REW_LOSE_ABL,
210 REW_LOSE_EXP, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_SLF,
211 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_CHAOS_WP, REW_GREA_OBJ,
212 REW_GAIN_ABL, REW_GAIN_ABL, REW_GAIN_EXP, REW_GAIN_EXP, REW_AUGM_ABL
217 REW_WRATH, REW_HURT_LOT, REW_PISS_OFF, REW_LOSE_ABL, REW_LOSE_EXP,
218 REW_IGNORE, REW_IGNORE, REW_DISPEL_C, REW_DO_HAVOC, REW_DO_HAVOC,
219 REW_POLY_SLF, REW_POLY_SLF, REW_GAIN_EXP, REW_GAIN_ABL, REW_GAIN_ABL,
220 REW_SER_MONS, REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_GOOD_OBS
225 void gain_level_reward(int chosen_reward)
229 char wrath_reason[32] = "";
230 int nasty_chance = 6;
231 OBJECT_TYPE_VALUE dummy = 0;
232 OBJECT_SUBTYPE_VALUE dummy2 = 0;
234 concptr reward = NULL;
235 GAME_TEXT o_name[MAX_NLEN];
241 if (multi_rew) return;
242 else multi_rew = TRUE;
246 if (p_ptr->lev == 13) nasty_chance = 2;
247 else if (!(p_ptr->lev % 13)) nasty_chance = 3;
248 else if (!(p_ptr->lev % 14)) nasty_chance = 12;
250 if (one_in_(nasty_chance))
251 type = randint1(20); /* Allow the 'nasty' effects */
253 type = randint1(15) + 5; /* Or disallow them */
255 if (type < 1) type = 1;
256 if (type > 20) type = 20;
260 sprintf(wrath_reason, _("%sの怒り", "the Wrath of %s"), chaos_patrons[p_ptr->chaos_patron]);
262 effect = chaos_rewards[p_ptr->chaos_patron][type];
264 if (one_in_(6) && !chosen_reward)
266 msg_format(_("%^sは褒美としてあなたを突然変異させた。", "%^s rewards you with a mutation!"), chaos_patrons[p_ptr->chaos_patron]);
267 (void)gain_random_mutation(0);
268 reward = _("変異した。", "mutation");
272 switch (chosen_reward ? chosen_reward : effect)
277 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
278 msg_print(_("「汝、新たなる姿を必要とせり!」", "'Thou needst a new form, mortal!'"));
281 reward = _("変異した。", "polymorphing");
286 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
287 msg_print(_("「汝は良く行いたり!続けよ!」", "'Well done, mortal! Lead on!'"));
289 if (p_ptr->prace == RACE_ANDROID)
291 msg_print(_("しかし何も起こらなかった。", "But, nothing happen."));
293 else if (p_ptr->exp < PY_MAX_EXP)
295 s32b ee = (p_ptr->exp / 2) + 10;
296 if (ee > 100000L) ee = 100000L;
297 msg_print(_("更に経験を積んだような気がする。", "You feel more experienced."));
300 reward = _("経験値を得た", "experience");
306 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
307 msg_print(_("「下僕よ、汝それに値せず。」", "'Thou didst not deserve that, slave.'"));
309 if (p_ptr->prace == RACE_ANDROID)
311 msg_print(_("しかし何も起こらなかった。", "But, nothing happen."));
315 lose_exp(p_ptr->exp / 6);
316 reward = _("経験値を失った。", "losing experience");
322 msg_format("%sの声がささやいた:",
323 chaos_patrons[p_ptr->chaos_patron]);
325 msg_format("The voice of %s whispers:",
326 chaos_patrons[p_ptr->chaos_patron]);
329 msg_print(_("「我が与えし物を賢明に使うべし。」", "'Use my gift wisely.'"));
331 acquirement(p_ptr->y, p_ptr->x, 1, FALSE, FALSE, FALSE);
332 reward = _("上質なアイテムを手に入れた。", "a good item");
337 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
338 msg_print(_("「我が与えし物を賢明に使うべし。」", "'Use my gift wisely.'"));
340 acquirement(p_ptr->y, p_ptr->x, 1, TRUE, FALSE, FALSE);
341 reward = _("高級品のアイテムを手に入れた。", "an excellent item");
346 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
347 msg_print(_("「汝の行いは貴き剣に値せり。」", "'Thy deed hath earned thee a worthy blade.'"));
350 switch (randint1(p_ptr->lev))
356 dummy2 = SV_MAIN_GAUCHE;
365 dummy2 = SV_SMALL_SWORD;
368 dummy2 = SV_BASILLARD;
370 case 11: case 12: case 13:
371 dummy2 = SV_SHORT_SWORD;
380 dummy2 = SV_WAKIZASHI;
389 dummy2 = SV_BROAD_SWORD;
392 dummy2 = SV_LONG_SWORD;
395 dummy2 = SV_SCIMITAR;
404 dummy2 = SV_BASTARD_SWORD;
407 dummy2 = SV_GREAT_SCIMITAR;
410 dummy2 = SV_CLAYMORE;
416 dummy2 = SV_TWO_HANDED_SWORD;
419 dummy2 = SV_FLAMBERGE;
422 dummy2 = SV_NO_DACHI;
425 dummy2 = SV_EXECUTIONERS_SWORD;
428 dummy2 = SV_ZWEIHANDER;
431 dummy2 = SV_HAYABUSA;
434 dummy2 = SV_BLADE_OF_CHAOS;
437 object_prep(q_ptr, lookup_kind(dummy, dummy2));
438 q_ptr->to_h = 3 + randint1(dun_level) % 10;
439 q_ptr->to_d = 3 + randint1(dun_level) % 10;
440 one_resistance(q_ptr);
441 q_ptr->name2 = EGO_CHAOTIC;
442 (void)drop_near(q_ptr, -1, p_ptr->y, p_ptr->x);
443 reward = _("(混沌)の武器を手に入れた。", "chaos weapon");
448 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
449 msg_print(_("「汝の行いは貴き報いに値せり。」", "'Thy deed hath earned thee a worthy reward.'"));
451 acquirement(p_ptr->y, p_ptr->x, randint1(2) + 1, FALSE, FALSE, FALSE);
452 reward = _("上質なアイテムを手に入れた。", "good items");
457 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
458 msg_print(_("「下僕よ、汝の献身への我が惜しみ無き報いを見るがよい。」", "'Behold, mortal, how generously I reward thy loyalty.'"));
460 acquirement(p_ptr->y, p_ptr->x, randint1(2) + 1, TRUE, FALSE, FALSE);
461 reward = _("高級品のアイテムを手に入れた。", "excellent items");
466 msg_format("%sの声が轟き渡った:", chaos_patrons[p_ptr->chaos_patron]);
468 msg_format("The voice of %s thunders:", chaos_patrons[p_ptr->chaos_patron]);
471 msg_print(_("「下僕よ、汝傲慢なり。」", "'Thou art growing arrogant, mortal.'"));
473 (void)activate_ty_curse(FALSE, &count);
474 reward = _("禍々しい呪いをかけられた。", "cursing");
479 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
480 msg_print(_("「我が下僕たちよ、かの傲慢なる者を倒すべし!」", "'My pets, destroy the arrogant mortal!'"));
482 for (dummy = 0; dummy < randint1(5) + 1; dummy++)
484 (void)summon_specific(0, p_ptr->y, p_ptr->x, dun_level, 0, (PM_ALLOW_GROUP | PM_ALLOW_UNIQUE | PM_NO_PET), '\0');
486 reward = _("モンスターを召喚された。", "summoning hostile monsters");
492 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
493 msg_print(_("「汝、より強き敵を必要とせり!」", "'Thou needst worthier opponents!'"));
495 activate_hi_summon(p_ptr->y, p_ptr->x, FALSE);
496 reward = _("モンスターを召喚された。", "summoning many hostile monsters");
502 msg_format("%sの声が響き渡った:",
503 chaos_patrons[p_ptr->chaos_patron]);
505 msg_format("The voice of %s booms out:",
506 chaos_patrons[p_ptr->chaos_patron]);
509 msg_print(_("「死と破壊こそ我が喜びなり!」", "'Death and destruction! This pleaseth me!'"));
512 reward = _("カオスの力が渦巻いた。", "calling chaos");
518 msg_format("%sの声が鳴り響いた:",
519 chaos_patrons[p_ptr->chaos_patron]);
521 msg_format("The voice of %s rings out:",
522 chaos_patrons[p_ptr->chaos_patron]);
525 msg_print(_("「留まるのだ、下僕よ。余が汝の肉体を鍛えん。」", "'Stay, mortal, and let me mold thee.'"));
527 if (one_in_(3) && !(chaos_stats[p_ptr->chaos_patron] < 0))
528 do_inc_stat(chaos_stats[p_ptr->chaos_patron]);
530 do_inc_stat(randint0(6));
531 reward = _("能力値が上がった。", "increasing a stat");
537 msg_format("%sの声が響き渡った:",
538 chaos_patrons[p_ptr->chaos_patron]);
540 msg_format("The voice of %s booms out:",
541 chaos_patrons[p_ptr->chaos_patron]);
544 msg_print(_("「下僕よ、余は汝に飽みたり。」", "'I grow tired of thee, mortal.'"));
546 if (one_in_(3) && !(chaos_stats[p_ptr->chaos_patron] < 0))
547 do_dec_stat(chaos_stats[p_ptr->chaos_patron]);
549 (void)do_dec_stat(randint0(6));
550 reward = _("能力値が下がった。", "decreasing a stat");
557 msg_format("%sの声が轟き渡った:",
558 chaos_patrons[p_ptr->chaos_patron]);
560 msg_format("The voice of %s thunders:",
561 chaos_patrons[p_ptr->chaos_patron]);
564 msg_print(_("「汝、謙虚たることを学ぶべし!」", "'Thou needst a lesson in humility, mortal!'"));
565 msg_print(_("あなたは以前より弱くなった!", "You feel less powerful!"));
567 for (dummy = 0; dummy < A_MAX; dummy++)
569 (void)dec_stat(dummy, 10 + randint1(15), TRUE);
571 reward = _("全能力値が下がった。", "decreasing all stats");
576 msg_format(_("%sの力が触れるのを感じた。", "You feel the power of %s touch you."),
577 chaos_patrons[p_ptr->chaos_patron]);
579 reward = _("傷が変化した。", "polymorphing wounds");
584 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
586 msg_print(_("「我がささやかなる賜物を受けとるがよい!」", "'Receive this modest gift from me!'"));
588 for (dummy = 0; dummy < A_MAX; dummy++)
590 (void)do_inc_stat(dummy);
592 reward = _("全能力値が上がった。", "increasing all stats");
597 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
598 msg_print(_("「苦しむがよい、無能な愚か者よ!」", "'Suffer, pathetic fool!'"));
600 fire_ball(GF_DISINTEGRATE, 0, p_ptr->lev * 4, 4);
601 take_hit(DAMAGE_NOESCAPE, p_ptr->lev * 4, wrath_reason, -1);
602 reward = _("分解の球が発生した。", "generating disintegration ball");
607 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
608 (void)restore_level();
609 (void)restore_all_status();
610 (void)true_healing(5000);
611 reward = _("体力が回復した。", "healing");
616 if (!buki_motteruka(INVEN_RARM) && !buki_motteruka(INVEN_LARM)) break;
617 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
618 msg_print(_("「汝、武器に頼ることなかれ。」", "'Thou reliest too much on thy weapon.'"));
621 if (buki_motteruka(INVEN_LARM))
624 if (buki_motteruka(INVEN_RARM) && one_in_(2)) dummy = INVEN_RARM;
626 object_desc(o_name, &inventory[dummy], OD_NAME_ONLY);
627 (void)curse_weapon(FALSE, dummy);
628 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
633 if (!inventory[INVEN_BODY].k_idx) break;
634 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
635 msg_print(_("「汝、防具に頼ることなかれ。」", "'Thou reliest too much on thine equipment.'"));
637 object_desc(o_name, &inventory[INVEN_BODY], OD_NAME_ONLY);
639 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
643 msg_format(_("%sの声がささやいた:", "The voice of %s whispers:"), chaos_patrons[p_ptr->chaos_patron]);
644 msg_print(_("「我を怒りしめた罪を償うべし。」", "'Now thou shalt pay for annoying me.'"));
649 (void)activate_ty_curse(FALSE, &count);
650 reward = _("禍々しい呪いをかけられた。", "cursing");
653 activate_hi_summon(p_ptr->y, p_ptr->x, FALSE);
654 reward = _("モンスターを召喚された。", "summoning hostile monsters");
659 if (!buki_motteruka(INVEN_RARM) && !buki_motteruka(INVEN_LARM)) break;
661 if (buki_motteruka(INVEN_LARM))
664 if (buki_motteruka(INVEN_RARM) && one_in_(2)) dummy = INVEN_RARM;
666 object_desc(o_name, &inventory[dummy], OD_NAME_ONLY);
667 (void)curse_weapon(FALSE, dummy);
668 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
672 if (!inventory[INVEN_BODY].k_idx) break;
673 object_desc(o_name, &inventory[INVEN_BODY], OD_NAME_ONLY);
675 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
679 for (dummy = 0; dummy < A_MAX; dummy++)
681 (void)dec_stat(dummy, 10 + randint1(15), TRUE);
683 reward = _("全能力値が下がった。", "decreasing all stats");
690 msg_format(_("%sの声が轟き渡った:", "The voice of %s thunders:"), chaos_patrons[p_ptr->chaos_patron]);
691 msg_print(_("「死ぬがよい、下僕よ!」", "'Die, mortal!'"));
693 take_hit(DAMAGE_LOSELIFE, p_ptr->lev * 4, wrath_reason, -1);
694 for (dummy = 0; dummy < A_MAX; dummy++)
696 (void)dec_stat(dummy, 10 + randint1(15), FALSE);
698 activate_hi_summon(p_ptr->y, p_ptr->x, FALSE);
699 (void)activate_ty_curse(FALSE, &count);
704 if (buki_motteruka(INVEN_RARM))
707 if (buki_motteruka(INVEN_LARM) && one_in_(2)) dummy = INVEN_LARM;
709 else if (buki_motteruka(INVEN_LARM)) dummy = INVEN_LARM;
711 if (dummy) (void)curse_weapon(FALSE, dummy);
713 if (one_in_(2)) (void)curse_armor();
718 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
719 msg_print(_("「死と破壊こそ我が喜びなり!」", "'Death and destruction! This pleaseth me!'"));
721 (void)destroy_area(p_ptr->y, p_ptr->x, 25, FALSE);
722 reward = _("ダンジョンが*破壊*された。", "*destruct*ing dungeon");
727 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
728 msg_print(_("「我、汝の敵を抹殺せん!」", "'Let me relieve thee of thine oppressors!'"));
729 (void)symbol_genocide(0, FALSE);
730 reward = _("モンスターが抹殺された。", "genociding monsters");
735 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[p_ptr->chaos_patron]);
736 msg_print(_("「我、汝の敵を抹殺せん!」", "'Let me relieve thee of thine oppressors!'"));
738 (void)mass_genocide(0, FALSE);
739 reward = _("モンスターが抹殺された。", "genociding nearby monsters");
744 msg_format(_("%sの力が敵を攻撃するのを感じた!", "You can feel the power of %s assault your enemies!"), chaos_patrons[p_ptr->chaos_patron]);
745 (void)dispel_monsters(p_ptr->lev * 4);
750 msg_format(_("%sはあなたを無視した。", "%s ignores you."), chaos_patrons[p_ptr->chaos_patron]);
755 msg_format(_("%sは褒美として悪魔の使いをよこした!", "%s rewards you with a demonic servant!"), chaos_patrons[p_ptr->chaos_patron]);
757 if (!summon_specific(-1, p_ptr->y, p_ptr->x, dun_level, SUMMON_DEMON, PM_FORCE_PET, '\0'))
758 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
760 reward = _("悪魔がペットになった。", "a demonic servant");
765 msg_format(_("%sは褒美として使いをよこした!", "%s rewards you with a servant!"), chaos_patrons[p_ptr->chaos_patron]);
767 if (!summon_specific(-1, p_ptr->y, p_ptr->x, dun_level, 0, PM_FORCE_PET, '\0'))
768 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
770 reward = _("モンスターがペットになった。", "a servant");
775 msg_format(_("%sは褒美としてアンデッドの使いをよこした。", "%s rewards you with an undead servant!"), chaos_patrons[p_ptr->chaos_patron]);
777 if (!summon_specific(-1, p_ptr->y, p_ptr->x, dun_level, SUMMON_UNDEAD, PM_FORCE_PET, '\0'))
778 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
780 reward = _("アンデッドがペットになった。", "an undead servant");
785 msg_format(_("%sの声がどもった:", "The voice of %s stammers:"),
787 chaos_patrons[p_ptr->chaos_patron]);
788 msg_format(_("「あー、あー、答えは %d/%d。質問は何?」", "'Uh... uh... the answer's %d/%d, what's the question?'"), type, effect);
794 do_cmd_write_nikki(NIKKI_BUNSHOU, 0, format(_("パトロンの報酬で%s", "The patron rewards you with %s."), reward));