It is currently 19 Apr 2024, 02:30
   
Text Size

[fixed]Protection vs. damage-can't-be-prevented effects

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

[fixed]Protection vs. damage-can't-be-prevented effects

Postby Korath » 20 Jul 2017, 05:59

Describe the bug:
Silver Knight takes no damage from Earthquake despite an earlier-resolved Flaring Pain.

Which card behaved improperly?
effect_damage().

Which update are you using? (date, name)Which type? (duel, gauntlet, sealed deck)
Dev 3c9405a.

What exactly should be the correct behavior/interaction?
Protection actually prevents damage; it doesn't cause it not to be assigned (like Farrel's Zealot does), cause damage to not be marked on a card (like infect or wither do), or replace the damage without being prevention (like General's Regalia or Ghosts of the Innocent do); so an effect reading "damage can't be prevented" or "damage inflicted by [this creature] can't be prevented" or "[this card] deals [x] damage to target [whatever]. The damage can't be prevented" effects aren't affected by it. The last one still won't be able to target the creature with protection, of course.

702.16e Any damage that would be dealt by sources that have the stated quality to a permanent or player with protection is prevented.

About half the cards that make damage unpreventable have relevant rulings, whose wording and coverage vary greatly. The clearest and most complete I've seen is on Excruciator here.

Are any other cards possibly affected by this bug?
All the cards that approximate protection from anything except artifacts or colors? I know there's cards in Manalink with protection from creatures, like Beloved Chaplain; I can't recall any with protection from anything else offhand.
Last edited by drool66 on 20 Feb 2022, 21:38, edited 2 times in total.
Reason: fixed
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: Protection vs. damage-can't-be-prevented effects

Postby Aswan jaguar » 20 Jul 2017, 16:55

Last edited by Aswan jaguar on 17 Feb 2022, 14:44, edited 1 time in total.
Reason: strikethrough fixed
---
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: [confirmed]Protection vs. damage-can't-be-prevented effe

Postby Aswan jaguar » 17 Feb 2022, 14:43

Everything here seems to be fixed by drool66 in commit f900813 and in commit 2ce322b if I am not wrong, except Petrified Wood-Kin which wasn't changed to new protection functions.
Also from the cards coded Riders of Gavony didn't receive the treatment of new protection functions.
---
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: [confirmed]Protection vs. damage-can't-be-prevented effe

Postby drool66 » 17 Feb 2022, 20:25

Huh. Protection from instants is a regular keyword ability and it should work. I wonder why Petrified Wood-Kin didn't have it

Thank you for pointing out Riders of Gavony, I missed that one. Done & will push soon.
User avatar
drool66
Programmer
 
Posts: 1163
Joined: 25 Nov 2010, 22:38
Has thanked: 186 times
Been thanked: 267 times

Re: [confirmed]Protection vs. damage-can't-be-prevented effe

Postby drool66 » 20 Feb 2022, 21:36

Both fixed in 3aae19c
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 41 guests


Who is online

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

Login Form