diff --git a/res/cardsfolder/bloodghast.txt b/res/cardsfolder/bloodghast.txt index 8fb3b105059..1d4d48167fb 100644 --- a/res/cardsfolder/bloodghast.txt +++ b/res/cardsfolder/bloodghast.txt @@ -9,4 +9,5 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.Y SVar:TrigChange:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Battlefield SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/bloodghast.jpg +SetInfo:ZEN|Rare|http://magiccards.info/scans/en/zen/83.jpg End \ No newline at end of file diff --git a/res/cardsfolder/bonehoard.txt b/res/cardsfolder/bonehoard.txt index 39ee57f7cec..04faf15707f 100644 --- a/res/cardsfolder/bonehoard.txt +++ b/res/cardsfolder/bonehoard.txt @@ -8,4 +8,5 @@ K:Living Weapon SVar:X:Count$TypeInAllYards.Creature SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/bonehoard.jpg +SetInfo:MBS|Rare|http://magiccards.info/scans/en/mbs/100.jpg End \ No newline at end of file diff --git a/res/cardsfolder/flayer_husk.txt b/res/cardsfolder/flayer_husk.txt index 836df2cec11..1d485ec7503 100644 --- a/res/cardsfolder/flayer_husk.txt +++ b/res/cardsfolder/flayer_husk.txt @@ -6,4 +6,5 @@ K:eqPump 2:+1/+1 K:Living Weapon SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/flayer_husk.jpg +SetInfo:MBS|Common|http://magiccards.info/scans/en/mbs/107.jpg End \ No newline at end of file diff --git a/res/cardsfolder/lightwielder_paladin.txt b/res/cardsfolder/lightwielder_paladin.txt index 0db87dc0826..c0f023f2c1b 100644 --- a/res/cardsfolder/lightwielder_paladin.txt +++ b/res/cardsfolder/lightwielder_paladin.txt @@ -7,4 +7,5 @@ T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Opponent | CombatDama SVar:TrigExile:AB$ChangeZone | Cost$ 0 | ValidTgts$ Permanent.Black+YouDontCtrl,Permanent.Red+YouDontCtrl | TgtPrompt$ Choose target black or red permanent. | Origin$ Battlefield | Destination$ Exile | IsCurse$ True SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/lightwielder_paladin.jpg +SetInfo:M10|Rare|http://magiccards.info/scans/en/m10/19.jpg End \ No newline at end of file diff --git a/res/cardsfolder/marshals_anthem.txt b/res/cardsfolder/marshals_anthem.txt index 62444186251..fdca42b93c9 100644 --- a/res/cardsfolder/marshals_anthem.txt +++ b/res/cardsfolder/marshals_anthem.txt @@ -10,4 +10,5 @@ SVar:X:Count$TimesKicked SVar:RemAIDeck:True SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/marshals_anthem.jpg -End +SetInfo:WWK|Rare|http://magiccards.info/scans/en/wwk/15.jpg +End \ No newline at end of file diff --git a/res/cardsfolder/moat.txt b/res/cardsfolder/moat.txt index aa4d283cf2d..278a36dc203 100644 --- a/res/cardsfolder/moat.txt +++ b/res/cardsfolder/moat.txt @@ -6,4 +6,5 @@ K:stPumpAll:Creature.withoutFlying:0/0/HIDDEN CARDNAME can't attack.:No Conditio SVar:RemAIDeck:True SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/moat.jpg +SetInfo:LEG|Rare|http://magiccards.info/scans/en/lg/197.jpg End \ No newline at end of file diff --git a/res/cardsfolder/mudbrawler_raiders.txt b/res/cardsfolder/mudbrawler_raiders.txt index 8155856e079..221041b3c75 100644 --- a/res/cardsfolder/mudbrawler_raiders.txt +++ b/res/cardsfolder/mudbrawler_raiders.txt @@ -6,4 +6,5 @@ PT:3/3 K:CantBeBlockedBy Creature.Blue SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/mudbrawler_raiders.jpg +SetInfo:SHM|Common|http://magiccards.info/scans/en/shm/213.jpg End \ No newline at end of file diff --git a/res/cardsfolder/mudbutton_torchrunner.txt b/res/cardsfolder/mudbutton_torchrunner.txt index 7350e6cd153..32ea8db1828 100644 --- a/res/cardsfolder/mudbutton_torchrunner.txt +++ b/res/cardsfolder/mudbutton_torchrunner.txt @@ -1,8 +1,10 @@ Name:Mudbutton Torchrunner ManaCost:2 R Types:Creature Goblin Warrior -Text:When Mudbutton Torchrunner is put into a graveyard from play, it deals 3 damage to target creature or player. +Text:no text PT:1/1 +T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, it deals 3 damage to target creature or player. +SVar:TrigDealDamage:AB$DealDamage | Cost$ 0 | Tgt$ TgtCP | NumDmg$ 3 SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/mudbutton_torchrunner.jpg SetInfo:LRW|Common|http://magiccards.info/scans/en/lw/185.jpg diff --git a/res/cardsfolder/noggle_bandit.txt b/res/cardsfolder/noggle_bandit.txt index 5ff93061c53..5c118051d4c 100644 --- a/res/cardsfolder/noggle_bandit.txt +++ b/res/cardsfolder/noggle_bandit.txt @@ -6,4 +6,5 @@ PT:2/2 K:CantBeBlockedBy Creature.withoutDefender SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/noggle_bandit.jpg +SetInfo:EVE|Common|http://magiccards.info/scans/en/eve/106.jpg End \ No newline at end of file diff --git a/res/cardsfolder/noggle_hedge_mage.txt b/res/cardsfolder/noggle_hedge_mage.txt index 82d9605b4a4..7a8cacdc6ca 100644 --- a/res/cardsfolder/noggle_hedge_mage.txt +++ b/res/cardsfolder/noggle_hedge_mage.txt @@ -9,4 +9,5 @@ SVar:TrigTap:AB$Tap | Cost$ 0 | TargetMin$ 2 | TargetMax$ 2 | ValidTgts$ Permane SVar:TrigDamage:AB$DealDamage | Cost$ 0 | Tgt$ TgtP | NumDmg$ 2 SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/noggle_hedge_mage.jpg +SetInfo:EVE|Uncommon|http://magiccards.info/scans/en/eve/108.jpg End \ No newline at end of file diff --git a/res/cardsfolder/opaline_bracers.txt b/res/cardsfolder/opaline_bracers.txt index 6ed46821282..46c77782a95 100644 --- a/res/cardsfolder/opaline_bracers.txt +++ b/res/cardsfolder/opaline_bracers.txt @@ -8,4 +8,5 @@ K:Sunburst SVar:X:Count$CardCounters.CHARGE SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/opaline_bracers.jpg +SetInfo:5DN|Common|http://magiccards.info/scans/en/5dn/141.jpg End \ No newline at end of file diff --git a/res/cardsfolder/phyrexian_hydra.txt b/res/cardsfolder/phyrexian_hydra.txt index 3203480a4f2..2359475728f 100644 --- a/res/cardsfolder/phyrexian_hydra.txt +++ b/res/cardsfolder/phyrexian_hydra.txt @@ -6,4 +6,5 @@ PT:7/7 K:Infect SVar:Rarity:Rare SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_hydra.jpg +SetInfo:MBS|Rare|http://magiccards.info/scans/en/mbs/85.jpg End \ No newline at end of file diff --git a/res/cardsfolder/ravens_run_dragoon.txt b/res/cardsfolder/ravens_run_dragoon.txt index db6af5cf238..4dc102ef3d9 100644 --- a/res/cardsfolder/ravens_run_dragoon.txt +++ b/res/cardsfolder/ravens_run_dragoon.txt @@ -6,4 +6,5 @@ PT:3/3 K:CantBeBlockedBy Creature.Black SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/ravens_run_dragoon.jpg +SetInfo:SHM|Common|http://magiccards.info/scans/en/shm/235.jpg End \ No newline at end of file diff --git a/res/cardsfolder/relic_crush.txt b/res/cardsfolder/relic_crush.txt index 8e9e05db380..ba4e36ae3ba 100644 --- a/res/cardsfolder/relic_crush.txt +++ b/res/cardsfolder/relic_crush.txt @@ -6,5 +6,5 @@ A:SP$Destroy | Cost$ 4 G | ValidTgts$ Artifact,Enchantment | TargetMin$ 1 | Targ SVar:RemAIDeck:True SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/Relic_Crush.jpg -End - +SetInfo:ZEN|Common|http://magiccards.info/scans/en/zen/179.jpg +End \ No newline at end of file diff --git a/res/cardsfolder/ruinous_minotaur.txt b/res/cardsfolder/ruinous_minotaur.txt index ec30d919936..a3edbaef284 100644 --- a/res/cardsfolder/ruinous_minotaur.txt +++ b/res/cardsfolder/ruinous_minotaur.txt @@ -7,4 +7,5 @@ T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | TriggerZones SVar:TrigSacrifice:AB$Sacrifice | Cost$ 0 | SacValid$ Land | Defined$ You SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/Ruinous_Minotaur.jpg -End +SetInfo:ZEN|Common|http://magiccards.info/scans/en/zen/145.jpg +End \ No newline at end of file diff --git a/res/cardsfolder/sacred_knight.txt b/res/cardsfolder/sacred_knight.txt index 9e4a56c5140..fa619aa1e4e 100644 --- a/res/cardsfolder/sacred_knight.txt +++ b/res/cardsfolder/sacred_knight.txt @@ -6,4 +6,5 @@ PT:3/2 K:CantBeBlockedBy Creature.Black,Creature.Red SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/sacred_knight.jpg +SetInfo:POR|Common|http://magiccards.info/scans/en/po/186.jpg End \ No newline at end of file diff --git a/res/cardsfolder/skinwing.txt b/res/cardsfolder/skinwing.txt index a87867578e3..1994c28417c 100644 --- a/res/cardsfolder/skinwing.txt +++ b/res/cardsfolder/skinwing.txt @@ -6,4 +6,5 @@ K:eqPump 6:+2/+2/Flying K:Living Weapon SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/skinwing.jpg +SetInfo:MBS|Uncommon|http://magiccards.info/scans/en/mbs/133.jpg End \ No newline at end of file diff --git a/res/cardsfolder/soul_stair_expedition.txt b/res/cardsfolder/soul_stair_expedition.txt index 10cb7457694..1c526100932 100644 --- a/res/cardsfolder/soul_stair_expedition.txt +++ b/res/cardsfolder/soul_stair_expedition.txt @@ -8,5 +8,5 @@ SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ QUEST SVar:RemAIDeck:True SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/Soul_Stair_Expedition.jpg -End - +SetInfo:ZEN|Common|http://magiccards.info/scans/en/zen/112.jpg +End \ No newline at end of file diff --git a/res/cardsfolder/strandwalker.txt b/res/cardsfolder/strandwalker.txt index 538c33e836c..b65b99ef7b8 100644 --- a/res/cardsfolder/strandwalker.txt +++ b/res/cardsfolder/strandwalker.txt @@ -6,4 +6,5 @@ K:eqPump 4:+2/+4/Reach K:Living Weapon SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/strandwalker.jpg +SetInfo:MBS|Uncommon|http://magiccards.info/scans/en/mbs/137.jpg End \ No newline at end of file diff --git a/res/cardsfolder/summoners_bane.txt b/res/cardsfolder/summoners_bane.txt index f135f094243..767eff4776a 100644 --- a/res/cardsfolder/summoners_bane.txt +++ b/res/cardsfolder/summoners_bane.txt @@ -6,5 +6,5 @@ A:SP$Counter | Cost$ 2 U U | ValidCard$ Creature | Destination$ Graveyard | SubA SVar:DBToken:DB$Token | TokenAmount$ 1 | TokenName$ Illusion | TokenTypes$ Creature,Illusion | TokenOwner$ Controller | TokenColors$ Blue | TokenPower$ 2 | TokenToughness$ 2 | TokenImage$ B 2 2 Illusion SVar:Rarity:Uncommon SVar:Picture:http://www.wizards.com/global/images/magic/general/summoners_bane.jpg -End - +SetInfo:ZEN|Uncommon|http://magiccards.info/scans/en/zen/71.jpg +End \ No newline at end of file diff --git a/res/cardsfolder/sunspring_expedition.txt b/res/cardsfolder/sunspring_expedition.txt index 0539d1ea18f..9deb28d5313 100644 --- a/res/cardsfolder/sunspring_expedition.txt +++ b/res/cardsfolder/sunspring_expedition.txt @@ -8,4 +8,5 @@ SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ QUEST SVar:RemAIDeck:True SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/sunspring_expedition.jpg +SetInfo:ZEN|Common|http://magiccards.info/scans/en/zen/37.jpg End \ No newline at end of file diff --git a/res/cardsfolder/tajuru_archer.txt b/res/cardsfolder/tajuru_archer.txt index 2cd8d996113..49a28740887 100644 --- a/res/cardsfolder/tajuru_archer.txt +++ b/res/cardsfolder/tajuru_archer.txt @@ -3,10 +3,11 @@ ManaCost:2 G Types:Creature Elf Archer Ally Text:no text PT:1/2 -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Optional$ True | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Optional$ True | Execute$ TrigDamage | TriggerDescription$ Whenever CARDNAME or another Ally enters the battlefield under your control, T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Ally.Other+YouCtrl | Optional$ True | TriggerZones$ Battlefield | Execute$ TrigDamage | TriggerDescription$ you may have CARDNAME deal damage to target creature with flying equal to the number of Allies you control. SVar:TrigDamage:AB$DealDamage | Cost$ 0 | ValidTgts$ Creature.withFlying | NumDmg$ NumAllies | TgtPrompt$ Select a target creature with flying. SVar:NumAllies:Count$Valid Ally.YouCtrl SVar:Picture:http://www.wizards.com/global/images/magic/general/tajuru_archer.jpg SVar:Rarity:Uncommon +SetInfo:ZEN|Uncommon|http://magiccards.info/scans/en/zen/185.jpg End \ No newline at end of file diff --git a/res/cardsfolder/tempest_owl.txt b/res/cardsfolder/tempest_owl.txt index 1272f20cc1d..27c1e6c368e 100644 --- a/res/cardsfolder/tempest_owl.txt +++ b/res/cardsfolder/tempest_owl.txt @@ -9,4 +9,5 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigTap:AB$Tap | Cost$ 0 | TargetMin$ 0 | TargetMax$ 3 | TgtPrompt$ Select up to three target permanents | ValidTgts$ Permanent SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/tempest_owl.jpg -End +SetInfo:ZEN|Common|http://magiccards.info/scans/en/zen/72.jpg +End \ No newline at end of file diff --git a/res/cardsfolder/torch_slinger.txt b/res/cardsfolder/torch_slinger.txt index fa3e55accb2..bb72566cae5 100644 --- a/res/cardsfolder/torch_slinger.txt +++ b/res/cardsfolder/torch_slinger.txt @@ -8,4 +8,5 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S SVar:TrigDamage:AB$DealDamage | Cost$ 0 | Tgt$ TgtC | NumDmg$ 2 SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/torch_slinger.jpg +SetInfo:ZEN|Common|http://magiccards.info/scans/en/zen/151.jpg End \ No newline at end of file diff --git a/res/cardsfolder/zektar_shrine_expedition.txt b/res/cardsfolder/zektar_shrine_expedition.txt index 7155aa22e78..a0a3be3cd41 100644 --- a/res/cardsfolder/zektar_shrine_expedition.txt +++ b/res/cardsfolder/zektar_shrine_expedition.txt @@ -8,5 +8,5 @@ SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ QUEST SVar:RemAIDeck:True SVar:Rarity:Common SVar:Picture:http://www.wizards.com/global/images/magic/general/Zektar_Shrine_Expedition.jpg -End - +SetInfo:ZEN|Common|http://magiccards.info/scans/en/zen/155.jpg +End \ No newline at end of file diff --git a/src/forge/CardFactory_Creatures.java b/src/forge/CardFactory_Creatures.java index 3fcbaa103da..e2f5dfbd493 100644 --- a/src/forge/CardFactory_Creatures.java +++ b/src/forge/CardFactory_Creatures.java @@ -425,41 +425,6 @@ public class CardFactory_Creatures { }//*************** END ************ END ************************** - //*************** START *********** START ************************** - else if(cardName.equals("Mudbutton Torchrunner")) { - final SpellAbility ability = new Ability(card, "0") { - @Override - public void resolve() { - if(getTargetCard() != null - && CardFactoryUtil.canTarget(card, getTargetCard())) getTargetCard().addDamage(3, card); - else getTargetPlayer().addDamage(3, card); - } - }; - Command leavesPlay = new Command() { - private static final long serialVersionUID = 2740098107360213191L; - - public void execute() { - if(card.getController().equals(AllZone.HumanPlayer)) AllZone.InputControl.setInput(CardFactoryUtil.input_targetCreaturePlayer( - ability, true, false)); - else { - CardList list = CardFactoryUtil.AI_getHumanCreature(3, card, true); - CardListUtil.sortAttack(list); - - if(MyRandom.percentTrue(50)) CardListUtil.sortFlying(list); - - for(int i = 0; i < list.size(); i++) - if(2 <= list.get(i).getNetAttack()) ability.setTargetCard(list.get(i)); - - if(ability.getTargetCard() == null) ability.setTargetPlayer(AllZone.HumanPlayer); - - AllZone.Stack.add(ability); - } - }//execute() - };//Command - card.addDestroyCommand(leavesPlay); - }//*************** END ************ END ************************** - - //*************** START *********** START ************************** else if(cardName.equals("Crater Hellion")) { final SpellAbility ability = new Ability(card, "0") { diff --git a/src/forge/CombatUtil.java b/src/forge/CombatUtil.java index bc4c6958e62..870ffcb8f4a 100644 --- a/src/forge/CombatUtil.java +++ b/src/forge/CombatUtil.java @@ -754,8 +754,7 @@ public class CombatUtil { public static void showCombat() { AllZone.Display.showCombat(""); - - Card attack[] = AllZone.Combat.getAttackers(); + Card defend[] = null; StringBuilder display = new StringBuilder(); @@ -775,18 +774,19 @@ public class CombatUtil { display.append("Defender - "); display.append(defenders.get(def).toString()); display.append("\n"); - - int len = attackers[def].size(); - //loop through attackers - for(int i = 0; i < len; i++) { + + CardList list = attackers[def]; + + for(Card c : list){ + //loop through attackers display.append("-> "); - display.append(combatantToString(attack[i])).append("\n"); + display.append(combatantToString(c)).append("\n"); - defend = AllZone.Combat.getBlockers(attack[i]).toArray(); + defend = AllZone.Combat.getBlockers(c).toArray(); //loop through blockers for(int inner = 0; inner < defend.length; inner++) { - display.append("---< "); + display.append(" [ "); display.append(combatantToString(defend[inner])).append("\n"); } }//loop through attackers