Page 1 of 1

[fixed/closed]Mystic Genesis

PostPosted: 21 Mar 2014, 10:47
by takijeden
Describe the Bug:
Mystic Genesis gets you a creature smaller than it should. In the replay I countered an Angel of Despair (3WWBB) and got a 5/5 token.

Which card did behave improperly ?
Mystic Genesis

Which update are you using?
Born of the Gods v2

What exactly should be the correct behavior/interaction ?
Mystic Genesis should give you an x/x token where x is the countered spell's mana cost.

Are any other cards possibly affected by this bug ?
nope

Re: Mystic Genesis

PostPosted: 21 Mar 2014, 10:56
by Korath
Related issue.

Also related, Mana Drain sometimes only gives 2 mana. I seem to recall seeing a bug about it, but can't find it.

I suspect what's happening in both this and the 2-mana case is that the counterspell's EVENT_CAN_CAST is being called while it's on the stack itself. If so, just checking against that before setting info_slot should be enough to fix. (And I imagine Plasm Capture will do the same thing.)

A consistent step-by-step repro from a clean game would help.

Re: Mystic Genesis

PostPosted: 21 Mar 2014, 13:17
by takijeden
Well I've never encountered such problems with either Mana Drain or Plasm Capture and I'm using them in the same deck. Maybe I just missed it.

Re: [confirmed]Mystic Genesis

PostPosted: 22 Mar 2014, 22:27
by BAgate
Just tried it in a clean game and got similar results. Countered both a Clockwork Beast (cmc 6), a Diabolic Edict (cmc 2) and a Ashenmour Gouger (cmc 3) and got a 5/5 ooze both times. Appears to be using Mystic Genesis' casting cost instead of the countered spell.

Step by step repro, just Death Wish Mystic Genesis into hand, add 2 Black Lotus for mana, and counter a spell.

Re: [confirmed]Mystic Genesis

PostPosted: 23 Mar 2014, 07:05
by Korath
Aha - in my first glance at the code, I'd thought it recorded CMC at the same time Mana Drain did; it does so slightly earlier. (Hence my request for the repro; Mana Drain does do the same thing, but it's very inconsistent.)

Re: [confirmed]Mystic Genesis

PostPosted: 03 Apr 2014, 16:31
by Korath
Fixed f5d6f6a.