1 #include "specific-object/blade-turner.h"
2 #include "core/hp-mp-processor.h"
3 #include "spell-kind/spells-launcher.h"
4 #include "spell/spell-types.h"
5 #include "status/bad-status-setter.h"
6 #include "status/buff-setter.h"
7 #include "status/element-resistance.h"
8 #include "target/target-getter.h"
9 #include "view/display-messages.h"
11 bool activate_bladeturner(player_type *user_ptr)
14 if (!get_aim_dir(user_ptr, &dir))
17 msg_print(_("
\82 \82È
\82½
\82Í
\83G
\83\8c\83\81\83\93\83g
\82Ì
\83u
\83\8c\83X
\82ð
\93f
\82¢
\82½
\81B", "You breathe the elements."));
18 fire_breath(user_ptr, GF_MISSILE, dir, 300, 4);
19 msg_print(_("
\8aZ
\82ª
\97l
\81X
\82È
\90F
\82É
\8bP
\82¢
\82½...", "Your armor glows many colours..."));
20 (void)set_afraid(user_ptr, 0);
21 (void)set_hero(user_ptr, randint1(50) + 50, FALSE);
22 (void)hp_player(user_ptr, 10);
23 (void)set_blessed(user_ptr, randint1(50) + 50, FALSE);
24 (void)set_oppose_acid(user_ptr, randint1(50) + 50, FALSE);
25 (void)set_oppose_elec(user_ptr, randint1(50) + 50, FALSE);
26 (void)set_oppose_fire(user_ptr, randint1(50) + 50, FALSE);
27 (void)set_oppose_cold(user_ptr, randint1(50) + 50, FALSE);
28 (void)set_oppose_pois(user_ptr, randint1(50) + 50, FALSE);