mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
checkstyle
This commit is contained in:
@@ -869,7 +869,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
public final boolean getCreatureAttackedThisTurn() {
|
||||
return this.creatureAttackedThisTurn;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Setter for the field <code>creatureAttackedLastTurn</code>.
|
||||
@@ -892,7 +892,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
public final boolean getCreatureAttackedLastHumanTurn() {
|
||||
return this.creatureAttackedLastHumanTurn;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Setter for the field <code>creatureAttackedLastTurn</code>.
|
||||
@@ -926,7 +926,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
*/
|
||||
public final void setCreatureBlockedThisCombat(final boolean b) {
|
||||
this.creatureBlockedThisCombat = b;
|
||||
if(b) {
|
||||
if (b) {
|
||||
setCreatureBlockedThisTurn(true);
|
||||
}
|
||||
}
|
||||
@@ -941,7 +941,7 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
public final boolean getCreatureBlockedThisCombat() {
|
||||
return this.creatureBlockedThisCombat;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Setter for the field <code>creatureBlockedThisTurn</code>.
|
||||
|
||||
@@ -126,7 +126,7 @@ public class GameAction {
|
||||
|
||||
copied.setUnearthed(c.isUnearthed());
|
||||
}
|
||||
|
||||
|
||||
if (c.wasSuspendCast()) {
|
||||
copied = GameAction.addSuspendTriggers(c);
|
||||
}
|
||||
|
||||
@@ -382,10 +382,10 @@ public class Phase extends MyObservable implements java.io.Serializable {
|
||||
c.setDealtDmgToComputerThisTurn(false);
|
||||
c.setRegeneratedThisTurn(0);
|
||||
c.clearMustBlockCards();
|
||||
if(AllZone.getPhase().isPlayerTurn(AllZone.getComputerPlayer())) {
|
||||
if (AllZone.getPhase().isPlayerTurn(AllZone.getComputerPlayer())) {
|
||||
c.setCreatureAttackedLastComputerTurn(c.getCreatureAttackedThisTurn());
|
||||
}
|
||||
if(AllZone.getPhase().isPlayerTurn(AllZone.getHumanPlayer())) {
|
||||
if (AllZone.getPhase().isPlayerTurn(AllZone.getHumanPlayer())) {
|
||||
c.setCreatureAttackedLastHumanTurn(c.getCreatureAttackedThisTurn());
|
||||
}
|
||||
c.setCreatureAttackedThisTurn(false);
|
||||
|
||||
@@ -315,7 +315,7 @@ public class TriggerHandler {
|
||||
AllZone.getGameAction().checkStateEffects(true);
|
||||
this.clearSuppression("Always");
|
||||
*/
|
||||
|
||||
|
||||
// AP
|
||||
allCards = playerAP.getAllCards();
|
||||
allCards.addAll(AllZoneUtil.getCardsIn(Constant.Zone.Stack).getController(playerAP));
|
||||
|
||||
Reference in New Issue
Block a user