From fffbab15abbec9474699c9d1711412f550139e89 Mon Sep 17 00:00:00 2001 From: Joao Paulo Oliveira Fernandes Date: Thu, 15 Feb 2024 23:19:40 -0300 Subject: [PATCH] fix #552 --- base/windows/ItemPsynergyChooseWindow.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/windows/ItemPsynergyChooseWindow.ts b/base/windows/ItemPsynergyChooseWindow.ts index 7a1f4815bb..69f252a876 100644 --- a/base/windows/ItemPsynergyChooseWindow.ts +++ b/base/windows/ItemPsynergyChooseWindow.ts @@ -188,7 +188,8 @@ export class ItemPsynergyChooseWindow { list_length = this.char.abilities.filter(elem_key_name => { const ability = this.element_list[elem_key_name] as Ability; return ( - elem_key_name in this.element_list && (ability.is_field_psynergy || ability.effects_outside_battle) + elem_key_name in this.element_list && + (ability.is_field_psynergy || (!this.setting_shortcut && ability.effects_outside_battle)) ); }).length; } else {