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