[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
by 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.
Which card behaved improperly?
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
Reason: fixed
---
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
Re: Wilt-Leaf Liedge returns to bf if sacced
by 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.
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
Reason: edited
---
Trying to squash some bugs and playtesting.
Trying to squash some bugs and playtesting.
-
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
by 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.
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
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
Re: [confirm]Barter in Blood AI sac as human who cast spell
by 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
if( test->qty > target_available(player, card, &td) ){
test->qty = target_available(player, card, &td);
}
Fixed in 37d57b8
The latest images for Manalink will be here.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
The latest Manalink installation directory will be here. Well, not quite, anymore. Check the latest patches.
-
drool66 - Programmer
- Posts: 1163
- Joined: 25 Nov 2010, 22:38
- Has thanked: 186 times
- Been thanked: 267 times
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 24 guests