From 9fe925dc6c2830abb849966aade27506b6a8e576 Mon Sep 17 00:00:00 2001 From: Charles Baker Date: Sun, 5 May 2019 17:06:53 +0000 Subject: [PATCH 1/4] Together Forever - Tested and Working --- forge-gui/res/cardsfolder/t/together_forever | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 forge-gui/res/cardsfolder/t/together_forever diff --git a/forge-gui/res/cardsfolder/t/together_forever b/forge-gui/res/cardsfolder/t/together_forever new file mode 100644 index 00000000000..eb1f775b1a3 --- /dev/null +++ b/forge-gui/res/cardsfolder/t/together_forever @@ -0,0 +1,14 @@ +Name:Together Forever +ManaCost:W W +Types:Enchantment +T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPut | TriggerDescription$ When CARDNAME enters the battlefield, support 2. (Put a +1/+1 counter on each of up to two other target creatures.) +SVar:TrigPut:DB$PutCounter | ValidTgts$ Creature.Other | TgtPrompt$ Select target creature | TargetMin$ 0 | TargetMax$ 2 | CounterType$ P1P1 | CounterNum$ 1 +A:AB$ Effect | Cost$ 1 | ValidTgts$ Creature.HasCounters | TgtPrompt$ Select target creature with a counter | Triggers$ ChangeZone | SVars$ TrigChangeZone | RememberObjects$ Targeted | SpellDescription$ Choose target creature with a counter on it. When that creature dies this turn, return that card to its owner's hand. +SVar:ChangeZone:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidSource$ Creature.IsRemembered | Execute$ TrigChangeZone | TriggerController$ TriggeredCardController | TriggerDescription$ When that creature dies this turn, return that card to its owner's hand. +SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Defined$ TriggeredCard +SVar:NonStackingEffect:True +DeckNeeds:Ability$Counters +DeckHas:Ability$Counters +SVar:PlayMain1:ALWAYS +SVar:Picture:https://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=446000&type=card +Oracle:When Together Forever enters the battlefield, support 2. (Put a +1/+1 counter on each of up to two target creatures.) 1: Choose target creature with a counter on it. When that creature dies this turn, return that card to its owner's hand. \ No newline at end of file From f93a4aba47424f48347aa72741bddc3e68847e6f Mon Sep 17 00:00:00 2001 From: Charles Baker Date: Sun, 5 May 2019 19:08:06 +0000 Subject: [PATCH 2/4] Update together_forever --- .../res/cardsfolder/t/{together_forever => together_forever.txt} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename forge-gui/res/cardsfolder/t/{together_forever => together_forever.txt} (100%) diff --git a/forge-gui/res/cardsfolder/t/together_forever b/forge-gui/res/cardsfolder/t/together_forever.txt similarity index 100% rename from forge-gui/res/cardsfolder/t/together_forever rename to forge-gui/res/cardsfolder/t/together_forever.txt From fb6e04720c8ca1e87cf269c2fb12a5bc3798d380 Mon Sep 17 00:00:00 2001 From: Charles Baker Date: Sun, 5 May 2019 19:09:29 +0000 Subject: [PATCH 3/4] Shadowbane - Tested and working --- forge-gui/res/cardsfolder/s/shadowbane.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 forge-gui/res/cardsfolder/s/shadowbane.txt diff --git a/forge-gui/res/cardsfolder/s/shadowbane.txt b/forge-gui/res/cardsfolder/s/shadowbane.txt new file mode 100644 index 00000000000..15c060c6323 --- /dev/null +++ b/forge-gui/res/cardsfolder/s/shadowbane.txt @@ -0,0 +1,12 @@ +Name:Shadowbane +ManaCost:1 W +Types:Instant +A:SP$ ChooseSource | Cost$ 1 W | Choices$ Card,Emblem | AILogic$ NeedsPrevention | SubAbility$ DBEffect | StackDescription$ SpellDescription | SpellDescription$ Prevent all damage to you or a creature you control from any one source. If that source is black, gain 1 life for each 1 damage prevented in this way. +SVar:DBEffect:DB$ Effect | ReplacementEffects$ RepDmg | SVars$ GainLifeYou,RepDmg,X,Y | SubAbility$ DBCleanup | ConditionDefined$ ChosenCard | ConditionPresent$ Card,Emblem | ConditionCompare$ GE1 +SVar:RepDmg:Event$ DamageDone | ValidTarget$ You,Creature.YouCtrl | ValidSource$ Card.ChosenCard,Emblem.ChosenCard | ReplaceWith$ GainLifeYou | PreventionEffect$ True | Description$ Prevent all damage to you or a creature you control from any one source. If that source is black, gain 1 life for each 1 damage prevented in this way. +SVar:GainLifeYou:DB$ GainLife | Defined$ You | LifeAmount$ X | References$ X,Y | ConditionCheckSVar$ Y | ConditionSVarCompare$ GE1 +SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True +SVar:X:ReplaceCount$DamageAmount +SVar:Y:ReplacedSource$Valid Card.BlackSource +SVar:Picture:http://www.wizards.com/global/images/magic/general/shadowbane.jpg +Oracle:The next time a source of your choice would deal damage to you and/or creatures you control this turn, prevent that damage. If damage from a black source is prevented this way, you gain that much life. \ No newline at end of file From 7515126302538fe4f3f4e92027f187351696dc2f Mon Sep 17 00:00:00 2001 From: Charles Baker Date: Mon, 6 May 2019 21:07:27 +0000 Subject: [PATCH 4/4] Update together_forever.txt --- forge-gui/res/cardsfolder/t/together_forever.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-gui/res/cardsfolder/t/together_forever.txt b/forge-gui/res/cardsfolder/t/together_forever.txt index eb1f775b1a3..78740fc7889 100644 --- a/forge-gui/res/cardsfolder/t/together_forever.txt +++ b/forge-gui/res/cardsfolder/t/together_forever.txt @@ -4,7 +4,7 @@ Types:Enchantment T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPut | TriggerDescription$ When CARDNAME enters the battlefield, support 2. (Put a +1/+1 counter on each of up to two other target creatures.) SVar:TrigPut:DB$PutCounter | ValidTgts$ Creature.Other | TgtPrompt$ Select target creature | TargetMin$ 0 | TargetMax$ 2 | CounterType$ P1P1 | CounterNum$ 1 A:AB$ Effect | Cost$ 1 | ValidTgts$ Creature.HasCounters | TgtPrompt$ Select target creature with a counter | Triggers$ ChangeZone | SVars$ TrigChangeZone | RememberObjects$ Targeted | SpellDescription$ Choose target creature with a counter on it. When that creature dies this turn, return that card to its owner's hand. -SVar:ChangeZone:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidSource$ Creature.IsRemembered | Execute$ TrigChangeZone | TriggerController$ TriggeredCardController | TriggerDescription$ When that creature dies this turn, return that card to its owner's hand. +SVar:ChangeZone:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.IsRemembered | Execute$ TrigChangeZone | TriggerController$ TriggeredCardController | TriggerDescription$ When that creature dies this turn, return that card to its owner's hand. SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | Defined$ TriggeredCard SVar:NonStackingEffect:True DeckNeeds:Ability$Counters