austinm327 / wagic

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

Clone does not get all P/T bonuses #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
 I noticed that the Clone creature doesn’t copy the color of the target
card properly in the case of multi-colored cards. I figured that this must
be a function of the ‘copy’ command and probably needs to be addressed in
the engine rather than the card.dat file. Thanks for all your effort!

-          Tony

Issues received from a user: 

noticed that the Clone creature doesn’t copy the color of the target card
properly in the case of multi-colored cards. I figured that this must be a
function of the ‘copy’ command and probably needs to be addressed in the
engine rather than the card.dat file. Thanks for all your effort!

Explanation: A Thistledown Liege gives +1/+1 to all White creatures you
control and +1/+1 to all other blue creatures you control. If I have two of
them, they both get +2/+2 from each other because they count as both
colors; but when I cloned one, the real Liege got +2/+2 and the Clone got
+1/+1 for being blue.

-          I know it was blue because I played a Murkfiend Liege and the
Clone got another +1/+1 from its bonus to Blue, but not White creatures.

-          I also know that the Clone is taking the color of the copied
card because I cloned a green creature and played a Murkfiend Liege which
gives +1/+1 to blue creatures and red creatures I control, but not the clone.

Original issue reported on code.google.com by wagic.the.homebrew@gmail.com on 21 Sep 2009 at 3:19

GoogleCodeExporter commented 8 years ago
Started working on this. It's apparently not a problem of color, since the Clone
seems to correctly have both colors...

Original comment by wagic.the.homebrew@gmail.com on 26 Sep 2009 at 6:40

GoogleCodeExporter commented 8 years ago
So, here's what's going on:
the clone enters the battlefield. Since it's a blue creature, it gets its +1/+1 
bonus
from the thistledown liege, and therefore becomes 1/1

It then becomes a copy of thistledown liege, becoming blue and white, but loses 
its
blue P/T bonus because its power and toughness become a copy of ThistleDown 
liege's
p/t : 1/3

Since it is now white, it gets the bonus from ThistleDown Liege :  +1/+1 and 
becomes 2/4.
It is blue and should get a +1/+1 from ThistleDwon Liege for that as well, but
ThistleDown Liege's ability believes it is already given it the +1/+1 bonus 
from when
it came into play, and therefore does not update its value

This is a problem due to how the P/T layers are managed in Wagic (i.e.: they're 
not
managed at all) and will be difficult to solve without rethinking completely 
the P/T
layer to match that of MTG.

Original comment by wagic.the.homebrew@gmail.com on 26 Sep 2009 at 7:10

GoogleCodeExporter commented 8 years ago

Original comment by wagic.the.homebrew@gmail.com on 26 Sep 2009 at 7:10