It is currently 21 May 2019, 16:58
   
Text Size

[confirm]Giant Turtle bad interaction with copy effects

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

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

[confirm]Giant Turtle bad interaction with copy effects

Postby Aswan jaguar » 13 Jan 2017, 10:09

Describe the Bug:
Giant Turtle can attack even though it attacked your last turn.At least AI can do it.Besides no effect card is attached to it after it attacks.

Which card did behave improperly?
Giant Turtle

Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Manalink 2016/08/27: Eldritch Moon v2, sealed

What exactly should be the correct behavior/interaction?
Giant Turtle
Rulings
4/10/2004 It only cares if it attacked on _your_ last turn, and not your opponent’s. This makes a difference if you take control of the Turtle during your opponent’s turn after it attacks. You can use it on your turn because it began your turn on the battlefield and because you did not attack with it last turn.
Are any other cards possibly affected by this bug?
-
Attachments
giant turtle.rar
(22.89 KiB) Downloaded 29 times
Last edited by Aswan jaguar on 10 Feb 2019, 10:41, edited 3 times in total.
Reason: confirm new bug
---
Just playtesting.
User avatar
Aswan jaguar
Super Tester
 
Posts: 6278
Joined: 13 May 2010, 12:17
Has thanked: 531 times
Been thanked: 274 times

Re: [confi]Giant Turtle can attack if it attacked your last

Postby Aswan jaguar » 07 Feb 2019, 15:47

Fix this in commit 4815d35.
---
Just playtesting.
User avatar
Aswan jaguar
Super Tester
 
Posts: 6278
Joined: 13 May 2010, 12:17
Has thanked: 531 times
Been thanked: 274 times

Re: [fixed]Giant Turtle can attack if it attacked your last

Postby Korath » 08 Feb 2019, 11:20

This method isn't resilient to copy effects. That is, if something makes the Giant Turtle a copy of another card on the turn it attacks, the turtle's info_slot won't be updated. (...usually. Both that info_slot update and the removal of until-end-of-turn effects happen during EVENT_CLEANUP, so it depends on which card gets the event first. EVENT_CLEANUP isn't sent in timestamp order in Manalink, but in card index order; those end up being usually the same for the first 150 cards created for each player, but isn't predictable afterwards. (Which is why the the for-loops in Manalink that decrement card index only hide bugs and never fix them, but I was already digressing before this digression.)) The only robust way to handle cards like this that look back in time is to record the information for all cards, not just ones that happen to be a Giant Turtle at the time.
User avatar
Korath
DEVELOPER
 
Posts: 3382
Joined: 02 Jun 2013, 05:57
Has thanked: 482 times
Been thanked: 936 times

Re: [fixed]Giant Turtle can attack if it attacked your last

Postby Aswan jaguar » 10 Feb 2019, 10:40

Is there a card template I can compare so I can try to fix this?
---
Just playtesting.
User avatar
Aswan jaguar
Super Tester
 
Posts: 6278
Joined: 13 May 2010, 12:17
Has thanked: 531 times
Been thanked: 274 times

Re: [confirm]Giant Turtle bad interaction with copy effects

Postby Korath » 10 Feb 2019, 12:05

Not in Manalink that I'm aware of. Similar cards - Goblin Rock Sled and Tangle Kelp - do it the same way.

For the creature-based ones, the same bug can be exercised more practically with something like Act of Treason the turn after it attacks, since you're only recording whether or not it attacked on its then-current controller's turn, not who the controller was.

For Tangle Kelp, the situation's much, much worse - cast it on your opponent's creature and it'll always untap on the next turn, whether it attacked or not; attach it to another creature with Enchantment Alteration or similar and it'll prevent the new creature from untapping or not based on whether whatever it was last attached to during that creature's controller's end step had attacked.
User avatar
Korath
DEVELOPER
 
Posts: 3382
Joined: 02 Jun 2013, 05:57
Has thanked: 482 times
Been thanked: 936 times


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 2 guests


Who is online

In total there are 3 users online :: 0 registered, 1 hidden and 2 guests (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: No registered users and 2 guests

Login Form