mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Card: add Protection form all colors, this is better than splitting it into different colors
This commit is contained in:
@@ -6226,6 +6226,10 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user