It is currently 24 Apr 2024, 09:23
   
Text Size

[fixed]Arrest does not prevent creature from blocking

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

[fixed]Arrest does not prevent creature from blocking

Postby Blyfycyfyfyf » 23 Dec 2021, 14:11

Describe the Bug:
Arrest should have Pacifism-like effect. However AI is still blocking with "Arrested" creature.

Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Holidays 2021, duel.

What exactly should be the correct behavior/interaction?
Arrest should not allow a creature to block.

Are any other cards possibly affected by this bug?
No.

Just please attack with the 8/7 guy in the savegame - AI will block with "Arrested" creature.
Attachments
Arrest.zip
(3.69 KiB) Downloaded 63 times
Last edited by drool66 on 27 Dec 2021, 20:23, edited 6 times in total.
Reason: Fixed
Blyfycyfyfyf
 
Posts: 36
Joined: 12 Nov 2021, 12:10
Has thanked: 0 time
Been thanked: 0 time

Re: [confirmed]Arrest does not prevent creature from blockin

Postby drool66 » 23 Dec 2021, 19:19

Fixed in 51af4e8. It used the old add/remove system of ability loss
Last edited by drool66 on 24 Dec 2021, 07:52, edited 1 time in total.
Reason: hash info
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times

Re: [fixed]Arrest does not prevent creature from blocking

Postby Aswan jaguar » 25 Dec 2021, 09:17

The problem here was and still is that creature enchanted with Arrest can still block. It did stop activated abilities before. Same bug as One Thousand Lashes reported now.
---
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: [still bugged]Arrest does not prevent creature from bloc

Postby Korath » 25 Dec 2021, 13:39

It's incorrectly making the blocking card return nonzero for is_humiliated(..., AL_KEY), which (separately) incorrectly prevents SP_KEYWORD_CANNOT_BLOCK from doing anything.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: [still bugged]Arrest does not prevent creature from bloc

Postby drool66 » 27 Dec 2021, 20:16

Weird. I didn't think the meaning of any of the generic_aura_flags_t drifted, but now I'm not so sure. Fixed for arrest & cards that share its function, unpushed.
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 32 guests


Who is online

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

Login Form