Skip to content

Commit

Permalink
fix #552
Browse files Browse the repository at this point in the history
  • Loading branch information
jjppof committed Feb 16, 2024
1 parent 64e10aa commit fffbab1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/windows/ItemPsynergyChooseWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fffbab1

Please sign in to comment.