From 94fdf94383d49d1a6b54a8e9d7416e76a7c6d1de Mon Sep 17 00:00:00 2001 From: Hanmac Date: Thu, 14 Jul 2016 19:20:25 +0000 Subject: [PATCH] Card: add Protection form all colors, this is better than splitting it into different colors --- forge-game/src/main/java/forge/game/card/Card.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/forge-game/src/main/java/forge/game/card/Card.java b/forge-game/src/main/java/forge/game/card/Card.java index b9042506428..1b8362b4298 100644 --- a/forge-game/src/main/java/forge/game/card/Card.java +++ b/forge-game/src/main/java/forge/game/card/Card.java @@ -6226,6 +6226,10 @@ public class Card extends GameEntity implements Comparable { if (CardUtil.getColors(source).isMulticolor() && !colorlessDamage) { return true; } + } else if (kw.equals("Protection from all colors")) { + if (!source.isColorless() && !colorlessDamage) { + return true; + } } else if (kw.equals("Protection from creatures")) { if (source.isCreature()) { return true;