add ExiledWithEffectSoure

This commit is contained in:
Northmoc
2021-01-13 16:11:20 -05:00
parent 370cb47791
commit af27f2924a

View File

@@ -378,6 +378,13 @@ public class CardProperty {
if (!card.getExiledWith().equals(host)) {
return false;
}
} else if (property.equals("ExiledWithEffectSource")) {
if (card.getExiledWith() == null) {
return false;
}
if (!card.getExiledWith().equals(source.getEffectSource())) {
return false;
}
} else if (property.equals("EncodedWithSource")) {
if (!card.getEncodedCards().contains(source)) {
return false;