mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38: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())) {
|
if (!(this.getTurnInZone() == AllZone.getPhase().getTurn())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
} else if (property.startsWith("notEnteredBattlefieldThisTurn")) {
|
||||||
|
if (this.getTurnInZone() == AllZone.getPhase().getTurn()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
} else if (property.startsWith("dealtDamageToYouThisTurn")) {
|
} else if (property.startsWith("dealtDamageToYouThisTurn")) {
|
||||||
if (!(this.dealtDmgToHumanThisTurn && this.getController().isPlayer(AllZone.getComputerPlayer()))
|
if (!(this.dealtDmgToHumanThisTurn && this.getController().isPlayer(AllZone.getComputerPlayer()))
|
||||||
&& !(this.dealtDmgToComputerThisTurn && this.getController().isPlayer(AllZone.getHumanPlayer()))) {
|
&& !(this.dealtDmgToComputerThisTurn && this.getController().isPlayer(AllZone.getHumanPlayer()))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user