From bd9b05463e7d9ca064c40cbb2c548142af318b3d Mon Sep 17 00:00:00 2001 From: Indigo Dragon Date: Sat, 2 Sep 2017 14:27:29 +0000 Subject: [PATCH] Changing the mana cost 2 to {2} for the [[Rout]] ability K:You may cast CARDNAME as though it had flash if you pay 2 more to cast it. -> K:You may cast CARDNAME as though it had flash if you pay {2} more to cast it. This may break something. If so, whoops --- .../main/java/forge/game/GameActionUtil.java | 2 +- .../src/main/java/forge/game/card/Card.java | 2 +- forge-gui/res/cardsfolder/b/breaking_wave.txt | 20 +++++++++---------- forge-gui/res/cardsfolder/g/ghitu_fire.txt | 16 +++++++-------- .../cardsfolder/h/harbinger_of_the_tides.txt | 2 +- forge-gui/res/cardsfolder/r/rout.txt | 14 ++++++------- .../res/cardsfolder/s/saproling_symbiosis.txt | 18 ++++++++--------- .../res/cardsfolder/t/twilights_call.txt | 14 ++++++------- 8 files changed, 44 insertions(+), 44 deletions(-) diff --git a/forge-game/src/main/java/forge/game/GameActionUtil.java b/forge-game/src/main/java/forge/game/GameActionUtil.java index a5e0c8e783d..d34e0e4987b 100644 --- a/forge-game/src/main/java/forge/game/GameActionUtil.java +++ b/forge-game/src/main/java/forge/game/GameActionUtil.java @@ -198,7 +198,7 @@ public final class GameActionUtil { } alternatives.add(flashback); } - if (sa.isSpell() && keyword.equals("You may cast CARDNAME as though it had flash if you pay 2 more to cast it.")) { + if (sa.isSpell() && keyword.equals("You may cast CARDNAME as though it had flash if you pay {2} more to cast it.")) { final SpellAbility newSA = sa.copy(); newSA.setBasicSpell(false); ManaCostBeingPaid newCost = new ManaCostBeingPaid(source.getManaCost()); diff --git a/forge-game/src/main/java/forge/game/card/Card.java b/forge-game/src/main/java/forge/game/card/Card.java index 8f101149a4c..c6f8152f8dc 100644 --- a/forge-game/src/main/java/forge/game/card/Card.java +++ b/forge-game/src/main/java/forge/game/card/Card.java @@ -1971,7 +1971,7 @@ public class Card extends GameEntity implements Comparable { sb.append(keyword).append("\r\n"); } else if (keyword.equals("Aftermath")) { sb.append(Keyword.getInstance(keyword).getReminderText()).append("\r\n"); - } else if (keyword.equals("You may cast CARDNAME as though it had flash if you pay 2 more to cast it.")) { + } else if (keyword.equals("You may cast CARDNAME as though it had flash if you pay {2} more to cast it.")) { sb.append(keyword).append("\r\n"); } else if (keyword.startsWith("Flashback")) { sb.append("Flashback"); diff --git a/forge-gui/res/cardsfolder/b/breaking_wave.txt b/forge-gui/res/cardsfolder/b/breaking_wave.txt index 8956754c6a0..0917aaf3485 100644 --- a/forge-gui/res/cardsfolder/b/breaking_wave.txt +++ b/forge-gui/res/cardsfolder/b/breaking_wave.txt @@ -1,10 +1,10 @@ -Name:Breaking Wave -ManaCost:2 U U -Types:Sorcery -K:You may cast CARDNAME as though it had flash if you pay 2 more to cast it. -A:SP$ UntapAll | Cost$ 2 U U | ValidCards$ Creature.tapped | RememberUntapped$ True | SubAbility$ DBTap | SpellDescription$ Simultaneously untap all tapped creatures and tap all untapped creatures. -SVar:DBTap:DB$ TapAll | ValidCards$ Creature.untapped+IsNotRemembered | SubAbility$ DBCleanup -SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True -SVar:RemAIDeck:True -SVar:Picture:http://www.wizards.com/global/images/magic/general/breaking_wave.jpg -Oracle:You may cast Breaking Wave as though it had flash if you pay {2} more to cast it. (You may cast it any time you could cast an instant.)\nSimultaneously untap all tapped creatures and tap all untapped creatures. +Name:Breaking Wave +ManaCost:2 U U +Types:Sorcery +K:You may cast CARDNAME as though it had flash if you pay {2} more to cast it. +A:SP$ UntapAll | Cost$ 2 U U | ValidCards$ Creature.tapped | RememberUntapped$ True | SubAbility$ DBTap | SpellDescription$ Simultaneously untap all tapped creatures and tap all untapped creatures. +SVar:DBTap:DB$ TapAll | ValidCards$ Creature.untapped+IsNotRemembered | SubAbility$ DBCleanup +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +SVar:RemAIDeck:True +SVar:Picture:http://www.wizards.com/global/images/magic/general/breaking_wave.jpg +Oracle:You may cast Breaking Wave as though it had flash if you pay {2} more to cast it. (You may cast it any time you could cast an instant.)\nSimultaneously untap all tapped creatures and tap all untapped creatures. diff --git a/forge-gui/res/cardsfolder/g/ghitu_fire.txt b/forge-gui/res/cardsfolder/g/ghitu_fire.txt index 8a332b73ae8..b21868a8852 100644 --- a/forge-gui/res/cardsfolder/g/ghitu_fire.txt +++ b/forge-gui/res/cardsfolder/g/ghitu_fire.txt @@ -1,8 +1,8 @@ -Name:Ghitu Fire -ManaCost:X R -Types:Sorcery -K:You may cast CARDNAME as though it had flash if you pay 2 more to cast it. -A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature or player. -SVar:X:Count$xPaid -SVar:Picture:http://www.wizards.com/global/images/magic/general/ghitu_fire.jpg -Oracle:You may cast Ghitu Fire as though it had flash if you pay {2} more to cast it. (You may cast it any time you could cast an instant.)\nGhitu Fire deals X damage to target creature or player. +Name:Ghitu Fire +ManaCost:X R +Types:Sorcery +K:You may cast CARDNAME as though it had flash if you pay {2} more to cast it. +A:SP$ DealDamage | Cost$ X R | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals X damage to target creature or player. +SVar:X:Count$xPaid +SVar:Picture:http://www.wizards.com/global/images/magic/general/ghitu_fire.jpg +Oracle:You may cast Ghitu Fire as though it had flash if you pay {2} more to cast it. (You may cast it any time you could cast an instant.)\nGhitu Fire deals X damage to target creature or player. diff --git a/forge-gui/res/cardsfolder/h/harbinger_of_the_tides.txt b/forge-gui/res/cardsfolder/h/harbinger_of_the_tides.txt index be137e0f458..099df71e768 100644 --- a/forge-gui/res/cardsfolder/h/harbinger_of_the_tides.txt +++ b/forge-gui/res/cardsfolder/h/harbinger_of_the_tides.txt @@ -2,7 +2,7 @@ Name:Harbinger of the Tides ManaCost:U U Types:Creature Merfolk Wizard PT:2/2 -K:You may cast CARDNAME as though it had flash if you pay 2 more to cast it. +K:You may cast CARDNAME as though it had flash if you pay {2} more to cast it. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | OptionalDecider$ You | TriggerDescription$ When CARDNAME enters the battlefield, you may return target tapped creature an opponent controls to its owner's hand. SVar:TrigChangeZone:DB$ChangeZone | ValidTgts$ Creature.OppCtrl+tapped | TgtPrompt$ Select target tapped creature an opponent controls | Origin$ Battlefield | Destination$ Hand SVar:Picture:http://www.wizards.com/global/images/magic/general/harbinger_of_the_tides.jpg diff --git a/forge-gui/res/cardsfolder/r/rout.txt b/forge-gui/res/cardsfolder/r/rout.txt index 69480cfc571..fc9da66c947 100644 --- a/forge-gui/res/cardsfolder/r/rout.txt +++ b/forge-gui/res/cardsfolder/r/rout.txt @@ -1,7 +1,7 @@ -Name:Rout -ManaCost:3 W W -Types:Sorcery -K:You may cast CARDNAME as though it had flash if you pay 2 more to cast it. -A:SP$ DestroyAll | Cost$ 3 W W | ValidCards$ Creature | NoRegen$ True | SpellDescription$ Destroy all creatures. They can't be regenerated. -SVar:Picture:http://www.wizards.com/global/images/magic/general/rout.jpg -Oracle:You may cast Rout as though it had flash if you pay {2} more to cast it. (You may cast it any time you could cast an instant.)\nDestroy all creatures. They can't be regenerated. +Name:Rout +ManaCost:3 W W +Types:Sorcery +K:You may cast CARDNAME as though it had flash if you pay {2} more to cast it. +A:SP$ DestroyAll | Cost$ 3 W W | ValidCards$ Creature | NoRegen$ True | SpellDescription$ Destroy all creatures. They can't be regenerated. +SVar:Picture:http://www.wizards.com/global/images/magic/general/rout.jpg +Oracle:You may cast Rout as though it had flash if you pay {2} more to cast it. (You may cast it any time you could cast an instant.)\nDestroy all creatures. They can't be regenerated. diff --git a/forge-gui/res/cardsfolder/s/saproling_symbiosis.txt b/forge-gui/res/cardsfolder/s/saproling_symbiosis.txt index 95455bf9ab6..4b7580878ea 100644 --- a/forge-gui/res/cardsfolder/s/saproling_symbiosis.txt +++ b/forge-gui/res/cardsfolder/s/saproling_symbiosis.txt @@ -1,9 +1,9 @@ -Name:Saproling Symbiosis -ManaCost:3 G -Types:Sorcery -K:You may cast CARDNAME as though it had flash if you pay 2 more to cast it. -A:SP$ Token | Cost$ 3 G | TokenAmount$ X | References$ X | TokenName$ Saproling | TokenTypes$ Creature,Saproling | TokenOwner$ You | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 1 | SpellDescription$ Create a 1/1 green Saproling creature token for each creature you control. -SVar:X:Count$Valid Creature.YouCtrl -DeckHas:Ability$Token -SVar:Picture:http://www.wizards.com/global/images/magic/general/saproling_symbiosis.jpg -Oracle:You may cast Saproling Symbiosis as though it had flash if you pay {2} more to cast it. (You may cast it any time you could cast an instant.)\nCreate a 1/1 green Saproling creature token for each creature you control. +Name:Saproling Symbiosis +ManaCost:3 G +Types:Sorcery +K:You may cast CARDNAME as though it had flash if you pay {2} more to cast it. +A:SP$ Token | Cost$ 3 G | TokenAmount$ X | References$ X | TokenName$ Saproling | TokenTypes$ Creature,Saproling | TokenOwner$ You | TokenColors$ Green | TokenPower$ 1 | TokenToughness$ 1 | SpellDescription$ Create a 1/1 green Saproling creature token for each creature you control. +SVar:X:Count$Valid Creature.YouCtrl +DeckHas:Ability$Token +SVar:Picture:http://www.wizards.com/global/images/magic/general/saproling_symbiosis.jpg +Oracle:You may cast Saproling Symbiosis as though it had flash if you pay {2} more to cast it. (You may cast it any time you could cast an instant.)\nCreate a 1/1 green Saproling creature token for each creature you control. diff --git a/forge-gui/res/cardsfolder/t/twilights_call.txt b/forge-gui/res/cardsfolder/t/twilights_call.txt index 8295db152af..f203d51bfa7 100644 --- a/forge-gui/res/cardsfolder/t/twilights_call.txt +++ b/forge-gui/res/cardsfolder/t/twilights_call.txt @@ -1,7 +1,7 @@ -Name:Twilight's Call -ManaCost:4 B B -Types:Sorcery -K:You may cast CARDNAME as though it had flash if you pay 2 more to cast it. -A:SP$ ChangeZoneAll | Cost$ 4 B B | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature | SpellDescription$ Each player returns all creature cards from his or her graveyard to the battlefield. -SVar:Picture:http://www.wizards.com/global/images/magic/general/twilights_call.jpg -Oracle:You may cast Twilight's Call as though it had flash if you pay {2} more to cast it. (You may cast it any time you could cast an instant.)\nEach player returns all creature cards from his or her graveyard to the battlefield. +Name:Twilight's Call +ManaCost:4 B B +Types:Sorcery +K:You may cast CARDNAME as though it had flash if you pay {2} more to cast it. +A:SP$ ChangeZoneAll | Cost$ 4 B B | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature | SpellDescription$ Each player returns all creature cards from his or her graveyard to the battlefield. +SVar:Picture:http://www.wizards.com/global/images/magic/general/twilights_call.jpg +Oracle:You may cast Twilight's Call as though it had flash if you pay {2} more to cast it. (You may cast it any time you could cast an instant.)\nEach player returns all creature cards from his or her graveyard to the battlefield.