1 #include "player/patron.h"
2 #include "cmd-action/cmd-pet.h"
3 #include "cmd-io/cmd-dump.h"
4 #include "floor/floor.h"
5 #include "io/write-diary.h"
6 #include "monster-floor/monster-summon.h"
7 #include "monster-floor/place-monster-types.h"
8 #include "monster-race/monster-race-hook.h"
9 #include "mutation/mutation.h"
10 #include "object-enchant/object-curse.h"
11 #include "object/object-flavor.h"
12 #include "object/object-kind-hook.h"
13 #include "player/player-class.h"
14 #include "player/player-damage.h"
15 #include "player/player-effects.h"
16 #include "player/player-race-types.h"
17 #include "player/player-status.h"
18 #include "spell-kind/spells-floor.h"
19 #include "spell-kind/spells-genocide.h"
20 #include "spell-kind/spells-launcher.h"
21 #include "spell-kind/spells-random.h"
22 #include "spell-kind/spells-sight.h"
23 #include "spell/spells-object.h"
24 #include "spell/spells-status.h"
25 #include "spell/spells-summon.h"
26 #include "spell/spell-types.h"
27 #include "util/util.h"
28 #include "view/display-messages.h"
34 const concptr chaos_patrons[MAX_PATRON] =
57 const concptr chaos_patrons[MAX_PATRON] =
83 * @brief カオスパトロンの報酬能力値テーブル
85 const int chaos_stats[MAX_PATRON] =
101 A_CHR, /* Slaanesh */
103 A_INT, /* Tzeentch */
109 * @brief カオスパトロンの報酬テーブル
111 const int chaos_rewards[MAX_PATRON][20] =
113 /* Slortar the Old: */
115 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL, REW_LOSE_ABL,
116 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_SLF,
117 REW_POLY_SLF, REW_POLY_SLF, REW_GAIN_ABL, REW_GAIN_ABL, REW_GAIN_EXP,
118 REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_AUGM_ABL, REW_AUGM_ABL
121 /* Mabelode the Faceless: */
123 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_H_SUMMON, REW_SUMMON_M,
124 REW_SUMMON_M, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_WND,
125 REW_POLY_SLF, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_ABL, REW_SER_UNDE,
126 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GOOD_OBJ, REW_GOOD_OBS, REW_GOOD_OBS
129 /* Chardros the Reaper: */
131 REW_WRATH, REW_WRATH, REW_HURT_LOT, REW_PISS_OFF, REW_H_SUMMON,
132 REW_SUMMON_M, REW_IGNORE, REW_IGNORE, REW_DESTRUCT, REW_SER_UNDE,
133 REW_GENOCIDE, REW_MASS_GEN, REW_MASS_GEN, REW_DISPEL_C, REW_GOOD_OBJ,
134 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_AUGM_ABL, REW_AUGM_ABL
137 /* Hionhurn the Executioner: */
139 REW_WRATH, REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL,
140 REW_IGNORE, REW_IGNORE, REW_SER_UNDE, REW_DESTRUCT, REW_GENOCIDE,
141 REW_MASS_GEN, REW_MASS_GEN, REW_HEAL_FUL, REW_GAIN_ABL, REW_GAIN_ABL,
142 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_AUGM_ABL, REW_AUGM_ABL
145 /* Xiombarg the Sword-Queen: */
147 REW_TY_CURSE, REW_TY_CURSE, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_ABL,
148 REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND, REW_POLY_WND,
149 REW_GENOCIDE, REW_DISPEL_C, REW_GOOD_OBJ, REW_GOOD_OBJ, REW_SER_MONS,
150 REW_GAIN_ABL, REW_CHAOS_WP, REW_GAIN_EXP, REW_AUGM_ABL, REW_GOOD_OBS
154 /* Pyaray the Tentacled Whisperer of Impossible Secretes: */
156 REW_WRATH, REW_TY_CURSE, REW_PISS_OFF, REW_H_SUMMON, REW_H_SUMMON,
157 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_SLF,
158 REW_POLY_SLF, REW_SER_DEMO, REW_HEAL_FUL, REW_GAIN_ABL, REW_GAIN_ABL,
159 REW_CHAOS_WP, REW_DO_HAVOC, REW_GOOD_OBJ, REW_GREA_OBJ, REW_GREA_OBS
162 /* Balaan the Grim: */
164 REW_TY_CURSE, REW_HURT_LOT, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL,
165 REW_SUMMON_M, REW_LOSE_EXP, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND,
166 REW_SER_UNDE, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_EXP, REW_GAIN_EXP,
167 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GOOD_OBS, REW_GREA_OBS, REW_AUGM_ABL
170 /* Arioch, Duke of Hell: */
172 REW_WRATH, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_EXP, REW_H_SUMMON,
173 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF,
174 REW_POLY_SLF, REW_MASS_GEN, REW_SER_DEMO, REW_HEAL_FUL, REW_CHAOS_WP,
175 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GAIN_EXP, REW_GREA_OBJ, REW_AUGM_ABL
178 /* Eequor, Blue Lady of Dismay: */
180 REW_WRATH, REW_TY_CURSE, REW_PISS_OFF, REW_CURSE_WP, REW_RUIN_ABL,
181 REW_IGNORE, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND,
182 REW_GOOD_OBJ, REW_GOOD_OBJ, REW_SER_MONS, REW_HEAL_FUL, REW_GAIN_EXP,
183 REW_GAIN_ABL, REW_CHAOS_WP, REW_GOOD_OBS, REW_GREA_OBJ, REW_AUGM_ABL
186 /* Narjhan, Lord of Beggars: */
188 REW_WRATH, REW_CURSE_AR, REW_CURSE_WP, REW_CURSE_WP, REW_CURSE_AR,
189 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF,
190 REW_POLY_WND, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_EXP, REW_AUGM_ABL,
191 REW_GOOD_OBJ, REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_GREA_OBS
194 /* Balo the Jester: */
196 REW_WRATH, REW_SER_DEMO, REW_CURSE_WP, REW_CURSE_AR, REW_LOSE_EXP,
197 REW_GAIN_ABL, REW_LOSE_ABL, REW_POLY_WND, REW_POLY_SLF, REW_IGNORE,
198 REW_DESTRUCT, REW_MASS_GEN, REW_CHAOS_WP, REW_GREA_OBJ, REW_HURT_LOT,
199 REW_AUGM_ABL, REW_RUIN_ABL, REW_H_SUMMON, REW_GREA_OBS, REW_AUGM_ABL
202 /* Khorne the Bloodgod: */
204 REW_WRATH, REW_HURT_LOT, REW_HURT_LOT, REW_H_SUMMON, REW_H_SUMMON,
205 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_SER_MONS, REW_SER_DEMO,
206 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GOOD_OBJ,
207 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_GREA_OBJ, REW_GREA_OBS
212 REW_WRATH, REW_PISS_OFF, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_ABL,
213 REW_LOSE_EXP, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_SER_DEMO,
214 REW_POLY_SLF, REW_HEAL_FUL, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GAIN_EXP,
215 REW_GAIN_EXP, REW_CHAOS_WP, REW_GAIN_ABL, REW_GREA_OBJ, REW_AUGM_ABL
220 REW_WRATH, REW_PISS_OFF, REW_HURT_LOT, REW_RUIN_ABL, REW_LOSE_ABL,
221 REW_LOSE_EXP, REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF,
222 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GAIN_ABL,
223 REW_GAIN_ABL, REW_SER_UNDE, REW_CHAOS_WP, REW_GREA_OBJ, REW_AUGM_ABL
228 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL, REW_LOSE_ABL,
229 REW_LOSE_EXP, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_SLF,
230 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_CHAOS_WP, REW_GREA_OBJ,
231 REW_GAIN_ABL, REW_GAIN_ABL, REW_GAIN_EXP, REW_GAIN_EXP, REW_AUGM_ABL
236 REW_WRATH, REW_HURT_LOT, REW_PISS_OFF, REW_LOSE_ABL, REW_LOSE_EXP,
237 REW_IGNORE, REW_IGNORE, REW_DISPEL_C, REW_DO_HAVOC, REW_DO_HAVOC,
238 REW_POLY_SLF, REW_POLY_SLF, REW_GAIN_EXP, REW_GAIN_ABL, REW_GAIN_ABL,
239 REW_SER_MONS, REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_GOOD_OBS
244 void gain_level_reward(player_type *creature_ptr, int chosen_reward)
246 char wrath_reason[32] = "";
247 int nasty_chance = 6;
250 concptr reward = NULL;
251 GAME_TEXT o_name[MAX_NLEN];
257 if (creature_ptr->suppress_multi_reward) return;
258 else creature_ptr->suppress_multi_reward = TRUE;
262 if (creature_ptr->lev == 13) nasty_chance = 2;
263 else if (!(creature_ptr->lev % 13)) nasty_chance = 3;
264 else if (!(creature_ptr->lev % 14)) nasty_chance = 12;
266 if (one_in_(nasty_chance))
267 type = randint1(20); /* Allow the 'nasty' effects */
269 type = randint1(15) + 5; /* Or disallow them */
271 if (type < 1) type = 1;
272 if (type > 20) type = 20;
276 sprintf(wrath_reason, _("%sの怒り", "the Wrath of %s"), chaos_patrons[creature_ptr->chaos_patron]);
278 effect = chaos_rewards[creature_ptr->chaos_patron][type];
280 if (one_in_(6) && !chosen_reward)
282 msg_format(_("%^sは褒美としてあなたを突然変異させた。", "%^s rewards you with a mutation!"), chaos_patrons[creature_ptr->chaos_patron]);
283 (void)gain_mutation(creature_ptr, 0);
284 reward = _("変異した。", "mutation");
288 switch (chosen_reward ? chosen_reward : effect)
293 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
294 msg_print(_("「汝、新たなる姿を必要とせり!」", "'Thou needst a new form, mortal!'"));
296 do_poly_self(creature_ptr);
297 reward = _("変異した。", "polymorphing");
302 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
303 msg_print(_("「汝は良く行いたり!続けよ!」", "'Well done, mortal! Lead on!'"));
305 if (creature_ptr->prace == RACE_ANDROID)
307 msg_print(_("しかし何も起こらなかった。", "But, nothing happen."));
309 else if (creature_ptr->exp < PY_MAX_EXP)
311 s32b ee = (creature_ptr->exp / 2) + 10;
312 if (ee > 100000L) ee = 100000L;
313 msg_print(_("更に経験を積んだような気がする。", "You feel more experienced."));
315 gain_exp(creature_ptr, ee);
316 reward = _("経験値を得た", "experience");
322 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
323 msg_print(_("「下僕よ、汝それに値せず。」", "'Thou didst not deserve that, slave.'"));
325 if (creature_ptr->prace == RACE_ANDROID)
327 msg_print(_("しかし何も起こらなかった。", "But, nothing happen."));
331 lose_exp(creature_ptr, creature_ptr->exp / 6);
332 reward = _("経験値を失った。", "losing experience");
337 msg_format(_("%sの声がささやいた:", "The voice of %s whispers:"), chaos_patrons[creature_ptr->chaos_patron]);
338 msg_print(_("「我が与えし物を賢明に使うべし。」", "'Use my gift wisely.'"));
340 acquirement(creature_ptr, creature_ptr->y, creature_ptr->x, 1, FALSE, FALSE, FALSE);
341 reward = _("上質なアイテムを手に入れた。", "a good item");
346 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
347 msg_print(_("「我が与えし物を賢明に使うべし。」", "'Use my gift wisely.'"));
349 acquirement(creature_ptr, creature_ptr->y, creature_ptr->x, 1, TRUE, FALSE, FALSE);
350 reward = _("高級品のアイテムを手に入れた。", "an excellent item");
354 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
355 msg_print(_("「汝の行いは貴き剣に値せり。」", "'Thy deed hath earned thee a worthy blade.'"));
356 acquire_chaos_weapon(creature_ptr);
357 reward = _("(混沌)の武器を手に入れた。", "chaos weapon");
362 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
363 msg_print(_("「汝の行いは貴き報いに値せり。」", "'Thy deed hath earned thee a worthy reward.'"));
365 acquirement(creature_ptr, creature_ptr->y, creature_ptr->x, randint1(2) + 1, FALSE, FALSE, FALSE);
366 reward = _("上質なアイテムを手に入れた。", "good items");
371 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
372 msg_print(_("「下僕よ、汝の献身への我が惜しみ無き報いを見るがよい。」", "'Behold, mortal, how generously I reward thy loyalty.'"));
374 acquirement(creature_ptr, creature_ptr->y, creature_ptr->x, randint1(2) + 1, TRUE, FALSE, FALSE);
375 reward = _("高級品のアイテムを手に入れた。", "excellent items");
379 msg_format(_("%sの声が轟き渡った:", "The voice of %s thunders:"), chaos_patrons[creature_ptr->chaos_patron]);
380 msg_print(_("「下僕よ、汝傲慢なり。」", "'Thou art growing arrogant, mortal.'"));
382 (void)activate_ty_curse(creature_ptr, FALSE, &count);
383 reward = _("禍々しい呪いをかけられた。", "cursing");
388 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
389 msg_print(_("「我が下僕たちよ、かの傲慢なる者を倒すべし!」", "'My pets, destroy the arrogant mortal!'"));
391 for (dummy = 0; dummy < randint1(5) + 1; dummy++)
393 (void)summon_specific(creature_ptr, 0, creature_ptr->y, creature_ptr->x, creature_ptr->current_floor_ptr->dun_level, 0, (PM_ALLOW_GROUP | PM_ALLOW_UNIQUE | PM_NO_PET));
395 reward = _("モンスターを召喚された。", "summoning hostile monsters");
401 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
402 msg_print(_("「汝、より強き敵を必要とせり!」", "'Thou needst worthier opponents!'"));
404 activate_hi_summon(creature_ptr, creature_ptr->y, creature_ptr->x, FALSE);
405 reward = _("モンスターを召喚された。", "summoning many hostile monsters");
410 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
411 msg_print(_("「死と破壊こそ我が喜びなり!」", "'Death and destruction! This pleaseth me!'"));
413 call_chaos(creature_ptr);
414 reward = _("カオスの力が渦巻いた。", "calling chaos");
419 msg_format(_("%sの声が鳴り響いた:", "The voice of %s rings out:"), chaos_patrons[creature_ptr->chaos_patron]);
420 msg_print(_("「留まるのだ、下僕よ。余が汝の肉体を鍛えん。」", "'Stay, mortal, and let me mold thee.'"));
422 if (one_in_(3) && !(chaos_stats[creature_ptr->chaos_patron] < 0))
423 do_inc_stat(creature_ptr, chaos_stats[creature_ptr->chaos_patron]);
425 do_inc_stat(creature_ptr, randint0(6));
426 reward = _("能力値が上がった。", "increasing a stat");
431 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
432 msg_print(_("「下僕よ、余は汝に飽みたり。」", "'I grow tired of thee, mortal.'"));
434 if (one_in_(3) && !(chaos_stats[creature_ptr->chaos_patron] < 0))
435 do_dec_stat(creature_ptr, chaos_stats[creature_ptr->chaos_patron]);
437 (void)do_dec_stat(creature_ptr, randint0(6));
438 reward = _("能力値が下がった。", "decreasing a stat");
444 msg_format(_("%sの声が轟き渡った:", "The voice of %s thunders:"), chaos_patrons[creature_ptr->chaos_patron]);
445 msg_print(_("「汝、謙虚たることを学ぶべし!」", "'Thou needst a lesson in humility, mortal!'"));
446 msg_print(_("あなたは以前より弱くなった!", "You feel less powerful!"));
448 for (dummy = 0; dummy < A_MAX; dummy++)
450 (void)dec_stat(creature_ptr, dummy, 10 + randint1(15), TRUE);
452 reward = _("全能力値が下がった。", "decreasing all stats");
457 msg_format(_("%sの力が触れるのを感じた。", "You feel the power of %s touch you."),
458 chaos_patrons[creature_ptr->chaos_patron]);
459 do_poly_wounds(creature_ptr);
460 reward = _("傷が変化した。", "polymorphing wounds");
465 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
467 msg_print(_("「我がささやかなる賜物を受けとるがよい!」", "'Receive this modest gift from me!'"));
469 for (dummy = 0; dummy < A_MAX; dummy++)
471 (void)do_inc_stat(creature_ptr, dummy);
473 reward = _("全能力値が上がった。", "increasing all stats");
478 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
479 msg_print(_("「苦しむがよい、無能な愚か者よ!」", "'Suffer, pathetic fool!'"));
481 fire_ball(creature_ptr, GF_DISINTEGRATE, 0, creature_ptr->lev * 4, 4);
482 take_hit(creature_ptr, DAMAGE_NOESCAPE, creature_ptr->lev * 4, wrath_reason, -1);
483 reward = _("分解の球が発生した。", "generating disintegration ball");
488 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
489 (void)restore_level(creature_ptr);
490 (void)restore_all_status(creature_ptr);
491 (void)true_healing(creature_ptr, 5000);
492 reward = _("体力が回復した。", "healing");
497 if (!has_melee_weapon(creature_ptr, INVEN_RARM) && !has_melee_weapon(creature_ptr, INVEN_LARM)) break;
498 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
499 msg_print(_("「汝、武器に頼ることなかれ。」", "'Thou reliest too much on thy weapon.'"));
502 if (has_melee_weapon(creature_ptr, INVEN_LARM))
505 if (has_melee_weapon(creature_ptr, INVEN_RARM) && one_in_(2)) dummy = INVEN_RARM;
507 object_desc(creature_ptr, o_name, &creature_ptr->inventory_list[dummy], OD_NAME_ONLY);
508 (void)curse_weapon_object(creature_ptr, FALSE, &creature_ptr->inventory_list[dummy]);
509 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
514 if (!creature_ptr->inventory_list[INVEN_BODY].k_idx) break;
515 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
516 msg_print(_("「汝、防具に頼ることなかれ。」", "'Thou reliest too much on thine equipment.'"));
518 object_desc(creature_ptr, o_name, &creature_ptr->inventory_list[INVEN_BODY], OD_NAME_ONLY);
519 (void)curse_armor(creature_ptr);
520 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
525 msg_format(_("%sの声がささやいた:", "The voice of %s whispers:"), chaos_patrons[creature_ptr->chaos_patron]);
526 msg_print(_("「我を怒りしめた罪を償うべし。」", "'Now thou shalt pay for annoying me.'"));
531 (void)activate_ty_curse(creature_ptr, FALSE, &count);
532 reward = _("禍々しい呪いをかけられた。", "cursing");
535 activate_hi_summon(creature_ptr, creature_ptr->y, creature_ptr->x, FALSE);
536 reward = _("モンスターを召喚された。", "summoning hostile monsters");
541 if (!has_melee_weapon(creature_ptr, INVEN_RARM) && !has_melee_weapon(creature_ptr, INVEN_LARM)) break;
543 if (has_melee_weapon(creature_ptr, INVEN_LARM))
546 if (has_melee_weapon(creature_ptr, INVEN_RARM) && one_in_(2)) dummy = INVEN_RARM;
548 object_desc(creature_ptr, o_name, &creature_ptr->inventory_list[dummy], OD_NAME_ONLY);
549 (void)curse_weapon_object(creature_ptr, FALSE, &creature_ptr->inventory_list[dummy]);
550 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
554 if (!creature_ptr->inventory_list[INVEN_BODY].k_idx) break;
555 object_desc(creature_ptr, o_name, &creature_ptr->inventory_list[INVEN_BODY], OD_NAME_ONLY);
556 (void)curse_armor(creature_ptr);
557 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
561 for (dummy = 0; dummy < A_MAX; dummy++)
563 (void)dec_stat(creature_ptr, dummy, 10 + randint1(15), TRUE);
565 reward = _("全能力値が下がった。", "decreasing all stats");
572 msg_format(_("%sの声が轟き渡った:", "The voice of %s thunders:"), chaos_patrons[creature_ptr->chaos_patron]);
573 msg_print(_("「死ぬがよい、下僕よ!」", "'Die, mortal!'"));
575 take_hit(creature_ptr, DAMAGE_LOSELIFE, creature_ptr->lev * 4, wrath_reason, -1);
576 for (dummy = 0; dummy < A_MAX; dummy++)
578 (void)dec_stat(creature_ptr, dummy, 10 + randint1(15), FALSE);
580 activate_hi_summon(creature_ptr, creature_ptr->y, creature_ptr->x, FALSE);
581 (void)activate_ty_curse(creature_ptr, FALSE, &count);
586 if (has_melee_weapon(creature_ptr, INVEN_RARM))
589 if (has_melee_weapon(creature_ptr, INVEN_LARM) && one_in_(2)) dummy = INVEN_LARM;
591 else if (has_melee_weapon(creature_ptr, INVEN_LARM)) dummy = INVEN_LARM;
593 if (dummy) (void)curse_weapon_object(creature_ptr, FALSE, &creature_ptr->inventory_list[dummy]);
595 if (one_in_(2)) (void)curse_armor(creature_ptr);
600 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
601 msg_print(_("「死と破壊こそ我が喜びなり!」", "'Death and destruction! This pleaseth me!'"));
603 (void)destroy_area(creature_ptr, creature_ptr->y, creature_ptr->x, 25, FALSE);
604 reward = _("ダンジョンが*破壊*された。", "*destruct*ing dungeon");
609 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
610 msg_print(_("「我、汝の敵を抹殺せん!」", "'Let me relieve thee of thine oppressors!'"));
611 (void)symbol_genocide(creature_ptr, 0, FALSE);
612 reward = _("モンスターが抹殺された。", "genociding monsters");
617 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
618 msg_print(_("「我、汝の敵を抹殺せん!」", "'Let me relieve thee of thine oppressors!'"));
620 (void)mass_genocide(creature_ptr, 0, FALSE);
621 reward = _("モンスターが抹殺された。", "genociding nearby monsters");
626 msg_format(_("%sの力が敵を攻撃するのを感じた!", "You can feel the power of %s assault your enemies!"), chaos_patrons[creature_ptr->chaos_patron]);
627 (void)dispel_monsters(creature_ptr, creature_ptr->lev * 4);
632 msg_format(_("%sはあなたを無視した。", "%s ignores you."), chaos_patrons[creature_ptr->chaos_patron]);
637 msg_format(_("%sは褒美として悪魔の使いをよこした!", "%s rewards you with a demonic servant!"), chaos_patrons[creature_ptr->chaos_patron]);
639 if (!summon_specific(creature_ptr, -1, creature_ptr->y, creature_ptr->x, creature_ptr->current_floor_ptr->dun_level, SUMMON_DEMON, PM_FORCE_PET))
640 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
642 reward = _("悪魔がペットになった。", "a demonic servant");
647 msg_format(_("%sは褒美として使いをよこした!", "%s rewards you with a servant!"), chaos_patrons[creature_ptr->chaos_patron]);
649 if (!summon_specific(creature_ptr, -1, creature_ptr->y, creature_ptr->x, creature_ptr->current_floor_ptr->dun_level, 0, PM_FORCE_PET))
650 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
652 reward = _("モンスターがペットになった。", "a servant");
657 msg_format(_("%sは褒美としてアンデッドの使いをよこした。", "%s rewards you with an undead servant!"), chaos_patrons[creature_ptr->chaos_patron]);
659 if (!summon_specific(creature_ptr, -1, creature_ptr->y, creature_ptr->x, creature_ptr->current_floor_ptr->dun_level, SUMMON_UNDEAD, PM_FORCE_PET))
660 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
662 reward = _("アンデッドがペットになった。", "an undead servant");
667 msg_format(_("%sの声がどもった:", "The voice of %s stammers:"), chaos_patrons[creature_ptr->chaos_patron]);
668 msg_format(_("「あー、あー、答えは %d/%d。質問は何?」", "'Uh... uh... the answer's %d/%d, what's the question?'"), type, effect);
674 exe_write_diary(creature_ptr, DIARY_DESCRIPTION, 0, format(_("パトロンの報酬で%s", "The patron rewarded you with %s."), reward));
678 void admire_from_patron(player_type *creature_ptr)
680 if ((creature_ptr->pclass == CLASS_CHAOS_WARRIOR) || (creature_ptr->muta2 & MUT2_CHAOS_GIFT))
682 msg_format(_("%sからの声が響いた。", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
683 msg_print(_("『よくやった、定命の者よ!』", "'Thou art donst well, mortal!'"));