- Added ThisTurnCast property for Cycle of Life

This commit is contained in:
Sol
2013-03-05 03:01:15 +00:00
parent d3926810bb
commit 7c1fb7966c

View File

@@ -6891,6 +6891,13 @@ public class Card extends GameEntity implements Comparable<Card> {
else if (list.get(1) != this) {
return false;
}
} else if (property.equals("ThisTurnCast")) {
for (final Card card : CardUtil.getThisTurnCast("Card", source)) {
if (this.equals(card)) {
return true;
}
}
return false;
} else if (property.startsWith("sharesTypeWith")) {
if (!this.sharesTypeWith(source)) {
return false;