1 #include "system/angband.h"
2 #include "player/patron.h"
3 #include "cmd-action/cmd-pet.h"
4 #include "cmd-io/cmd-dump.h"
5 #include "floor/floor.h"
6 #include "io/write-diary.h"
7 #include "monster/monster-race-hook.h"
8 #include "mutation/mutation.h"
9 #include "object-enchant/artifact.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-races-table.h"
17 #include "player/player-status.h"
18 #include "spell/spells-floor.h"
19 #include "spell/spells-genocide.h"
20 #include "spell/spells-launcher.h"
21 #include "spell/spells-object.h"
22 #include "spell/spells-sight.h"
23 #include "spell/spells-status.h"
24 #include "spell/spells-summon.h"
25 #include "spell/spells-type.h"
26 #include "spell/spells2.h"
27 #include "util/util.h"
33 const concptr chaos_patrons[MAX_PATRON] =
56 const concptr chaos_patrons[MAX_PATRON] =
82 * @brief カオスパトロンの報酬能力値テーブル
84 const int chaos_stats[MAX_PATRON] =
100 A_CHR, /* Slaanesh */
102 A_INT, /* Tzeentch */
108 * @brief カオスパトロンの報酬テーブル
110 const int chaos_rewards[MAX_PATRON][20] =
112 /* Slortar the Old: */
114 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL, REW_LOSE_ABL,
115 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_SLF,
116 REW_POLY_SLF, REW_POLY_SLF, REW_GAIN_ABL, REW_GAIN_ABL, REW_GAIN_EXP,
117 REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_AUGM_ABL, REW_AUGM_ABL
120 /* Mabelode the Faceless: */
122 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_H_SUMMON, REW_SUMMON_M,
123 REW_SUMMON_M, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_WND,
124 REW_POLY_SLF, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_ABL, REW_SER_UNDE,
125 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GOOD_OBJ, REW_GOOD_OBS, REW_GOOD_OBS
128 /* Chardros the Reaper: */
130 REW_WRATH, REW_WRATH, REW_HURT_LOT, REW_PISS_OFF, REW_H_SUMMON,
131 REW_SUMMON_M, REW_IGNORE, REW_IGNORE, REW_DESTRUCT, REW_SER_UNDE,
132 REW_GENOCIDE, REW_MASS_GEN, REW_MASS_GEN, REW_DISPEL_C, REW_GOOD_OBJ,
133 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_AUGM_ABL, REW_AUGM_ABL
136 /* Hionhurn the Executioner: */
138 REW_WRATH, REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL,
139 REW_IGNORE, REW_IGNORE, REW_SER_UNDE, REW_DESTRUCT, REW_GENOCIDE,
140 REW_MASS_GEN, REW_MASS_GEN, REW_HEAL_FUL, REW_GAIN_ABL, REW_GAIN_ABL,
141 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_AUGM_ABL, REW_AUGM_ABL
144 /* Xiombarg the Sword-Queen: */
146 REW_TY_CURSE, REW_TY_CURSE, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_ABL,
147 REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND, REW_POLY_WND,
148 REW_GENOCIDE, REW_DISPEL_C, REW_GOOD_OBJ, REW_GOOD_OBJ, REW_SER_MONS,
149 REW_GAIN_ABL, REW_CHAOS_WP, REW_GAIN_EXP, REW_AUGM_ABL, REW_GOOD_OBS
153 /* Pyaray the Tentacled Whisperer of Impossible Secretes: */
155 REW_WRATH, REW_TY_CURSE, REW_PISS_OFF, REW_H_SUMMON, REW_H_SUMMON,
156 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_POLY_SLF,
157 REW_POLY_SLF, REW_SER_DEMO, REW_HEAL_FUL, REW_GAIN_ABL, REW_GAIN_ABL,
158 REW_CHAOS_WP, REW_DO_HAVOC, REW_GOOD_OBJ, REW_GREA_OBJ, REW_GREA_OBS
161 /* Balaan the Grim: */
163 REW_TY_CURSE, REW_HURT_LOT, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL,
164 REW_SUMMON_M, REW_LOSE_EXP, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND,
165 REW_SER_UNDE, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_EXP, REW_GAIN_EXP,
166 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GOOD_OBS, REW_GREA_OBS, REW_AUGM_ABL
169 /* Arioch, Duke of Hell: */
171 REW_WRATH, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_EXP, REW_H_SUMMON,
172 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF,
173 REW_POLY_SLF, REW_MASS_GEN, REW_SER_DEMO, REW_HEAL_FUL, REW_CHAOS_WP,
174 REW_CHAOS_WP, REW_GOOD_OBJ, REW_GAIN_EXP, REW_GREA_OBJ, REW_AUGM_ABL
177 /* Eequor, Blue Lady of Dismay: */
179 REW_WRATH, REW_TY_CURSE, REW_PISS_OFF, REW_CURSE_WP, REW_RUIN_ABL,
180 REW_IGNORE, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_WND,
181 REW_GOOD_OBJ, REW_GOOD_OBJ, REW_SER_MONS, REW_HEAL_FUL, REW_GAIN_EXP,
182 REW_GAIN_ABL, REW_CHAOS_WP, REW_GOOD_OBS, REW_GREA_OBJ, REW_AUGM_ABL
185 /* Narjhan, Lord of Beggars: */
187 REW_WRATH, REW_CURSE_AR, REW_CURSE_WP, REW_CURSE_WP, REW_CURSE_AR,
188 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF,
189 REW_POLY_WND, REW_HEAL_FUL, REW_HEAL_FUL, REW_GAIN_EXP, REW_AUGM_ABL,
190 REW_GOOD_OBJ, REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_GREA_OBS
193 /* Balo the Jester: */
195 REW_WRATH, REW_SER_DEMO, REW_CURSE_WP, REW_CURSE_AR, REW_LOSE_EXP,
196 REW_GAIN_ABL, REW_LOSE_ABL, REW_POLY_WND, REW_POLY_SLF, REW_IGNORE,
197 REW_DESTRUCT, REW_MASS_GEN, REW_CHAOS_WP, REW_GREA_OBJ, REW_HURT_LOT,
198 REW_AUGM_ABL, REW_RUIN_ABL, REW_H_SUMMON, REW_GREA_OBS, REW_AUGM_ABL
201 /* Khorne the Bloodgod: */
203 REW_WRATH, REW_HURT_LOT, REW_HURT_LOT, REW_H_SUMMON, REW_H_SUMMON,
204 REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_SER_MONS, REW_SER_DEMO,
205 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GOOD_OBJ,
206 REW_CHAOS_WP, REW_GOOD_OBS, REW_GOOD_OBS, REW_GREA_OBJ, REW_GREA_OBS
211 REW_WRATH, REW_PISS_OFF, REW_PISS_OFF, REW_RUIN_ABL, REW_LOSE_ABL,
212 REW_LOSE_EXP, REW_IGNORE, REW_IGNORE, REW_POLY_WND, REW_SER_DEMO,
213 REW_POLY_SLF, REW_HEAL_FUL, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GAIN_EXP,
214 REW_GAIN_EXP, REW_CHAOS_WP, REW_GAIN_ABL, REW_GREA_OBJ, REW_AUGM_ABL
219 REW_WRATH, REW_PISS_OFF, REW_HURT_LOT, REW_RUIN_ABL, REW_LOSE_ABL,
220 REW_LOSE_EXP, REW_IGNORE, REW_IGNORE, REW_IGNORE, REW_POLY_SLF,
221 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_GOOD_OBJ, REW_GAIN_ABL,
222 REW_GAIN_ABL, REW_SER_UNDE, REW_CHAOS_WP, REW_GREA_OBJ, REW_AUGM_ABL
227 REW_WRATH, REW_CURSE_WP, REW_CURSE_AR, REW_RUIN_ABL, REW_LOSE_ABL,
228 REW_LOSE_EXP, REW_IGNORE, REW_POLY_SLF, REW_POLY_SLF, REW_POLY_SLF,
229 REW_POLY_SLF, REW_POLY_WND, REW_HEAL_FUL, REW_CHAOS_WP, REW_GREA_OBJ,
230 REW_GAIN_ABL, REW_GAIN_ABL, REW_GAIN_EXP, REW_GAIN_EXP, REW_AUGM_ABL
235 REW_WRATH, REW_HURT_LOT, REW_PISS_OFF, REW_LOSE_ABL, REW_LOSE_EXP,
236 REW_IGNORE, REW_IGNORE, REW_DISPEL_C, REW_DO_HAVOC, REW_DO_HAVOC,
237 REW_POLY_SLF, REW_POLY_SLF, REW_GAIN_EXP, REW_GAIN_ABL, REW_GAIN_ABL,
238 REW_SER_MONS, REW_GOOD_OBJ, REW_CHAOS_WP, REW_GREA_OBJ, REW_GOOD_OBS
243 void gain_level_reward(player_type *creature_ptr, int chosen_reward)
245 char wrath_reason[32] = "";
246 int nasty_chance = 6;
249 concptr reward = NULL;
250 GAME_TEXT o_name[MAX_NLEN];
256 if (creature_ptr->suppress_multi_reward) return;
257 else creature_ptr->suppress_multi_reward = TRUE;
261 if (creature_ptr->lev == 13) nasty_chance = 2;
262 else if (!(creature_ptr->lev % 13)) nasty_chance = 3;
263 else if (!(creature_ptr->lev % 14)) nasty_chance = 12;
265 if (one_in_(nasty_chance))
266 type = randint1(20); /* Allow the 'nasty' effects */
268 type = randint1(15) + 5; /* Or disallow them */
270 if (type < 1) type = 1;
271 if (type > 20) type = 20;
275 sprintf(wrath_reason, _("%sの怒り", "the Wrath of %s"), chaos_patrons[creature_ptr->chaos_patron]);
277 effect = chaos_rewards[creature_ptr->chaos_patron][type];
279 if (one_in_(6) && !chosen_reward)
281 msg_format(_("%^sは褒美としてあなたを突然変異させた。", "%^s rewards you with a mutation!"), chaos_patrons[creature_ptr->chaos_patron]);
282 (void)gain_mutation(creature_ptr, 0);
283 reward = _("変異した。", "mutation");
287 switch (chosen_reward ? chosen_reward : effect)
292 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
293 msg_print(_("「汝、新たなる姿を必要とせり!」", "'Thou needst a new form, mortal!'"));
295 do_poly_self(creature_ptr);
296 reward = _("変異した。", "polymorphing");
301 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
302 msg_print(_("「汝は良く行いたり!続けよ!」", "'Well done, mortal! Lead on!'"));
304 if (creature_ptr->prace == RACE_ANDROID)
306 msg_print(_("しかし何も起こらなかった。", "But, nothing happen."));
308 else if (creature_ptr->exp < PY_MAX_EXP)
310 s32b ee = (creature_ptr->exp / 2) + 10;
311 if (ee > 100000L) ee = 100000L;
312 msg_print(_("更に経験を積んだような気がする。", "You feel more experienced."));
314 gain_exp(creature_ptr, ee);
315 reward = _("経験値を得た", "experience");
321 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
322 msg_print(_("「下僕よ、汝それに値せず。」", "'Thou didst not deserve that, slave.'"));
324 if (creature_ptr->prace == RACE_ANDROID)
326 msg_print(_("しかし何も起こらなかった。", "But, nothing happen."));
330 lose_exp(creature_ptr, creature_ptr->exp / 6);
331 reward = _("経験値を失った。", "losing experience");
336 msg_format(_("%sの声がささやいた:", "The voice of %s whispers:"), chaos_patrons[creature_ptr->chaos_patron]);
337 msg_print(_("「我が与えし物を賢明に使うべし。」", "'Use my gift wisely.'"));
339 acquirement(creature_ptr, creature_ptr->y, creature_ptr->x, 1, FALSE, FALSE, FALSE);
340 reward = _("上質なアイテムを手に入れた。", "a good item");
345 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
346 msg_print(_("「我が与えし物を賢明に使うべし。」", "'Use my gift wisely.'"));
348 acquirement(creature_ptr, creature_ptr->y, creature_ptr->x, 1, TRUE, FALSE, FALSE);
349 reward = _("高級品のアイテムを手に入れた。", "an excellent item");
353 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
354 msg_print(_("「汝の行いは貴き剣に値せり。」", "'Thy deed hath earned thee a worthy blade.'"));
355 acquire_chaos_weapon(creature_ptr);
356 reward = _("(混沌)の武器を手に入れた。", "chaos weapon");
361 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
362 msg_print(_("「汝の行いは貴き報いに値せり。」", "'Thy deed hath earned thee a worthy reward.'"));
364 acquirement(creature_ptr, creature_ptr->y, creature_ptr->x, randint1(2) + 1, FALSE, FALSE, FALSE);
365 reward = _("上質なアイテムを手に入れた。", "good items");
370 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
371 msg_print(_("「下僕よ、汝の献身への我が惜しみ無き報いを見るがよい。」", "'Behold, mortal, how generously I reward thy loyalty.'"));
373 acquirement(creature_ptr, creature_ptr->y, creature_ptr->x, randint1(2) + 1, TRUE, FALSE, FALSE);
374 reward = _("高級品のアイテムを手に入れた。", "excellent items");
378 msg_format(_("%sの声が轟き渡った:", "The voice of %s thunders:"), chaos_patrons[creature_ptr->chaos_patron]);
379 msg_print(_("「下僕よ、汝傲慢なり。」", "'Thou art growing arrogant, mortal.'"));
381 (void)activate_ty_curse(creature_ptr, FALSE, &count);
382 reward = _("禍々しい呪いをかけられた。", "cursing");
387 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
388 msg_print(_("「我が下僕たちよ、かの傲慢なる者を倒すべし!」", "'My pets, destroy the arrogant mortal!'"));
390 for (dummy = 0; dummy < randint1(5) + 1; dummy++)
392 (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));
394 reward = _("モンスターを召喚された。", "summoning hostile monsters");
400 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
401 msg_print(_("「汝、より強き敵を必要とせり!」", "'Thou needst worthier opponents!'"));
403 activate_hi_summon(creature_ptr, creature_ptr->y, creature_ptr->x, FALSE);
404 reward = _("モンスターを召喚された。", "summoning many hostile monsters");
409 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
410 msg_print(_("「死と破壊こそ我が喜びなり!」", "'Death and destruction! This pleaseth me!'"));
412 call_chaos(creature_ptr);
413 reward = _("カオスの力が渦巻いた。", "calling chaos");
418 msg_format(_("%sの声が鳴り響いた:", "The voice of %s rings out:"), chaos_patrons[creature_ptr->chaos_patron]);
419 msg_print(_("「留まるのだ、下僕よ。余が汝の肉体を鍛えん。」", "'Stay, mortal, and let me mold thee.'"));
421 if (one_in_(3) && !(chaos_stats[creature_ptr->chaos_patron] < 0))
422 do_inc_stat(creature_ptr, chaos_stats[creature_ptr->chaos_patron]);
424 do_inc_stat(creature_ptr, randint0(6));
425 reward = _("能力値が上がった。", "increasing a stat");
430 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
431 msg_print(_("「下僕よ、余は汝に飽みたり。」", "'I grow tired of thee, mortal.'"));
433 if (one_in_(3) && !(chaos_stats[creature_ptr->chaos_patron] < 0))
434 do_dec_stat(creature_ptr, chaos_stats[creature_ptr->chaos_patron]);
436 (void)do_dec_stat(creature_ptr, randint0(6));
437 reward = _("能力値が下がった。", "decreasing a stat");
443 msg_format(_("%sの声が轟き渡った:", "The voice of %s thunders:"), chaos_patrons[creature_ptr->chaos_patron]);
444 msg_print(_("「汝、謙虚たることを学ぶべし!」", "'Thou needst a lesson in humility, mortal!'"));
445 msg_print(_("あなたは以前より弱くなった!", "You feel less powerful!"));
447 for (dummy = 0; dummy < A_MAX; dummy++)
449 (void)dec_stat(creature_ptr, dummy, 10 + randint1(15), TRUE);
451 reward = _("全能力値が下がった。", "decreasing all stats");
456 msg_format(_("%sの力が触れるのを感じた。", "You feel the power of %s touch you."),
457 chaos_patrons[creature_ptr->chaos_patron]);
458 do_poly_wounds(creature_ptr);
459 reward = _("傷が変化した。", "polymorphing wounds");
464 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
466 msg_print(_("「我がささやかなる賜物を受けとるがよい!」", "'Receive this modest gift from me!'"));
468 for (dummy = 0; dummy < A_MAX; dummy++)
470 (void)do_inc_stat(creature_ptr, dummy);
472 reward = _("全能力値が上がった。", "increasing all stats");
477 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
478 msg_print(_("「苦しむがよい、無能な愚か者よ!」", "'Suffer, pathetic fool!'"));
480 fire_ball(creature_ptr, GF_DISINTEGRATE, 0, creature_ptr->lev * 4, 4);
481 take_hit(creature_ptr, DAMAGE_NOESCAPE, creature_ptr->lev * 4, wrath_reason, -1);
482 reward = _("分解の球が発生した。", "generating disintegration ball");
487 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
488 (void)restore_level(creature_ptr);
489 (void)restore_all_status(creature_ptr);
490 (void)true_healing(creature_ptr, 5000);
491 reward = _("体力が回復した。", "healing");
496 if (!has_melee_weapon(creature_ptr, INVEN_RARM) && !has_melee_weapon(creature_ptr, INVEN_LARM)) break;
497 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
498 msg_print(_("「汝、武器に頼ることなかれ。」", "'Thou reliest too much on thy weapon.'"));
501 if (has_melee_weapon(creature_ptr, INVEN_LARM))
504 if (has_melee_weapon(creature_ptr, INVEN_RARM) && one_in_(2)) dummy = INVEN_RARM;
506 object_desc(creature_ptr, o_name, &creature_ptr->inventory_list[dummy], OD_NAME_ONLY);
507 (void)curse_weapon_object(creature_ptr, FALSE, &creature_ptr->inventory_list[dummy]);
508 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
513 if (!creature_ptr->inventory_list[INVEN_BODY].k_idx) break;
514 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
515 msg_print(_("「汝、防具に頼ることなかれ。」", "'Thou reliest too much on thine equipment.'"));
517 object_desc(creature_ptr, o_name, &creature_ptr->inventory_list[INVEN_BODY], OD_NAME_ONLY);
518 (void)curse_armor(creature_ptr);
519 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
524 msg_format(_("%sの声がささやいた:", "The voice of %s whispers:"), chaos_patrons[creature_ptr->chaos_patron]);
525 msg_print(_("「我を怒りしめた罪を償うべし。」", "'Now thou shalt pay for annoying me.'"));
530 (void)activate_ty_curse(creature_ptr, FALSE, &count);
531 reward = _("禍々しい呪いをかけられた。", "cursing");
534 activate_hi_summon(creature_ptr, creature_ptr->y, creature_ptr->x, FALSE);
535 reward = _("モンスターを召喚された。", "summoning hostile monsters");
540 if (!has_melee_weapon(creature_ptr, INVEN_RARM) && !has_melee_weapon(creature_ptr, INVEN_LARM)) break;
542 if (has_melee_weapon(creature_ptr, INVEN_LARM))
545 if (has_melee_weapon(creature_ptr, INVEN_RARM) && one_in_(2)) dummy = INVEN_RARM;
547 object_desc(creature_ptr, o_name, &creature_ptr->inventory_list[dummy], OD_NAME_ONLY);
548 (void)curse_weapon_object(creature_ptr, FALSE, &creature_ptr->inventory_list[dummy]);
549 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
553 if (!creature_ptr->inventory_list[INVEN_BODY].k_idx) break;
554 object_desc(creature_ptr, o_name, &creature_ptr->inventory_list[INVEN_BODY], OD_NAME_ONLY);
555 (void)curse_armor(creature_ptr);
556 reward = format(_("%sが破壊された。", "destroying %s"), o_name);
560 for (dummy = 0; dummy < A_MAX; dummy++)
562 (void)dec_stat(creature_ptr, dummy, 10 + randint1(15), TRUE);
564 reward = _("全能力値が下がった。", "decreasing all stats");
571 msg_format(_("%sの声が轟き渡った:", "The voice of %s thunders:"), chaos_patrons[creature_ptr->chaos_patron]);
572 msg_print(_("「死ぬがよい、下僕よ!」", "'Die, mortal!'"));
574 take_hit(creature_ptr, DAMAGE_LOSELIFE, creature_ptr->lev * 4, wrath_reason, -1);
575 for (dummy = 0; dummy < A_MAX; dummy++)
577 (void)dec_stat(creature_ptr, dummy, 10 + randint1(15), FALSE);
579 activate_hi_summon(creature_ptr, creature_ptr->y, creature_ptr->x, FALSE);
580 (void)activate_ty_curse(creature_ptr, FALSE, &count);
585 if (has_melee_weapon(creature_ptr, INVEN_RARM))
588 if (has_melee_weapon(creature_ptr, INVEN_LARM) && one_in_(2)) dummy = INVEN_LARM;
590 else if (has_melee_weapon(creature_ptr, INVEN_LARM)) dummy = INVEN_LARM;
592 if (dummy) (void)curse_weapon_object(creature_ptr, FALSE, &creature_ptr->inventory_list[dummy]);
594 if (one_in_(2)) (void)curse_armor(creature_ptr);
599 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
600 msg_print(_("「死と破壊こそ我が喜びなり!」", "'Death and destruction! This pleaseth me!'"));
602 (void)destroy_area(creature_ptr, creature_ptr->y, creature_ptr->x, 25, FALSE);
603 reward = _("ダンジョンが*破壊*された。", "*destruct*ing dungeon");
608 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
609 msg_print(_("「我、汝の敵を抹殺せん!」", "'Let me relieve thee of thine oppressors!'"));
610 (void)symbol_genocide(creature_ptr, 0, FALSE);
611 reward = _("モンスターが抹殺された。", "genociding monsters");
616 msg_format(_("%sの声が響き渡った:", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
617 msg_print(_("「我、汝の敵を抹殺せん!」", "'Let me relieve thee of thine oppressors!'"));
619 (void)mass_genocide(creature_ptr, 0, FALSE);
620 reward = _("モンスターが抹殺された。", "genociding nearby monsters");
625 msg_format(_("%sの力が敵を攻撃するのを感じた!", "You can feel the power of %s assault your enemies!"), chaos_patrons[creature_ptr->chaos_patron]);
626 (void)dispel_monsters(creature_ptr, creature_ptr->lev * 4);
631 msg_format(_("%sはあなたを無視した。", "%s ignores you."), chaos_patrons[creature_ptr->chaos_patron]);
636 msg_format(_("%sは褒美として悪魔の使いをよこした!", "%s rewards you with a demonic servant!"), chaos_patrons[creature_ptr->chaos_patron]);
638 if (!summon_specific(creature_ptr, -1, creature_ptr->y, creature_ptr->x, creature_ptr->current_floor_ptr->dun_level, SUMMON_DEMON, PM_FORCE_PET))
639 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
641 reward = _("悪魔がペットになった。", "a demonic servant");
646 msg_format(_("%sは褒美として使いをよこした!", "%s rewards you with a servant!"), chaos_patrons[creature_ptr->chaos_patron]);
648 if (!summon_specific(creature_ptr, -1, creature_ptr->y, creature_ptr->x, creature_ptr->current_floor_ptr->dun_level, 0, PM_FORCE_PET))
649 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
651 reward = _("モンスターがペットになった。", "a servant");
656 msg_format(_("%sは褒美としてアンデッドの使いをよこした。", "%s rewards you with an undead servant!"), chaos_patrons[creature_ptr->chaos_patron]);
658 if (!summon_specific(creature_ptr, -1, creature_ptr->y, creature_ptr->x, creature_ptr->current_floor_ptr->dun_level, SUMMON_UNDEAD, PM_FORCE_PET))
659 msg_print(_("何も現れなかった...", "Nobody ever turns up..."));
661 reward = _("アンデッドがペットになった。", "an undead servant");
666 msg_format(_("%sの声がどもった:", "The voice of %s stammers:"), chaos_patrons[creature_ptr->chaos_patron]);
667 msg_format(_("「あー、あー、答えは %d/%d。質問は何?」", "'Uh... uh... the answer's %d/%d, what's the question?'"), type, effect);
673 exe_write_diary(creature_ptr, DIARY_DESCRIPTION, 0, format(_("パトロンの報酬で%s", "The patron rewarded you with %s."), reward));
677 void admire_from_patron(player_type *creature_ptr)
679 if ((creature_ptr->pclass == CLASS_CHAOS_WARRIOR) || (creature_ptr->muta2 & MUT2_CHAOS_GIFT))
681 msg_format(_("%sからの声が響いた。", "The voice of %s booms out:"), chaos_patrons[creature_ptr->chaos_patron]);
682 msg_print(_("『よくやった、定命の者よ!』", "'Thou art donst well, mortal!'"));