OSDN Git Service

[Fix] #41137 狂戦士の「怒り」が狂戦士化で使用不能になっている本末転倒を修正 / Fixed Berserker's skill becoming unusa...
authordeskull <deskull@users.sourceforge.jp>
Tue, 12 Jan 2021 14:12:56 +0000 (23:12 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Tue, 12 Jan 2021 14:12:56 +0000 (23:12 +0900)
src/io/input-key-processor.c

index 46397d3..20da27e 100644 (file)
@@ -392,7 +392,7 @@ void process_command(player_type *creature_ptr)
 
                 msg_format(_("反魔法バリアが%sを邪魔した!", "An anti-magic shell disrupts your %s!"), which_power);
                 free_turn(creature_ptr);
-            } else if (is_shero(creature_ptr)) {
+            } else if (is_shero(creature_ptr) && (creature_ptr->pclass != CLASS_BERSERKER)) {
                 msg_format(_("狂戦士化していて頭が回らない!", "You cannot think directly!"));
                 free_turn(creature_ptr);
             } else {