From 9c21f195f95351ac1af9ee1e62872202eb0b6ce3 Mon Sep 17 00:00:00 2001 From: swordshine Date: Thu, 12 Sep 2019 16:04:55 +0800 Subject: [PATCH 1/5] Fix Sorcerous Spyglass --- forge-gui/res/cardsfolder/s/sorcerous_spyglass.txt | 8 +++++--- forge-gui/res/cardsfolder/t/tishana_voice_of_thunder.txt | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/forge-gui/res/cardsfolder/s/sorcerous_spyglass.txt b/forge-gui/res/cardsfolder/s/sorcerous_spyglass.txt index ad67deb0e03..a5f6ecdaa0e 100644 --- a/forge-gui/res/cardsfolder/s/sorcerous_spyglass.txt +++ b/forge-gui/res/cardsfolder/s/sorcerous_spyglass.txt @@ -1,9 +1,11 @@ Name:Sorcerous Spyglass ManaCost:2 Types:Artifact -T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPeek | TriggerDescription$ As CARDNAME enters the battlefield, look at an opponent's hand, then choose any card name. -SVar:TrigPeek:DB$ RevealHand | ValidTgts$ Opponent | TgtPrompt$ Select an opponent | SubAbility$ DBNameCard -SVar:DBNameCard:DB$ NameCard | Defined$ You +K:ETBReplacement:Other:ChoosePlayer +SVar:ChoosePlayer:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | ChoiceTitle$ Choose an opponent to look at the hand: | SubAbility$ DBLook | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. +SVar:DBLook:DB$ RevealHand | Defined$ ChosenPlayer | SubAbility$ DBNameCard +SVar:DBNameCard:DB$ NameCard | Defined$ You | SubAbility$ DBClear +SVar:DBClear:DB$ Cleanup | ClearChosenPlayer$ True S:Mode$ CantBeActivated | ValidCard$ Card.NamedCard | NonMana$ True | Description$ Activated abilities of sources with the chosen name can't be activated unless they're mana abilities. AI:RemoveDeck:Random # TODO: Might improve AI logic to support it (the AI needs to pick cards that actually have activated nonmana abilities on them) diff --git a/forge-gui/res/cardsfolder/t/tishana_voice_of_thunder.txt b/forge-gui/res/cardsfolder/t/tishana_voice_of_thunder.txt index 7a22bbc3077..ea9a18c4ae3 100644 --- a/forge-gui/res/cardsfolder/t/tishana_voice_of_thunder.txt +++ b/forge-gui/res/cardsfolder/t/tishana_voice_of_thunder.txt @@ -1,7 +1,7 @@ Name:Tishana, Voice of Thunder ManaCost:5 G U Types:Legendary Creature Merfolk Shaman -PT:0/0 +PT:*/* S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | References$ X | Description$ CARDNAME's power and toughness are each equal to the number of cards in your hand. S:Mode$ Continuous | Affected$ You | SetMaxHandSize$ Unlimited | Description$ You have no maximum hand size. T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card for each creature you control. From 6d7d3d0306e4866c84ddd23e71ed3822062df058 Mon Sep 17 00:00:00 2001 From: swordshine Date: Thu, 12 Sep 2019 16:08:28 +0800 Subject: [PATCH 2/5] more fixes --- forge-gui/res/cardsfolder/s/sorcerous_spyglass.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forge-gui/res/cardsfolder/s/sorcerous_spyglass.txt b/forge-gui/res/cardsfolder/s/sorcerous_spyglass.txt index a5f6ecdaa0e..0af77016b06 100644 --- a/forge-gui/res/cardsfolder/s/sorcerous_spyglass.txt +++ b/forge-gui/res/cardsfolder/s/sorcerous_spyglass.txt @@ -2,7 +2,7 @@ Name:Sorcerous Spyglass ManaCost:2 Types:Artifact K:ETBReplacement:Other:ChoosePlayer -SVar:ChoosePlayer:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | ChoiceTitle$ Choose an opponent to look at the hand: | SubAbility$ DBLook | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type. +SVar:ChoosePlayer:DB$ ChoosePlayer | Defined$ You | Choices$ Player.Opponent | ChoiceTitle$ Choose an opponent to look at the hand: | SubAbility$ DBLook | SpellDescription$ As CARDNAME enters the battlefield, look at an opponent's hand, then choose any card name. SVar:DBLook:DB$ RevealHand | Defined$ ChosenPlayer | SubAbility$ DBNameCard SVar:DBNameCard:DB$ NameCard | Defined$ You | SubAbility$ DBClear SVar:DBClear:DB$ Cleanup | ClearChosenPlayer$ True @@ -11,4 +11,4 @@ AI:RemoveDeck:Random # TODO: Might improve AI logic to support it (the AI needs to pick cards that actually have activated nonmana abilities on them) AI:RemoveDeck:All SVar:Picture:http://www.wizards.com/global/images/magic/general/sorcerous_spyglass.jpg -Oracle:As Sorcerous Spyglass enters the battlefield, look at an opponent's hand, then choose any card name. Activated abilities of sources with the chosen name can't be activated unless they're mana abilities. \ No newline at end of file +Oracle:As Sorcerous Spyglass enters the battlefield, look at an opponent's hand, then choose any card name.\nActivated abilities of sources with the chosen name can't be activated unless they're mana abilities. From 46dc8b73ea38ae1ad5cbb92a6e487f8cee06b7ca Mon Sep 17 00:00:00 2001 From: swordshine Date: Thu, 12 Sep 2019 16:50:03 +0800 Subject: [PATCH 3/5] Add two Adamant cards --- .../res/cardsfolder/upcoming/garenbrig_paladin.txt | 9 +++++++++ forge-gui/res/cardsfolder/upcoming/outmuscle.txt | 10 ++++++++++ 2 files changed, 19 insertions(+) create mode 100644 forge-gui/res/cardsfolder/upcoming/garenbrig_paladin.txt create mode 100644 forge-gui/res/cardsfolder/upcoming/outmuscle.txt diff --git a/forge-gui/res/cardsfolder/upcoming/garenbrig_paladin.txt b/forge-gui/res/cardsfolder/upcoming/garenbrig_paladin.txt new file mode 100644 index 00000000000..312b34ca1d5 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/garenbrig_paladin.txt @@ -0,0 +1,9 @@ +Name:Garenbrig Paladin +ManaCost:4 G +Types:Creature Giant Knight +PT:4/4 +R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | Adamant$ Green | ReplaceWith$ ETBAddCounter | Description$ Adamant — If at least three red mana was spent to cast this spell, CARDNAME enters the battlefield with a +1/+1 counter on it. +SVar:ETBAddCounter:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ MoveToPlay +SVar:MoveToPlay:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard +K:CantBeBlockedBy Creature.powerLE2 +Oracle:Adamant — If at least three green mana was spent to cast this spell, Garenbrig Paladin enters the battlefield with a +1/+1 counter on it.\nGarenbrig Paladin can't be blocked by creatures with power 2 or less. diff --git a/forge-gui/res/cardsfolder/upcoming/outmuscle.txt b/forge-gui/res/cardsfolder/upcoming/outmuscle.txt new file mode 100644 index 00000000000..6a9a28753c0 --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/outmuscle.txt @@ -0,0 +1,10 @@ +Name:Outmuscle +ManaCost:3 G +Types:Sorcery +A:SP$ PutCounter | Cost$ 3 G | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Choose target creature you control | RememberTargets$ True | CounterType$ P1P1 | CounterNum$ 1 | AILogic$ Fight | SubAbility$ DBFight | SpellDescription$ Put a +1/+1 counter on target creature you control, then it fights with a creature you don't control. Adamant — If at least three green mana was spent to cast this spell, the creature you control gets indestructible until end of turn. +SVar:DBFight:DB$ Fight | Defined$ ParentTarget | ValidTgts$ Creature.YouDontCtrl | AILogic$ Always | TgtPrompt$ Choose target creature you don't control | SubAbility$ DBPump +SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ Indestructible | ConditionCheckSVar$ X | References$ X | SubAbility$ DBCleanup +SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True +SVar:X:Count$Adamant.Green.1.0 +DeckHas:Ability$Counters +Oracle:Put a +1/+1 counter on target creature you control, then it fights with a creature you don't control.\nAdamant — If at least three green mana was spent to cast this spell, the creature you control gets indestructible until end of turn. \ No newline at end of file From c3a5491a6bbb268194471b734a5dc577a2d3d12f Mon Sep 17 00:00:00 2001 From: swordshine Date: Thu, 12 Sep 2019 22:35:04 +0800 Subject: [PATCH 4/5] Update Garenbrig Paladin --- forge-gui/res/cardsfolder/upcoming/garenbrig_paladin.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-gui/res/cardsfolder/upcoming/garenbrig_paladin.txt b/forge-gui/res/cardsfolder/upcoming/garenbrig_paladin.txt index 312b34ca1d5..cdb510b7e22 100644 --- a/forge-gui/res/cardsfolder/upcoming/garenbrig_paladin.txt +++ b/forge-gui/res/cardsfolder/upcoming/garenbrig_paladin.txt @@ -2,7 +2,7 @@ Name:Garenbrig Paladin ManaCost:4 G Types:Creature Giant Knight PT:4/4 -R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | Adamant$ Green | ReplaceWith$ ETBAddCounter | Description$ Adamant — If at least three red mana was spent to cast this spell, CARDNAME enters the battlefield with a +1/+1 counter on it. +R:Event$ Moved | ValidCard$ Card.Self | Destination$ Battlefield | Adamant$ Green | ReplaceWith$ ETBAddCounter | Description$ Adamant — If at least three green mana was spent to cast this spell, CARDNAME enters the battlefield with a +1/+1 counter on it. SVar:ETBAddCounter:DB$ PutCounter | ETB$ True | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ MoveToPlay SVar:MoveToPlay:DB$ ChangeZone | Hidden$ True | Origin$ All | Destination$ Battlefield | Defined$ ReplacedCard K:CantBeBlockedBy Creature.powerLE2 From b56e2ec3c361b5a7633c49d4094e86bbaf285404 Mon Sep 17 00:00:00 2001 From: swordshine Date: Fri, 13 Sep 2019 11:18:15 +0800 Subject: [PATCH 5/5] Fix the name of Syr Elenora, the Discerning --- .../res/cardsfolder/upcoming/syr_elenora_the_discerning.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forge-gui/res/cardsfolder/upcoming/syr_elenora_the_discerning.txt b/forge-gui/res/cardsfolder/upcoming/syr_elenora_the_discerning.txt index 192e3e9383c..2759d1c9345 100644 --- a/forge-gui/res/cardsfolder/upcoming/syr_elenora_the_discerning.txt +++ b/forge-gui/res/cardsfolder/upcoming/syr_elenora_the_discerning.txt @@ -1,4 +1,4 @@ -Name:Syr Elenora the Discerning +Name:Syr Elenora, the Discerning ManaCost:3 U U Types:Legendary Creature Human Knight PT:*/4 @@ -8,4 +8,4 @@ AI:RemoveDeck:All T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card. SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ 1 S:Mode$ RaiseCost | ValidTarget$ Card.Self | Activator$ Player.Opponent | Type$ Spell | Amount$ 2 | Description$ Spells your opponents cast that target CARDNAME cost {2} more to cast. -Oracle:Syr Elenora the Discerning's power is equal to the number of cards in your hand.\nWhen Syr Elenora enters the battlefield, draw a card.\nSpells your opponents cast that target Syr Elenora cost {2} more to cast. +Oracle:Syr Elenora, the Discerning's power is equal to the number of cards in your hand.\nWhen Syr Elenora enters the battlefield, draw a card.\nSpells your opponents cast that target Syr Elenora cost {2} more to cast.