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:14:54 +0000 (23:14 +0900)
src/action/action-limited.c
src/io/input-key-processor.c

index 1a28373..afbb7e6 100644 (file)
@@ -26,7 +26,7 @@ bool cmd_limit_cast(player_type *creature_ptr)
         return TRUE;
     }
 
-    if (is_shero(creature_ptr)) {
+    if (is_shero(creature_ptr) && (creature_ptr->pclass != CLASS_BERSERKER)) {
         msg_format(_("狂戦士化していて頭が回らない!", "You cannot think directly!"));
         return TRUE;
     }
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 {