Page 1 of 1

[fix]Arcane Denial draws 2 cards even if 1 or 0 are selected

PostPosted: 31 Oct 2016, 18:11
by Aswan jaguar
Describe the Bug:
If opponent casts Arcane Denial then in next upkeep I am asked how many cards to draw: 2,1,or pass.No matter which I select I always draw 2 cards.

Which card did behave improperly ?
Arcane Denial

Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Manalink 2016/08/27: Eldritch Moon v2, duel

What exactly should be the correct behavior/interaction ?
Arcane Denial

Are any other cards possibly affected by this bug ?
-

Re: Arcane Denial draws 2 cards even if 1 or 0 are selected

PostPosted: 31 Oct 2016, 19:26
by Korath
And when it targets the AI's spell, the AI is always displayed as picking "Draw 2 cards" in the dialog, even if it wants less than that. The fix for both is to pass ai_choice directly to do_dialog() instead of changing its value afterward (since player will always be the caster of Arcane Denial, not who's drawing).

Re: [con]Arcane Denial draws 2 cards even if 1 or 0 are sele

PostPosted: 25 Oct 2019, 16:12
by Aswan jaguar
Fixed in commit 520c63f1.