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 | Mandatory$ True | SubAbility$ DBPutCounter | AILogic$ Phylactery | SpellDescription$ As CARDNAME enters, put a phylactery counter on an artifact you control.
SVar:DBPutCounter:DB$ PutCounter | CounterType$ PHYLACTERY | CounterNum$ 1 | Defined$ ChosenCard | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ 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:DB$ Sacrifice
SVar:NeedsToPlay:Artifact.YouCtrl
AI:RemoveDeck:Random
DeckHints:Type$Artifact
Oracle:Indestructible\nAs Phylactery Lich enters, put a phylactery counter on an artifact you control.\nWhen you control no permanents with phylactery counters on them, sacrifice Phylactery Lich.
