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 "status/base-status.h"
28 #include "status/experience.h"
29 #include "view/display-messages.h"
35 const concptr chaos_patrons[MAX_PATRON] =
58 const concptr chaos_patrons[MAX_PATRON] =
84 * @brief カオスパトロンの報酬能力値テーブル
86 const int chaos_stats[MAX_PATRON] =
102 A_CHR, /* Slaanesh */
104 A_INT, /* Tzeentch */
110 * @brief カオスパトロンの報酬テーブル
112 const int chaos_rewards[MAX_PATRON][20] =
114 /* Slortar the Old: */
116 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL, REW_LOSE_ABL,
117 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_SLF,
118 REW_POLY_SLF, REW_POLY_SLF, REW_GAIN_ABL, REW_GAIN_ABL, REW_GAIN_EXP,
119 REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_AUGM_ABL, REW_AUGM_ABL
122 /* Mabelode the Faceless: */
124 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_H_SUMMON, REW_SUMMON_M,
125 REW_SUMMON_M, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_WND,
126 REW_POLY_SLF, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_ABL, REW_SER_UNDE,
127 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GOOD_OBJ, REW_GOOD_OBS, REW_GOOD_OBS
130 /* Chardros the Reaper: */
132 REW_WRATH, REW_WRATH, REW_HURT_LOT, REW_PISS_OFF, REW_H_SUMMON,
133 REW_SUMMON_M, REW_IGNORE, REW_IGNORE, REW_DESTRUCT, REW_SER_UNDE,
134 REW_GENOCIDE, REW_MASS_GEN, REW_MASS_GEN, REW_DISPEL_C, REW_GOOD_OBJ,
135 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_AUGM_ABL, REW_AUGM_ABL
138 /* Hionhurn the Executioner: */
140 REW_WRATH, REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL,
141 REW_IGNORE, REW_IGNORE, REW_SER_UNDE, REW_DESTRUCT, REW_GENOCIDE,
142 REW_MASS_GEN, REW_MASS_GEN, REW_HEAL_FUL, REW_GAIN_ABL, REW_GAIN_ABL,
143 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_AUGM_ABL, REW_AUGM_ABL
146 /* Xiombarg the Sword-Queen: */
148 REW_TY_CURSE, REW_TY_CURSE, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_ABL,
149 REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND, REW_POLY_WND,
150 REW_GENOCIDE, REW_DISPEL_C, REW_GOOD_OBJ, REW_GOOD_OBJ, REW_SER_MONS,
151 REW_GAIN_ABL, REW_CHAOS_WP, REW_GAIN_EXP, REW_AUGM_ABL, REW_GOOD_OBS
155 /* Pyaray the Tentacled Whisperer of Impossible Secretes: */
157 REW_WRATH, REW_TY_CURSE, REW_PISS_OFF, REW_H_SUMMON, REW_H_SUMMON,
158 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_SLF,
159 REW_POLY_SLF, REW_SER_DEMO, REW_HEAL_FUL, REW_GAIN_ABL, REW_GAIN_ABL,
160 REW_CHAOS_WP, REW_DO_HAVOC, REW_GOOD_OBJ, REW_GREA_OBJ, REW_GREA_OBS
163 /* Balaan the Grim: */
165 REW_TY_CURSE, REW_HURT_LOT, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL,
166 REW_SUMMON_M, REW_LOSE_EXP, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND,
167 REW_SER_UNDE, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_EXP, REW_GAIN_EXP,
168 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GOOD_OBS, REW_GREA_OBS, REW_AUGM_ABL
171 /* Arioch, Duke of Hell: */
173 REW_WRATH, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_EXP, REW_H_SUMMON,
174 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF,
175 REW_POLY_SLF, REW_MASS_GEN, REW_SER_DEMO, REW_HEAL_FUL, REW_CHAOS_WP,
176 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GAIN_EXP, REW_GREA_OBJ, REW_AUGM_ABL
179 /* Eequor, Blue Lady of Dismay: */
181 REW_WRATH, REW_TY_CURSE, REW_PISS_OFF, REW_CURSE_WP, REW_RUIN_ABL,
182 REW_IGNORE, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND,
183 REW_GOOD_OBJ, REW_GOOD_OBJ, REW_SER_MONS, REW_HEAL_FUL, REW_GAIN_EXP,
184 REW_GAIN_ABL, REW_CHAOS_WP, REW_GOOD_OBS, REW_GREA_OBJ, REW_AUGM_ABL
187 /* Narjhan, Lord of Beggars: */
189 REW_WRATH, REW_CURSE_AR, REW_CURSE_WP, REW_CURSE_WP, REW_CURSE_AR,
190 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF,
191 REW_POLY_WND, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_EXP, REW_AUGM_ABL,
192 REW_GOOD_OBJ, REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_GREA_OBS
195 /* Balo the Jester: */
197 REW_WRATH, REW_SER_DEMO, REW_CURSE_WP, REW_CURSE_AR, REW_LOSE_EXP,
198 REW_GAIN_ABL, REW_LOSE_ABL, REW_POLY_WND, REW_POLY_SLF, REW_IGNORE,
199 REW_DESTRUCT, REW_MASS_GEN, REW_CHAOS_WP, REW_GREA_OBJ, REW_HURT_LOT,
200 REW_AUGM_ABL, REW_RUIN_ABL, REW_H_SUMMON, REW_GREA_OBS, REW_AUGM_ABL
203 /* Khorne the Bloodgod: */
205 REW_WRATH, REW_HURT_LOT, REW_HURT_LOT, REW_H_SUMMON, REW_H_SUMMON,
206 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_SER_MONS, REW_SER_DEMO,
207 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GOOD_OBJ,
208 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_GREA_OBJ, REW_GREA_OBS
213 REW_WRATH, REW_PISS_OFF, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_ABL,
214 REW_LOSE_EXP, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_SER_DEMO,
215 REW_POLY_SLF, REW_HEAL_FUL, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GAIN_EXP,
216 REW_GAIN_EXP, REW_CHAOS_WP, REW_GAIN_ABL, REW_GREA_OBJ, REW_AUGM_ABL
221 REW_WRATH, REW_PISS_OFF, REW_HURT_LOT, REW_RUIN_ABL, REW_LOSE_ABL,
222 REW_LOSE_EXP, REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF,
223 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GAIN_ABL,
224 REW_GAIN_ABL, REW_SER_UNDE, REW_CHAOS_WP, REW_GREA_OBJ, REW_AUGM_ABL
229 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL, REW_LOSE_ABL,
230 REW_LOSE_EXP, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_SLF,
231 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_CHAOS_WP, REW_GREA_OBJ,
232 REW_GAIN_ABL, REW_GAIN_ABL, REW_GAIN_EXP, REW_GAIN_EXP, REW_AUGM_ABL
237 REW_WRATH, REW_HURT_LOT, REW_PISS_OFF, REW_LOSE_ABL, REW_LOSE_EXP,
238 REW_IGNORE, REW_IGNORE, REW_DISPEL_C, REW_DO_HAVOC, REW_DO_HAVOC,
239 REW_POLY_SLF, REW_POLY_SLF, REW_GAIN_EXP, REW_GAIN_ABL, REW_GAIN_ABL,
240 REW_SER_MONS, REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_GOOD_OBS
245 void gain_level_reward(player_type *creature_ptr, int chosen_reward)
247 char wrath_reason[32] = "";
248 int nasty_chance = 6;
251 concptr reward = NULL;
252 GAME_TEXT o_name[MAX_NLEN];
258 if (creature_ptr->suppress_multi_reward) return;
259 else creature_ptr->suppress_multi_reward = TRUE;
263 if (creature_ptr->lev == 13) nasty_chance = 2;
264 else if (!(creature_ptr->lev % 13)) nasty_chance = 3;
265 else if (!(creature_ptr->lev % 14)) nasty_chance = 12;
267 if (one_in_(nasty_chance))
268 type = randint1(20); /* Allow the 'nasty' effects */
270 type = randint1(15) + 5; /* Or disallow them */
272 if (type < 1) type = 1;
273 if (type > 20) type = 20;
277 sprintf(wrath_reason, _("%sの怒り", "the Wrath of %s"), chaos_patrons[creature_ptr->chaos_patron]);
279 effect = chaos_rewards[creature_ptr->chaos_patron][type];
281 if (one_in_(6) && !chosen_reward)
283 msg_format(_("%^sは褒美としてあなたを突然変異させた。", "%^s rewards you with a mutation!"), chaos_patrons[creature_ptr->chaos_patron]);
284 (void)gain_mutation(creature_ptr, 0);
285 reward = _("変異した。", "mutation");
289 switch (chosen_reward ? chosen_reward : effect)
294 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
295 msg_print(_("「汝、新たなる姿を必要とせり!」", "'Thou needst a new form, mortal!'"));
297 do_poly_self(creature_ptr);
298 reward = _("変異した。", "polymorphing");
303 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
304 msg_print(_("「汝は良く行いたり!続けよ!」", "'Well done, mortal! Lead on!'"));
306 if (creature_ptr->prace == RACE_ANDROID)
308 msg_print(_("しかし何も起こらなかった。", "But, nothing happen."));
310 else if (creature_ptr->exp < PY_MAX_EXP)
312 s32b ee = (creature_ptr->exp / 2) + 10;
313 if (ee > 100000L) ee = 100000L;
314 msg_print(_("更に経験を積んだような気がする。", "You feel more experienced."));
316 gain_exp(creature_ptr, ee);
317 reward = _("経験値を得た", "experience");
323 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
324 msg_print(_("「下僕よ、汝それに値せず。」", "'Thou didst not deserve that, slave.'"));
326 if (creature_ptr->prace == RACE_ANDROID)
328 msg_print(_("しかし何も起こらなかった。", "But, nothing happen."));
332 lose_exp(creature_ptr, creature_ptr->exp / 6);
333 reward = _("経験値を失った。", "losing experience");
338 msg_format(_("%sの声がささやいた:", "The voice of %s whispers:"), chaos_patrons[creature_ptr->chaos_patron]);
339 msg_print(_("「我が与えし物を賢明に使うべし。」", "'Use my gift wisely.'"));
341 acquirement(creature_ptr, creature_ptr->y, creature_ptr->x, 1, FALSE, FALSE, FALSE);
342 reward = _("上質なアイテムを手に入れた。", "a good item");
347 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
348 msg_print(_("「我が与えし物を賢明に使うべし。」", "'Use my gift wisely.'"));
350 acquirement(creature_ptr, creature_ptr->y, creature_ptr->x, 1, TRUE, FALSE, FALSE);
351 reward = _("高級品のアイテムを手に入れた。", "an excellent item");
355 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
356 msg_print(_("「汝の行いは貴き剣に値せり。」", "'Thy deed hath earned thee a worthy blade.'"));
357 acquire_chaos_weapon(creature_ptr);
358 reward = _("(混沌)の武器を手に入れた。", "chaos weapon");
363 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
364 msg_print(_("「汝の行いは貴き報いに値せり。」", "'Thy deed hath earned thee a worthy reward.'"));
366 acquirement(creature_ptr, creature_ptr->y, creature_ptr->x, randint1(2) + 1, FALSE, FALSE, FALSE);
367 reward = _("上質なアイテムを手に入れた。", "good items");
372 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
373 msg_print(_("「下僕よ、汝の献身への我が惜しみ無き報いを見るがよい。」", "'Behold, mortal, how generously I reward thy loyalty.'"));
375 acquirement(creature_ptr, creature_ptr->y, creature_ptr->x, randint1(2) + 1, TRUE, FALSE, FALSE);
376 reward = _("高級品のアイテムを手に入れた。", "excellent items");
380 msg_format(_("%sの声が轟き渡った:", "The voice of %s thunders:"), chaos_patrons[creature_ptr->chaos_patron]);
381 msg_print(_("「下僕よ、汝傲慢なり。」", "'Thou art growing arrogant, mortal.'"));
383 (void)activate_ty_curse(creature_ptr, FALSE, &count);
384 reward = _("禍々しい呪いをかけられた。", "cursing");
389 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
390 msg_print(_("「我が下僕たちよ、かの傲慢なる者を倒すべし!」", "'My pets, destroy the arrogant mortal!'"));
392 for (dummy = 0; dummy < randint1(5) + 1; dummy++)
394 (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));
396 reward = _("モンスターを召喚された。", "summoning hostile monsters");
402 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
403 msg_print(_("「汝、より強き敵を必要とせり!」", "'Thou needst worthier opponents!'"));
405 activate_hi_summon(creature_ptr, creature_ptr->y, creature_ptr->x, FALSE);
406 reward = _("モンスターを召喚された。", "summoning many hostile monsters");
411 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
412 msg_print(_("「死と破壊こそ我が喜びなり!」", "'Death and destruction! This pleaseth me!'"));
414 call_chaos(creature_ptr);
415 reward = _("カオスの力が渦巻いた。", "calling chaos");
420 msg_format(_("%sの声が鳴り響いた:", "The voice of %s rings out:"), chaos_patrons[creature_ptr->chaos_patron]);
421 msg_print(_("「留まるのだ、下僕よ。余が汝の肉体を鍛えん。」", "'Stay, mortal, and let me mold thee.'"));
423 if (one_in_(3) && !(chaos_stats[creature_ptr->chaos_patron] < 0))
424 do_inc_stat(creature_ptr, chaos_stats[creature_ptr->chaos_patron]);
426 do_inc_stat(creature_ptr, randint0(6));
427 reward = _("能力値が上がった。", "increasing a stat");
432 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
433 msg_print(_("「下僕よ、余は汝に飽みたり。」", "'I grow tired of thee, mortal.'"));
435 if (one_in_(3) && !(chaos_stats[creature_ptr->chaos_patron] < 0))
436 do_dec_stat(creature_ptr, chaos_stats[creature_ptr->chaos_patron]);
438 (void)do_dec_stat(creature_ptr, randint0(6));
439 reward = _("能力値が下がった。", "decreasing a stat");
445 msg_format(_("%sの声が轟き渡った:", "The voice of %s thunders:"), chaos_patrons[creature_ptr->chaos_patron]);
446 msg_print(_("「汝、謙虚たることを学ぶべし!」", "'Thou needst a lesson in humility, mortal!'"));
447 msg_print(_("あなたは以前より弱くなった!", "You feel less powerful!"));
449 for (dummy = 0; dummy < A_MAX; dummy++)
451 (void)dec_stat(creature_ptr, dummy, 10 + randint1(15), TRUE);
453 reward = _("全能力値が下がった。", "decreasing all stats");
458 msg_format(_("%sの力が触れるのを感じた。", "You feel the power of %s touch you."),
459 chaos_patrons[creature_ptr->chaos_patron]);
460 do_poly_wounds(creature_ptr);
461 reward = _("傷が変化した。", "polymorphing wounds");
466 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
468 msg_print(_("「我がささやかなる賜物を受けとるがよい!」", "'Receive this modest gift from me!'"));
470 for (dummy = 0; dummy < A_MAX; dummy++)
472 (void)do_inc_stat(creature_ptr, dummy);
474 reward = _("全能力値が上がった。", "increasing all stats");
479 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
480 msg_print(_("「苦しむがよい、無能な愚か者よ!」", "'Suffer, pathetic fool!'"));
482 fire_ball(creature_ptr, GF_DISINTEGRATE, 0, creature_ptr->lev * 4, 4);
483 take_hit(creature_ptr, DAMAGE_NOESCAPE, creature_ptr->lev * 4, wrath_reason, -1);
484 reward = _("分解の球が発生した。", "generating disintegration ball");
489 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
490 (void)restore_level(creature_ptr);
491 (void)restore_all_status(creature_ptr);
492 (void)true_healing(creature_ptr, 5000);
493 reward = _("体力が回復した。", "healing");
498 if (!has_melee_weapon(creature_ptr, INVEN_RARM) && !has_melee_weapon(creature_ptr, INVEN_LARM)) break;
499 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
500 msg_print(_("「汝、武器に頼ることなかれ。」", "'Thou reliest too much on thy weapon.'"));
503 if (has_melee_weapon(creature_ptr, INVEN_LARM))
506 if (has_melee_weapon(creature_ptr, INVEN_RARM) && one_in_(2)) dummy = INVEN_RARM;
508 object_desc(creature_ptr, o_name, &creature_ptr->inventory_list[dummy], OD_NAME_ONLY);
509 (void)curse_weapon_object(creature_ptr, FALSE, &creature_ptr->inventory_list[dummy]);
510 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
515 if (!creature_ptr->inventory_list[INVEN_BODY].k_idx) break;
516 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
517 msg_print(_("「汝、防具に頼ることなかれ。」", "'Thou reliest too much on thine equipment.'"));
519 object_desc(creature_ptr, o_name, &creature_ptr->inventory_list[INVEN_BODY], OD_NAME_ONLY);
520 (void)curse_armor(creature_ptr);
521 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
526 msg_format(_("%sの声がささやいた:", "The voice of %s whispers:"), chaos_patrons[creature_ptr->chaos_patron]);
527 msg_print(_("「我を怒りしめた罪を償うべし。」", "'Now thou shalt pay for annoying me.'"));
532 (void)activate_ty_curse(creature_ptr, FALSE, &count);
533 reward = _("禍々しい呪いをかけられた。", "cursing");
536 activate_hi_summon(creature_ptr, creature_ptr->y, creature_ptr->x, FALSE);
537 reward = _("モンスターを召喚された。", "summoning hostile monsters");
542 if (!has_melee_weapon(creature_ptr, INVEN_RARM) && !has_melee_weapon(creature_ptr, INVEN_LARM)) break;
544 if (has_melee_weapon(creature_ptr, INVEN_LARM))
547 if (has_melee_weapon(creature_ptr, INVEN_RARM) && one_in_(2)) dummy = INVEN_RARM;
549 object_desc(creature_ptr, o_name, &creature_ptr->inventory_list[dummy], OD_NAME_ONLY);
550 (void)curse_weapon_object(creature_ptr, FALSE, &creature_ptr->inventory_list[dummy]);
551 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
555 if (!creature_ptr->inventory_list[INVEN_BODY].k_idx) break;
556 object_desc(creature_ptr, o_name, &creature_ptr->inventory_list[INVEN_BODY], OD_NAME_ONLY);
557 (void)curse_armor(creature_ptr);
558 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
562 for (dummy = 0; dummy < A_MAX; dummy++)
564 (void)dec_stat(creature_ptr, dummy, 10 + randint1(15), TRUE);
566 reward = _("全能力値が下がった。", "decreasing all stats");
573 msg_format(_("%sの声が轟き渡った:", "The voice of %s thunders:"), chaos_patrons[creature_ptr->chaos_patron]);
574 msg_print(_("「死ぬがよい、下僕よ!」", "'Die, mortal!'"));
576 take_hit(creature_ptr, DAMAGE_LOSELIFE, creature_ptr->lev * 4, wrath_reason, -1);
577 for (dummy = 0; dummy < A_MAX; dummy++)
579 (void)dec_stat(creature_ptr, dummy, 10 + randint1(15), FALSE);
581 activate_hi_summon(creature_ptr, creature_ptr->y, creature_ptr->x, FALSE);
582 (void)activate_ty_curse(creature_ptr, FALSE, &count);
587 if (has_melee_weapon(creature_ptr, INVEN_RARM))
590 if (has_melee_weapon(creature_ptr, INVEN_LARM) && one_in_(2)) dummy = INVEN_LARM;
592 else if (has_melee_weapon(creature_ptr, INVEN_LARM)) dummy = INVEN_LARM;
594 if (dummy) (void)curse_weapon_object(creature_ptr, FALSE, &creature_ptr->inventory_list[dummy]);
596 if (one_in_(2)) (void)curse_armor(creature_ptr);
601 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
602 msg_print(_("「死と破壊こそ我が喜びなり!」", "'Death and destruction! This pleaseth me!'"));
604 (void)destroy_area(creature_ptr, creature_ptr->y, creature_ptr->x, 25, FALSE);
605 reward = _("ダンジョンが*破壊*された。", "*destruct*ing dungeon");
610 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
611 msg_print(_("「我、汝の敵を抹殺せん!」", "'Let me relieve thee of thine oppressors!'"));
612 (void)symbol_genocide(creature_ptr, 0, FALSE);
613 reward = _("モンスターが抹殺された。", "genociding monsters");
618 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
619 msg_print(_("「我、汝の敵を抹殺せん!」", "'Let me relieve thee of thine oppressors!'"));
621 (void)mass_genocide(creature_ptr, 0, FALSE);
622 reward = _("モンスターが抹殺された。", "genociding nearby monsters");
627 msg_format(_("%sの力が敵を攻撃するのを感じた!", "You can feel the power of %s assault your enemies!"), chaos_patrons[creature_ptr->chaos_patron]);
628 (void)dispel_monsters(creature_ptr, creature_ptr->lev * 4);
633 msg_format(_("%sはあなたを無視した。", "%s ignores you."), chaos_patrons[creature_ptr->chaos_patron]);
638 msg_format(_("%sは褒美として悪魔の使いをよこした!", "%s rewards you with a demonic servant!"), chaos_patrons[creature_ptr->chaos_patron]);
640 if (!summon_specific(creature_ptr, -1, creature_ptr->y, creature_ptr->x, creature_ptr->current_floor_ptr->dun_level, SUMMON_DEMON, PM_FORCE_PET))
641 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
643 reward = _("悪魔がペットになった。", "a demonic servant");
648 msg_format(_("%sは褒美として使いをよこした!", "%s rewards you with a servant!"), chaos_patrons[creature_ptr->chaos_patron]);
650 if (!summon_specific(creature_ptr, -1, creature_ptr->y, creature_ptr->x, creature_ptr->current_floor_ptr->dun_level, 0, PM_FORCE_PET))
651 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
653 reward = _("モンスターがペットになった。", "a servant");
658 msg_format(_("%sは褒美としてアンデッドの使いをよこした。", "%s rewards you with an undead servant!"), chaos_patrons[creature_ptr->chaos_patron]);
660 if (!summon_specific(creature_ptr, -1, creature_ptr->y, creature_ptr->x, creature_ptr->current_floor_ptr->dun_level, SUMMON_UNDEAD, PM_FORCE_PET))
661 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
663 reward = _("アンデッドがペットになった。", "an undead servant");
668 msg_format(_("%sの声がどもった:", "The voice of %s stammers:"), chaos_patrons[creature_ptr->chaos_patron]);
669 msg_format(_("「あー、あー、答えは %d/%d。質問は何?」", "'Uh... uh... the answer's %d/%d, what's the question?'"), type, effect);
675 exe_write_diary(creature_ptr, DIARY_DESCRIPTION, 0, format(_("パトロンの報酬で%s", "The patron rewarded you with %s."), reward));
679 void admire_from_patron(player_type *creature_ptr)
681 if ((creature_ptr->pclass == CLASS_CHAOS_WARRIOR) || (creature_ptr->muta2 & MUT2_CHAOS_GIFT))
683 msg_format(_("%sからの声が響いた。", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
684 msg_print(_("『よくやった、定命の者よ!』", "'Thou art donst well, mortal!'"));