mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- CheckStyle.
This commit is contained in:
@@ -294,7 +294,7 @@ public class AbilityFactoryTurns {
|
|||||||
// *************************************************************************
|
// *************************************************************************
|
||||||
|
|
||||||
public static SpellAbility createAbilityEndTurn(final AbilityFactory af) {
|
public static SpellAbility createAbilityEndTurn(final AbilityFactory af) {
|
||||||
SpellAbility ret = new AbilityActivated(af.getHostCard(),af.getAbCost(),af.getAbTgt()) {
|
SpellAbility ret = new AbilityActivated(af.getHostCard(), af.getAbCost(), af.getAbTgt()) {
|
||||||
|
|
||||||
private static final long serialVersionUID = 72570867940224012L;
|
private static final long serialVersionUID = 72570867940224012L;
|
||||||
|
|
||||||
@@ -310,7 +310,7 @@ public class AbilityFactoryTurns {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean doTrigger(boolean mandatory) {
|
public boolean doTrigger(boolean mandatory) {
|
||||||
if(mandatory) {
|
if (mandatory) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -319,7 +319,7 @@ public class AbilityFactoryTurns {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void resolve() {
|
public void resolve() {
|
||||||
endTurnResolve(af,this);
|
endTurnResolve(af, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
@@ -328,7 +328,7 @@ public class AbilityFactoryTurns {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static SpellAbility createSpellEndTurn(final AbilityFactory af) {
|
public static SpellAbility createSpellEndTurn(final AbilityFactory af) {
|
||||||
SpellAbility ret = new Spell(af.getHostCard(),af.getAbCost(),af.getAbTgt()) {
|
SpellAbility ret = new Spell(af.getHostCard(), af.getAbCost(), af.getAbTgt()) {
|
||||||
|
|
||||||
private static final long serialVersionUID = -2553413143747617709L;
|
private static final long serialVersionUID = -2553413143747617709L;
|
||||||
|
|
||||||
@@ -344,7 +344,7 @@ public class AbilityFactoryTurns {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void resolve() {
|
public void resolve() {
|
||||||
endTurnResolve(af,this);
|
endTurnResolve(af, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
@@ -373,7 +373,7 @@ public class AbilityFactoryTurns {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean doTrigger(final boolean mandatory) {
|
public boolean doTrigger(final boolean mandatory) {
|
||||||
if(mandatory) {
|
if (mandatory) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -388,7 +388,7 @@ public class AbilityFactoryTurns {
|
|||||||
|
|
||||||
//Steps taken from gatherer's rulings on Time Stop.
|
//Steps taken from gatherer's rulings on Time Stop.
|
||||||
//1) All spells and abilities on the stack are exiled. This includes Time Stop, though it will continue to resolve. It also includes spells and abilities that can't be countered.
|
//1) All spells and abilities on the stack are exiled. This includes Time Stop, though it will continue to resolve. It also includes spells and abilities that can't be countered.
|
||||||
for(Card c : AllZone.getStackZone().getCards()) {
|
for (Card c : AllZone.getStackZone().getCards()) {
|
||||||
AllZone.getGameAction().exile(c);
|
AllZone.getGameAction().exile(c);
|
||||||
}
|
}
|
||||||
AllZone.getStack().getStack().clear();
|
AllZone.getStack().getStack().clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user