It is currently 19 Apr 2024, 11:05
   
Text Size

[confirmed]Sindbad v. draw replacement/triggers

Report wrong Card behavior to get it fixed.
PLEASE ADD SAVEGAMES TO YOUR TOPIC !

Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins

[confirmed]Sindbad v. draw replacement/triggers

Postby Korath » 06 Oct 2018, 00:10

Describe the Bug:
Sindbad doesn't know how to find the card it just drew, and instead picks one that's usually correct in simple cases (but even that much is mostly accidental).

Most easily demonstrated when combined with a draw replacement effect or trigger, like Pursuit of Knowledge. Draw a card normally, then activate Sindbad and replace the draw with Pursuit, and Sindbad will reveal and (if it's not a land) discard the normally-drawn card.

Which card behaved improperly?
Sindbad.

Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Dev master head, 6aea165.

What exactly should be the correct behavior/interaction?
Look at the card that it draws in the first half of its effect, and only that card. draw() returns its index. Trying to infer it by picking the card in hand that was drawn this turn that happens to have the highest index is plain wrong; card indices aren't guaranteed to be assigned in strictly increasing order (especially late in a long game), and STATE_DRAWN_THIS_TURN stays on cards until end of turn.

Also, it gets this ruling wrong: 9/25/2006: If the draw is replaced by another effect, none of the rest of Sindbad's ability applies, even if the draw is replaced by another draw (such as with Enduring Renewal).

Are any other cards possibly affected by this bug?
Fa'adiyah Seer, of course.

The miracle mechanic finds its card almost the same way, except it picks the card in hand drawn this turn with the lowest internal index. Again, the right card is reliably provided (this time in trigger_cause_controller/trigger_cause) and ignored.

Jandor's Ring uses the exact same scheme to find the "most recently drawn card" that Sindbad does, but doesn't have a simple solution like the above do, so separate bug.
Last edited by Aswan jaguar on 07 Oct 2018, 09:00, edited 1 time in total.
Reason: confirm bug
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: Sindbad v. draw replacement/triggers

Postby Aswan jaguar » 07 Oct 2018, 09:00

Confirmed for Sinbad and Fa'adiyah Seer for:
In the example you gave with Sinbad and Pursuit of Knowledge if Pursuit of Knowledge hasn't triggered/replaced a draw before that turn it bugs as you say.
However if Pursuit of Knowledge has triggered/replaced a draw before that turn then replaces Sinbads draw a card nor reveals the card. Reveal should happen though if i understand correctly right?

edit: I can't figure a way to test miracle.
---
Trying to squash some bugs and playtesting.
User avatar
Aswan jaguar
Super Tester Elite
 
Posts: 8078
Joined: 13 May 2010, 12:17
Has thanked: 730 times
Been thanked: 458 times


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 36 guests


Who is online

In total there are 36 users online :: 0 registered, 0 hidden and 36 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 36 guests

Login Form