mtg-forge-ios/forge-gui/res/cardsfolder/p/phylactery_lich.txt

17 lines
1.2 KiB
Plaintext

Name:Phylactery Lich
ManaCost:B B B
Types:Creature Zombie
PT:5/5
K:Indestructible
K:ETBReplacement:Other:TrigChooseArtifact
SVar:TrigChooseArtifact:DB$ ChooseCard | Choices$ Artifact.YouCtrl | RememberChosen$ True | SubAbility$ DBPutCounter | SpellDescription$ As CARDNAME enters the battlefield, put a phylactery counter on an artifact you control.
SVar:DBPutCounter:DB$ PutCounter | CounterType$ PHYLACTERY | CounterNum$ 1 | Defined$ Remembered | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Permanent.counters_GE1_PHYLACTERY+YouCtrl | PresentCompare$ EQ0 | Execute$ TrigSac | TriggerDescription$ When you control no permanents with phylactery counters on them, sacrifice CARDNAME.
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | Defined$ Self
SVar:RemRandomDeck:True
DeckHints:Type$Artifact
SVar:NeedsToPlay:Artifact.YouCtrl
SVar:Picture:http://www.wizards.com/global/images/magic/general/phylactery_lich.jpg
Oracle:Indestructible\nAs Phylactery Lich enters the battlefield, put a phylactery counter on an artifact you control.\nWhen you control no permanents with phylactery counters on them, sacrifice Phylactery Lich.