mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
added Morbid to GameActionUtil.specialConditionsMet to support etbCounter
This commit is contained in:
@@ -1734,6 +1734,14 @@ public final class GameActionUtil {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (specialConditions.contains("Morbid")) {
|
||||
CardList res = CardUtil.getThisTurnEntered(Zone.Graveyard, Zone.Battlefield, "Creature", sourceCard);
|
||||
if (res.size() < 1) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (specialConditions.contains("isPresent")) { // is a card of a certain type/color present?
|
||||
String requirements = specialConditions.replaceAll("isPresent ", "");
|
||||
CardList cardsinPlay = AllZoneUtil.getCardsIn(Zone.Battlefield);
|
||||
|
||||
Reference in New Issue
Block a user