diff --git a/forge-game/src/main/java/forge/game/ability/effects/RevealEffect.java b/forge-game/src/main/java/forge/game/ability/effects/RevealEffect.java index 44d08063b26..87e53bb36d6 100644 --- a/forge-game/src/main/java/forge/game/ability/effects/RevealEffect.java +++ b/forge-game/src/main/java/forge/game/ability/effects/RevealEffect.java @@ -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, sa.getParamOrDefault("RevealTitle", "")); } else { diff --git a/forge-gui/res/cardsfolder/l/lumbering_lightshield.txt b/forge-gui/res/cardsfolder/l/lumbering_lightshield.txt index 939d86aa688..fea53875af6 100644 --- a/forge-gui/res/cardsfolder/l/lumbering_lightshield.txt +++ b/forge-gui/res/cardsfolder/l/lumbering_lightshield.txt @@ -3,8 +3,11 @@ ManaCost:1 W Types:Creature Illusion 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." -SVar:TrigReveal:DB$ Reveal | Random$ True | RevealValid$ Card.nonLand | RememberRevealed$ True | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | SubAbility$ DBEffect -SVar:DBEffect:DB$ Effect | RememberObjects$ Remembered | StaticAbilities$ PerpetualRaiseCost | Name$ Lumbering Lightshield's Perpetual Effect | Duration$ Permanent | SubAbility$ DBCleanup -SVar:PerpetualRaiseCost:Mode$ RaiseCost | ValidCard$ Card.IsRemembered | Type$ Spell | Amount$ 1 | EffectZone$ All | Description$ This spell costs {1} more to cast. +SVar:TrigReveal:DB$ Reveal | Random$ True | RevealValid$ Card.nonLand | RememberRevealed$ True | ValidTgts$ Opponent | SubAbility$ DBEffect +SVar:DBEffect:DB$ Effect | RememberObjects$ Remembered | StaticAbilities$ Perpetual | Name$ Lumbering Lightshield's Perpetual Effect | Duration$ Permanent | Triggers$ Update | SubAbility$ DBCleanup +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: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." diff --git a/forge-gui/res/cardsfolder/upcoming/teferis_contingency.txt b/forge-gui/res/cardsfolder/upcoming/teferis_contingency.txt new file mode 100644 index 00000000000..f684e6f09ae --- /dev/null +++ b/forge-gui/res/cardsfolder/upcoming/teferis_contingency.txt @@ -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."