mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
update
This commit is contained in:
@@ -80,10 +80,9 @@ public class DestroyAllEffect extends SpellAbilityEffect {
|
||||
card.addRemembered(list);
|
||||
}
|
||||
|
||||
if (isOptional && sa.getActivatingPlayer().getController().confirmAction(sa, null, Localizer.getInstance().getMessage("lblWouldYouLikeToDestroyCard",CardTranslation.getTranslatedName(card.getName())), null)) {
|
||||
return;
|
||||
if (isOptional && !sa.getActivatingPlayer().getController().confirmAction(sa, null, Localizer.getInstance().getMessage("lblWouldYouLikeDestroy",(card.getName())), null)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// exclude cards that can't be destroyed at this moment
|
||||
list = CardLists.filter(list, CardPredicates.Presets.CAN_BE_DESTROYED);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user