リビジョン | 122f6176536d20988132dc7348ff8997dcfeff0f (tree) |
---|---|
日時 | 2021-01-24 19:43:48 |
作者 | deskull <deskull@user...> |
コミッター | deskull |
[Fix] #41174 忍者が盾装備時に表示上も正しく麻痺知らずを失うよう修正. /
Fixed Ninja to lose free-action correctly on display when equipped with a shield.
@@ -74,7 +74,7 @@ static void add_class_flags(player_type *creature_ptr, BIT_FLAGS *flags) | ||
74 | 74 | if ((!creature_ptr->inventory_list[INVEN_RARM].k_idx || has_right_hand_weapon(creature_ptr)) && |
75 | 75 | (!creature_ptr->inventory_list[INVEN_LARM].k_idx || has_left_hand_weapon(creature_ptr))) |
76 | 76 | add_flag(flags, TR_SPEED); |
77 | - if (creature_ptr->lev > 24) | |
77 | + if (creature_ptr->lev > 24 && !creature_ptr->icky_wield[0] && !creature_ptr->icky_wield[1]) | |
78 | 78 | add_flag(flags, TR_FREE_ACT); |
79 | 79 | } |
80 | 80 |