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