mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Added Elkin Lair by squee1968 (with a small fix)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -5110,6 +5110,7 @@ forge-gui/res/cardsfolder/e/elite_vanguard.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/e/elixir_of_immortality.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/e/elixir_of_vitality.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/e/elkin_bottle.txt -text
|
||||
forge-gui/res/cardsfolder/e/elkin_lair.txt -text
|
||||
forge-gui/res/cardsfolder/e/eloren_wilds.txt -text
|
||||
forge-gui/res/cardsfolder/e/elsewhere_flask.txt -text svneol=unset#text/plain
|
||||
forge-gui/res/cardsfolder/e/elspeth_knight_errant.txt svneol=native#text/plain
|
||||
|
||||
24
forge-gui/res/cardsfolder/e/elkin_lair.txt
Normal file
24
forge-gui/res/cardsfolder/e/elkin_lair.txt
Normal file
@@ -0,0 +1,24 @@
|
||||
Name:Elkin Lair
|
||||
ManaCost:3 R
|
||||
Types:World Enchantment
|
||||
T:Mode$ Phase | Phase$ Upkeep | TriggerZones$ Battlefield | Execute$ TrigChangeZone | TriggerDescription$ At the beginning of each player's upkeep, that player exiles a card at random from his or her hand. The player may play that card this turn. At the beginning of the next end step, if the player hasn't played the card, he or she puts it into his or her graveyard.
|
||||
SVar:TrigChangeZone:DB$ ChangeZone | Origin$ Hand | Destination$ Exile | ChangeType$ Card | DefinedPlayer$ TriggeredPlayer | ChangeNum$ 1 | Hidden$ True | Mandatory$ True | AtRandom$ True | RememberChanged$ True | SubAbility$ ElkinEffect
|
||||
SVar:ElkinEffect:DB$ Effect | StaticAbilities$ ElkinPlay | Duration$ Permanent | RememberObjects$ Remembered | Triggers$ TrigReturn,TrigCast,TrigLandPlayed,TrigDuration | SVars$ ElkinSVar,RemoveEffect,DBReturn | SubAbility$ DBResetSVar
|
||||
SVar:ElkinPlay:Mode$ Continuous | Affected$ Card.IsRemembered | AddHiddenKeyword$ May be played | EffectZone$ Command | AffectedZone$ Exile | CheckSVar$ ElkinSVar | Description$ The player may play that card this turn.
|
||||
# Even though the Effect is "Permanent", it's not really permanent
|
||||
SVar:DBResetSVar:DB$ StoreSVar | SVar$ ElkinSVar | Type$ Number | Expression$ 1 | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:ElkinSVar:Number$1
|
||||
# Turn off the duration at the beginning of the next turn statically, just in case its somehow still there
|
||||
SVar:TrigDuration:Mode$ TurnBegin | ValidPlayer$ Player | Static$ True | TriggerZones$ Command | Execute$ DBDuration
|
||||
SVar:DBDuration:DB$ StoreSVar | SVar$ ElkinSVar | Type$ Number | Expression$ 0
|
||||
# Return the card as a normal trigger
|
||||
SVar:TrigReturn:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Player | TriggerZones$ Command | Execute$ DBReturn | TriggerDescription$ At the beginning of the next end step, if the player hasn't played the card, he or she puts it into his or her graveyard.
|
||||
SVar:DBReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ Exile | Destination$ Graveyard | SubAbility$ RemoveEffect
|
||||
# Remove Effect when the card is played
|
||||
SVar:TrigLandPlayed:Mode$ LandPlayed | ValidCard$ Land.IsRemembered | Static$ True | TriggerZones$ Command | Execute$ RemoveEffect
|
||||
SVar:TrigCast:Mode$ SpellCast | ValidCard$ Card.IsRemembered | Static$ True | TriggerZones$ Command | Execute$ RemoveEffect
|
||||
SVar:RemoveEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/elkin_lair.jpg
|
||||
Oracle: At the beginning of each player's upkeep, that player exiles a card at random from his or her hand. The player may play that card this turn. At the beginning of the next end step, if the player hasn't played the card, he or she puts it into his or her graveyard.
|
||||
Reference in New Issue
Block a user