From ab6de1752ff8f6a14ab49245f2cda5a0849f0a36 Mon Sep 17 00:00:00 2001 From: swordshine Date: Wed, 11 Apr 2018 17:48:47 +0800 Subject: [PATCH] - Fixed issue #9 (Angrath, Minotaur Pirate vs. indestructible creatures ) --- .../java/forge/game/ability/effects/DestroyAllEffect.java | 4 ++++ forge-gui/res/cardsfolder/a/angrath_minotaur_pirate.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/forge-game/src/main/java/forge/game/ability/effects/DestroyAllEffect.java b/forge-game/src/main/java/forge/game/ability/effects/DestroyAllEffect.java index 245b6df583a..b1153d558fb 100644 --- a/forge-game/src/main/java/forge/game/ability/effects/DestroyAllEffect.java +++ b/forge-game/src/main/java/forge/game/ability/effects/DestroyAllEffect.java @@ -73,6 +73,10 @@ public class DestroyAllEffect extends SpellAbilityEffect { card.clearRemembered(); } + if (sa.hasParam("RememberAllObjects")) { + card.addRemembered(list); + } + // exclude cards that can't be destroyed at this moment list = CardLists.filter(list, new Predicate() { @Override diff --git a/forge-gui/res/cardsfolder/a/angrath_minotaur_pirate.txt b/forge-gui/res/cardsfolder/a/angrath_minotaur_pirate.txt index 00def07778d..48c542d0d55 100644 --- a/forge-gui/res/cardsfolder/a/angrath_minotaur_pirate.txt +++ b/forge-gui/res/cardsfolder/a/angrath_minotaur_pirate.txt @@ -3,7 +3,7 @@ ManaCost:4 B R Types:Legendary Planeswalker Angrath A:AB$ DamageAll | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | NumDmg$ 1 | ValidTgts$ Opponent | TgtPrompt$ Select an opponent | ValidCards$ Creature | ValidPlayers$ Targeted | ValidDescription$ target opponent and each creature he or she controls. | SpellDescription$ CARDNAME deals 1 damage to target opponent and each creature he or she controls. A:AB$ ChangeZone | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Card.Pirate+YouCtrl | TgtPrompt$ Select target Pirate card in your graveyard. | SpellDescription$ Return target Pirate card from your graveyard to the battlefield. -A:AB$ DestroyAll | Cost$ SubCounter<11/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | ValidCards$ Creature | ValidDescription$ all creatures targeted opponent controls | RememberDestroyed$ True | SubAbility$ DBDealDamage | SpellDescription$ Destroy all creatures target opponent controls. CARDNAME deals damage to that player equal to their total power. +A:AB$ DestroyAll | Cost$ SubCounter<11/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | ValidCards$ Creature | ValidDescription$ all creatures targeted opponent controls | RememberAllObjects$ True | SubAbility$ DBDealDamage | SpellDescription$ Destroy all creatures target opponent controls. CARDNAME deals damage to that player equal to their total power. SVar:DBDealDamage:DB$ DealDamage | Defined$ Targeted | NumDmg$ X | References$ X SVar:X:RememberedLKI$ CardPower SVar:Animate:DB$Animate | Defined$ Targeted | Types$ Zombie | Colors$ Black | Permanent$ True