google-code-export / wagic

Automatically exported from code.google.com/p/wagic
1 stars 0 forks source link

Skullclamp #439

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Skullclamp:
When equipped creature is put into a graveyard, draw two cards.

auto=@movedto(mytgt|graveyard):draw:2 controller

when unsummon is casted on equpiped creature, it will also trigger the ability 
to draw two cards.

appears "mytgt" may be broken

Original issue reported on code.google.com by leung...@googlemail.com on 17 Jul 2010 at 1:41

GoogleCodeExporter commented 9 years ago
r2129

Original comment by leung...@googlemail.com on 17 Jul 2010 at 2:34

GoogleCodeExporter commented 9 years ago
this should be merged into issue 281 as it is the exact same issue.

Original comment by omegabla...@gmail.com on 11 Aug 2010 at 9:05

GoogleCodeExporter commented 9 years ago
I think this is not the same issue as 281, but a simple card coding issue.
A fundamental thing to understand with the movedTo trigger, is that the object 
that comes into a zone is not the same object as the one that comes from a zone.

in this case, once it is in the graveyard, mytgt is not the equipped creature 
anymore, it is a new object. What you want is the creature that was equipped, 
the one that is on the battlefield.

It is essential to understand that these 2 objects are different.

A correct code is:
auto=@movedto(graveyard) from(mytgt|battlefield):draw:2 controller

fixed in r2310, please verify

Original comment by wagic.the.homebrew@gmail.com on 23 Sep 2010 at 4:48