1 #include "effect/effect-player-oldies.h"
2 #include "core/hp-mp-processor.h"
3 #include "game-option/birth-options.h"
4 #include "monster-race/race-indice-types.h"
5 #include "player/eldritch-horror.h"
6 #include "status/bad-status-setter.h"
7 #include "status/buff-setter.h"
8 #include "view/display-messages.h"
10 void effect_player_old_heal(player_type *target_ptr, effect_player_type *ep_ptr)
12 if (target_ptr->blind)
13 msg_print(_("何らかの攻撃によって気分がよくなった。", "You are hit by something invigorating!"));
15 (void)hp_player(target_ptr, ep_ptr->dam);
19 void effect_player_old_speed(player_type *target_ptr, effect_player_type *ep_ptr)
21 if (target_ptr->blind)
22 msg_print(_("何かで攻撃された!", "You are hit by something!"));
24 (void)set_fast(target_ptr, target_ptr->fast + randint1(5), FALSE);
28 void effect_player_old_slow(player_type *target_ptr)
30 if (target_ptr->blind)
31 msg_print(_("何か遅いもので攻撃された!", "You are hit by something slow!"));
33 (void)set_slow(target_ptr, target_ptr->slow + randint0(4) + 4, FALSE);
36 void effect_player_old_sleep(player_type *target_ptr, effect_player_type *ep_ptr)
38 if (target_ptr->free_act)
41 if (target_ptr->blind)
42 msg_print(_("眠ってしまった!", "You fall asleep!"));
44 if (ironman_nightmare) {
45 msg_print(_("恐ろしい光景が頭に浮かんできた。", "A horrible vision enters your mind."));
47 /* Have some nightmares */
48 sanity_blast(target_ptr, NULL, FALSE);
51 set_paralyzed(target_ptr, target_ptr->paralyzed + ep_ptr->dam);