mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
support "notDrawnThisTurn"
This commit is contained in:
@@ -1106,6 +1106,10 @@ public class CardProperty {
|
||||
if (!card.getDrawnThisTurn()) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.startsWith("notDrawnThisTurn")) {
|
||||
if (card.getDrawnThisTurn()) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.startsWith("enteredBattlefieldThisTurn")) {
|
||||
if (!(card.getTurnInZone() == game.getPhaseHandler().getTurn())) {
|
||||
return false;
|
||||
|
||||
@@ -414,7 +414,7 @@ public final class CardScriptParser {
|
||||
"IsTargetingSource", "sharesPermanentTypeWith",
|
||||
"canProduceSameManaTypeWith", "SecondSpellCastThisTurn",
|
||||
"ThisTurnCast", "withFlashback", "tapped", "untapped", "faceDown",
|
||||
"faceUp", "hasLevelUp", "DrawnThisTurn",
|
||||
"faceUp", "hasLevelUp", "DrawnThisTurn", "notDrawnThisTurn",
|
||||
"enteredBattlefieldThisTurn", "notEnteredBattlefieldThisTurn",
|
||||
"firstTurnControlled", "notFirstTurnControlled",
|
||||
"startedTheTurnUntapped", "attackedOrBlockedSinceYourLastUpkeep",
|
||||
|
||||
Reference in New Issue
Block a user