mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
- Added ThisTurnCast property for Cycle of Life
This commit is contained in:
@@ -6891,6 +6891,13 @@ public class Card extends GameEntity implements Comparable<Card> {
|
|||||||
else if (list.get(1) != this) {
|
else if (list.get(1) != this) {
|
||||||
return false;
|
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")) {
|
} else if (property.startsWith("sharesTypeWith")) {
|
||||||
if (!this.sharesTypeWith(source)) {
|
if (!this.sharesTypeWith(source)) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user