mirror of
https://github.com/Relintai/mtg-forge-ios.git
synced 2024-12-21 07:16:52 +01:00
19 lines
2.0 KiB
Plaintext
19 lines
2.0 KiB
Plaintext
|
Name:Intervention Pact
|
||
|
ManaCost:0
|
||
|
Types:Instant
|
||
|
Colors:white
|
||
|
A:SP$ ChooseSource | Cost$ 0 | Choices$ Card | RememberChosen$ True | AILogic$ NeedsPrevention | SubAbility$ DBEffect | SpellDescription$ The next time a source of your choice would deal damage to you this turn, prevent that damage. You gain life equal to the damage prevented this way. At the beginning of your next upkeep, pay {1}{W}{W}. If you don't, you lose the game.
|
||
|
SVar:DBEffect:DB$ Effect | ReplacementEffects$ RPreventNextFromSource | RememberObjects$ Remembered | SVars$ RPreventNextFromSource,ExileEffect,GainLifeInstead,X | SubAbility$ DBCleanup | ConditionDefined$ Remembered | ConditionPresent$ Card | ConditionCompare$ GE1
|
||
|
SVar:RPreventNextFromSource:Event$ DamageDone | ValidSource$ Card.IsRemembered | ValidTarget$ You | ReplaceWith$ GainLifeInstead | PreventionEffect$ True | Description$ The next time the chosen source deals damage to you, prevent that damage. You gain life equal to the damage prevented this way.
|
||
|
SVar:GainLifeInstead:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ ExileEffect | References$ X
|
||
|
SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
|
||
|
SVar:X:ReplaceCount$DamageAmount
|
||
|
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBDelTrig
|
||
|
SVar:DBDelTrig:DB$ DelayedTrigger | Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigLoseGame | TriggerDescription$ At the beginning of your next upkeep, pay {1}{W}{W}. If you don't, you lose the game.
|
||
|
SVar:TrigLoseGame:DB$ LosesGame | UnlessCost$ 1 W W | UnlessPayer$ You | Defined$ You
|
||
|
SVar:NeedsToPlayVar:NumLands GE3
|
||
|
SVar:NumLands:Count$Valid Land.YouCtrl
|
||
|
SVar:RemAIDeck:True
|
||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/intervention_pact.jpg
|
||
|
Oracle:The next time a source of your choice would deal damage to you this turn, prevent that damage. You gain life equal to the damage prevented this way.\nAt the beginning of your next upkeep, pay {1}{W}{W}. If you don't, you lose the game.
|