Page 1 of 1

[fixed/closed]Thieving Sprite etb optional

PostPosted: 14 Mar 2016, 07:03
by Aswan jaguar
Describe the Bug:
Thieving Sprite etb resolves while it is on the stack.

Which card did behave improperly ?
Thieving Sprite

Which update are you using?(date,name)Which type(Duel,Gauntlet,Sealed Deck)
Manalink 2016/01/15: Battle For Zendikar v2,duel

What exactly should be the correct behavior/interaction ?
Thieving Sprite

Are any other cards possibly affected by this bug ?
-

Re: Thieving Sprite etb resolves while it is on the stack.

PostPosted: 14 Mar 2016, 16:14
by Korath
Works for me.

Re: Thieving Sprite etb resolves while it is on the stack.

PostPosted: 14 Mar 2016, 16:42
by Aswan jaguar
Something wrong in my installation then or something you fixed in between?
2016-03-13_150757thieving sprite.jpg

Re: Thieving Sprite etb resolves while it is on the stack.

PostPosted: 14 Mar 2016, 17:05
by Korath
The card's hidden behind the stack window. If it was still on the stack, you'd be choosing 0 cards. Try casting it yourself - it'll pause between entering the battlefield and resolving the trigger (because it's incorrectly marked as optional, which is a legitimate bug, but not the one reported here).

Re: Thieving Sprite etb optional

PostPosted: 14 Mar 2016, 18:19
by Korath
Optional (and cancellable) trigger fixed in 09238a7.

The interface bug in that screenshot - that the stack window doesn't close before popping up the choose-a-card window - remains. It can be fixed for this particular card by inserting
Code: Select all
if (ai_is_speculating != 1){
   EXE_FN(void, 0x437E20, void)();   // force redisplay
}
anywhere between targeting a player and calling new_effect_coercion(). It really belongs elsewhere, though, since there's sure to be many other cards that'll do similar things; and it's not completely clear where the best place for it is - probably at the start of show_deck(), though maybe just before its call in select_card_from_zone() would suffice.