mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Merge pull request #1718 from Northmoc/ydmu_tef
YDMU: Teferi's Contingency (+ Lumbering Lightshield fixes)
This commit is contained in:
@@ -88,7 +88,7 @@ public class RevealEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sa.hasParam("RevealToAll")) {
|
if (sa.hasParam("RevealToAll") || sa.hasParam("Random")) {
|
||||||
game.getAction().reveal(revealed, p, false,
|
game.getAction().reveal(revealed, p, false,
|
||||||
sa.getParamOrDefault("RevealTitle", ""));
|
sa.getParamOrDefault("RevealTitle", ""));
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -3,8 +3,11 @@ ManaCost:1 W
|
|||||||
Types:Creature Illusion
|
Types:Creature Illusion
|
||||||
PT:1/4
|
PT:1/4
|
||||||
T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigReveal | TriggerDescription$ When CARDNAME enters the battlefield, target opponent reveals a nonland card at random from their hand. It perpetually gains "This spell costs {1} more to cast."
|
T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigReveal | TriggerDescription$ When CARDNAME enters the battlefield, target opponent reveals a nonland card at random from their hand. It perpetually gains "This spell costs {1} more to cast."
|
||||||
SVar:TrigReveal:DB$ Reveal | Random$ True | RevealValid$ Card.nonLand | RememberRevealed$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBEffect
|
SVar:TrigReveal:DB$ Reveal | Random$ True | RevealValid$ Card.nonLand | RememberRevealed$ True | ValidTgts$ Opponent | SubAbility$ DBEffect
|
||||||
SVar:DBEffect:DB$ Effect | RememberObjects$ Remembered | StaticAbilities$ PerpetualRaiseCost | Name$ Lumbering Lightshield's Perpetual Effect | Duration$ Permanent | SubAbility$ DBCleanup
|
SVar:DBEffect:DB$ Effect | RememberObjects$ Remembered | StaticAbilities$ Perpetual | Name$ Lumbering Lightshield's Perpetual Effect | Duration$ Permanent | Triggers$ Update | SubAbility$ DBCleanup
|
||||||
SVar:PerpetualRaiseCost:Mode$ RaiseCost | ValidCard$ Card.IsRemembered | Type$ Spell | Amount$ 1 | EffectZone$ All | Description$ This spell costs {1} more to cast.
|
SVar:Perpetual:Mode$ Continuous | Affected$ Card.IsRemembered | AddStaticAbility$ PerpetualRaiseCost | EffectZone$ Command | AffectedZone$ Battlefield,Hand,Graveyard,Exile,Stack,Library,Command | Description$ The revealed card perpetually gains "This spell costs {1} more to cast."
|
||||||
|
SVar:PerpetualRaiseCost:Mode$ RaiseCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 1 | EffectZone$ All | Description$ This spell costs {1} more to cast.
|
||||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||||
|
SVar:Update:Mode$ ChangesZone | Origin$ Any | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered | Execute$ DBUpdate
|
||||||
|
SVar:DBUpdate:DB$ UpdateRemember
|
||||||
Oracle:When Lumbering Lightshield enters the battelfield, target opponent reveals a nonland card at random from their hand. It perpetually gains "This spell costs {1} more to cast."
|
Oracle:When Lumbering Lightshield enters the battelfield, target opponent reveals a nonland card at random from their hand. It perpetually gains "This spell costs {1} more to cast."
|
||||||
|
|||||||
12
forge-gui/res/cardsfolder/upcoming/teferis_contingency.txt
Normal file
12
forge-gui/res/cardsfolder/upcoming/teferis_contingency.txt
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Name:Teferi's Contingency
|
||||||
|
ManaCost:W U U
|
||||||
|
Types:Instant
|
||||||
|
A:SP$ Counter | TargetType$ Spell | ValidTgts$ Card | TgtPrompt$ Select target spell | SubAbility$ DBPump | SpellDescription$ Counter target spell.
|
||||||
|
SVar:DBPump:DB$ PumpAll | Defined$ TargetedController | PumpZone$ Graveyard,Hand,Library | ValidCards$ Targeted.sameName | RememberAllPumped$ True | SubAbility$ DBEffect | StackDescription$ None
|
||||||
|
SVar:DBEffect:DB$ Effect | RememberObjects$ Remembered | StaticAbilities$ Perpetual | Name$ Teferi's Contingency's Perpetual Effect | Duration$ Permanent | Triggers$ Update | SubAbility$ DBCleanup | SpellDescription$ Each card in its controller's graveyard, hand, and library with the same name as that spell perpetually gains "This spell costs {2} more to cast."
|
||||||
|
SVar:Perpetual:Mode$ Continuous | Affected$ Card.IsRemembered | AddStaticAbility$ PerpetualRaiseCost | EffectZone$ Command | AffectedZone$ Battlefield,Hand,Graveyard,Exile,Stack,Library,Command | Description$ Each card in its controller's graveyard, hand, and library with the same name as that spell perpetually gains "This spell costs {2} more to cast."
|
||||||
|
SVar:PerpetualRaiseCost:Mode$ RaiseCost | ValidCard$ Card.Self | Type$ Spell | Amount$ 2 | EffectZone$ All | Description$ This spell costs {2} more to cast.
|
||||||
|
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||||
|
SVar:Update:Mode$ ChangesZone | Origin$ Any | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered | Execute$ DBUpdate
|
||||||
|
SVar:DBUpdate:DB$ UpdateRemember
|
||||||
|
Oracle:Counter target spell. Each card in its controller's graveyard, hand, and library with the same name as that spell perpetually gains "This spell costs {2} more to cast."
|
||||||
Reference in New Issue
Block a user