Page 1 of 1

[fixed/closed]Power Sink display always says X is 0.

PostPosted: 20 Nov 2014, 04:37
by Aquillion
Describe the Bug:
When the AI casts Power Sink, the popup that displays always says that X is 0. This is purely a display bug; Power Sink still works.

Which card did behave improperly ?
Power Sink

Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
KOT, duel

What exactly should be the correct behavior/interaction ?
The display when Power Sink is cast should tell you how much was spent on X, not 0.

Are any other cards possibly affected by this bug ?
Other cards with an X casting cost.

Re: [confirmed]Power Sink display always says X is 0.

PostPosted: 24 Nov 2014, 15:20
by Gargaroz
Well, it seems the engine looks directly in the 'x_value' variable to display correctly the X value. It was automatically zeroed for avoiding unwanted interactions between cards like Green Sun's Zenith and permanents with X in the casting cost, but I see this is fundamentally wrong, so I reverted that part in 378315b and modified Green Sun's Zenith and Wargate.
There are others instant / sorceries with X in the casting cost that puts into play permanents ?

Re: [info needed]Power Sink display always says X is 0.

PostPosted: 25 Nov 2014, 01:36
by BAgate
Don't know if the distinction matters, so also including cards that put tokens into play.

Chord of Calling -nontoken
Curse of the Swine
Decree of Justice
Empty the Pits
Entreat the Angels
Firecat Blitz
Flock of Rabid Sheep
Genesis Wave -nontoken
Goblin Offensive
Martial Coup
Midnight Ritual
New Frontiers -nontokens
Reshape -nontokens
Slime Molding
Supply // Demand
Tempt with Vengence
White Sun's Zenith


Also, what about Genesis Hydra?

Re: [info needed]Power Sink display always says X is 0.

PostPosted: 25 Nov 2014, 13:27
by Nexhro
There's also:

Wurmcalling
Profane Command -nontoken
Return to the Ranks -nontokens
Wargate -nontoken

Re: [info posted]Power Sink display always says X is 0.

PostPosted: 02 Dec 2014, 20:25
by Gargaroz
Fixed in dev.