From aa10845ef05a7c7a47a4978a1024176c973bca01 Mon Sep 17 00:00:00 2001 From: Agetian Date: Mon, 9 Oct 2017 05:42:12 +0000 Subject: [PATCH] - RemAIDeck update: next iteration (letter H). --- .../main/java/forge/ai/ability/ChangeZoneAi.java | 15 +++++++++++++++ .../res/cardsfolder/h/haazda_shield_mate.txt | 3 ++- forge-gui/res/cardsfolder/h/hair_strung_koto.txt | 4 ++-- forge-gui/res/cardsfolder/h/hammer_mage.txt | 2 +- forge-gui/res/cardsfolder/h/harabaz_druid.txt | 1 - .../res/cardsfolder/h/harbinger_of_night.txt | 5 +++-- forge-gui/res/cardsfolder/h/haunting_echoes.txt | 5 ++++- forge-gui/res/cardsfolder/h/havengul_skaab.txt | 4 ++-- forge-gui/res/cardsfolder/h/havoc_demon.txt | 2 +- forge-gui/res/cardsfolder/h/haze_of_pollen.txt | 1 - forge-gui/res/cardsfolder/h/headlong_rush.txt | 1 - forge-gui/res/cardsfolder/h/heart_wolf.txt | 1 - forge-gui/res/cardsfolder/h/hearth_charm.txt | 1 - forge-gui/res/cardsfolder/h/hearth_kami.txt | 1 - .../res/cardsfolder/h/heartless_summoning.txt | 3 ++- forge-gui/res/cardsfolder/h/heaven_earth.txt | 2 +- forge-gui/res/cardsfolder/h/hell_swarm.txt | 1 - forge-gui/res/cardsfolder/h/hickory_woodlot.txt | 1 - .../cardsfolder/h/hikari_twilight_guardian.txt | 4 ++-- forge-gui/res/cardsfolder/h/hindering_touch.txt | 1 - forge-gui/res/cardsfolder/h/hive_mind.txt | 4 ++-- forge-gui/res/cardsfolder/h/hold_at_bay.txt | 1 - forge-gui/res/cardsfolder/h/hold_the_line.txt | 1 - .../res/cardsfolder/h/homicidal_seclusion.txt | 2 +- forge-gui/res/cardsfolder/h/honor_the_fallen.txt | 3 ++- forge-gui/res/cardsfolder/h/hope_charm.txt | 1 - forge-gui/res/cardsfolder/h/horizon_seed.txt | 3 +-- forge-gui/res/cardsfolder/h/horn_of_deafening.txt | 1 - forge-gui/res/cardsfolder/h/howl_from_beyond.txt | 1 - forge-gui/res/cardsfolder/h/hunting_wilds.txt | 1 - forge-gui/res/cardsfolder/h/hurricane.txt | 1 - forge-gui/res/cardsfolder/h/hydroform.txt | 1 - 32 files changed, 41 insertions(+), 37 deletions(-) diff --git a/forge-ai/src/main/java/forge/ai/ability/ChangeZoneAi.java b/forge-ai/src/main/java/forge/ai/ability/ChangeZoneAi.java index 62bd40e82da..2a1ef1e84a2 100644 --- a/forge-ai/src/main/java/forge/ai/ability/ChangeZoneAi.java +++ b/forge-ai/src/main/java/forge/ai/ability/ChangeZoneAi.java @@ -150,6 +150,21 @@ public class ChangeZoneAi extends SpellAbilityAi { return doReturnCommanderLogic(sa, aiPlayer); } + if ("IfNotBuffed".equals(sa.getParam("AILogic"))) { + if (ComputerUtilCard.isUselessCreature(aiPlayer, sa.getHostCard())) { + return true; // debuffed by opponent's auras to the level that it becomes useless + } + int delta = 0; + for (Card enc : sa.getHostCard().getEnchantedBy(false)) { + if (enc.getController().isOpponentOf(aiPlayer)) { + delta--; + } else { + delta++; + } + } + return delta <= 0; + } + if (isHidden(sa)) { return hiddenTriggerAI(aiPlayer, sa, mandatory); } diff --git a/forge-gui/res/cardsfolder/h/haazda_shield_mate.txt b/forge-gui/res/cardsfolder/h/haazda_shield_mate.txt index 07bdc47b462..4288e530ae9 100644 --- a/forge-gui/res/cardsfolder/h/haazda_shield_mate.txt +++ b/forge-gui/res/cardsfolder/h/haazda_shield_mate.txt @@ -8,6 +8,7 @@ SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventNextFromSource | Remember SVar:RPreventNextFromSource:Event$ DamageDone | ValidSource$ Card.IsRemembered | ValidTarget$ You | ReplaceWith$ ExileEffect | PreventionEffect$ True | Description$ The next time the chosen source deals damage to you, prevent that damage. SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:RemAIDeck:True +SVar:NeedsToPlayVar:Z GE5 +SVar:Z:Count$Valid Card.YouCtrl+inZoneBattlefield+canProduceManaColor White SVar:Picture:http://www.wizards.com/global/images/magic/general/haazda_shield_mate.jpg Oracle:At the beginning of your upkeep, sacrifice Haazda Shield Mate unless you pay {W}{W}.\n{W}: The next time a source of your choice would deal damage to you this turn, prevent that damage. diff --git a/forge-gui/res/cardsfolder/h/hair_strung_koto.txt b/forge-gui/res/cardsfolder/h/hair_strung_koto.txt index 46e2745c138..521bec9194b 100644 --- a/forge-gui/res/cardsfolder/h/hair_strung_koto.txt +++ b/forge-gui/res/cardsfolder/h/hair_strung_koto.txt @@ -1,7 +1,7 @@ Name:Hair-Strung Koto ManaCost:6 Types:Artifact -A:AB$ Mill | Cost$ tapXType<1/Creature> | NumCards$ 1 | ValidTgts$ Player | TgtPrompt$ Choose a player | SpellDescription$ Target player puts the top card of his or her library into his or her graveyard. -SVar:RemAIDeck:True +A:AB$ Mill | Cost$ tapXType<1/Creature> | NumCards$ 1 | ValidTgts$ Player | TgtPrompt$ Choose a player | AILogic$ EndOfOppTurn | SpellDescription$ Target player puts the top card of his or her library into his or her graveyard. +SVar:NonStackingEffect:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hair_strung_koto.jpg Oracle:Tap an untapped creature you control: Target player puts the top card of his or her library into his or her graveyard. diff --git a/forge-gui/res/cardsfolder/h/hammer_mage.txt b/forge-gui/res/cardsfolder/h/hammer_mage.txt index 1ec710e9f2f..149e59574e9 100644 --- a/forge-gui/res/cardsfolder/h/hammer_mage.txt +++ b/forge-gui/res/cardsfolder/h/hammer_mage.txt @@ -4,6 +4,6 @@ Types:Creature Human Spellshaper PT:1/1 A:AB$ DestroyAll | Cost$ X R T Discard<1/Card> | ValidCards$ Artifact.cmcLEX | References$ X | SpellDescription$ Destroy all artifacts with converted mana cost X or less. SVar:X:Count$xPaid -SVar:RemAIDeck:True +SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hammer_mage.jpg Oracle:{X}{R}, {T}, Discard a card: Destroy all artifacts with converted mana cost X or less. diff --git a/forge-gui/res/cardsfolder/h/harabaz_druid.txt b/forge-gui/res/cardsfolder/h/harabaz_druid.txt index 2af5e6806f5..d924cf1b3af 100644 --- a/forge-gui/res/cardsfolder/h/harabaz_druid.txt +++ b/forge-gui/res/cardsfolder/h/harabaz_druid.txt @@ -4,6 +4,5 @@ Types:Creature Human Druid Ally PT:0/1 A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ X | References$ X | SpellDescription$ Add X mana of any one color to your mana pool, where X is the number of Allies you control. SVar:X:Count$Valid Ally.YouCtrl -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/harabaz_druid.jpg Oracle:{T}: Add X mana of any one color to your mana pool, where X is the number of Allies you control. diff --git a/forge-gui/res/cardsfolder/h/harbinger_of_night.txt b/forge-gui/res/cardsfolder/h/harbinger_of_night.txt index f84fe1fdc1a..92affeafe89 100644 --- a/forge-gui/res/cardsfolder/h/harbinger_of_night.txt +++ b/forge-gui/res/cardsfolder/h/harbinger_of_night.txt @@ -3,7 +3,8 @@ ManaCost:2 B B Types:Creature Spirit PT:2/3 T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounterAll | TriggerDescription$ At the beginning of your upkeep, put a -1/-1 counter on each creature. -SVar:TrigPutCounterAll:AB$ PutCounterAll | Cost$ 0 | ValidCards$ Creature | CounterType$ M1M1 | CounterNum$ 1 | IsCurse$ True -SVar:RemAIDeck:True +SVar:TrigPutCounterAll:DB$ PutCounterAll | ValidCards$ Creature | CounterType$ M1M1 | CounterNum$ 1 | IsCurse$ True +SVar:RemRandomDeck:True +DeckHas:Ability$Counters SVar:Picture:http://www.wizards.com/global/images/magic/general/harbinger_of_night.jpg Oracle:At the beginning of your upkeep, put a -1/-1 counter on each creature. diff --git a/forge-gui/res/cardsfolder/h/haunting_echoes.txt b/forge-gui/res/cardsfolder/h/haunting_echoes.txt index 216ba9d2f95..33cf0dea682 100644 --- a/forge-gui/res/cardsfolder/h/haunting_echoes.txt +++ b/forge-gui/res/cardsfolder/h/haunting_echoes.txt @@ -4,6 +4,9 @@ Types:Sorcery A:SP$ ChangeZoneAll | Cost$ 3 B B | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Player | TgtPrompt$ Select target player | ChangeType$ Card.nonBasic | RememberChanged$ True | SubAbility$ DBRepeat | SpellDescription$ Exile all cards from target player's graveyard other than basic land cards. For each card exiled this way, search that player's library for all cards with the same name as that card and exile them. Then that player shuffles his or her library. SVar:DBRepeat:DB$ ChangeZoneAll | Origin$ Library | Defined$ Targeted | Destination$ Exile | Mandatory$ True | ChangeType$ Card.sharesNameWith Remembered | Search$ True | Shuffle$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:RemAIDeck:True +SVar:NeedsToPlayVar:Z GE1 +SVar:Z:SVar$Z1/Plus.Z2 +SVar:Z1:Count$ValidGraveyard Card.nonLand+OppOwn +SVar:Z2:Count$ValidGraveyard Card.Land+nonBasic+OppOwn SVar:Picture:http://www.wizards.com/global/images/magic/general/haunting_echoes.jpg Oracle:Exile all cards from target player's graveyard other than basic land cards. For each card exiled this way, search that player's library for all cards with the same name as that card and exile them. Then that player shuffles his or her library. diff --git a/forge-gui/res/cardsfolder/h/havengul_skaab.txt b/forge-gui/res/cardsfolder/h/havengul_skaab.txt index 8af66ff9758..dd026905b30 100644 --- a/forge-gui/res/cardsfolder/h/havengul_skaab.txt +++ b/forge-gui/res/cardsfolder/h/havengul_skaab.txt @@ -3,7 +3,7 @@ ManaCost:5 U Types:Creature Zombie Horror PT:4/5 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigChange | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, return another creature you control to its owner's hand. -SVar:TrigChange:AB$ ChangeZone | Origin$ Battlefield | Destination$ Hand | Cost$ 0 | Hidden$ True | Mandatory$ True | ChangeType$ Creature.Other+YouCtrl -SVar:RemAIDeck:True +SVar:TrigChange:DB$ ChangeZone | Origin$ Battlefield | Destination$ Hand | Hidden$ True | Mandatory$ True | ChangeType$ Creature.Other+YouCtrl +SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/havengul_skaab.jpg Oracle:Whenever Havengul Skaab attacks, return another creature you control to its owner's hand. diff --git a/forge-gui/res/cardsfolder/h/havoc_demon.txt b/forge-gui/res/cardsfolder/h/havoc_demon.txt index 4c5612de643..60760cdae83 100644 --- a/forge-gui/res/cardsfolder/h/havoc_demon.txt +++ b/forge-gui/res/cardsfolder/h/havoc_demon.txt @@ -5,6 +5,6 @@ PT:5/5 K:Flying T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigPumpAll | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, all creatures get -5/-5 until end of turn. SVar:TrigPumpAll:AB$PumpAll | Cost$ 0 | ValidCards$ Creature | NumAtt$ -5 | NumDef$ -5 -SVar:RemAIDeck:True +SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/havoc_demon.jpg Oracle:Flying\nWhen Havoc Demon dies, all creatures get -5/-5 until end of turn. diff --git a/forge-gui/res/cardsfolder/h/haze_of_pollen.txt b/forge-gui/res/cardsfolder/h/haze_of_pollen.txt index ddd35c00f07..98a57803190 100644 --- a/forge-gui/res/cardsfolder/h/haze_of_pollen.txt +++ b/forge-gui/res/cardsfolder/h/haze_of_pollen.txt @@ -3,6 +3,5 @@ ManaCost:1 G Types:Instant A:SP$ Fog | Cost$ 1 G | SpellDescription$ Prevent all combat damage that would be dealt this turn. K:Cycling:3 -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/haze_of_pollen.jpg Oracle:Prevent all combat damage that would be dealt this turn.\nCycling {3} ({3}, Discard this card: Draw a card.) \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/h/headlong_rush.txt b/forge-gui/res/cardsfolder/h/headlong_rush.txt index 560e6fcc58f..dbcedaf0e2a 100644 --- a/forge-gui/res/cardsfolder/h/headlong_rush.txt +++ b/forge-gui/res/cardsfolder/h/headlong_rush.txt @@ -2,6 +2,5 @@ Name:Headlong Rush ManaCost:1 R Types:Instant A:SP$ PumpAll | Cost$ 1 R | ValidCards$ Creature.attacking | KW$ First Strike | SpellDescription$ Attacking creatures gain first strike until end of turn. -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/headlong_rush.jpg Oracle:Attacking creatures gain first strike until end of turn. diff --git a/forge-gui/res/cardsfolder/h/heart_wolf.txt b/forge-gui/res/cardsfolder/h/heart_wolf.txt index 46f6ead19a2..30dc158173e 100644 --- a/forge-gui/res/cardsfolder/h/heart_wolf.txt +++ b/forge-gui/res/cardsfolder/h/heart_wolf.txt @@ -8,6 +8,5 @@ SVar:EliteGuardEffect:DB$ Effect | Name$ Heart Wolf Effect | Triggers$ LostTheGu SVar:LostTheGuarded:Mode$ ChangesZone | ValidCard$ Card.IsRemembered | Origin$ Battlefield | Destination$ Any | Execute$ EliteDefence | TriggerDescription$ When the targeted creature leaves the battlefield this turn, sacrifice Heart Wolf. SVar:EliteDefence:DB$ SacrificeAll | Defined$ Imprinted | SubAbility$ ExileEffect SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/heart_wolf.jpg Oracle:First strike\n{T}: Target Dwarf creature gets +2/+0 and gains first strike until end of turn. When that creature leaves the battlefield this turn, sacrifice Heart Wolf. Activate this ability only during combat. diff --git a/forge-gui/res/cardsfolder/h/hearth_charm.txt b/forge-gui/res/cardsfolder/h/hearth_charm.txt index e1bbe2bc003..0396f0496bf 100644 --- a/forge-gui/res/cardsfolder/h/hearth_charm.txt +++ b/forge-gui/res/cardsfolder/h/hearth_charm.txt @@ -5,6 +5,5 @@ A:SP$ Charm | Cost$ R | Choices$ DBDestroy,DBPumpAll,DBPump | CharmNum$ 1 SVar:DBDestroy:DB$ Destroy | ValidTgts$ Creature.Artifact | TgtPrompt$ Select target artifact creature | SpellDescription$ Destroy target artifact creature. SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.attacking | NumAtt$ +1 | SpellDescription$ Attacking creatures get +1/+0 until end of turn. SVar:DBPump:DB$ Pump | ValidTgts$ Creature.powerLE2 | TgtPrompt$ Select target creature with power 2 or less | KW$ HIDDEN Unblockable | SpellDescription$ Target creature with power 2 or less can't be blocked this turn. -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hearth_charm.jpg Oracle:Choose one —\n• Destroy target artifact creature.\n• Attacking creatures get +1/+0 until end of turn.\n• Target creature with power 2 or less can't be blocked this turn. \ No newline at end of file diff --git a/forge-gui/res/cardsfolder/h/hearth_kami.txt b/forge-gui/res/cardsfolder/h/hearth_kami.txt index ffa284bac55..8bc2b56697a 100644 --- a/forge-gui/res/cardsfolder/h/hearth_kami.txt +++ b/forge-gui/res/cardsfolder/h/hearth_kami.txt @@ -5,6 +5,5 @@ PT:2/1 A:AB$ Destroy | Cost$ X Sac<1/CARDNAME> | ValidTgts$ Artifact | TgtPrompt$ Select target artifact | References$ X | SpellDescription$ Destroy target artifact with converted mana cost X. # It may seem wrong to not use X in the target, but since the Target is what defines X, it's redundant (and not supported by the code) SVar:X:Targeted$CardManaCost -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hearth_kami.jpg Oracle:{X}, Sacrifice Hearth Kami: Destroy target artifact with converted mana cost X. diff --git a/forge-gui/res/cardsfolder/h/heartless_summoning.txt b/forge-gui/res/cardsfolder/h/heartless_summoning.txt index f5f9a6e8e47..f0d2e67c469 100644 --- a/forge-gui/res/cardsfolder/h/heartless_summoning.txt +++ b/forge-gui/res/cardsfolder/h/heartless_summoning.txt @@ -3,6 +3,7 @@ ManaCost:1 B Types:Enchantment S:Mode$ ReduceCost | ValidCard$ Creature | Type$ Spell | Activator$ You | Amount$ 2 | Description$ Creature spells you cast cost {2} less to cast. S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ -1 | AddToughness$ -1 | Description$ Creatures you control get -1/-1. -SVar:RemAIDeck:True +SVar:RemRandomDeck:True +SVar:AICastPreference:MaxControlled$ 1 SVar:Picture:http://www.wizards.com/global/images/magic/general/heartless_summoning.jpg Oracle:Creature spells you cast cost {2} less to cast.\nCreatures you control get -1/-1. diff --git a/forge-gui/res/cardsfolder/h/heaven_earth.txt b/forge-gui/res/cardsfolder/h/heaven_earth.txt index 49f53282ad7..4ef40cc25e0 100644 --- a/forge-gui/res/cardsfolder/h/heaven_earth.txt +++ b/forge-gui/res/cardsfolder/h/heaven_earth.txt @@ -4,7 +4,7 @@ AlternateMode: Split Types:Instant A:SP$ DamageAll | Cost$ X G | ValidCards$ Creature.withFlying | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature with flying. SVar:X:Count$xPaid -SVar:RemAIDeck:True +SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/heaven_earth.jpg Oracle:Heaven deals X damage to each creature with flying. diff --git a/forge-gui/res/cardsfolder/h/hell_swarm.txt b/forge-gui/res/cardsfolder/h/hell_swarm.txt index 9a0691d443d..71dee0547c6 100644 --- a/forge-gui/res/cardsfolder/h/hell_swarm.txt +++ b/forge-gui/res/cardsfolder/h/hell_swarm.txt @@ -2,6 +2,5 @@ Name:Hell Swarm ManaCost:B Types:Instant A:SP$ PumpAll | Cost$ B | ValidCards$ Creature | NumAtt$ -1 | NumDef$ -0 | IsCurse$ True | SpellDescription$ All creatures get -1/-0 until end of turn. -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hell_swarm.jpg Oracle:All creatures get -1/-0 until end of turn. diff --git a/forge-gui/res/cardsfolder/h/hickory_woodlot.txt b/forge-gui/res/cardsfolder/h/hickory_woodlot.txt index 74db4a23979..fe79a8c4e3e 100644 --- a/forge-gui/res/cardsfolder/h/hickory_woodlot.txt +++ b/forge-gui/res/cardsfolder/h/hickory_woodlot.txt @@ -6,7 +6,6 @@ SVar:LandTapped:DB$ Tap | Defined$ Self | ETB$ True | SubAbility$ DBAddCounter | SVar:DBAddCounter:DB$ PutCounter | Defined$ Self | ETB$ True | CounterType$ DEPLETION | CounterNum$ 2 A:AB$ Mana | Cost$ T SubCounter<1/DEPLETION> | Produced$ G | SubAbility$ DBSac | Amount$ 2 | SpellDescription$ Add {G}{G} to your mana pool. If there are no depletion counters on CARDNAME, sacrifice it. SVar:DBSac:DB$ Sacrifice | SacValid$ Self | ConditionPresent$ Card.Self+counters_EQ0_DEPLETION -SVar:RemAIDeck:True SVar:RemRandomDeck:True SVar:Picture:http://wizards.com/global/images/magic/general/hickory_woodlot.jpg Oracle:Hickory Woodlot enters the battlefield tapped with two depletion counters on it.\n{T}, Remove a depletion counter from Hickory Woodlot: Add {G}{G} to your mana pool. If there are no depletion counters on Hickory Woodlot, sacrifice it. diff --git a/forge-gui/res/cardsfolder/h/hikari_twilight_guardian.txt b/forge-gui/res/cardsfolder/h/hikari_twilight_guardian.txt index a0617d8483b..cb0e5c2604c 100644 --- a/forge-gui/res/cardsfolder/h/hikari_twilight_guardian.txt +++ b/forge-gui/res/cardsfolder/h/hikari_twilight_guardian.txt @@ -4,9 +4,9 @@ Types:Legendary Creature Spirit PT:4/4 K:Flying T:Mode$ SpellCast | ValidCard$ Spirit,Arcane | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigExile | TriggerDescription$ Whenever you cast a Spirit or Arcane spell, you may exile CARDNAME. If you do, return it to the battlefield under its owner's control at the beginning of the next end step. -SVar:TrigExile:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destination$ Exile | SubAbility$ DelTrig +SVar:TrigExile:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destination$ Exile | AILogic$ IfNotBuffed | SubAbility$ DelTrig SVar:DelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ End of Turn | Execute$ TrigReturn | TriggerDescription$ Return CARDNAME to the battlefield. SVar:TrigReturn:DB$ ChangeZone | Defined$ Self | Origin$ Exile | Destination$ Battlefield -SVar:RemAIDeck:True +SVar:RemRandomDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hikari_twilight_guardian.jpg Oracle:Flying\nWhenever you cast a Spirit or Arcane spell, you may exile Hikari, Twilight Guardian. If you do, return it to the battlefield under its owner's control at the beginning of the next end step. diff --git a/forge-gui/res/cardsfolder/h/hindering_touch.txt b/forge-gui/res/cardsfolder/h/hindering_touch.txt index b41e3f45c91..eef46e0dd97 100644 --- a/forge-gui/res/cardsfolder/h/hindering_touch.txt +++ b/forge-gui/res/cardsfolder/h/hindering_touch.txt @@ -3,6 +3,5 @@ ManaCost:3 U Types:Instant A:SP$ Counter | Cost$ 3 U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | UnlessCost$ 2 | SpellDescription$ Counter target spell unless its controller pays {2}. K:Storm -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hindering_touch.jpg Oracle:Counter target spell unless its controller pays {2}.\nStorm (When you cast this spell, copy it for each spell cast before it this turn. You may choose new targets for the copies.) diff --git a/forge-gui/res/cardsfolder/h/hive_mind.txt b/forge-gui/res/cardsfolder/h/hive_mind.txt index 3d149d0aeca..617330b5e6f 100644 --- a/forge-gui/res/cardsfolder/h/hive_mind.txt +++ b/forge-gui/res/cardsfolder/h/hive_mind.txt @@ -2,8 +2,8 @@ Name:Hive Mind ManaCost:5 U Types:Enchantment T:Mode$ SpellCast | ValidCard$ Instant,Sorcery | ValidActivatingPlayer$ Player | Execute$ TrigCopy | TriggerZones$ Battlefield | TriggerDescription$ Whenever a player casts an instant or sorcery spell, each other player copies that spell. Each of those players may choose new targets for his or her copy. -SVar:TrigCopy:AB$ CopySpellAbility | Cost$ 0 | Defined$ TriggeredSpellAbility | Controller$ TriggeredCardOpponent -SVar:RemAIDeck:True +SVar:TrigCopy:DB$ CopySpellAbility | Defined$ TriggeredSpellAbility | Controller$ TriggeredCardOpponent +SVar:RemRandomDeck:True SVar:RemMultiplayer:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hive_mind.jpg Oracle:Whenever a player casts an instant or sorcery spell, each other player copies that spell. Each of those players may choose new targets for his or her copy. diff --git a/forge-gui/res/cardsfolder/h/hold_at_bay.txt b/forge-gui/res/cardsfolder/h/hold_at_bay.txt index b2609d97f1c..561b006d5c5 100644 --- a/forge-gui/res/cardsfolder/h/hold_at_bay.txt +++ b/forge-gui/res/cardsfolder/h/hold_at_bay.txt @@ -2,6 +2,5 @@ Name:Hold at Bay ManaCost:1 W Types:Instant A:SP$ PreventDamage | Cost$ 1 W | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | Amount$ 7 | SpellDescription$ Prevent the next 7 damage that would be dealt to target creature or player this turn. -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hold_at_bay.jpg Oracle:Prevent the next 7 damage that would be dealt to target creature or player this turn. diff --git a/forge-gui/res/cardsfolder/h/hold_the_line.txt b/forge-gui/res/cardsfolder/h/hold_the_line.txt index 790f6341e16..4cfd471666a 100644 --- a/forge-gui/res/cardsfolder/h/hold_the_line.txt +++ b/forge-gui/res/cardsfolder/h/hold_the_line.txt @@ -2,6 +2,5 @@ Name:Hold the Line ManaCost:1 W W Types:Instant A:SP$ PumpAll | Cost$ 1 W W | ValidCards$ Creature.blocking | NumAtt$ +7 | NumDef$ +7 | SpellDescription$ Blocking creatures get +7/+7 until end of turn. -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hold_the_line.jpg Oracle:Blocking creatures get +7/+7 until end of turn. diff --git a/forge-gui/res/cardsfolder/h/homicidal_seclusion.txt b/forge-gui/res/cardsfolder/h/homicidal_seclusion.txt index 6275c9cc921..fc737b3bf57 100644 --- a/forge-gui/res/cardsfolder/h/homicidal_seclusion.txt +++ b/forge-gui/res/cardsfolder/h/homicidal_seclusion.txt @@ -3,7 +3,7 @@ ManaCost:4 B Types:Enchantment S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ 3 | AddToughness$ 1 | AddKeyword$ Lifelink | CheckSVar$ X | SVarCompare$ EQ1 | Description$ As long as you control exactly one creature, that creature gets +3/+1 and has lifelink. SVar:X:Count$Valid Creature.YouCtrl -SVar:RemAIDeck:True +SVar:RemRandomDeck:True SVar:PlayMain1:TRUE SVar:Picture:http://www.wizards.com/global/images/magic/general/homicidal_seclusion.jpg Oracle:As long as you control exactly one creature, that creature gets +3/+1 and has lifelink. diff --git a/forge-gui/res/cardsfolder/h/honor_the_fallen.txt b/forge-gui/res/cardsfolder/h/honor_the_fallen.txt index fb601a51dea..aa8e2e38f0d 100644 --- a/forge-gui/res/cardsfolder/h/honor_the_fallen.txt +++ b/forge-gui/res/cardsfolder/h/honor_the_fallen.txt @@ -4,6 +4,7 @@ Types:Instant A:SP$ ChangeZoneAll | Cost$ 1 W | ChangeType$ Creature | Origin$ Graveyard | Destination$ Exile | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ DBGainLife | SpellDescription$ Exile all creature cards from all graveyards. You gain 1 life for each card exiled this way. SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ X | References$ X SVar:X:Remembered$Amount -SVar:RemAIDeck:True +SVar:NeedsToPlayVar:Z GE2 +SVar:Count$ValidGraveyard Creature SVar:Picture:http://www.wizards.com/global/images/magic/general/honor_the_fallen.jpg Oracle:Exile all creature cards from all graveyards. You gain 1 life for each card exiled this way. diff --git a/forge-gui/res/cardsfolder/h/hope_charm.txt b/forge-gui/res/cardsfolder/h/hope_charm.txt index 73ea4a28c10..db5d6a2dbad 100644 --- a/forge-gui/res/cardsfolder/h/hope_charm.txt +++ b/forge-gui/res/cardsfolder/h/hope_charm.txt @@ -5,6 +5,5 @@ A:SP$ Charm | Cost$ W | Choices$ DBPump,DBGainLife,DBDestroy | CharmNum$ 1 SVar:DBPump:DB$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ First Strike | SpellDescription$ Target creature gains first strike until end of turn. SVar:DBGainLife:DB$ GainLife | LifeAmount$ 2 | ValidTgts$ Player | TgtPrompt$ Choose a player | SpellDescription$ Target player gains 2 life. SVar:DBDestroy:DB$ Destroy | ValidTgts$ Aura | TgtPrompt$ Select target Aura | SpellDescription$ Destroy target Aura. -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hope_charm.jpg Oracle:Choose one —\n• Target creature gains first strike until end of turn.\n• Target player gains 2 life.\n• Destroy target Aura. diff --git a/forge-gui/res/cardsfolder/h/horizon_seed.txt b/forge-gui/res/cardsfolder/h/horizon_seed.txt index 5c7eb344c24..2adf790f12c 100644 --- a/forge-gui/res/cardsfolder/h/horizon_seed.txt +++ b/forge-gui/res/cardsfolder/h/horizon_seed.txt @@ -3,10 +3,9 @@ ManaCost:4 W Types:Creature Spirit PT:2/1 T:Mode$ SpellCast | ValidCard$ Spirit,Arcane | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigRegenerate | TriggerDescription$ Whenever you cast a Spirit or Arcane spell, regenerate target creature. -SVar:TrigRegenerate:AB$ Regenerate | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature +SVar:TrigRegenerate:DB$ Regenerate | ValidTgts$ Creature | TgtPrompt$ Select target creature SVar:BuffedBy:Spirit,Arcane SVar:RemRandomDeck:True -SVar:RemAIDeck:True DeckHints:Type$Spirit|Arcane SVar:Picture:http://www.wizards.com/global/images/magic/general/horizon_seed.jpg Oracle:Whenever you cast a Spirit or Arcane spell, regenerate target creature. diff --git a/forge-gui/res/cardsfolder/h/horn_of_deafening.txt b/forge-gui/res/cardsfolder/h/horn_of_deafening.txt index 9e71bf3bd36..2fe50e2c465 100644 --- a/forge-gui/res/cardsfolder/h/horn_of_deafening.txt +++ b/forge-gui/res/cardsfolder/h/horn_of_deafening.txt @@ -2,6 +2,5 @@ Name:Horn of Deafening ManaCost:4 Types:Artifact A:AB$ Pump | Cost$ 2 T | ValidTgts$ Creature | TgtPrompt$ Select target creature | KW$ Prevent all combat damage that would be dealt by CARDNAME. | IsCurse$ True | SpellDescription$ Prevent all combat damage that would be dealt by target creature this turn. -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/horn_of_deafening.jpg Oracle:{2}, {T}: Prevent all combat damage that would be dealt by target creature this turn. diff --git a/forge-gui/res/cardsfolder/h/howl_from_beyond.txt b/forge-gui/res/cardsfolder/h/howl_from_beyond.txt index 3d5817c3ee8..ce8a52fc24d 100644 --- a/forge-gui/res/cardsfolder/h/howl_from_beyond.txt +++ b/forge-gui/res/cardsfolder/h/howl_from_beyond.txt @@ -3,6 +3,5 @@ ManaCost:X B Types:Instant A:SP$ Pump | Cost$ X B | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +X | References$ X | SpellDescription$ Target creature gets +X/+0 until end of turn. SVar:X:Count$xPaid -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/howl_from_beyond.jpg Oracle:Target creature gets +X/+0 until end of turn. diff --git a/forge-gui/res/cardsfolder/h/hunting_wilds.txt b/forge-gui/res/cardsfolder/h/hunting_wilds.txt index 1d8214edab2..7c114ec309e 100644 --- a/forge-gui/res/cardsfolder/h/hunting_wilds.txt +++ b/forge-gui/res/cardsfolder/h/hunting_wilds.txt @@ -6,6 +6,5 @@ A:SP$ ChangeZone | Cost$ 3 G | Origin$ Library | Destination$ Battlefield | Chan SVar:DBUntap:DB$ Untap | Defined$ Remembered | SubAbility$ DBAnimate | Condition$ Kicked | ConditionDescription$ If it was kicked, SVar:DBAnimate:DB$ Animate | Defined$ Remembered | Power$ 3 | Toughness$ 3 | Colors$ Green | Types$ Creature | Keywords$ Haste | Condition$ Kicked | Permanent$ True | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hunting_wilds.jpg Oracle:Kicker {3}{G} (You may pay an additional {3}{G} as you cast this spell.)\nSearch your library for up to two Forest cards and put them onto the battlefield tapped. Then shuffle your library.\nIf Hunting Wilds was kicked, untap all Forests put onto the battlefield this way. They become 3/3 green creatures with haste that are still lands. diff --git a/forge-gui/res/cardsfolder/h/hurricane.txt b/forge-gui/res/cardsfolder/h/hurricane.txt index 94497a4f92f..73ccf425f5a 100644 --- a/forge-gui/res/cardsfolder/h/hurricane.txt +++ b/forge-gui/res/cardsfolder/h/hurricane.txt @@ -3,6 +3,5 @@ ManaCost:X G Types:Sorcery A:SP$ DamageAll | Cost$ X G | ValidCards$ Creature.withFlying | ValidPlayers$ Player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to each creature with flying and each player. SVar:X:Count$xPaid -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hurricane.jpg Oracle:Hurricane deals X damage to each creature with flying and each player. diff --git a/forge-gui/res/cardsfolder/h/hydroform.txt b/forge-gui/res/cardsfolder/h/hydroform.txt index 51dc2cf7c4f..664334d7f8f 100644 --- a/forge-gui/res/cardsfolder/h/hydroform.txt +++ b/forge-gui/res/cardsfolder/h/hydroform.txt @@ -2,6 +2,5 @@ Name:Hydroform ManaCost:G U Types:Instant A:SP$ Animate | Cost$ G U | ValidTgts$ Land | TgtPrompt$ Select target land | Power$ 3 | Toughness$ 3 | Types$ Creature,Elemental | Keywords$ Flying | SpellDescription$ Target land becomes a 3/3 Elemental creature with flying until end of turn. It's still a land. -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/hydroform.jpg Oracle:Target land becomes a 3/3 Elemental creature with flying until end of turn. It's still a land.