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