diff --git a/res/cardsfolder/overwhelming_forces.txt b/res/cardsfolder/overwhelming_forces.txt index 67b6d91b245..514fe08d923 100644 --- a/res/cardsfolder/overwhelming_forces.txt +++ b/res/cardsfolder/overwhelming_forces.txt @@ -1,8 +1,10 @@ Name:Overwhelming Forces ManaCost:6 B B Types:Sorcery -Text:Destroy all creatures target opponent controls. Draw a card for each creature destroyed this way. +Text:no text +A:SP$ DestroyAll | Cost$ 6 B B | ValidCards$ Creature.YouDontCtrl | RememberDestroyed$ True | SubAbility$ SVar=DBDrawCard | SpellDescription$ Destroy all creatures target opponent controls. Draw a card for each creature destroyed this way. +SVar:DBDrawCard:DB$Draw | NumCards$ X +SVar:X:Remembered$Amount SVar:Rarity:Rare -SVar:Picture:http://serv3.tcgimages.eu/img/cards/Portal_Three_Kingdoms/overwhelming_forces.jpg -SetInfo:PTK|Rare|http://magiccards.info/scans/en/p3k/79.jpg +SVar:Picture:http://www.wizards.com/global/images/magic/general/overwhelming_forces.jpg End \ No newline at end of file diff --git a/src/forge/card/cardFactory/CardFactory_Sorceries.java b/src/forge/card/cardFactory/CardFactory_Sorceries.java index 7cc5d6ad83f..7e2fa96ed0d 100644 --- a/src/forge/card/cardFactory/CardFactory_Sorceries.java +++ b/src/forge/card/cardFactory/CardFactory_Sorceries.java @@ -1525,45 +1525,7 @@ public class CardFactory_Sorceries { card.setSpellWithChoices(true); spell.setBeforePayMana(chooseTwoInput); }//*************** END ************ END ************************** - - - //*************** START *********** START ************************** - else if(cardName.equals("Overwhelming Forces")) { - final SpellAbility spell = new Spell(card) { - private static final long serialVersionUID = -7165356050118574287L; - - @Override - public void resolve() { - Player opponent = card.getController().getOpponent(); - PlayerZone play = AllZone.getZone(Constant.Zone.Battlefield, opponent); - - CardList all = new CardList(play.getCards()); - all = all.getType("Creature"); - - for(int i = 0; i < all.size(); i++) { - Card c = all.get(i); - if(c.isCreature()) AllZone.GameAction.destroy(c); - card.getController().drawCard(); - } - }//resolve() - - @Override - public boolean canPlayAI() { - CardList human = new CardList(AllZone.Human_Battlefield.getCards()); - - human = human.getType("Creature"); - human = human.getNotKeyword("Indestructible"); - - // the computer will at least destroy 1 creature - return !human.isEmpty(); - } - };//SpellAbility - - // Do not remove SpellAbilities created by AbilityFactory or Keywords. - card.clearFirstSpellAbility(); - card.addSpellAbility(spell); - }//*************** END ************ END ************************** - + //*************** START *********** START ************************** else if(cardName.equals("Amnesia")) {