#include "target/target-getter.h"
#include "view/display-messages.h"
-bool activate_bladeturner(player_type *user_ptr)
+bool activate_bladeturner(player_type *player_ptr)
{
DIRECTION dir;
- if (!get_aim_dir(user_ptr, &dir))
+ if (!get_aim_dir(player_ptr, &dir))
return false;
msg_print(_("あなたはエレメントのブレスを吐いた。", "You breathe the elements."));
- fire_breath(user_ptr, GF_MISSILE, dir, 300, 4);
+ fire_breath(player_ptr, GF_MISSILE, dir, 300, 4);
msg_print(_("鎧が様々な色に輝いた...", "Your armor glows many colours..."));
- (void)set_afraid(user_ptr, 0);
- (void)set_hero(user_ptr, randint1(50) + 50, false);
- (void)hp_player(user_ptr, 10);
- (void)set_blessed(user_ptr, randint1(50) + 50, false);
- (void)set_oppose_acid(user_ptr, randint1(50) + 50, false);
- (void)set_oppose_elec(user_ptr, randint1(50) + 50, false);
- (void)set_oppose_fire(user_ptr, randint1(50) + 50, false);
- (void)set_oppose_cold(user_ptr, randint1(50) + 50, false);
- (void)set_oppose_pois(user_ptr, randint1(50) + 50, false);
+ (void)BadStatusSetter(player_ptr).afraidness(0);
+ (void)set_hero(player_ptr, randint1(50) + 50, false);
+ (void)hp_player(player_ptr, 10);
+ (void)set_blessed(player_ptr, randint1(50) + 50, false);
+ (void)set_oppose_acid(player_ptr, randint1(50) + 50, false);
+ (void)set_oppose_elec(player_ptr, randint1(50) + 50, false);
+ (void)set_oppose_fire(player_ptr, randint1(50) + 50, false);
+ (void)set_oppose_cold(player_ptr, randint1(50) + 50, false);
+ (void)set_oppose_pois(player_ptr, randint1(50) + 50, false);
return true;
}