mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- CheckStyle.
This commit is contained in:
@@ -1490,7 +1490,7 @@ public class MagicStack extends MyObservable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final boolean isResolving(Card c) {
|
public final boolean isResolving(Card c) {
|
||||||
if(!this.getResolving() || this.curResolvingCard == null) {
|
if (!this.getResolving() || this.curResolvingCard == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -341,7 +341,7 @@ public class SpellPermanent extends Spell {
|
|||||||
*/
|
*/
|
||||||
public static boolean checkETBEffects(final Card card, final SpellAbility sa, final String api) {
|
public static boolean checkETBEffects(final Card card, final SpellAbility sa, final String api) {
|
||||||
|
|
||||||
if(card.isCreature() && AllZoneUtil.isCardInPlay("Torpor Orb")) {
|
if (card.isCreature() && AllZoneUtil.isCardInPlay("Torpor Orb")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -61,9 +61,9 @@ public class StaticAbilityCantBeCast {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(params.containsKey("Origin")) {
|
if (params.containsKey("Origin")) {
|
||||||
Zone src = Zone.smartValueOf(params.get("Origin"));
|
Zone src = Zone.smartValueOf(params.get("Origin"));
|
||||||
if(src != AllZone.getZoneOf(card).getZoneType()) {
|
if (src != AllZone.getZoneOf(card).getZoneType()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user