mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Added the property "notEnteredBattlefieldThisTurn".
This commit is contained in:
@@ -6727,6 +6727,10 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
if (!(this.getTurnInZone() == AllZone.getPhase().getTurn())) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.startsWith("notEnteredBattlefieldThisTurn")) {
|
||||
if (this.getTurnInZone() == AllZone.getPhase().getTurn()) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.startsWith("dealtDamageToYouThisTurn")) {
|
||||
if (!(this.dealtDmgToHumanThisTurn && this.getController().isPlayer(AllZone.getComputerPlayer()))
|
||||
&& !(this.dealtDmgToComputerThisTurn && this.getController().isPlayer(AllZone.getHumanPlayer()))) {
|
||||
|
||||
Reference in New Issue
Block a user