DrizzleRaine / wagic

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

Clone [10E] loops the AI #209

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Possible fix: add "target=creature"

I notice that there are a lot of cards like this (no target) wherein it 
either crash or loops the AI.  Maybe we can have a general check-up on all 
cards w/ similar cases.  what do you think?

text=As Clone comes into play, you may choose a creature in play. If you 
do, Clone comes into play as a copy of that creature.
auto=may copy target(creature)
id=129501
name=Clone
rarity=R
type=Creature
mana={3}{U}
power=0
subtype=Shapeshifter
toughness=0

Original issue reported on code.google.com by zoleg...@gmail.com on 20 Nov 2009 at 8:03

GoogleCodeExporter commented 8 years ago
I had one more problem with Clone, observed in yesterday's SVN version:
Cloned creature didn't get bonuses from Glorious Anthem.
Can anyone confirm this and submit as a bug, if true?

Original comment by d32.wagic@gmail.com on 20 Nov 2009 at 10:47

GoogleCodeExporter commented 8 years ago
daddy32: the issue you report already exists:
http://code.google.com/p/wagic/issues/detail?id=40
zolegnan: "target=creature" is not a solution, as it does not respect the rules 
of
the card (you do the copy once the card is in play, you do not choose a target 
when
casting the spell).
I think the issue is that the AI uses the clone to clone itself, which probably 
leads
to the issue.
I've had the AI play clone against me several times without seeing that behavior
though...

Original comment by wagic.the.homebrew@gmail.com on 21 Nov 2009 at 3:20

GoogleCodeExporter commented 8 years ago
Issue 208 has been merged into this issue.

Original comment by wagic.the.homebrew@gmail.com on 21 Nov 2009 at 3:21

GoogleCodeExporter commented 8 years ago
Issue 200 has been merged into this issue.

Original comment by Psyyri...@gmail.com on 26 Nov 2009 at 4:54

GoogleCodeExporter commented 8 years ago

Original comment by Psyyri...@gmail.com on 26 Nov 2009 at 7:25

GoogleCodeExporter commented 8 years ago
i see that the AI is copying itself (copy enchantment) since it is the only 
enchantment in play.

Original comment by engr.nic...@gmail.com on 10 Dec 2009 at 4:48

GoogleCodeExporter commented 8 years ago
fixed in r1717
I fixed it by preventing copy effects to copy the source of the effect.
So the clone will go to the graveyard if there's nothing to target, but at 
least it
won't loop the AI anymore
I wonder what the actual rule is in MTG. Can a clone copy itself?

Original comment by wagic.the.homebrew@gmail.com on 15 Jan 2010 at 5:07

GoogleCodeExporter commented 8 years ago
No, it cannot copy itself. Just have look on Gatherer for explanation.

Original comment by dan.solo...@googlemail.com on 15 Jan 2010 at 5:34

GoogleCodeExporter commented 8 years ago
does the fix also fix sculpting steel?

Original comment by zoleg...@gmail.com on 16 Jan 2010 at 4:35

GoogleCodeExporter commented 8 years ago
zolegnan, yes I think it does, it prevents any "copy" cards from targetting 
itself

Original comment by wagic.the.homebrew@gmail.com on 16 Jan 2010 at 4:52