Here's one I'm working on -
Necromancer's Covenant (I do love me some zombies). I jigsawed it together mostly using bits of other cards with similar functions. It doesn't quite work yet, but I think I know why. Hopefully one of the coding gurus will be willing to give it a once-over, please:
- Code: Select all
Name:Necromancer's Covenant
ManaCost:3 W B B
Types:Enchantment
Text:no text
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExileGrave | TriggerDescription$ When CARDNAME enters the battlefield, exile all creature cards from target player's graveyard, then put a 2/2 black Zombie creature token onto the battlefield for each card exiled this way.
SVar:TrigExileGrave:AB$ChangeZoneAll | Cost$ 0 | ValidTgts$ Player | ChangeType$ Creature | Origin$ Graveyard | Destination$ Exile | ValidTgts$ Player | SubAbility$ SVar=MakeZombies
SVar:MakeZombies:AB$Token | Cost$ 0 | TokenImage$ B 2 2 Zombie | TokenName$ Zombie | TokenColors$ Black | TokenTypes$ Creature,Zombie | TokenPower$ 2 | TokenToughness$ 2 | TokenOwner$ Controller | TokenAmount$ X
SVar:X:Count$InTgtYard.Creature
K:stPumpAll:Creature.Zombie+YouCtrl:0/0/Lifelink:No Condition:Zombies you control have lifelink.
SVar:Rarity:Rare
SVar:Picture:
SetInfo:
End
It's letting me choose the player, it's exiling the creatures, it's giving my zombies lifelink - it just doesn't make the zombies.
I'm pretty sure the problem is that
X, the number of cards exiled / zombies made, is being defined too late. I don't know how to tell it
X is the number of creature cards in the target player's graveyard *before* the exiling.
I also don't have SetInfo and Picture info there yet, but even I can handle those - I wanted to get this "draft" version posted ASAP.
Anybody want to help me move that variable definition to the right place? I tried flipping the order of the triggered abilities - make
X zombies, with
X defined as Count$InTgtYard.Creature, then exiling all creatures from that graveyard (seems to me that would be functionally identical) - but that went off without asking me for the targeted player. Again, no zombies, and I don't know how to wedge a "choose target player" into the token-making trigger line...