Dark Confidant (require confirmation)

For all your questions regarding Image Card Coding.
Please read the Image Posting Guideline & Index before posting in this forum.
Forum rules
DO NOT POST BUG REPORT IN THIS FORUM !!

Please read carefully the forum rules related to the card coding section : viewtopic.php?f=21&t=1545

All post will be edited to follow forum rules.
Locked
excessum
Posts: 220
Joined: Wed Jan 16, 2013 5:03 am
Contact:

Dark Confidant (require confirmation)

Post by excessum »

Unresolved issue: The life loss triggers for ALL cards drawn in the upkeep phase.

Code: Select all

[card]
name=Dark Confidant
auto=@each myupkeep:draw:1
auto=@movedto(*[manacost=1]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-1
auto=@movedto(*[manacost=2]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-2
auto=@movedto(*[manacost=3]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-3
auto=@movedto(*[manacost=4]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-4
auto=@movedto(*[manacost=5]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-5
auto=@movedto(*[manacost=6]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-6
auto=@movedto(*[manacost=7]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-7
auto=@movedto(*[manacost=8]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-8
auto=@movedto(*[manacost=9]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-9
auto=@movedto(*[manacost=10]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-10
auto=@movedto(*[manacost=11]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-11
auto=@movedto(*[manacost=12]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-12
auto=@movedto(*[manacost=13]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-13
auto=@movedto(*[manacost=14]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-14
auto=@movedto(*[manacost=15]|myhand) from(mylibrary) restriction{myupkeeponly}:life:-15
text=At the beginning of your upkeep, reveal the top card of your library and put that card into your hand. You lose life equal to its converted mana cost.
mana={1}{B}
type=Creature
subtype=Human Wizard
power=2
toughness=1
[/card]
Dr.Solomat
Posts: 975
Joined: Mon Dec 15, 2008 5:12 pm
Location: Germany

Re: Dark Confidant (require confirmation)

Post by Dr.Solomat »

Hey dude,

well, the code you produced is a quite nice base code for Dark Confidant, but it does not cover completely what Dark Confidant actually does.
Sets Coded/Released: Legends, Visions, Weatherlight, Tempest, Stronghold, Portal I & III, Urza's Saga BLOCK, Mercadian Masques, Invasion BLOCK, Mirrodin, Ravnica, Guildpact, Conflux, Alara Reborn
Zethfox
Posts: 3029
Joined: Thu Jun 10, 2010 11:28 pm

Re: Dark Confidant (require confirmation)

Post by Zethfox »

yeah revealing needs a keyword. using draw makes @drawn triggers fire off. Ive been trying to get a reveal working but have had little to no luck.
Locked