mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- CheckStyle.
This commit is contained in:
@@ -682,7 +682,7 @@ public class ComputerUtil {
|
|||||||
|
|
||||||
if (cost.isPaid()) {
|
if (cost.isPaid()) {
|
||||||
// refund any mana taken from mana pool when test
|
// refund any mana taken from mana pool when test
|
||||||
manapool.clearPay(sa, test);
|
manapool.clearPay(sa, test);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1028,7 +1028,7 @@ public class PhaseHandler extends MyObservable implements java.io.Serializable {
|
|||||||
public final void setDevPhaseState(final String phaseID) {
|
public final void setDevPhaseState(final String phaseID) {
|
||||||
this.phaseIndex = this.findIndex(phaseID);
|
this.phaseIndex = this.findIndex(phaseID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void setPhaseState(final String phaseID) {
|
public final void setPhaseState(final String phaseID) {
|
||||||
this.phaseIndex = this.findIndex(phaseID);
|
this.phaseIndex = this.findIndex(phaseID);
|
||||||
this.handleBeginPhase();
|
this.handleBeginPhase();
|
||||||
|
|||||||
@@ -2729,7 +2729,7 @@ public abstract class Player extends GameEntity {
|
|||||||
public final Object getMustAttackEntity() {
|
public final Object getMustAttackEntity() {
|
||||||
return this.mustAttackEntity;
|
return this.mustAttackEntity;
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void updateLabelObservers() {
|
public final void updateLabelObservers() {
|
||||||
this.getZone(Zone.Hand).updateObservers();
|
this.getZone(Zone.Hand).updateObservers();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2324,7 +2324,8 @@ public class Upkeep extends Phase implements java.io.Serializable {
|
|||||||
&& selectedCard.canBeTargetedBy(switchTargets)) {
|
&& selectedCard.canBeTargetedBy(switchTargets)) {
|
||||||
newTarget[0] = selectedCard;
|
newTarget[0] = selectedCard;
|
||||||
final StringBuilder sb = new StringBuilder();
|
final StringBuilder sb = new StringBuilder();
|
||||||
sb.append(c).append(" - switching to copy " + selectedCard.getName() + ".");
|
sb.append(c).append(" - switching to copy ");
|
||||||
|
sb.append(selectedCard.getName()).append(".");
|
||||||
switchTargets.setStackDescription(sb.toString());
|
switchTargets.setStackDescription(sb.toString());
|
||||||
AllZone.getStack().add(switchTargets);
|
AllZone.getStack().add(switchTargets);
|
||||||
this.stop();
|
this.stop();
|
||||||
@@ -2334,7 +2335,7 @@ public class Upkeep extends Phase implements java.io.Serializable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
ability.setDescription(keyword);
|
ability.setDescription(keyword);
|
||||||
ability.setStackDescription("(OPTIONAL) " + keyword);
|
ability.setStackDescription("(OPTIONAL) " + keyword);
|
||||||
|
|
||||||
|
|||||||
@@ -935,7 +935,7 @@ public class AbilityFactory {
|
|||||||
spellAbility = AbilityFactoryPermanentState.createDrawbackPhases(this);
|
spellAbility = AbilityFactoryPermanentState.createDrawbackPhases(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (this.api.equals("Play")) {
|
else if (this.api.equals("Play")) {
|
||||||
if (this.isAb) {
|
if (this.isAb) {
|
||||||
spellAbility = AbilityFactoryPlay.createAbilityPlay(this);
|
spellAbility = AbilityFactoryPlay.createAbilityPlay(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user