Merge branch 'patch-3' into 'master'

Together Forever - Tested and Working

See merge request core-developers/forge!1627
This commit is contained in:
swordshine
2019-05-07 02:17:47 +00:00
2 changed files with 26 additions and 0 deletions

View File

@@ -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.

View File

@@ -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 | 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
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.