It is currently 26 Apr 2024, 04:14
   
Text Size

[fixed]Barter in Blood AI sac as human who cast spell

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

[fixed]Barter in Blood AI sac as human who cast spell

Postby FastEddie » 25 Oct 2020, 12:30

Describe the Bug:
Wilt-Leaf Liege returns from the graveyard to the battlefield if its controller must sacrifice it. Try both Barter in Blood and Death Cloud for the full experience :). unconfirmed see post below

Which card behaved improperly?
Wilt-Leaf LiegeBarter in Blood and Death Cloud? sac function?

Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Version Dev
Duel

What exactly should be the correct behavior/interaction?
Wilt-Leaf Liege should not return from the graveyard to the battlefield if its controller must sacrifice it.

Are any other cards possibly affected by this bug?
Other cards that use the same discard-battlefield mechanic. Candidates are Dodecapod, Loxodon Smiter, Nullhide Ferox, Obstinate Baloth.
Attachments
Wilt-LeafLiege.zip
(3.41 KiB) Downloaded 85 times
Last edited by drool66 on 31 Oct 2020, 07:30, edited 5 times in total.
Reason: fixed
---
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
User avatar
FastEddie
 
Posts: 246
Joined: 24 Dec 2019, 10:59
Has thanked: 15 times
Been thanked: 19 times

Re: Wilt-Leaf Liedge returns to bf if sacced

Postby Aswan jaguar » 25 Oct 2020, 12:51

That's not the case AI cheats and sacrifices only as many creatures as Human who cast the spell did does no matter what the card says (tested with Barter in Blood but I am pretty sure that's the case for the other card, too). You have only 1 creature to sacrifice and so does AI. Put a 2nd creature on your side and you will see that AI will sacrifice both.
EDIT: In fact same happens if AI casts Barter in Blood and AI has 1 creature then human get to sacrifice only 1 although has more creatures, too.
Last edited by Aswan jaguar on 25 Oct 2020, 13:02, edited 3 times in total.
Reason: edited
---
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

Re: [confirm]Barter in Blood AI sac as human who cast spell

Postby FastEddie » 26 Oct 2020, 11:14

Just shooting from the hip... since the sac mechanic seems to be the issue might this be related to the Bogardan Hellkite bug we discussed some time ago?

https://www.slightlymagic.net/forum/viewtopic.php?f=110&t=29579

Creatures going to the graveyard and coming back to life instantanously sounds vaguely familiar.
---
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
User avatar
FastEddie
 
Posts: 246
Joined: 24 Dec 2019, 10:59
Has thanked: 15 times
Been thanked: 19 times

Re: [confirm]Barter in Blood AI sac as human who cast spell

Postby drool66 » 31 Oct 2020, 05:33

The problem is in line 405 ff. of sacrifices.c

if( test->qty > target_available(player, card, &td) ){
test->qty = target_available(player, card, &td);
}

Fixed in 37d57b8
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times


Return to Archived Reports

Who is online

Users browsing this forum: No registered users and 24 guests


Who is online

In total there are 24 users online :: 0 registered, 0 hidden and 24 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 24 guests

Login Form